az ml computetarget

注意

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

Computetarget 子群組命令。

命令

名稱 Description 類型 狀態
az ml computetarget amlcompute

AzureML 計算命令。

副檔名 GA
az ml computetarget amlcompute identity

AzureML 計算目標身分識別命令。

副檔名 GA
az ml computetarget amlcompute identity assign

將身分識別指派給 AzureML 計算目標。

副檔名 GA
az ml computetarget amlcompute identity remove

從 AzureML 計算目標移除身分識別。

副檔名 GA
az ml computetarget amlcompute identity show

顯示 AzureML 計算目標的身分識別。

副檔名 GA
az ml computetarget attach

附加子群組命令。

副檔名 GA
az ml computetarget attach aks

將 AKS 叢集附加至工作區。

副檔名 GA
az ml computetarget attach kubernetes

將 KubernetesCompute 作為計算目標附加至工作區。

副檔名 GA
az ml computetarget attach remote

將沒有 Docker 的遠端電腦作為計算目標連結至工作區。

副檔名 GA
az ml computetarget computeinstance

AzureML 計算實例命令。

副檔名 GA
az ml computetarget computeinstance restart

重新啟動計算實例。

副檔名 GA
az ml computetarget computeinstance start

啟動計算實例。

副檔名 GA
az ml computetarget computeinstance stop

停止計算實例。

副檔名 GA
az ml computetarget create

建立計算目標(aks 或 amlcompute 或 computeinstance)。

副檔名 GA
az ml computetarget create aks

建立 AKS 計算目標。

副檔名 GA
az ml computetarget create amlcompute

建立 AzureML 計算目標。

副檔名 GA
az ml computetarget create computeinstance

建立 AzureML 計算實例目標。

副檔名 GA
az ml computetarget create datafactory

建立數據處理站計算目標。

副檔名 GA
az ml computetarget delete

刪除計算目標(aks 或 amlcompute 或 computeinstance)。

副檔名 GA
az ml computetarget detach

將計算目標 (aks 或 remote) 與工作區中斷連結。

副檔名 GA
az ml computetarget get-credentials

取得計算目標 (aks 或 remote) 的認證。

副檔名 GA
az ml computetarget list

列出連結至工作區的所有計算目標。

副檔名 GA
az ml computetarget show

顯示特定計算目標的詳細數據。

副檔名 GA
az ml computetarget update

更新計算目標 (aks 或 amlcompute)。

副檔名 GA
az ml computetarget update aks

更新 AKS 計算目標。

副檔名 GA
az ml computetarget update amlcompute

更新 AzureML 計算目標。

副檔名 GA

az ml computetarget delete

刪除計算目標(aks 或 amlcompute 或 computeinstance)。

az ml computetarget delete --name
                           [--path]
                           [--resource-group]
                           [--subscription-id]
                           [--workspace-name]
                           [-v]

必要參數

--name -n

要刪除的計算目標名稱。

選擇性參數

--path

專案資料夾的路徑。 預設值:目前目錄。

--resource-group -g

對應至所提供工作區的資源群組。

--subscription-id

指定訂用帳戶標識碼。

--workspace-name -w

包含要刪除之環境的工作區名稱。

-v

詳細資訊旗標。

全域參數
--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 ml computetarget detach

將計算目標 (aks 或 remote) 與工作區中斷連結。

az ml computetarget detach --name
                           [--path]
                           [--resource-group]
                           [--subscription-id]
                           [--workspace-name]
                           [-v]

必要參數

--name -n

要中斷連結的計算目標名稱。

選擇性參數

--path

專案資料夾的路徑。 預設值:目前目錄。

--resource-group -g

對應至所提供工作區的資源群組。

--subscription-id

指定訂用帳戶標識碼。

--workspace-name -w

包含要卸離之環境的工作區名稱。

-v

詳細資訊旗標。

全域參數
--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 ml computetarget get-credentials

取得計算目標 (aks 或 remote) 的認證。

az ml computetarget get-credentials --name
                                    [--path]
                                    [--resource-group]
                                    [--subscription-id]
                                    [--workspace-name]
                                    [-v]

必要參數

--name -n

要擷取金鑰的計算目標名稱。

選擇性參數

--path

專案資料夾的路徑。 預設值:目前目錄。

--resource-group -g

對應至所提供工作區的資源群組。

--subscription-id

指定訂用帳戶標識碼。

--workspace-name -w

包含要取得認證之計算目標的工作區名稱。

-v

詳細資訊旗標。

全域參數
--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 ml computetarget list

列出連結至工作區的所有計算目標。

az ml computetarget list [--path]
                         [--resource-group]
                         [--subscription-id]
                         [--workspace-name]
                         [-v]

選擇性參數

--path

專案資料夾的路徑。 預設值:目前目錄。

--resource-group -g

對應至所提供工作區的資源群組。

--subscription-id

指定訂用帳戶標識碼。

--workspace-name -w

包含要顯示之計算目標的工作區名稱。

-v

詳細資訊旗標。

預設值: False
全域參數
--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 ml computetarget show

顯示特定計算目標的詳細數據。

az ml computetarget show --name
                         [--path]
                         [--resource-group]
                         [--subscription-id]
                         [--workspace-name]
                         [-v]

必要參數

--name -n

要顯示的計算目標名稱。

選擇性參數

--path

專案資料夾的路徑。 預設值:目前目錄。

--resource-group -g

對應至所提供工作區的資源群組。

--subscription-id

指定訂用帳戶標識碼。

--workspace-name -w

包含要顯示之計算目標的工作區名稱。

-v

詳細資訊旗標。

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