UpgradePolicy(UpgradeMode) Constructor

Definition

Initializes a new instance of UpgradePolicy.

public UpgradePolicy (Azure.ResourceManager.Batch.Models.UpgradeMode mode);
new Azure.ResourceManager.Batch.Models.UpgradePolicy : Azure.ResourceManager.Batch.Models.UpgradeMode -> Azure.ResourceManager.Batch.Models.UpgradePolicy
Public Sub New (mode As UpgradeMode)

Parameters

mode
UpgradeMode

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.

Applies to