HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

az advisor — Manage Azure subscription information. Part of `azure-cli` (also known as `az`). More information: <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandazureaz advisorclimanageinformationpartsubscription

Problem

How to use the az advisor command: Manage Azure subscription information. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/advisor>.

Solution

az advisor — Manage Azure subscription information. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/advisor>.

List Azure Advisor configuration for the entire subscription:
az advisor configuration list


Show Azure Advisor configuration for the given subscription or resource group:
az advisor configuration show {{[-g|--resource-group]}} {{resource_group}}


List Azure Advisor recommendations:
az advisor recommendation list


Enable Azure Advisor recommendations:
az advisor recommendation enable {{[-g|--resource-group]}} {{resource_group}}


Disable Azure Advisor recommendations:
az advisor recommendation disable {{[-g|--resource-group]}} {{resource_group}}

Code Snippets

List Azure Advisor configuration for the entire subscription

az advisor configuration list

Show Azure Advisor configuration for the given subscription or resource group

az advisor configuration show {{[-g|--resource-group]}} {{resource_group}}

List Azure Advisor recommendations

az advisor recommendation list

Enable Azure Advisor recommendations

az advisor recommendation enable {{[-g|--resource-group]}} {{resource_group}}

Disable Azure Advisor recommendations

az advisor recommendation disable {{[-g|--resource-group]}} {{resource_group}}

Context

tldr-pages: common/az advisor

Revisions (0)

No revisions yet.