az sf cluster upgrade-type

Manage the upgrade type of a cluster.

Commands

Name Description Type Status
az sf cluster upgrade-type set

Change the upgrade type for a cluster.

Core GA

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}
                               [--acquire-policy-token]
                               [--change-reference]
                               [--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.

Property Value
Accepted values: automatic, manual

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--version

Cluster code version.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False