az network application-gateway redirect-config
Manage redirect configurations of an application gateway.
コマンド
az network application-gateway redirect-config create |
Create a redirect configuration. |
az network application-gateway redirect-config delete |
Delete a redirect configuration. |
az network application-gateway redirect-config list |
List redirect configurations. |
az network application-gateway redirect-config show |
Get the details of a redirect configuration. |
az network application-gateway redirect-config update |
Update a redirect configuration. |
az network application-gateway redirect-config wait |
Place the CLI in a waiting state until a condition is met. |
az network application-gateway redirect-config create
Create a redirect configuration.
az network application-gateway redirect-config create --gateway-name
--name
--resource-group
--type {Found, Permanent, SeeOther, Temporary}
[--include-path {0, 1, f, false, n, no, t, true, y, yes}]
[--include-query-string {0, 1, f, false, n, no, t, true, y, yes}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--target-listener]
[--target-url]
例
MyBackendListener という http リスナーへのリダイレクト構成を作成します。
az network application-gateway redirect-config create -g MyResourceGroup --gateway-name MyAppGateway -n MyRedirectConfig --type Permanent --include-path true --include-query-string true --target-listener MyBackendListener
必須のパラメーター
アプリケーション ゲートウェイの名前。
リダイレクト構成の名前。
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
HTTP リダイレクトの種類。
省略可能のパラメーター
リダイレクトされた URL にパスを含めるかどうか。
リダイレクトされた URL にクエリ文字列を含めるかどうか。
実行時間の長い操作の終了を待機しません。
要求をリダイレクトする HTTP リスナーの名前または ID。
要求のリダイレクト先の URL。
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
az network application-gateway redirect-config delete
Delete a redirect configuration.
az network application-gateway redirect-config delete --gateway-name
--name
--resource-group
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
例
Delete a redirect configuration.
az network application-gateway redirect-config delete -g MyResourceGroup --gateway-name MyAppGateway -n MyRedirectConfig
必須のパラメーター
Name of the application gateway.
Name of the redirect configuration.
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
省略可能のパラメーター
実行時間の長い操作の終了を待機しません。
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
az network application-gateway redirect-config list
List redirect configurations.
az network application-gateway redirect-config list --gateway-name
--resource-group
例
List redirect configurations.
az network application-gateway redirect-config list -g MyResourceGroup --gateway-name MyAppGateway
必須のパラメーター
Name of the application gateway.
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
az network application-gateway redirect-config show
Get the details of a redirect configuration.
az network application-gateway redirect-config show --gateway-name
--name
--resource-group
例
Get the details of a redirect configuration.
az network application-gateway redirect-config show -g MyResourceGroup --gateway-name MyAppGateway -n MyRedirectConfig
必須のパラメーター
Name of the application gateway.
Name of the redirect configuration.
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
az network application-gateway redirect-config update
Update a redirect configuration.
az network application-gateway redirect-config update --gateway-name
--name
--resource-group
[--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--include-path {0, 1, f, false, n, no, t, true, y, yes}]
[--include-query-string {0, 1, f, false, n, no, t, true, y, yes}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--set]
[--target-listener]
[--target-url]
[--type {Found, Permanent, SeeOther, Temporary}]
例
リダイレクト構成を別の http リスナーに更新します。
az network application-gateway redirect-config update -g MyResourceGroup --gateway-name MyAppGateway -n MyRedirectConfig --type Permanent --target-listener MyNewBackendListener
必須のパラメーター
Name of the application gateway.
Name of the redirect configuration.
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
省略可能のパラメーター
パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value、string、または JSON 文字列>。
'set' または 'add' を使用する場合は、JSON への変換を試みるのではなく、文字列リテラルを保持します。
Whether to include path in the redirected url.
Whether to include query string in the redirected url.
実行時間の長い操作の終了を待機しません。
リストからプロパティまたは要素を削除します。 例: --remove property.list OR --remove propertyToRemove。
設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=。
Name or ID of the HTTP listener to redirect the request to.
URL to redirect the request to.
HTTP redirection type.
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
az network application-gateway redirect-config wait
Place the CLI in a waiting state until a condition is met.
az network application-gateway redirect-config wait [--created]
[--custom]
[--deleted]
[--exists]
[--gateway-name]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
省略可能のパラメーター
'provisioningState' が 'Succeeded' で作成されるまで待ちます。
条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
削除されるまで待ちます。
リソースが存在するまで待ちます。
Name of the application gateway.
1 つまたは複数のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids またはその他の 'Resource Id' 引数を指定する必要があります。
ポーリング間隔 (秒単位)。
リソース グループの名前。 az configure --defaults group=<name>
を使用して、既定のグループを構成できます。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
最大待機時間 (秒単位)。
provisioningState が 'Succeeded' で更新されるまで待ちます。
すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告は抑制します。
出力形式。
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。
サブスクリプションの名前または ID。 az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。
フィードバック
フィードバックの送信と表示