Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az containerapp env http-route-config

Commands to manage environment level http routing.

Commands

Name Description Type Status
az containerapp env http-route-config create

Create a new http route config.

Core GA
az containerapp env http-route-config delete

Delete a http route config.

Core GA
az containerapp env http-route-config list

List the http route configs in the environment.

Core GA
az containerapp env http-route-config show

Show a http route config.

Core GA
az containerapp env http-route-config update

Update a http route config.

Core GA

az containerapp env http-route-config create

Create a new http route config.

az containerapp env http-route-config create --http-route-config-name
 --name
 --resource-group
 --yaml
 [--acquire-policy-token]
 [--change-reference]

Examples

Create a new route from a yaml file.

az containerapp env http-route-config create -g MyResourceGroup -n MyEnvironment -r configname --yaml config.yaml

Required Parameters

--http-route-config-name -r

The name of the http route configuration.

--name -n

Name of the Container Apps environment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--yaml

The path to the YAML input file.

Optional Parameters

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

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

az containerapp env http-route-config delete

Delete a http route config.

az containerapp env http-route-config delete --http-route-config-name
 --name
 --resource-group
 [--acquire-policy-token]
 [--change-reference]
 [--yes]

Examples

Delete a route from the environment.

az containerapp env http-route-config delete -g MyResourceGroup -n MyEnvironment -r configname

Required Parameters

--http-route-config-name -r

The name of the http route configuration.

--name -n

Name of the Container Apps environment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

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

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False

az containerapp env http-route-config list

List the http route configs in the environment.

az containerapp env http-route-config list --name
 --resource-group

Examples

List the http route configs in the environment.

az containerapp env http-route-config list -g MyResourceGroup -n MyEnvironment

Required Parameters

--name -n

Name of the Container Apps environment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az containerapp env http-route-config show

Show a http route config.

az containerapp env http-route-config show --http-route-config-name
 --name
 --resource-group

Examples

Show a route in the environment.

az containerapp env http-route-config show -g MyResourceGroup -n MyEnvironment -r configname

Required Parameters

--http-route-config-name -r

The name of the http route configuration.

--name -n

Name of the Container Apps environment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az containerapp env http-route-config update

Update a http route config.

az containerapp env http-route-config update --http-route-config-name
 --name
 --resource-group
 --yaml
 [--acquire-policy-token]
 [--change-reference]

Examples

Update a route in the environment from a yaml file.

az containerapp env http-route-config update -g MyResourceGroup -n MyEnvironment -r configname --yaml config.yaml

Required Parameters

--http-route-config-name -r

The name of the http route configuration.

--name -n

Name of the Container Apps environment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--yaml

The path to the YAML input file.

Optional Parameters

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

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

Feedback

Was this page helpful?