1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/az-storage.md
Vitor Henrique 814e511bae
pages*: add missing mnemonics (part 1) (#12143)
* pages*: add missing mnemonics

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-09 20:04:08 +05:30

894 B

az storage

Manage Azure Cloud Storage resources. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/storage.

  • Create a storage account specifying a [l]ocation:

az storage account create --resource-group {{group_name}} --name {{account_name}} -l {{location}} --sku {{account_sku}}

  • List all storage accounts in a resource group:

az storage account list --resource-group {{group_name}}

  • List the access keys for a storage account:

az storage account keys list --resource-group {{group_name}} --name {{account_name}}

  • Delete a storage account:

az storage account delete --resource-group {{group_name}} --name {{account_name}}

  • Update the minimum tls version setting for a storage account:

az storage account update --min-tls-version {{TLS1_0|TLS1_1|TLS1_2}} --resource-group {{group_name}} --name {{account_name}}