RollingUpgradePolicy 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
RollingUpgradePolicy() |
Initializes a new instance of the RollingUpgradePolicy class. |
RollingUpgradePolicy(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String) |
Initializes a new instance of the RollingUpgradePolicy class. |
RollingUpgradePolicy()
Initializes a new instance of the RollingUpgradePolicy class.
public RollingUpgradePolicy ();
Public Sub New ()
Applies to
RollingUpgradePolicy(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String)
Initializes a new instance of the RollingUpgradePolicy class.
public RollingUpgradePolicy (int? maxBatchInstancePercent = default, int? maxUnhealthyInstancePercent = default, int? maxUnhealthyUpgradedInstancePercent = default, string pauseTimeBetweenBatches = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy : Nullable<int> * Nullable<int> * Nullable<int> * string -> Microsoft.Azure.Management.Compute.Fluent.Models.RollingUpgradePolicy
Public Sub New (Optional maxBatchInstancePercent As Nullable(Of Integer) = Nothing, Optional maxUnhealthyInstancePercent As Nullable(Of Integer) = Nothing, Optional maxUnhealthyUpgradedInstancePercent As Nullable(Of Integer) = Nothing, Optional pauseTimeBetweenBatches As String = Nothing)
Parameters
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTimeBetweenBatches
- String
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).