Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes an upgrade policy - automatic, manual, or rolling.
public class UpgradePolicy
type UpgradePolicy = class
Public Class UpgradePolicy
Initializes a new instance of the UpgradePolicy class.
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'
Gets or sets the configuration parameters used while performing a rolling upgrade.
Validate the object.