Share via


NGroupRollingUpdateProfile Class

Definition

This profile allows the customers to customize the rolling update.

public class NGroupRollingUpdateProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.NGroupRollingUpdateProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.NGroupRollingUpdateProfile>
type NGroupRollingUpdateProfile = class
    interface IJsonModel<NGroupRollingUpdateProfile>
    interface IPersistableModel<NGroupRollingUpdateProfile>
Public Class NGroupRollingUpdateProfile
Implements IJsonModel(Of NGroupRollingUpdateProfile), IPersistableModel(Of NGroupRollingUpdateProfile)
Inheritance
NGroupRollingUpdateProfile
Implements

Constructors

NGroupRollingUpdateProfile()

Initializes a new instance of NGroupRollingUpdateProfile.

Properties

InPlaceUpdate

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

MaxBatchPercent

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

MaxUnhealthyPercent

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

PauseTimeBetweenBatches

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NGroupRollingUpdateProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NGroupRollingUpdateProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NGroupRollingUpdateProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NGroupRollingUpdateProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NGroupRollingUpdateProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to