Compartilhar via


UpgradePolicy(UpgradeMode) Constructor

Definition

Initializes a new instance of UpgradePolicy.

public UpgradePolicy (Azure.Compute.Batch.UpgradeMode mode);
new Azure.Compute.Batch.UpgradePolicy : Azure.Compute.Batch.UpgradeMode -> Azure.Compute.Batch.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