az sf cluster upgrade-type

Manage the upgrade type of a cluster.

Commands

az sf cluster upgrade-type set

Change the upgrade type for a cluster.

az sf cluster upgrade-type set

Change the upgrade type for a cluster.

az sf cluster upgrade-type set --cluster-name
                               --resource-group
                               --upgrade-mode {automatic, manual}
                               [--subscription]
                               [--version]

Examples

Set a cluster to use the 'Automatic' upgrade mode.

az sf cluster upgrade-type set -g group-name -c cluster1 --upgrade-mode Automatic

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

--upgrade-mode

Cluster upgrade mode.

accepted values: automatic, manual

Optional Parameters

--subscription

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

--version

Cluster code version.