az advisor recommendation
Review Azure Advisor recommendations.
Commands
az advisor recommendation disable |
Disable Azure Advisor recommendations. |
az advisor recommendation enable |
Enable Azure Advisor recommendations. |
az advisor recommendation list |
List Azure Advisor recommendations. |
az advisor recommendation disable
Disable Azure Advisor recommendations.
az advisor recommendation disable [--days]
[--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
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.
The name of the recommendation as output by the list command.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az advisor recommendation enable
Enable Azure Advisor recommendations.
az advisor recommendation enable [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Enable Azure Advisor recommendations. (autogenerated)
az advisor recommendation enable --name MyRecommendation
Optional Parameters
One or more resource IDs (space-delimited). If provided, no other "Resource Id" arguments should be specified.
The name of the recommendation as output by the list command.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az advisor recommendation list
List Azure Advisor recommendations.
az advisor recommendation list [--category {Cost, HighAvailability, Performance, Security}]
[--ids]
[--query-examples]
[--refresh]
[--resource-group]
[--subscription]
Optional Parameters
Name of recommendation category.
One or more resource IDs (space-delimited). If provided, no other "Resource Id" arguments should be specified.
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Generate new recommendations.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.