AZ Cheat Sheet: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
*Set Subscription | *Set Subscription | ||
az account set --subscription SubscriptionName | az account set --subscription SubscriptionName | ||
=Storage-Account= | |||
*Create Storage Account | |||
az storage account create --location eastus --name ContainerName --resource-group RG --sku Standard_RAGRS --kind BlobStorage --access-tier Hot | |||
*Get Keys | |||
az storage account keys list --resource-group RG --account-name ContainerName --output table |
Revision as of 09:45, 15 January 2021
Login and Subscription
az login --use-device-code
az account show
- Set Subscription
az account set --subscription SubscriptionName
Storage-Account
- Create Storage Account
az storage account create --location eastus --name ContainerName --resource-group RG --sku Standard_RAGRS --kind BlobStorage --access-tier Hot
- Get Keys
az storage account keys list --resource-group RG --account-name ContainerName --output table