你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzStorageTable
列出存储表。
语法
Get-AzStorageTable
[[-Name] <String>]
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzStorageTable
-Prefix <String>
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzStorageTable cmdlet 列出了与 Azure 中的存储帐户关联的存储表。
示例
示例 1:列出所有 Azure 存储表
Get-AzStorageTable
此命令获取存储帐户的所有存储表。
示例 2:使用通配符列出 Azure 存储表
Get-AzStorageTable -Name table*
此命令使用通配符获取名称以表开头的存储表。
示例 3:使用表名称前缀列出 Azure 存储表
Get-AzStorageTable -Prefix "table"
此命令使用 Prefix 参数获取名称以表开头的存储表。
参数
-Context
指定存储上下文。 若要创建它,可以使用 New-AzStorageContext cmdlet。
类型: | IStorageContext |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | True |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Name
指定表名称。 如果表名称为空,则 cmdlet 会列出所有表。 否则,它会列出与指定名称或常规名称模式匹配的所有表。
类型: | String |
别名: | N, Table |
Position: | 0 |
默认值: | None |
必需: | False |
接受管道输入: | True |
接受通配符: | True |
-Prefix
指定要获取的表或表的名称中使用的前缀。 可以使用此选项查找以相同字符串开头的所有表,例如表。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |