az containerapp env premium-ingress
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp env premium-ingress command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Configure premium ingress settings for the environment.
Premium ingress settings apply to all applications in the environment. They allow moving the ingress instances to a workload profile and scaling them beyond the system defaults to enable high traffic workloads. Other settings include request idle timeouts, header count limits, and the termination grace period.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp env premium-ingress add |
Enable the premium ingress settings for the environment. |
Extension | Preview |
az containerapp env premium-ingress remove |
Remove the ingress settings and restores the system to default values. |
Extension | Preview |
az containerapp env premium-ingress show |
Show the premium ingress settings for the environment. |
Extension | Preview |
az containerapp env premium-ingress update |
Update the premium ingress settings for the environment. |
Extension | Preview |
az containerapp env premium-ingress add
Command group 'containerapp env premium-ingress' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Enable the premium ingress settings for the environment.
Unspecified optional parameters will be cleared from any existing configuration.
az containerapp env premium-ingress add --max-replicas
--min-replicas
--resource-group
--workload-profile-name
[--header-count-limit]
[--ids]
[--name]
[--request-idle-timeout]
[--subscription]
[--termination-grace-period]
Examples
Add the premium ingress settings for the environment.
az containerapp env premium-ingress add -g MyResourceGroup -n MyEnvironment -w WorkloadProfileName --min-replicas 2 --max-replicas 10
Required Parameters
Maximum number of replicas to run. Default 10. The upper limit is the maximum cores available in the workload profile.
Minimum number of replicas to run. Default 2, minimum 2.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The workload profile to run ingress replicas on. This profile must not be shared with any container app or job.
Optional Parameters
Limit of http headers per request. Default 100, minimum 1.
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 managed environment.
Timeout in minutes for idle requests. Default 4, minimum 1.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Time in seconds to drain requests during ingress shutdown. Default 500, minimum 0, maximum 3600.
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 env premium-ingress remove
Command group 'containerapp env premium-ingress' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove the ingress settings and restores the system to default values.
az containerapp env premium-ingress remove --resource-group
[--ids]
[--name]
[--subscription]
[--yes]
Examples
Reset the ingress settings for the environment to its default values
az containerapp env premium-ingress remove -g MyResourceGroup -n MyEnvironment
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 managed environment.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
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 env premium-ingress show
Command group 'containerapp env premium-ingress' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show the premium ingress settings for the environment.
az containerapp env premium-ingress show --resource-group
[--ids]
[--name]
[--subscription]
Examples
Show the premium ingress settings for the environment.
az containerapp env premium-ingress show -g MyResourceGroup -n MyEnvironment
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 managed environment.
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 env premium-ingress update
Command group 'containerapp env premium-ingress' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the premium ingress settings for the environment.
az containerapp env premium-ingress update --resource-group
[--header-count-limit]
[--ids]
[--max-replicas]
[--min-replicas]
[--name]
[--request-idle-timeout]
[--subscription]
[--termination-grace-period]
[--workload-profile-name]
Examples
Update the workload profile used for premium ingress.
az containerapp env premium-ingress update -g MyResourceGroup -n MyEnvironment -w WorkloadProfileName
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Limit of http headers per request. Default 100, minimum 1.
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.
Maximum number of replicas to run. Default 10. The upper limit is the maximum cores available in the workload profile.
Minimum number of replicas to run. Default 2, minimum 2.
The name of the managed environment.
Timeout in minutes for idle requests. Default 4, minimum 1.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Time in seconds to drain requests during ingress shutdown. Default 500, minimum 0, maximum 3600.
The workload profile to run ingress replicas on. This profile must not be shared with any container app or job.
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.