az vmware private-cloud maintenance
注释
此引用是 Azure CLI(版本 2.75.0 或更高版本)的 vmware 扩展的一部分。 该扩展将在首次运行 az vmware 私有云维护 命令时自动安装。 了解更多关于扩展的信息。
管理维护。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az vmware private-cloud maintenance initiate-check |
启动维护准备情况检查。 |
Extension | GA |
| az vmware private-cloud maintenance list |
按订阅 ID 列出维护资源。 |
Extension | GA |
| az vmware private-cloud maintenance reschedule |
重新计划维护。 |
Extension | GA |
| az vmware private-cloud maintenance schedule |
计划维护。 |
Extension | GA |
| az vmware private-cloud maintenance show |
获取维护。 |
Extension | GA |
az vmware private-cloud maintenance initiate-check
启动维护准备情况检查。
az vmware private-cloud maintenance initiate-check [--acquire-policy-token]
[--change-reference]
[--ids]
[--maintenance-name]
[--private-cloud-name]
[--resource-group]
[--subscription]
示例
Maintenances_InitiateChecks
az vmware private-cloud maintenance initiate-check --resource-group group1 --private-cloud-name cloud1 --maintenance-name maintenance1
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
维护的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
私有云的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az vmware private-cloud maintenance list
按订阅 ID 列出维护资源。
az vmware private-cloud maintenance list --private-cloud-name
--resource-group
[--from-date]
[--max-items]
[--next-token]
[--state-name {Canceled, Failed, InProgress, NotScheduled, Scheduled, Success}]
[--status {Active, Inactive}]
[--to-date]
必需参数
私有云的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
应从中返回结果的日期。即。scheduledStartTime >= from.
命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。
| 属性 | 值 |
|---|---|
| 参数组: | Pagination Arguments |
用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。
| 属性 | 值 |
|---|---|
| 参数组: | Pagination Arguments |
根据状态筛选维护。
| 属性 | 值 |
|---|---|
| 接受的值: | Canceled, Failed, InProgress, NotScheduled, Scheduled, Success |
筛选活动或非活动维护。
| 属性 | 值 |
|---|---|
| 接受的值: | Active, Inactive |
应返回结果的日期。 即 scheduledStartTime <= to-date。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | 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 vmware private-cloud maintenance reschedule
重新计划维护。
az vmware private-cloud maintenance reschedule [--acquire-policy-token]
[--change-reference]
[--ids]
[--maintenance-name]
[--message]
[--private-cloud-name]
[--reschedule-time]
[--resource-group]
[--subscription]
示例
Maintenances_Reschedule
az vmware private-cloud maintenance reschedule --resource-group group1 --private-cloud-name cloud1 --maintenance-name maintenance1 --reschedule-time 2023-01-12T16:17:55.237Z --message "Rescheduled due to xyz"
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
维护的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
计划消息。
| 属性 | 值 |
|---|---|
| 参数组: | Body Arguments |
私有云的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
重新计划维护时间。
| 属性 | 值 |
|---|---|
| 参数组: | Body Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az vmware private-cloud maintenance schedule
计划维护。
az vmware private-cloud maintenance schedule [--acquire-policy-token]
[--change-reference]
[--ids]
[--maintenance-name]
[--message]
[--private-cloud-name]
[--resource-group]
[--schedule-time]
[--subscription]
示例
Maintenances_Schedule
az vmware private-cloud maintenance schedule --resource-group group1 --private-cloud-name cloud1 --maintenance-name maintenance1 --schedule-time 2025-09-12T16:17:55.237Z --message "scheduled due to xyz"
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
维护的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
计划消息。
| 属性 | 值 |
|---|---|
| 参数组: | Body Arguments |
私有云的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
计划维护时间。
| 属性 | 值 |
|---|---|
| 参数组: | Body Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az vmware private-cloud maintenance show
获取维护。
az vmware private-cloud maintenance show [--ids]
[--maintenance-name]
[--private-cloud-name]
[--resource-group]
[--subscription]
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
维护的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
私有云的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |