az ml computetarget update

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

Update a compute target (aks or amlcompute).

Commands

Name Description Type Status
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 update aks

Update an AKS compute target.

az ml computetarget update aks --name
                               [--load-balancer-subnet]
                               [--load-balancer-type]
                               [--no-wait]
                               [--path]
                               [--resource-group]
                               [--ssl-cert-file]
                               [--ssl-cname]
                               [--ssl-disable]
                               [--ssl-key-file]
                               [--ssl-leaf-domain-label]
                               [--ssl-overwrite-domain]
                               [--ssl-renew]
                               [--subscription-id]
                               [--workspace-name]
                               [-v]

Required Parameters

--name -n

Name of compute target to update.

Optional Parameters

--load-balancer-subnet

You can specify subnet for the AKS cluster when Internal Load Balancer is used as load balancer type. Default is "aks-subnet".

--load-balancer-type

You can create an AKS cluster with either Public IP or Internal Load Balancer. Accepted values are "PublicIp" and "InternalLoadBalancer". Default is "PublicIp".

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

--ssl-cert-file

Cert pem file to use for SSL validation. If provided, must also provide cname and key pem file.

--ssl-cname

Cname to use for SSL validation. If provided, must also provide cert and key pem files.

--ssl-disable

Disable SSL validation.

--ssl-key-file

Key pem file to use for SSL validation. If provided, must also provide cname and cert pem file.

--ssl-leaf-domain-label

Leaf domain label to use for the auto generated certificate.

--ssl-overwrite-domain

When set overwrites the existing leaf domain label.

--ssl-renew

Refreshes the auto generated certificate. If provided, the existing SSL configuration must be auto.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Name of the workspace to create this compute target under.

-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 update amlcompute

Update an AzureML compute target.

az ml computetarget update amlcompute --name
                                      [--idle-seconds-before-scaledown]
                                      [--max-nodes]
                                      [--min-nodes]
                                      [--path]
                                      [--resource-group]
                                      [--subscription-id]
                                      [--workspace-name]
                                      [-v]

Required Parameters

--name -n

Name of compute target to provision.

Optional Parameters

--idle-seconds-before-scaledown

Node idle time in seconds before scaling down the cluster.

--max-nodes

Maximum number of nodes to use.

--min-nodes

Minimum number of nodes to use.

--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 to create this compute target under.

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