az ml computetarget computeinstance

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 computeinstance command. Learn more about extensions.

AzureML compute instance commands.

Commands

az ml computetarget computeinstance restart

Restart a compute instance.

az ml computetarget computeinstance start

Start a compute instance.

az ml computetarget computeinstance stop

Stop a compute instance.

az ml computetarget computeinstance restart

Restart a compute instance.

az ml computetarget computeinstance restart --name
                                            [--no-wait]
                                            [--path]
                                            [--resource-group]
                                            [--subscription-id]
                                            [--workspace-name]
                                            [-v]

Required Parameters

--name -n

Name of compute instance to restart.

Optional Parameters

--no-wait

Flag to not wait for asynchronous calls.

--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 restart.

-v

Verbosity flag.

default value: False

az ml computetarget computeinstance start

Start a compute instance.

az ml computetarget computeinstance start --name
                                          [--no-wait]
                                          [--path]
                                          [--resource-group]
                                          [--subscription-id]
                                          [--workspace-name]
                                          [-v]

Required Parameters

--name -n

Name of compute instance to start.

Optional Parameters

--no-wait

Flag to not wait for asynchronous calls.

--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 start.

-v

Verbosity flag.

default value: False

az ml computetarget computeinstance stop

Stop a compute instance.

az ml computetarget computeinstance stop --name
                                         [--no-wait]
                                         [--path]
                                         [--resource-group]
                                         [--subscription-id]
                                         [--workspace-name]
                                         [-v]

Required Parameters

--name -n

Name of compute instance to stop.

Optional Parameters

--no-wait

Flag to not wait for asynchronous calls.

--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 stop.

-v

Verbosity flag.

default value: False