你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az arcappliance upgrade

注意

此参考是 Azure CLI 的 arcappliance 扩展(版本 2.70.0 或更高版本)的一部分。 该扩展会在首次运行 az arcappliance upgrade 命令时自动安装。 详细了解扩展

用于升级设备群集的命令组。

命令

名称 说明 类型 Status
az arcappliance upgrade hci

用于升级 Azure Stack HCI 上的设备的命令。

外延 加语
az arcappliance upgrade scvmm

用于升级 SCVMM 上的设备的命令。

外延 加语
az arcappliance upgrade vmware

用于升级 VMware 上的设备的命令。

外延 加语

az arcappliance upgrade hci

用于升级 Azure Stack HCI 上的设备的命令。

az arcappliance upgrade hci --config-file
                            [--location]
                            [--name]
                            [--no-wait]
                            [--resource-group]

示例

升级 HCI 设备

az arcappliance upgrade hci --config-file [REQUIRED]

必需参数

--config-file

设备配置文件的路径。

可选参数

--location -l

位置。 值来自:az account list-locations。 可以使用 az configure --defaults location=<location>配置默认位置。

--name -n

Arc 资源桥的名称。

--no-wait

不要等待长时间运行的作完成。

默认值: False
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。

az arcappliance upgrade scvmm

用于升级 SCVMM 上的设备的命令。

az arcappliance upgrade scvmm --config-file
                              [--location]
                              [--name]
                              [--no-wait]
                              [--resource-group]

示例

升级 SCVMM 设备

az arcappliance upgrade scvmm --config-file [REQUIRED]

必需参数

--config-file

设备配置文件的路径。

可选参数

--location -l

位置。 值来自:az account list-locations。 可以使用 az configure --defaults location=<location>配置默认位置。

--name -n

Arc 资源桥的名称。

--no-wait

不要等待长时间运行的作完成。

默认值: False
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。

az arcappliance upgrade vmware

用于升级 VMware 上的设备的命令。

az arcappliance upgrade vmware --config-file
                               [--location]
                               [--name]
                               [--no-wait]
                               [--resource-group]

示例

升级 VMware 设备

az arcappliance upgrade vmware --config-file [REQUIRED]

必需参数

--config-file

设备配置文件的路径。

可选参数

--location -l

位置。 值来自:az account list-locations。 可以使用 az configure --defaults location=<location>配置默认位置。

--name -n

Arc 资源桥的名称。

--no-wait

不要等待长时间运行的作完成。

默认值: False
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。