UpgradePolicy Constructors
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.
Overloads
UpgradePolicy() |
Initializes a new instance of the UpgradePolicy class. |
UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, AutomaticOSUpgradePolicy) |
Initializes a new instance of the UpgradePolicy class. |
UpgradePolicy()
Initializes a new instance of the UpgradePolicy class.
public UpgradePolicy ();
Public Sub New ()
Applies to
UpgradePolicy(Nullable<UpgradeMode>, RollingUpgradePolicy, AutomaticOSUpgradePolicy)
Initializes a new instance of the UpgradePolicy class.
public UpgradePolicy (Microsoft.Azure.Management.Compute.Fluent.Models.UpgradeMode? mode = default, Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy rollingUpgradePolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticOSUpgradePolicy automaticOSUpgradePolicy = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy : Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.UpgradeMode> * Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy * Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticOSUpgradePolicy -> Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy
Public Sub New (Optional mode As Nullable(Of UpgradeMode) = Nothing, Optional rollingUpgradePolicy As RollingUpgradePolicy = Nothing, Optional automaticOSUpgradePolicy As AutomaticOSUpgradePolicy = Nothing)
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
The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgradePolicy
- AutomaticOSUpgradePolicy
Configuration parameters used for performing automatic OS Upgrade.
Applies to
Azure SDK for .NET