Share via


az arcappliance upgrade

注意

此參考是 Azure CLI 的 arcappliance 延伸模組的一部分 (2.51.0 版或更高版本)。 擴充功能會在您第一次執行 az arcappliance upgrade 命令時自動安裝。 深入了解擴充功能。

升級設備叢集的命令群組。

命令

名稱 Description 類型 狀態
az arcappliance upgrade hci

升級 Azure Stack HCI 上的設備命令。

副檔名 GA
az arcappliance upgrade scvmm

升級 SCVMM 上設備之命令。

副檔名 GA
az arcappliance upgrade vmware

升級 VMware 上的設備命令。

副檔名 GA

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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 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

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。