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). If provided, no other 'Resource Id' arguments should be specified.

--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). If provided, no other 'Resource Id' arguments should be specified.

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

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

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

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