az account
Manage Azure subscription information. Part of
azure-cli(also known asaz). More information: https://learn.microsoft.com/cli/azure/account.
- List all subscriptions for the logged in account:
az account list
- Set a
subscriptionto be the currently active subscription:
az account set
- List supported regions for the currently active subscription:
az account list-locations
- Print an access token to be used with
MS Graph API:
az account get-access-token --resource-type
- Print details of the currently active subscription in a specific format:
az account show
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
