UpgradePolicy(UpgradeMode) Constructor
Definition
Important
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.
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
Azure SDK for .NET