Linux command
az-storage-table 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create a table
az storage table create --name [mytable] --account-name [mystorageaccount]
List all tables
az storage table list --account-name [mystorageaccount]
Delete a table
az storage table delete --name [mytable] --account-name [mystorageaccount]
Check if table exists
az storage table exists --name [mytable] --account-name [mystorageaccount]
Generate a SAS token
az storage table generate-sas --name [mytable] --permissions [raud] --expiry [2024-12-31] --account-name [mystorageaccount]
Show table policy
az storage table policy list --table-name [mytable] --account-name [mystorageaccount]
说明
az storage table manages Azure Table Storage tables. Table Storage is a NoSQL key-value store suitable for storing structured, non-relational data. Tables contain entities (rows) with properties (columns). Use az storage entity commands to manage the data within tables.
参数
- --name -n
- Name of the table.
- --account-name
- Storage account name.
- --account-key
- Storage account key.
- --permissions
- SAS permissions (r=read, a=add, u=update, d=delete).
FAQ
What is the az-storage-table command used for?
az storage table manages Azure Table Storage tables. Table Storage is a NoSQL key-value store suitable for storing structured, non-relational data. Tables contain entities (rows) with properties (columns). Use az storage entity commands to manage the data within tables.
How do I run a basic az-storage-table example?
Run `az storage table create --name [mytable] --account-name [mystorageaccount]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --name -n do in az-storage-table?
Name of the table.