az pscloud
注释
此参考是 Azure CLI(版本 2.75.0 或更高版本) 的 pscloud 扩展的一部分。 该扩展将在首次运行 az pscloud 命令时自动安装。 了解更多关于扩展的信息。
此命令组处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
管理纯存储块资源。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az pscloud list |
按 Azure 订阅 ID 列出预留。 |
Extension | Preview |
| az pscloud pool |
管理存储池。 |
Extension | Preview |
| az pscloud pool create |
创建存储池。 |
Extension | Preview |
| az pscloud pool delete |
删除存储池。 |
Extension | Preview |
| az pscloud pool get-avs-status |
返回与 AVS 的存储池连接的状态。 |
Extension | Preview |
| az pscloud pool get-health-status |
检索存储池的运行状况指标。 |
Extension | Preview |
| az pscloud pool list |
按 Azure 订阅 ID 列出存储池。 |
Extension | Preview |
| az pscloud pool show |
获取存储池。 |
Extension | Preview |
| az pscloud pool update |
更新存储池。 |
Extension | Preview |
| az pscloud pool wait |
将 CLI 置于等待状态,直到满足条件。 |
Extension | Preview |
| az pscloud show |
获取预留。 |
Extension | Preview |
az pscloud list
命令组“az pscloud”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
按 Azure 订阅 ID 列出预留。
az pscloud list [--max-items]
[--next-token]
[--resource-group]
示例
Reservations_ListBySubscription
az pscloud list
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。
| 属性 | 值 |
|---|---|
| Parameter group: | Pagination Arguments |
用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。
| 属性 | 值 |
|---|---|
| Parameter group: | Pagination Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
全局参数
增加日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/ 。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 对完整调试日志使用 --debug。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az pscloud show
命令组“az pscloud”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
获取预留。
az pscloud show [--ids]
[--name --reservation-name]
[--resource-group]
[--subscription]
示例
Reservations_Get
az pscloud show --resource-group rgpurestorage --reservation-name storagePoolname
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
预留的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
增加日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/ 。
增加日志记录详细程度。 对完整调试日志使用 --debug。
| 属性 | 值 |
|---|---|
| 默认值: | False |