az monitor autoscale-settings
Manage autoscale settings.
Commands
| az monitor autoscale-settings create |
Creates or updates an autoscale setting. |
| az monitor autoscale-settings delete |
Deletes and autoscale setting. |
| az monitor autoscale-settings get-parameters-template |
Scaffold fully formed autoscale-settings' parameters as json template. |
| az monitor autoscale-settings list |
Lists the autoscale settings for a resource group. |
| az monitor autoscale-settings show |
Gets an autoscale setting. |
| az monitor autoscale-settings update |
Updates an autoscale setting. |
az monitor autoscale-settings create
Creates or updates an autoscale setting.
az monitor autoscale-settings create --name
--parameters
--resource-group
Required Parameters
The autoscale setting name.
JSON encoded parameters configuration. Use @{file} to load from a file. Use az autoscale-settings get-parameters-template to export json template.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 monitor autoscale-settings delete
Deletes and autoscale setting.
az monitor autoscale-settings delete [--ids]
[--name]
[--resource-group]
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 autoscale setting name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 monitor autoscale-settings get-parameters-template
Scaffold fully formed autoscale-settings' parameters as json template.
az monitor autoscale-settings get-parameters-template
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 monitor autoscale-settings list
Lists the autoscale settings for a resource group.
az monitor autoscale-settings list --resource-group
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 monitor autoscale-settings show
Gets an autoscale setting.
az monitor autoscale-settings show [--ids]
[--name]
[--resource-group]
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 autoscale setting name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 monitor autoscale-settings update
Updates an autoscale setting.
az monitor autoscale-settings update --name
--resource-group
[--add]
[--force-string]
[--remove]
[--set]
Examples
Updates an autoscale setting. (autogenerated)
az monitor autoscale-settings update --name MyAutoscaleSetting --resource-group MyResourceGroup --set retentionPolicy.days=365
Required Parameters
The autoscale setting name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ