UpgradePolicy Class

Definition

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

public class UpgradePolicy
type UpgradePolicy = class
Public Class UpgradePolicy
Inheritance
System.Object
UpgradePolicy

Constructors

UpgradePolicy()

Initializes a new instance of the UpgradePolicy class.

Properties

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. Possible values include: 'Automatic', 'Manual', 'Rolling'

RollingUpgradePolicy

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

Methods

Validate()

Validate the object.

Applies to