Udostępnij za pośrednictwem


UpgradePolicy Class

Definition

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

public class UpgradePolicy
type UpgradePolicy = class
Public Class UpgradePolicy
Inheritance
UpgradePolicy

Constructors

UpgradePolicy()

Initializes a new instance of the UpgradePolicy class.

UpgradePolicy(UpgradeMode, AutomaticOSUpgradePolicy, RollingUpgradePolicy)

Initializes a new instance of the UpgradePolicy class.

Properties

AutomaticOSUpgradePolicy

Gets or sets configuration parameters used for performing automatic OS Upgrade.

Mode

Gets or sets specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> Automatic - All virtual machines in the scale set are automatically updated at the same time.<br /><br /> Rolling - Scale set performs updates in batches with an optional pause time in between.

RollingUpgradePolicy

Gets or sets the configuration parameters used while performing a rolling upgrade.

Applies to