az ml computetarget attach

Note

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

Attach subgroup commands.

Commands

az ml computetarget attach aks

Attach an AKS cluster to the workspace.

az ml computetarget attach remote

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

az ml computetarget attach aks

Attach an AKS cluster to the workspace.

az ml computetarget attach aks --compute-resource-id
                               --name
                               [--resource-group]
                               [--workspace-name]

Required Parameters

--compute-resource-id -i

Resource ID of the compute object to attach to the workspace.

--name -n

Specifies the compute target name. Must be unique to the workspace.

Optional Parameters

--resource-group -g

Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=". This parameter will override any set default.

--workspace-name -w

Name of the workspace to create this compute target under. A default value for all commands can be set by running "az configure --defaults workspace_name=". This parameter will override any set default.

az ml computetarget attach remote

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

az ml computetarget attach remote --address
                                  --name
                                  --ssh-port
                                  --username
                                  [--password]
                                  [--private-key-file]
                                  [--private-key-passphrase]
                                  [--resource-group]
                                  [--workspace-name]

Required Parameters

--address -a

DNS name or IP address of the target.

--name -n

Specifies the compute target name. Must be unique to the workspace.

--ssh-port

Ssh port that can be use to connect to the compute.

default value: 22
--username -u

The username for the remote machine being attached. Must also provide either a password or public and private key files.

Optional Parameters

--password -p

The password for the remote machine being attached. Must either provide a password or public and private key files.

--private-key-file

Path to a file containing the private key information for the remote machine being attached.

--private-key-passphrase

Passphrase for private key specified with the --private-key-file option.

--resource-group -g

Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=". This parameter will override any set default.

--workspace-name -w

Name of the workspace to create this compute target under. A default value for all commands can be set by running "az configure --defaults workspace_name=". This parameter will override any set default.