ArmContainerServiceFleetModelFactory.ContainerServiceFleetUpdateGroup Method

Definition

A group to be updated.

public static Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateGroup ContainerServiceFleetUpdateGroup(string name = 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 ContainerServiceFleetUpdateGroup : string * string * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetGateConfiguration> -> Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetUpdateGroup
Public Shared Function ContainerServiceFleetUpdateGroup (Optional name As String = Nothing, Optional maxConcurrency As String = Nothing, Optional beforeGates As IEnumerable(Of ContainerServiceFleetGateConfiguration) = Nothing, Optional afterGates As IEnumerable(Of ContainerServiceFleetGateConfiguration) = Nothing) As ContainerServiceFleetUpdateGroup

Parameters

name
String

Name of the group. It must match a group name of an existing fleet member.

maxConcurrency
String

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

beforeGates
IEnumerable<ContainerServiceFleetGateConfiguration>

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

afterGates
IEnumerable<ContainerServiceFleetGateConfiguration>

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

Returns

A new ContainerServiceFleetUpdateGroup instance for mocking.

Applies to