az ml computetarget

Note

This reference is part of the azure-cli-ml extension for the Azure CLI (version 2.0.28 or higher). The extension will automatically install the first time you run an az ml computetarget command. Learn more about extensions.

Computetarget subgroup commands.

Commands

Name Description Type Status
az ml computetarget amlcompute

AzureML compute commands.

Extension GA
az ml computetarget amlcompute identity

AzureML compute target identity commands.

Extension GA
az ml computetarget amlcompute identity assign

Assign identity to an AzureML compute target.

Extension GA
az ml computetarget amlcompute identity remove

Remove identity from an AzureML compute target.

Extension GA
az ml computetarget amlcompute identity show

Display identities of an AzureML compute target.

Extension GA
az ml computetarget attach

Attach subgroup commands.

Extension GA
az ml computetarget attach aks

Attach an AKS cluster to the workspace.

Extension GA
az ml computetarget attach kubernetes

Attach a KubernetesCompute as a compute target to the workspace.

Extension GA
az ml computetarget attach remote

Attach a remote machine without Docker as a compute target to the workspace.

Extension GA
az ml computetarget computeinstance

AzureML compute instance commands.

Extension GA
az ml computetarget computeinstance restart

Restart a compute instance.

Extension GA
az ml computetarget computeinstance start

Start a compute instance.

Extension GA
az ml computetarget computeinstance stop

Stop a compute instance.

Extension GA
az ml computetarget create

Create a compute target (aks or amlcompute or computeinstance).

Extension GA
az ml computetarget create aks

Create an AKS compute target.

Extension GA
az ml computetarget create amlcompute

Create an AzureML compute target.

Extension GA
az ml computetarget create computeinstance

Create an AzureML compute instance target.

Extension GA
az ml computetarget create datafactory

Create a data factory compute target.

Extension GA
az ml computetarget delete

Delete a compute target (aks or amlcompute or computeinstance).

Extension GA
az ml computetarget detach

Detach a compute target (aks or remote) from a workspace.

Extension GA
az ml computetarget get-credentials

Get credentials for a compute target (aks or remote).

Extension GA
az ml computetarget list

List all the compute targets attached to a workspace.

Extension GA
az ml computetarget show

Show details of a specific compute target.

Extension GA
az ml computetarget update

Update a compute target (aks or amlcompute).

Extension GA
az ml computetarget update aks

Update an AKS compute target.

Extension GA
az ml computetarget update amlcompute

Update an AzureML compute target.

Extension GA

az ml computetarget delete

Delete a compute target (aks or amlcompute or computeinstance).

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

Required Parameters

--name -n

Name of compute target to delete.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace containing the environment to delete.

-v

Verbosity flag.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget detach

Detach a compute target (aks or remote) from a workspace.

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

Required Parameters

--name -n

Name of compute target to detach.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace containing the environment to detach.

-v

Verbosity flag.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget get-credentials

Get credentials for a compute target (aks or remote).

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

Required Parameters

--name -n

Name of compute target to retrieve keys for.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace containing the compute target to get credentials for.

-v

Verbosity flag.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget list

List all the compute targets attached to a workspace.

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

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace containing the compute target to show.

-v

Verbosity flag.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az ml computetarget show

Show details of a specific compute target.

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

Required Parameters

--name -n

Name of compute target to show.

Optional Parameters

--path

Path to a project folder. Default: current directory.

--resource-group -g

Resource group corresponding to the provided workspace.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace containing the compute target to show.

-v

Verbosity flag.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.