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]

Required Parameters

--gateway-name
The name of the application gateway.
--name -n
The name of the redirect configuration.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
--type -t
HTTP redirection type.
accepted values: Found, Permanent, SeeOther, Temporary

Optional Parameters

--include-path
Include path in the redirected url.
accepted values: false, true
--include-query-string
Include query string in the redirected url.
accepted values: false, true
--no-wait
Do not wait for the long running operation to finish.
--target-listener
Name or ID of the HTTP listener to redirect the request to.
--target-url
URL to redirect the request to.

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]

Required Parameters

--gateway-name
The name of the application gateway.
--name -n
The name of the redirect configuration.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--no-wait
Do not wait for the long running operation to finish.

az network application-gateway redirect-config list

List redirect configurations.

az network application-gateway redirect-config list --gateway-name
--resource-group

Required Parameters

--gateway-name
The name of the application gateway.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

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

Required Parameters

--gateway-name
The name of the application gateway.
--name -n
The name of the redirect configuration.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az network application-gateway redirect-config update

Update a redirect configuration.

az network application-gateway redirect-config update --gateway-name
--name
--resource-group
[--add]
[--include-path {false, true}]
[--include-query-string {false, true}]
[--no-wait]
[--remove]
[--set]
[--target-listener]
[--target-url]
[--type {Found, Permanent, SeeOther, Temporary}]

Required Parameters

--gateway-name
The name of the application gateway.
--name -n
The name of the redirect configuration.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--add
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .
--include-path
Include path in the redirected url.
accepted values: false, true
--include-query-string
Include query string in the redirected url.
accepted values: false, true
--no-wait
Do not wait for the long running operation to finish.
--remove
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
--set
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
--target-listener
Name or ID of the HTTP listener to redirect the request to.
--target-url
URL to redirect the request to.
--type -t
HTTP redirection type.
accepted values: Found, Permanent, SeeOther, Temporary