diff --git a/pages/common/az-storage-table.md b/pages/common/az-storage-table.md new file mode 100644 index 0000000000..57b7ae141f --- /dev/null +++ b/pages/common/az-storage-table.md @@ -0,0 +1,21 @@ +# az storage table + +> Manage NoSQL key-value storage in Azure. +> Part of `azure-cli`. +> More information: . + +- Create a new table in the storage account: + +`az storage table create --account-name {{storage_account_name}} --name {{table_name}} --fail-on-exist` + +- Generate a shared access signature for the table: + +`az storage table generate-sas --account-name {{storage_account_name}} --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}} --name {{table_name}} --fail-not-exist`