az containerapp ingress
Commands to manage ingress and traffic-splitting.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp ingress access-restriction |
Commands to manage IP access restrictions. |
Core | GA |
az containerapp ingress access-restriction list |
List IP access restrictions for a container app. |
Core | GA |
az containerapp ingress access-restriction remove |
Remove IP access restrictions from a container app. |
Core | GA |
az containerapp ingress access-restriction set |
Configure IP access restrictions for a container app. |
Core | GA |
az containerapp ingress cors |
Commands to manage CORS policy for a container app. |
Core | GA |
az containerapp ingress cors disable |
Disable CORS policy for a container app. |
Core | GA |
az containerapp ingress cors enable |
Enable CORS policy for a container app. |
Core | GA |
az containerapp ingress cors show |
Show CORS policy for a container app. |
Core | GA |
az containerapp ingress cors update |
Update CORS policy for a container app. |
Core | GA |
az containerapp ingress disable |
Disable ingress for a container app. |
Core | GA |
az containerapp ingress enable |
Enable or update ingress for a container app. |
Core | GA |
az containerapp ingress show |
Show details of a container app's ingress. |
Core | GA |
az containerapp ingress sticky-sessions |
Commands to set Sticky session affinity for a container app. |
Core | GA |
az containerapp ingress sticky-sessions set |
Configure Sticky session for a container app. |
Core | GA |
az containerapp ingress sticky-sessions show |
Show the Affinity for a container app. |
Core | GA |
az containerapp ingress traffic |
Commands to manage traffic-splitting. |
Core | GA |
az containerapp ingress traffic set |
Configure traffic-splitting for a container app. |
Core | GA |
az containerapp ingress traffic show |
Show traffic-splitting configuration for a container app. |
Core | GA |
az containerapp ingress update |
Update ingress for a container app. |
Core | GA |
az containerapp ingress disable
Disable ingress for a container app.
az containerapp ingress disable [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Disable ingress for a container app.
az containerapp ingress disable -n my-containerapp -g MyResourceGroup
Optional Parameters
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 Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
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 containerapp ingress enable
Enable or update ingress for a container app.
az containerapp ingress enable --type {external, internal}
[--allow-insecure {false, true}]
[--exposed-port]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--target-port]
[--transport {auto, http, http2, tcp}]
Examples
Enable or update ingress for a container app.
az containerapp ingress enable -n my-containerapp -g MyResourceGroup \
--type external --allow-insecure --target-port 80 --transport auto
Required Parameters
The ingress type.
Optional Parameters
Allow insecure connections for ingress traffic.
Additional exposed port. Only supported by tcp transport protocol. Must be unique per environment if the app ingress is external.
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 Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The application port used for ingress traffic.
The transport protocol used for ingress traffic.
Global Parameters
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 containerapp ingress show
Show details of a container app's ingress.
az containerapp ingress show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show the details of a container app's ingress.
az containerapp ingress show -n my-containerapp -g MyResourceGroup
Optional Parameters
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 Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
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 containerapp ingress update
Update ingress for a container app.
az containerapp ingress update [--allow-insecure {false, true}]
[--exposed-port]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--target-port]
[--transport {auto, http, http2, tcp}]
[--type {external, internal}]
Examples
Update ingress for a container app.
az containerapp ingress update -n my-containerapp -g MyResourceGroup \
--target-port 8080
Optional Parameters
Allow insecure connections for ingress traffic.
Additional exposed port. Only supported by tcp transport protocol. Must be unique per environment if the app ingress is external.
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 Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The application port used for ingress traffic.
The transport protocol used for ingress traffic.
The ingress type.
Global Parameters
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.