次の方法で共有


az functionapp deployment slot

関数アプリのデプロイ スロットを管理します。

コマンド

名前 説明 状態
az functionapp deployment slot auto-swap

デプロイ スロットの自動スワップを構成します。

Core GA
az functionapp deployment slot create

デプロイ スロットを作成します。

Core GA
az functionapp deployment slot delete

デプロイ スロットを削除します。

Core GA
az functionapp deployment slot list

すべてのデプロイ スロットを一覧表示します。

Core GA
az functionapp deployment slot swap

関数アプリのデプロイ スロットをスワップします。

Core GA

az functionapp deployment slot auto-swap

デプロイ スロットの自動スワップを構成します。

az functionapp deployment slot auto-swap --slot
                                         [--auto-swap-slot]
                                         [--disable]
                                         [--ids]
                                         [--name]
                                         [--resource-group]
                                         [--subscription]

必須のパラメーター

--slot -s

スロットの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--auto-swap-slot

自動スワップするターゲット スロット。

プロパティ
規定値: production
--disable

自動スワップを無効にします。

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name -n

関数アプリの名前。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az functionapp deployment slot create

デプロイ スロットを作成します。

az functionapp deployment slot create --name
                                      --resource-group
                                      --slot
                                      [--configuration-source]
                                      [--deployment-container-image-name]
                                      [--docker-registry-server-password]
                                      [--docker-registry-server-user]
                                      [--https-only {false, true}]
                                      [--image]
                                      [--registry-password]
                                      [--registry-username]

デプロイ スロットを作成します。 (autogenerated)

az functionapp deployment slot create --name MyFunctionapp --resource-group MyResourceGroup --slot staging

必須のパラメーター

--name -n

関数アプリの名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--slot -s

スロットの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--configuration-source

構成を複製するソース スロット。 関数アプリの名前を使用して、運用スロットを参照します。

--deployment-container-image-name
非推奨

オプション '--deployment-container-image-name' は非推奨となり、今後のリリースで削除される予定です。 代わりに '--image' を使用してください。

コンテナー イメージ (publisher/image-name:tag など)。

--docker-registry-server-password
非推奨

オプション '--docker-registry-server-password' は非推奨となり、今後のリリースで削除される予定です。 代わりに '--registry-password' を使用してください。

コンテナー レジストリ サーバーのパスワード。

--docker-registry-server-user
非推奨

オプション '--docker-registry-server-user' は非推奨となり、今後のリリースで削除される予定です。 代わりに '--registry-username' を使用してください。

コンテナー レジストリ サーバーのユーザー名。

--https-only

HTTP を使用してアプリに対して行われたすべてのトラフィックを HTTPS にリダイレクトします。

プロパティ
規定値: True
指定可能な値: false, true
--image -i

コンテナー イメージ (publisher/image-name:tag など)。

--registry-password -d

コンテナー レジストリ サーバーのパスワード。

--registry-username -u

コンテナー レジストリ サーバーのユーザー名。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az functionapp deployment slot delete

デプロイ スロットを削除します。

az functionapp deployment slot delete --slot
                                      [--ids]
                                      [--name]
                                      [--resource-group]
                                      [--subscription]

デプロイ スロットを削除します。 (autogenerated)

az functionapp deployment slot delete --name MyFunctionapp --resource-group MyResourceGroup --slot staging

必須のパラメーター

--slot -s

スロットの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name -n

関数アプリの名前。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az functionapp deployment slot list

すべてのデプロイ スロットを一覧表示します。

az functionapp deployment slot list [--ids]
                                    [--name]
                                    [--resource-group]
                                    [--subscription]

すべてのデプロイ スロットを一覧表示します。 (autogenerated)

az functionapp deployment slot list --name MyFunctionapp --resource-group MyResourceGroup

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name -n

関数アプリの名前。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az functionapp deployment slot swap

関数アプリのデプロイ スロットをスワップします。

az functionapp deployment slot swap --slot
                                    [--action {preview, reset, swap}]
                                    [--ids]
                                    [--name]
                                    [--preserve-vnet {false, true}]
                                    [--resource-group]
                                    [--subscription]
                                    [--target-slot]

MyUniqueApp 関数アプリのステージング スロットを運用環境にスワップします。

az functionapp deployment slot swap  -g MyResourceGroup -n MyUniqueApp --slot staging \
    --target-slot production

必須のパラメーター

--slot -s

スロットの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--action

Swap types. 最初にソース スロットにターゲット スロットの設定を適用するには、'preview' を使用します。'swap' を使用して完了します。を使用してスワップをリセットします。

プロパティ
規定値: swap
指定可能な値: preview, reset, swap
--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name -n

関数アプリの名前。

プロパティ
Parameter group: Resource Id Arguments
--preserve-vnet

スワップ中に仮想ネットワークをスロットに保持します。既定値は "true" です。

プロパティ
指定可能な値: false, true
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--target-slot

スワップするターゲット スロット。既定では "運用" です。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False