UpgradePolicy interface
Describes an upgrade policy - automatic, manual, or rolling.
Properties
automatic |
The configuration parameters used for performing automatic OS upgrade. |
mode | Specifies the mode of an upgrade to virtual machines in the scale set. |
rolling |
The configuration parameters used while performing a rolling upgrade. |
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
The configuration parameters used while performing a rolling upgrade.
rollingUpgradePolicy?: RollingUpgradePolicy