1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

az-account: add page (#6204)

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Muhammad Falak R Wani 2021-07-18 13:54:54 +05:30 committed by GitHub
parent 3d07599357
commit 8b934ddd8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
# az account
> Manage Azure subscription information.
> Part of `az`, the command-line client for Microsoft Azure.
> More information: <https://docs.microsoft.com/cli/azure/account>.
- Print a list of subscriptions for the logged in account:
`az account list`
- Set a `subscription` to be the currently active subscription:
`az account set --subscription {{subscription_id}}`
- 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 {{ms-graph}}`
- Print details of the currently active subscription in a specific format:
`az account show --output {{json|tsv|table|yaml}}`