az containerapp env workload-profile
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage the workload profiles of a Container Apps environment.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp env workload-profile add |
Create a workload profile in a Container Apps environment. |
Core | GA |
az containerapp env workload-profile delete |
Delete a workload profile from a Container Apps environment. |
Core | GA |
az containerapp env workload-profile list |
List the workload profiles from a Container Apps environment. |
Core | GA |
az containerapp env workload-profile list-supported |
List the supported workload profiles in a region. |
Core | GA |
az containerapp env workload-profile set |
Create or update an existing workload profile in a Container Apps environment. |
Extension | Deprecated |
az containerapp env workload-profile show |
Show a workload profile from a Container Apps environment. |
Core | GA |
az containerapp env workload-profile update |
Update an existing workload profile in a Container Apps environment. |
Core | GA |
az containerapp env workload-profile add
Create a workload profile in a Container Apps environment.
az containerapp env workload-profile add --name
--resource-group
--workload-profile-name
[--max-nodes]
[--min-nodes]
[--workload-profile-type]
Examples
Create a workload profile in a Container Apps environment
az containerapp env workload-profile add -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp --workload-profile-type D4 --min-nodes 1 --max-nodes 2
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The friendly name for the workload profile.
Optional Parameters
The maximum node count for the workload profile.
The minimum node count for the workload profile.
The type of workload profile to add to this environment. Run 'az containerapp env workload-profile list-supported -l ' to check the options for your region.
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 workload-profile delete
Delete a workload profile from a Container Apps environment.
az containerapp env workload-profile delete --name
--resource-group
--workload-profile-name
Examples
Delete a workload profile from a Container Apps environment
az containerapp env workload-profile delete -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The friendly name for the workload profile.
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 workload-profile list
List the workload profiles from a Container Apps environment.
az containerapp env workload-profile list --name
--resource-group
Examples
List the workload profiles from a Container Apps environment
az containerapp env workload-profile list -g MyResourceGroup -n MyEnvironment
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 workload-profile list-supported
List the supported workload profiles in a region.
az containerapp env workload-profile list-supported --location
Examples
List the supported workload profiles in a region
az containerapp env workload-profile list-supported -l region
Required Parameters
Location of resource. Examples: eastus2, northeurope.
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 workload-profile set
This command has been deprecated and will be removed in a future release. Use 'containerapp env workload-profile add/update' instead.
Create or update an existing workload profile in a Container Apps environment.
az containerapp env workload-profile set --name
--resource-group
--workload-profile-name
[--max-nodes]
[--min-nodes]
[--workload-profile-type]
Examples
Create or update an existing workload profile in a Container Apps environment
az containerapp env workload-profile set -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp --workload-profile-type D4 --min-nodes 1 --max-nodes 2
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The friendly name for the workload profile.
Optional Parameters
The maximum node count for the workload profile.
The minimum node count for the workload profile.
The type of workload profile to add or update. Run 'az containerapp env workload-profile list-supported -l ' to check the options for your region.
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 workload-profile show
Show a workload profile from a Container Apps environment.
az containerapp env workload-profile show --name
--resource-group
--workload-profile-name
Examples
Show a workload profile from a Container Apps environment
az containerapp env workload-profile show -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The friendly name for the workload profile.
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 workload-profile update
Update an existing workload profile in a Container Apps environment.
az containerapp env workload-profile update --name
--resource-group
--workload-profile-name
[--max-nodes]
[--min-nodes]
Examples
Update an existing workload profile in a Container Apps environment
az containerapp env workload-profile update -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp --min-nodes 1 --max-nodes 3
Required Parameters
The name of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The friendly name for the workload profile.
Optional Parameters
The maximum node count for the workload profile.
The minimum node count for the workload profile.
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.