Description Usage Arguments Details Functions
Subscription defaults to NULL
, in which case the subscription is expected to be enabled in the azure CLI cache already.
Appends and sets to default subscription
, if provided.
Errors out if no subscription is enabled.
1 2 3 4 5 6 7 | az_account(subscription = NULL, ...)
az_account_list(...)
az_account_show(subscription = NULL, ...)
az_account_set(subscription, ...)
|
subscription |
Name or ID of the Azure subscription to which costs are billed. According to an upvoted answer on Stack Overflow, Azure subscription IDs need not be considered a secret or personal identifiable information (PII). However, depending your applicable context and policies, you may want to provide this argument as a secret. To find out which subscriptions you are currently authorised to use, run |
... |
Arguments passed on to
|
Subscriptions are kept in the local azure CLI cache, so you should not have to run this more than once. On GitHub Actions, the azure login action will already set up a subscription.
az_account_list
: Get a list of subscriptions for the logged in account.
az_account_show
: Get the details of a subscription.
If the subscription isn't specified, shows the details of the default subscription.
az_account_set
: Set a subscription to be the current active subscription.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.