Share via


ContainerServiceFleetUpdateStage Class

Definition

Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage.

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

Constructors

Name Description
ContainerServiceFleetUpdateStage(String)

Initializes a new instance of ContainerServiceFleetUpdateStage.

Properties

Name Description
AfterGates

A list of Gates that will be created after this Stage is executed.

AfterStageWaitInSeconds

The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.

BeforeGates

A list of Gates that will be created before this Stage is executed.

Groups

Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.

MaxConcurrency

The max number of upgrades that can run concurrently across all groups in this stage. Acts as a ceiling (and not a quota) for the number of concurrent upgrades within the stage you want to tolerate at a time. Actual concurrency may be lower depending on group-level concurrency limits or individual member conditions. Stage maxConcurrency has a min value of "1". Accepts either: • A fixed count, e.g., "3" • A percentage, e.g., "25%" (range 1–100). Percentage is of the total number of clusters across all groups in the stage. Fractional results are rounded down. A minimum of 1 upgrade is enforced. Examples: • "3" --> up to 3 clusters from this stage upgrade at once (across all groups). • "100%" --> “all at once”; up to all clusters in this stage upgrade at the same time. • "25%" --> up to 25% of the stage’s total clusters upgrade at the same time.

Name

The name of the stage. Must be unique within the UpdateRun.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ContainerServiceFleetUpdateStage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerServiceFleetUpdateStage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerServiceFleetUpdateStage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerServiceFleetUpdateStage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerServiceFleetUpdateStage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to