UpgradePolicy interface

Describes an upgrade policy - automatic, manual, or rolling.

Properties

automaticOSUpgradePolicy

The configuration parameters used for performing automatic OS upgrade.

mode

Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

Automatic - All virtual machines in the scale set are automatically updated at the same time.

Rolling - Scale set performs updates in batches with an optional pause time in between.

rollingUpgradePolicy

This property is only supported on Pools with the virtualMachineConfiguration property.

Property Details

automaticOSUpgradePolicy

The configuration parameters used for performing automatic OS upgrade.

automaticOSUpgradePolicy?: AutomaticOSUpgradePolicy

Property Value

mode

Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

Automatic - All virtual machines in the scale set are automatically updated at the same time.

Rolling - Scale set performs updates in batches with an optional pause time in between.

mode: UpgradeMode

Property Value

rollingUpgradePolicy

This property is only supported on Pools with the virtualMachineConfiguration property.

rollingUpgradePolicy?: RollingUpgradePolicy

Property Value