-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: marchersimon <[email protected]> Co-authored-by: CleanMachine1 <[email protected]> Signed-off-by: Muhammad Falak R Wani <[email protected]>
- Loading branch information
1 parent
3d07599
commit 8b934dd
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}}` |