Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
az-storage Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`