az aksarc release
Note
此參考是 Azure CLI 的 aksarc 擴充功能的一部分(2.32.0 版或更高版本)。 擴充功能會在您第一次執行 az aksarc release 命令時自動安裝。 深入了解擴充功能。
此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
管理已布建叢集的 VHD 映像。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| az aksarc release download |
從版本下載 VHD 映像。 |
Extension | Preview |
| az aksarc release save |
將下載的 VHD 映射布建至 Arc 資源網橋。 |
Extension | Preview |
az aksarc release download
命令群組 『aksarc release』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
從版本下載 VHD 映像。
az aksarc release download --staging-folder
[--audience]
[--catalog]
[--extract-release]
[--mode {full, minimum}]
[--version]
範例
DownloadLatestRelease
az aksarc release download --staging-folder ./aksarc-release
必要參數
儲存發行檔案的本機目錄路徑。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
發行目錄物件。 預設值穩定。
| 屬性 | 值 |
|---|---|
| 預設值: | stable |
發行目錄名稱。 默認值為 aks-hybrid-stable-catalogs-ext。
| 屬性 | 值 |
|---|---|
| 預設值: | aks-hybrid-stable-catalogs-ext |
下載之後擷取OS映像版本檔案,以便與舊版回溯相容性。 注意:這項功能未來將會淘汰。
Minimum(default) 只會下載 Linux 映射。 完整選項也會下載 Windows 映像。
| 屬性 | 值 |
|---|---|
| 預設值: | minimum |
| 接受的值: | full, minimum |
要下載的版本。 如果未指定,則會預設為最新版本。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az aksarc release save
命令群組 『aksarc release』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
將下載的 VHD 映射布建至 Arc 資源網橋。
az aksarc release save --staging-folder
[--config-file]
範例
SaveRelease
az aksarc release save --config-file ./work/resourceName-appliance.yaml --staging-folder ./aksarc-release
必要參數
匯入發行檔案的目錄路徑。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Arc 資源網橋設備配置檔 resourceName-appliance.yaml 的路徑。 在 Azure 本機裝置上,您可以在 Powershell 中執行 Get-ArcHciConfig 命令。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |