az advisor recommendation
Review Azure Advisor recommendations.
Commands
Name | Description | Type | Status |
---|---|---|---|
az advisor recommendation disable |
Dismiss Azure Advisor recommendations. |
Core | GA |
az advisor recommendation enable |
Enable Azure Advisor recommendations. |
Core | GA |
az advisor recommendation list |
List Azure Advisor recommendations. |
Core | GA |
az advisor recommendation disable
Dismiss Azure Advisor recommendations.
az advisor recommendation disable [--days]
[--ids]
[--name]
[--resource-group]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Number of days to disable. If not specified, the recommendation is disabled forever.
One or more resource IDs (space-delimited). If provided, no other "Resource Id" arguments should be specified.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the recommendation as output by the list command.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az advisor recommendation enable
Enable Azure Advisor recommendations.
az advisor recommendation enable [--ids]
[--name]
[--resource-group]
Examples
Enable Azure Advisor recommendations. (autogenerated)
az advisor recommendation enable --name MyRecommendation
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). If provided, no other "Resource Id" arguments should be specified.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the recommendation as output by the list command.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az advisor recommendation list
List Azure Advisor recommendations.
az advisor recommendation list [--category {Cost, HighAvailability, Performance, Security}]
[--ids]
[--refresh]
[--resource-group]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of recommendation category.
Property | Value |
---|---|
Accepted values: | Cost, HighAvailability, Performance, Security |
One or more resource IDs (space-delimited). If provided, no other "Resource Id" arguments should be specified.
Generate new recommendations.
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |