az containerapp env workload-profile
หมายเหตุ
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.
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 |
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]
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
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.
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.
Delete a workload profile from a Container Apps environment.
az containerapp env workload-profile delete --name
--resource-group
--workload-profile-name
Delete a workload profile from a Container Apps environment
az containerapp env workload-profile delete -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp
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.
List the workload profiles from a Container Apps environment.
az containerapp env workload-profile list --name
--resource-group
List the workload profiles from a Container Apps environment
az containerapp env workload-profile list -g MyResourceGroup -n MyEnvironment
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.
List the supported workload profiles in a region.
az containerapp env workload-profile list-supported --location
List the supported workload profiles in a region
az containerapp env workload-profile list-supported -l region
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.
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]
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
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.
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.
Show a workload profile from a Container Apps environment.
az containerapp env workload-profile show --name
--resource-group
--workload-profile-name
Show a workload profile from a Container Apps environment
az containerapp env workload-profile show -g MyResourceGroup -n MyEnvironment --workload-profile-name my-wlp
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.
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]
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
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.
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.
คำติชม Azure CLI
Azure CLI เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: