az arcappliance prepare

注意

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

準備 Arc 資源網橋部署的命令群組。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

命令

名稱 Description 類型 狀態
az arcappliance prepare hci

準備內部部署 Azure Stack HCI 環境以進行 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

副檔名 GA
az arcappliance prepare scvmm

在已啟用 Arc 的 SCVMM 上準備 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

副檔名 GA
az arcappliance prepare vmware

在已啟用 Arc 的 VMware 上準備 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

副檔名 GA

az arcappliance prepare hci

準備內部部署 Azure Stack HCI 環境以進行 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

az arcappliance prepare hci --config-file
                            [--cloudagent]
                            [--location]
                            [--loginconfigfile]
                            [--name]
                            [--resource-group]

範例

準備 Azure Stack HCI 以進行 Arc 資源網橋部署。

az arcappliance prepare hci --config-file [REQUIRED] --cloudagent [OPTIONAL] --loginconfigfile [OPTIONAL]

必要參數

--config-file

Arc 資源網橋設備配置檔 -appliance.yaml 的路徑。

選擇性參數

--cloudagent

Arc 資源網橋所使用的 Azure Stack HCI MOC 雲端代理程式服務的 FQDN 或 IP 位址。 這可以在儲存在 HCI 叢集本機的 -infra.yaml 組態檔中找到。

--location -l

位置。​​ 來自的值: az account list-locations。 您可以使用 az configure --defaults location=<location> 設定預設位置。

--loginconfigfile

Azure Stack HCI 登入組態檔 kvatoken.tok 的檔案路徑。 根據預設,它會儲存在 HCI 叢集本機上。

--name -n

Arc 資源網橋的名稱。

--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 prepare scvmm

在已啟用 Arc 的 SCVMM 上準備 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

az arcappliance prepare scvmm --config-file
                              [--address]
                              [--location]
                              [--name]
                              [--password]
                              [--port]
                              [--resource-group]
                              [--username]

範例

準備 SCVMM 環境以進行 Arc 資源網橋部署

az arcappliance prepare scvmm --config-file [REQUIRED] --address [OPTIONAL] --port [OPTIONAL] --username [OPTIONAL] --password [OPTIONAL]

必要參數

--config-file

Arc 資源網橋設備配置檔 -appliance.yaml 的路徑。

選擇性參數

--address

SCVMM 伺服器 FQDN (例如 vmmuser001.contoso.lab) 或 IPv4 位址。 如果您有高可用性 VMM 設定,請輸入角色名稱。

--location -l

位置。​​ 來自的值: az account list-locations。 您可以使用 az configure --defaults location=<location> 設定預設位置。

--name -n

Arc 資源網橋的名稱。

--password

SCVMM 管理員 istrator 密碼。

--port

SCVMM 伺服器埠號碼 (預設值:8100)。

--resource-group -g

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--username

SCVMM 管理員 istrator Username 格式為 domain\username,其中 'domain' 應該是網域的 NetBIOS 名稱(例如 contoso\administrator)。

全域參數
--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 prepare vmware

在已啟用 Arc 的 VMware 上準備 Arc 資源網橋部署的命令。 這會下載必要的映像來建置內部部署設備 VM,並將它上傳至私人雲端資源庫。

az arcappliance prepare vmware --config-file
                               [--address]
                               [--location]
                               [--name]
                               [--password]
                               [--resource-group]
                               [--username]

範例

準備 VMware 環境以進行 Arc 資源網橋部署

az arcappliance prepare vmware --config-file [REQUIRED] --address [OPTIONAL] --username [OPTIONAL] --password [OPTIONAL]

必要參數

--config-file

Arc 資源網橋設備配置檔 -appliance.yaml 的路徑。

選擇性參數

--address

vCenter Server 實例的 FQDN 或 IP 位址。 例如:10.160.0.1。

--location -l

位置。​​ 來自的值: az account list-locations。 您可以使用 az configure --defaults location=<location> 設定預設位置。

--name -n

Arc 資源網橋的名稱。

--password

Arc 資源網橋用於內部部署基礎結構來賓管理的 vSphere 帳戶密碼。

--resource-group -g

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--username

Arc 資源網橋用於內部部署基礎結構來賓管理的 vSphere 帳戶用戶名稱。

全域參數
--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 來取得完整偵錯記錄。