HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

az storage table — Manage NoSQL key-value storage in Azure. Part of `azure-cli` (also known as `az`). More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandvaluekeyclinosqlmanagestorageaz storage table

Problem

How to use the az storage table command: Manage NoSQL key-value storage in Azure. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/storage/table>.

Solution

az storage table — Manage NoSQL key-value storage in Azure. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/storage/table>.

Create a new table in the storage account:
az storage table create --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-on-exist


Generate a shared access signature for the table:
az storage table generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --permissions {{sas_permissions}} --expiry {{expiry_date}} --https-only


List tables in a storage account:
az storage table list --account-name {{storage_account_name}}


Delete the specified table and any data it contains:
az storage table delete --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-not-exist

Code Snippets

Create a new table in the storage account

az storage table create --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-on-exist

Generate a shared access signature for the table

az storage table generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --permissions {{sas_permissions}} --expiry {{expiry_date}} --https-only

List tables in a storage account

az storage table list --account-name {{storage_account_name}}

Delete the specified table and any data it contains

az storage table delete --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-not-exist

Context

tldr-pages: common/az storage table

Revisions (0)

No revisions yet.