az vmss rolling-upgrade

Manage rolling upgrades.

Commands

az vmss rolling-upgrade cancel

Cancels the current virtual machine scale set rolling upgrade.

az vmss rolling-upgrade get-latest

Gets the status of the latest virtual machine scale set rolling upgrade.

az vmss rolling-upgrade start

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.

az vmss rolling-upgrade cancel

Cancels the current virtual machine scale set rolling upgrade.

az vmss rolling-upgrade cancel [--ids]
                               [--name]
                               [--resource-group]
                               [--subscription]

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Scale set name. You can configure the default using az configure --defaults vmss=<name>.

--resource-group -g

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

--subscription

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

az vmss rolling-upgrade get-latest

Gets the status of the latest virtual machine scale set rolling upgrade.

az vmss rolling-upgrade get-latest [--ids]
                                   [--name]
                                   [--resource-group]
                                   [--subscription]

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Scale set name. You can configure the default using az configure --defaults vmss=<name>.

--resource-group -g

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

--subscription

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

az vmss rolling-upgrade start

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.

Instances which are already running the latest available OS version are not affected.

az vmss rolling-upgrade start [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Scale set name. You can configure the default using az configure --defaults vmss=<name>.

--resource-group -g

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

--subscription

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