snippetbashTip
az advisor — Manage Azure subscription information. Part of `azure-cli` (also known as `az`). More information: <
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 listShow 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 listEnable 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 listShow 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 listEnable 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.