LinuxCommandLibrary

az-advisor

View and manage Azure best-practice recommendations

TLDR

List all Azure Advisor recommendations

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

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, 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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community