az-advisor

View and manage Azure best-practice recommendations

TLDR

List all Azure Advisor recommendations
$ az advisor recommendation list
List recommendations for a specific category
$ az advisor recommendation list --category [Cost|Security|HighAvailability|Performance|OperationalExcellence]
Show Advisor configuration for the subscription
$ az advisor configuration show
List configuration for the entire subscription
$ az advisor configuration list
Disable a recommendation
$ az advisor recommendation disable --name [recommendation-name] --resource-group [rg-name]
Enable a previously disabled recommendation
$ az advisor recommendation enable --name [recommendation-name] --resource-group [rg-name]

SYNOPSIS

az advisor subcommand [options]

DESCRIPTION

az advisor manages Azure Advisor, a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments. Azure Advisor analyzes resource configuration and usage telemetry, then recommends solutions to improve cost effectiveness, performance, reliability, and security.Recommendations are categorized into: Cost, Security, HighAvailability (Reliability), Performance, and OperationalExcellence.

SUBCOMMANDS

configuration list

List Azure Advisor configuration for the entire subscription.
configuration show
Show Azure Advisor configuration for the given subscription or resource group.
configuration update
Update Azure Advisor configuration.
recommendation list
List Azure Advisor recommendations.
recommendation disable
Dismiss Azure Advisor recommendations.
recommendation enable
Enable Azure Advisor recommendations.

INSTALL

sudo dnf install azure-cli
sudo pacman -S azure-cli
sudo zypper install azure-cli
brew install azure-cli
nix profile install nixpkgs#azure-cli

CAVEATS

Requires Azure CLI to be installed and authenticated with az login. Appropriate Azure RBAC permissions are needed to view and manage Advisor recommendations.

SEE ALSO

az(1), az-config(1), az-feedback(1)