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
Resource ID of the compute object to attach to the workspace.
Specifies the compute target name. Must be unique to the workspace.
Optional Parameters
Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=
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=
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
DNS name or IP address of the target.
Specifies the compute target name. Must be unique to the workspace.
Ssh port that can be use to connect to the compute.
The username for the remote machine being attached. Must also provide either a password or public and private key files.
Optional Parameters
The password for the remote machine being attached. Must either provide a password or public and private key files.
Path to a file containing the private key information for the remote machine being attached.
Passphrase for private key specified with the --private-key-file option.
Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=
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=
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.