az network application-gateway redirect-config
Manage redirect configurations.
Commands
| 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 create
Create a redirect configuration.
az network application-gateway redirect-config create --gateway-name
--name
--resource-group
--type {Found, Permanent, SeeOther, Temporary}
[--include-path {false, true}]
[--include-query-string {false, true}]
[--no-wait]
[--target-listener]
[--target-url]
Examples
Create a redirect configuration to a http-listener called MyBackendListener.
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
Required Parameters
Name of the application gateway.
The name of the redirect configuration.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
HTTP redirection type.
Optional Parameters
Include path in the redirected url.
Include query string in the redirected url.
Do not wait for the long-running operation to finish.
Name or ID of the HTTP listener to redirect the request to.
URL to redirect the request to.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network application-gateway redirect-config delete
Delete a redirect configuration.
az network application-gateway redirect-config delete [--gateway-name]
[--ids]
[--name]
[--no-wait]
[--resource-group]
Examples
Delete a redirect configuration.
az network application-gateway redirect-config delete -g MyResourceGroup \ --gateway-name MyAppGateway -n MyRedirectConfig
Optional Parameters
The name of the application gateway.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the redirect configuration.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network application-gateway redirect-config list
List redirect configurations.
az network application-gateway redirect-config list --gateway-name
--resource-group
Examples
List redirect configurations.
az network application-gateway redirect-config list -g MyResourceGroup --gateway-name MyAppGateway
Required Parameters
The name of the application gateway.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network application-gateway redirect-config show
Get the details of a redirect configuration.
az network application-gateway redirect-config show [--gateway-name]
[--ids]
[--name]
[--resource-group]
Examples
Get the details of a redirect configuration.
az network application-gateway redirect-config show -g MyResourceGroup --gateway-name MyAppGateway -n MyRedirectConfig
Optional Parameters
The name of the application gateway.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the redirect configuration.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az network application-gateway redirect-config update
Update a redirect configuration.
az network application-gateway redirect-config update [--add]
[--force-string]
[--gateway-name]
[--ids]
[--include-path {false, true}]
[--include-query-string {false, true}]
[--name]
[--no-wait]
[--remove]
[--resource-group]
[--set]
[--target-listener]
[--target-url]
[--type {Found, Permanent, SeeOther, Temporary}]
Examples
Update a redirect configuration to a different http-listener.
az network application-gateway redirect-config update -g MyResourceGroup --gateway-name MyAppGateway \
-n MyRedirectConfig --type Permanent --target-listener MyNewBackendListener
Update a redirect configuration. (autogenerated)
az network application-gateway redirect-config update --gateway-name MyAppGateway --include-path true --include-query-string true --name MyRedirectConfig --resource-group MyResourceGroup --target-listener MyNewBackendListener --type Permanent
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Name of the application gateway.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Include path in the redirected url.
Include query string in the redirected url.
The name of the redirect configuration.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Name or ID of the HTTP listener to redirect the request to.
URL to redirect the request to.
HTTP redirection type.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ