UpgradePolicy UpgradePolicy UpgradePolicy Constructors

Definition

Overloads

UpgradePolicy() UpgradePolicy()

Initializes a new instance of the UpgradePolicy class.

UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, Nullable<Boolean>, AutoOSUpgradePolicy) UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, Nullable<Boolean>, AutoOSUpgradePolicy)

Initializes a new instance of the UpgradePolicy class.

UpgradePolicy() UpgradePolicy()

Initializes a new instance of the UpgradePolicy class.

public UpgradePolicy ();
Public Sub New ()

UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, Nullable<Boolean>, AutoOSUpgradePolicy) UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, Nullable<Boolean>, AutoOSUpgradePolicy)

Initializes a new instance of the UpgradePolicy class.

public UpgradePolicy (Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.UpgradeMode> mode = null, Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy rollingUpgradePolicy = null, Nullable<bool> automaticOSUpgrade = null, Microsoft.Azure.Management.Compute.Fluent.Models.AutoOSUpgradePolicy autoOSUpgradePolicy = null);
new Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy : Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.UpgradeMode> * Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy * Nullable<bool> * Microsoft.Azure.Management.Compute.Fluent.Models.AutoOSUpgradePolicy -> Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy

Parameters

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

rollingUpgradePolicy
RollingUpgradePolicy RollingUpgradePolicy RollingUpgradePolicy

The configuration parameters used while performing a rolling upgrade.

automaticOSUpgrade
Nullable<Boolean>

Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.

autoOSUpgradePolicy
AutoOSUpgradePolicy AutoOSUpgradePolicy AutoOSUpgradePolicy

Configuration parameters used for performing automatic OS Upgrade.

Applies to