ArmContainerServiceFleetModelFactory.ContainerServiceFleetUpdateStage Method

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 static Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateStage ContainerServiceFleetUpdateStage(string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateGroup> groups = default, int? afterStageWaitInSeconds = default, string maxConcurrency = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> beforeGates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> afterGates = default);
static member ContainerServiceFleetUpdateStage : string * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateGroup> * Nullable<int> * string * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> -> Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateStage
Public Shared Function ContainerServiceFleetUpdateStage (Optional name As String = Nothing, Optional groups As IEnumerable(Of ContainerServiceFleetUpdateGroup) = Nothing, Optional afterStageWaitInSeconds As Nullable(Of Integer) = Nothing, Optional maxConcurrency As String = Nothing, Optional beforeGates As IEnumerable(Of ContainerServiceFleetGateConfiguration) = Nothing, Optional afterGates As IEnumerable(Of ContainerServiceFleetGateConfiguration) = Nothing) As ContainerServiceFleetUpdateStage

Parameters

name
String

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

groups
IEnumerable<ContainerServiceFleetUpdateGroup>

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

afterStageWaitInSeconds
Nullable<Int32>

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

maxConcurrency
String

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.

beforeGates
IEnumerable<ContainerServiceFleetGateConfiguration>

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

afterGates
IEnumerable<ContainerServiceFleetGateConfiguration>

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

Returns

A new ContainerServiceFleetUpdateStage instance for mocking.

Applies to