ArmContainerInstanceModelFactory.NGroupRollingUpdateProfile Method
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.
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
Maximum percentage of total Container Groups which can be updated simultaneously by rolling update in one batch.
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.
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.