ArmContainerInstanceModelFactory.NGroupRollingUpdateProfile Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.NGroupRollingUpdateProfile NGroupRollingUpdateProfile(int? maxBatchPercent = default, int? maxUnhealthyPercent = default, string pauseTimeBetweenBatches = default, bool? inPlaceUpdate = default);
static member NGroupRollingUpdateProfile : Nullable<int> * Nullable<int> * string * Nullable<bool> -> Azure.ResourceManager.ContainerInstance.Models.NGroupRollingUpdateProfile
Public Shared Function NGroupRollingUpdateProfile (Optional maxBatchPercent As Nullable(Of Integer) = Nothing, Optional maxUnhealthyPercent As Nullable(Of Integer) = Nothing, Optional pauseTimeBetweenBatches As String = Nothing, Optional inPlaceUpdate As Nullable(Of Boolean) = Nothing) As NGroupRollingUpdateProfile

Parameters

maxBatchPercent
Nullable<Int32>

Maximum percentage of total Container Groups which can be updated simultaneously by rolling update in one batch.

maxUnhealthyPercent
Nullable<Int32>

Maximum percentage of the updated Container Groups which can be in unhealthy state after each batch is updated.

pauseTimeBetweenBatches
String

The wait time between batches after completing the one batch of the rolling update and starting the next batch. The time duration should be specified in ISO 8601 format for duration.

inPlaceUpdate
Nullable<Boolean>

Default is false. If set to true, the CGs will be updated in-place instead of creating new CG and deleting old ones.

Returns

A new NGroupRollingUpdateProfile instance for mocking.

Applies to