diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/metadata.json b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/metadata.json index a1cfb0087ec0..dca108d4940a 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/metadata.json +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/metadata.json @@ -1,5 +1,5 @@ { "apiVersions": { - "Microsoft.ContainerService": "2025-08-01-preview" + "Microsoft.ContainerService": "2026-02-01-preview" } } \ No newline at end of file diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ArmContainerServiceFleetModelFactory.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ArmContainerServiceFleetModelFactory.cs index f08843f43403..04daf601e3cf 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ArmContainerServiceFleetModelFactory.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ArmContainerServiceFleetModelFactory.cs @@ -357,10 +357,24 @@ public static ContainerServiceFleetUpdateRunData ContainerServiceFleetUpdateRunD /// The name of the stage. Must be unique within the UpdateRun. /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + /// + /// 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. + /// /// A list of Gates that will be created before this Stage is executed. /// A list of Gates that will be created after this Stage is executed. /// A new instance for mocking. - public static ContainerServiceFleetUpdateStage ContainerServiceFleetUpdateStage(string name = default, IEnumerable groups = default, int? afterStageWaitInSeconds = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) + public static ContainerServiceFleetUpdateStage ContainerServiceFleetUpdateStage(string name = default, IEnumerable groups = default, int? afterStageWaitInSeconds = default, string maxConcurrency = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) { groups ??= new ChangeTrackingList(); beforeGates ??= new ChangeTrackingList(); @@ -370,6 +384,7 @@ public static ContainerServiceFleetUpdateStage ContainerServiceFleetUpdateStage( name, groups.ToList(), afterStageWaitInSeconds, + maxConcurrency, beforeGates.ToList(), afterGates.ToList(), additionalBinaryDataProperties: null); @@ -380,15 +395,30 @@ public static ContainerServiceFleetUpdateStage ContainerServiceFleetUpdateStage( /// Name of the group. /// It must match a group name of an existing fleet member. /// + /// + /// 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. + /// /// A list of Gates that will be created before this Group is executed. /// A list of Gates that will be created after this Group is executed. /// A new instance for mocking. - public static ContainerServiceFleetUpdateGroup ContainerServiceFleetUpdateGroup(string name = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) + public static ContainerServiceFleetUpdateGroup ContainerServiceFleetUpdateGroup(string name = default, string maxConcurrency = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) { beforeGates ??= new ChangeTrackingList(); afterGates ??= new ChangeTrackingList(); - return new ContainerServiceFleetUpdateGroup(name, beforeGates.ToList(), afterGates.ToList(), additionalBinaryDataProperties: null); + return new ContainerServiceFleetUpdateGroup(name, maxConcurrency, beforeGates.ToList(), afterGates.ToList(), additionalBinaryDataProperties: null); } /// The node image upgrade to be applied to the target nodes in update run. @@ -435,12 +465,13 @@ public static ContainerServiceFleetUpdateStatus ContainerServiceFleetUpdateStatu /// The status of a UpdateStage. /// The status of the UpdateStage. /// The name of the UpdateStage. + /// The max number of upgrades that can run concurrently across all groups in this stage, resolved from the UpdateStrategy.UpdateStage.maxConcurrency value. /// The list of groups to be updated as part of this UpdateStage. /// The list of Gates that will run before this UpdateStage. /// The list of Gates that will run after this UpdateStage. /// The status of the wait period configured on the UpdateStage. /// A new instance for mocking. - public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatus status = default, string name = default, IEnumerable groups = default, IEnumerable beforeGates = default, IEnumerable afterGates = default, ContainerServiceFleetWaitStatus afterStageWaitStatus = default) + public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatus status = default, string name = default, int? maxConcurrency = default, IEnumerable groups = default, IEnumerable beforeGates = default, IEnumerable afterGates = default, ContainerServiceFleetWaitStatus afterStageWaitStatus = default) { groups ??= new ChangeTrackingList(); beforeGates ??= new ChangeTrackingList(); @@ -449,6 +480,7 @@ public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdate return new ContainerServiceFleetUpdateStageStatus( status, name, + maxConcurrency, groups.ToList(), beforeGates.ToList(), afterGates.ToList(), @@ -459,11 +491,12 @@ public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdate /// The status of a UpdateGroup. /// The status of the UpdateGroup. /// The name of the UpdateGroup. + /// The max number of upgrades that can run concurrently in this group, resolved from the UpdateStrategy.UpdateGroup.maxConcurrency value. If no value was provided, this value defaults to "1". /// The list of member this UpdateGroup updates. /// The list of Gates that will run before this UpdateGroup. /// The list of Gates that will run after this UpdateGroup. /// A new instance for mocking. - public static ContainerServiceFleetUpdateGroupStatus ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatus status = default, string name = default, IEnumerable members = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) + public static ContainerServiceFleetUpdateGroupStatus ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatus status = default, string name = default, int? maxConcurrency = default, IEnumerable members = default, IEnumerable beforeGates = default, IEnumerable afterGates = default) { members ??= new ChangeTrackingList(); beforeGates ??= new ChangeTrackingList(); @@ -472,6 +505,7 @@ public static ContainerServiceFleetUpdateGroupStatus ContainerServiceFleetUpdate return new ContainerServiceFleetUpdateGroupStatus( status, name, + maxConcurrency, members.ToList(), beforeGates.ToList(), afterGates.ToList(), @@ -688,7 +722,7 @@ public static ContainerServiceFleetUpdateRunData ContainerServiceFleetUpdateRunD [EditorBrowsable(EditorBrowsableState.Never)] public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatus status, string name, IEnumerable groups, ContainerServiceFleetWaitStatus afterStageWaitStatus) { - return ContainerServiceFleetUpdateStageStatus(status, name, groups, beforeGates: default, afterGates: default, afterStageWaitStatus); + return ContainerServiceFleetUpdateStageStatus(status, name, maxConcurrency: default, groups, beforeGates: default, afterGates: default, afterStageWaitStatus); } /// Initializes a new instance of . @@ -699,7 +733,7 @@ public static ContainerServiceFleetUpdateStageStatus ContainerServiceFleetUpdate [EditorBrowsable(EditorBrowsableState.Never)] public static ContainerServiceFleetUpdateGroupStatus ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatus status, string name, IEnumerable members) { - return ContainerServiceFleetUpdateGroupStatus(status, name, members, beforeGates: default, afterGates: default); + return ContainerServiceFleetUpdateGroupStatus(status, name, maxConcurrency: default, members, beforeGates: default, afterGates: default); } /// Initializes a new instance of . diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileCollection.cs index 2c203caa8b4f..ab22bc4e5d3d 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileCollection.cs @@ -42,9 +42,9 @@ internal AutoUpgradeProfileCollection(ArmClient client, ResourceIdentifier id) : { TryGetApiVersion(AutoUpgradeProfileResource.ResourceType, out string autoUpgradeProfileApiVersion); _autoUpgradeProfilesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", AutoUpgradeProfileResource.ResourceType.Namespace, Diagnostics); - _autoUpgradeProfilesRestClient = new AutoUpgradeProfiles(_autoUpgradeProfilesClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2025-08-01-preview"); + _autoUpgradeProfilesRestClient = new AutoUpgradeProfiles(_autoUpgradeProfilesClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2026-02-01-preview"); _autoUpgradeProfileOperationsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", AutoUpgradeProfileResource.ResourceType.Namespace, Diagnostics); - _autoUpgradeProfileOperationsRestClient = new AutoUpgradeProfileOperations(_autoUpgradeProfileOperationsClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2025-08-01-preview"); + _autoUpgradeProfileOperationsRestClient = new AutoUpgradeProfileOperations(_autoUpgradeProfileOperationsClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -71,7 +71,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -130,7 +130,7 @@ public virtual async Task> CreateOrUpda /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -189,7 +189,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -238,7 +238,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -287,7 +287,7 @@ public virtual Response Get(string autoUpgradeProfil /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -324,7 +324,7 @@ public virtual AsyncPageable GetAllAsync(int? maxCou /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -361,7 +361,7 @@ public virtual Pageable GetAll(int? maxCount = defau /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -418,7 +418,7 @@ public virtual async Task> ExistsAsync(string autoUpgradeProfileN /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -475,7 +475,7 @@ public virtual Response Exists(string autoUpgradeProfileName, Cancellation /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -536,7 +536,7 @@ public virtual async Task> GetIfExi /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileResource.cs index 00a07870752e..0ca733ea4788 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/AutoUpgradeProfileResource.cs @@ -53,9 +53,9 @@ internal AutoUpgradeProfileResource(ArmClient client, ResourceIdentifier id) : b { TryGetApiVersion(ResourceType, out string autoUpgradeProfileApiVersion); _autoUpgradeProfilesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _autoUpgradeProfilesRestClient = new AutoUpgradeProfiles(_autoUpgradeProfilesClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2025-08-01-preview"); + _autoUpgradeProfilesRestClient = new AutoUpgradeProfiles(_autoUpgradeProfilesClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2026-02-01-preview"); _autoUpgradeProfileOperationsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _autoUpgradeProfileOperationsRestClient = new AutoUpgradeProfileOperations(_autoUpgradeProfileOperationsClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2025-08-01-preview"); + _autoUpgradeProfileOperationsRestClient = new AutoUpgradeProfileOperations(_autoUpgradeProfileOperationsClientDiagnostics, Pipeline, Endpoint, autoUpgradeProfileApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -109,7 +109,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -157,7 +157,7 @@ public virtual async Task> GetAsync(Cancell /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -205,7 +205,7 @@ public virtual Response Get(CancellationToken cancel /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -255,7 +255,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -305,7 +305,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, ETag? ifMatch = default, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -360,7 +360,7 @@ public virtual async Task> Genera /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -415,7 +415,7 @@ public virtual ArmOperation GenerateUpdateRun( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -475,7 +475,7 @@ public virtual async Task> UpdateAsync( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetCollection.cs index e3f841f4da10..81e7af156e75 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetCollection.cs @@ -41,7 +41,7 @@ internal ContainerServiceFleetCollection(ArmClient client, ResourceIdentifier id { TryGetApiVersion(ContainerServiceFleetResource.ResourceType, out string containerServiceFleetApiVersion); _fleetsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ContainerServiceFleetResource.ResourceType.Namespace, Diagnostics); - _fleetsRestClient = new Fleets(_fleetsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetApiVersion ?? "2025-08-01-preview"); + _fleetsRestClient = new Fleets(_fleetsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -127,7 +127,7 @@ public virtual async Task> CreateOrU /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -186,7 +186,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUn /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -235,7 +235,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -284,7 +284,7 @@ public virtual Response Get(string fleetName, Can /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -312,7 +312,7 @@ public virtual AsyncPageable GetAllAsync(Cancella /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -340,7 +340,7 @@ public virtual Pageable GetAll(CancellationToken /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -397,7 +397,7 @@ public virtual async Task> ExistsAsync(string fleetName, Cancella /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -454,7 +454,7 @@ public virtual Response Exists(string fleetName, CancellationToken cancell /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -515,7 +515,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateCollection.cs index 4638cb936577..2865f2aea37f 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateCollection.cs @@ -40,7 +40,7 @@ internal ContainerServiceFleetGateCollection(ArmClient client, ResourceIdentifie { TryGetApiVersion(ContainerServiceFleetGateResource.ResourceType, out string containerServiceFleetGateApiVersion); _gatesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ContainerServiceFleetGateResource.ResourceType.Namespace, Diagnostics); - _gatesRestClient = new Gates(_gatesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetGateApiVersion ?? "2025-08-01-preview"); + _gatesRestClient = new Gates(_gatesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetGateApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -116,7 +116,7 @@ public virtual async Task> GetAsync( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -165,7 +165,7 @@ public virtual Response Get(string gateName, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -204,7 +204,7 @@ public virtual AsyncPageable GetAllAsync(stri /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -243,7 +243,7 @@ public virtual Pageable GetAll(string filter /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -300,7 +300,7 @@ public virtual async Task> ExistsAsync(string gateName, Cancellat /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -357,7 +357,7 @@ public virtual Response Exists(string gateName, CancellationToken cancella /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -418,7 +418,7 @@ public virtual async Task> G /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateResource.cs index 45cecf2c3035..8339d2879a40 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetGateResource.cs @@ -51,7 +51,7 @@ internal ContainerServiceFleetGateResource(ArmClient client, ResourceIdentifier { TryGetApiVersion(ResourceType, out string containerServiceFleetGateApiVersion); _gatesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _gatesRestClient = new Gates(_gatesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetGateApiVersion ?? "2025-08-01-preview"); + _gatesRestClient = new Gates(_gatesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetGateApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -153,7 +153,7 @@ public virtual async Task> GetAsync( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -201,7 +201,7 @@ public virtual Response Get(CancellationToken /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -261,7 +261,7 @@ public virtual async Task> Updat /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceCollection.cs index 7d06c9c43cb7..f8eb4c5c8a6a 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceCollection.cs @@ -40,7 +40,7 @@ internal ContainerServiceFleetManagedNamespaceCollection(ArmClient client, Resou { TryGetApiVersion(ContainerServiceFleetManagedNamespaceResource.ResourceType, out string containerServiceFleetManagedNamespaceApiVersion); _fleetManagedNamespacesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ContainerServiceFleetManagedNamespaceResource.ResourceType.Namespace, Diagnostics); - _fleetManagedNamespacesRestClient = new FleetManagedNamespaces(_fleetManagedNamespacesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetManagedNamespaceApiVersion ?? "2025-08-01-preview"); + _fleetManagedNamespacesRestClient = new FleetManagedNamespaces(_fleetManagedNamespacesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetManagedNamespaceApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -126,7 +126,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -185,7 +185,7 @@ public virtual ArmOperation Creat /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -234,7 +234,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -283,7 +283,7 @@ public virtual Response Get(strin /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -311,7 +311,7 @@ public virtual AsyncPageable GetA /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -339,7 +339,7 @@ public virtual Pageable GetAll(Ca /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -396,7 +396,7 @@ public virtual async Task> ExistsAsync(string managedNamespaceNam /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -453,7 +453,7 @@ public virtual Response Exists(string managedNamespaceName, CancellationTo /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -514,7 +514,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceResource.cs index 3ca76ac6a1e8..6bb57262e1f0 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetManagedNamespaceResource.cs @@ -53,7 +53,7 @@ internal ContainerServiceFleetManagedNamespaceResource(ArmClient client, Resourc { TryGetApiVersion(ResourceType, out string containerServiceFleetManagedNamespaceApiVersion); _fleetManagedNamespacesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _fleetManagedNamespacesRestClient = new FleetManagedNamespaces(_fleetManagedNamespacesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetManagedNamespaceApiVersion ?? "2025-08-01-preview"); + _fleetManagedNamespacesRestClient = new FleetManagedNamespaces(_fleetManagedNamespacesClientDiagnostics, Pipeline, Endpoint, containerServiceFleetManagedNamespaceApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -107,7 +107,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -155,7 +155,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -203,7 +203,7 @@ public virtual Response Get(Cance /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -263,7 +263,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -323,7 +323,7 @@ public virtual ArmOperation Updat /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -373,7 +373,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberCollection.cs index 9fdbe0dcf6e5..9200403b41a6 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberCollection.cs @@ -40,7 +40,7 @@ internal ContainerServiceFleetMemberCollection(ArmClient client, ResourceIdentif { TryGetApiVersion(ContainerServiceFleetMemberResource.ResourceType, out string containerServiceFleetMemberApiVersion); _fleetMembersClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ContainerServiceFleetMemberResource.ResourceType.Namespace, Diagnostics); - _fleetMembersRestClient = new FleetMembers(_fleetMembersClientDiagnostics, Pipeline, Endpoint, containerServiceFleetMemberApiVersion ?? "2025-08-01-preview"); + _fleetMembersRestClient = new FleetMembers(_fleetMembersClientDiagnostics, Pipeline, Endpoint, containerServiceFleetMemberApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -126,7 +126,7 @@ public virtual async Task> Cre /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -185,7 +185,7 @@ public virtual ArmOperation CreateOrUpdate( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -234,7 +234,7 @@ public virtual async Task> GetAsyn /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -283,7 +283,7 @@ public virtual Response Get(string fleetMem /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -322,7 +322,7 @@ public virtual AsyncPageable GetAllAsync(in /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -361,7 +361,7 @@ public virtual Pageable GetAll(int? maxCoun /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -418,7 +418,7 @@ public virtual async Task> ExistsAsync(string fleetMemberName, Ca /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -475,7 +475,7 @@ public virtual Response Exists(string fleetMemberName, CancellationToken c /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -536,7 +536,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberResource.cs index 4c901b4be6a2..5eaf84ed1de6 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetMemberResource.cs @@ -51,7 +51,7 @@ internal ContainerServiceFleetMemberResource(ArmClient client, ResourceIdentifie { TryGetApiVersion(ResourceType, out string containerServiceFleetMemberApiVersion); _fleetMembersClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _fleetMembersRestClient = new FleetMembers(_fleetMembersClientDiagnostics, Pipeline, Endpoint, containerServiceFleetMemberApiVersion ?? "2025-08-01-preview"); + _fleetMembersRestClient = new FleetMembers(_fleetMembersClientDiagnostics, Pipeline, Endpoint, containerServiceFleetMemberApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -153,7 +153,7 @@ public virtual async Task> GetAsyn /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -201,7 +201,7 @@ public virtual Response Get(CancellationTok /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -261,7 +261,7 @@ public virtual async Task> Upd /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -321,7 +321,7 @@ public virtual ArmOperation Update(WaitUnti /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -371,7 +371,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetResource.cs index 04a2e9c4edb5..0f0ba377da55 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetResource.cs @@ -53,7 +53,7 @@ internal ContainerServiceFleetResource(ArmClient client, ResourceIdentifier id) { TryGetApiVersion(ResourceType, out string containerServiceFleetApiVersion); _fleetsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _fleetsRestClient = new Fleets(_fleetsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetApiVersion ?? "2025-08-01-preview"); + _fleetsRestClient = new Fleets(_fleetsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -106,7 +106,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -154,7 +154,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -202,7 +202,7 @@ public virtual Response Get(CancellationToken can /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -262,7 +262,7 @@ public virtual async Task> UpdateAsy /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -322,7 +322,7 @@ public virtual ArmOperation Update(WaitUntil wait /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -372,7 +372,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -422,7 +422,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, ETag? ifMatch = default, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -470,7 +470,7 @@ public virtual async Task> GetCredentialsAsync( /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunCollection.cs index 8afb8c580b69..cfccd8b5eb14 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunCollection.cs @@ -40,7 +40,7 @@ internal ContainerServiceFleetUpdateRunCollection(ArmClient client, ResourceIden { TryGetApiVersion(ContainerServiceFleetUpdateRunResource.ResourceType, out string containerServiceFleetUpdateRunApiVersion); _updateRunsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ContainerServiceFleetUpdateRunResource.ResourceType.Namespace, Diagnostics); - _updateRunsRestClient = new UpdateRuns(_updateRunsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetUpdateRunApiVersion ?? "2025-08-01-preview"); + _updateRunsRestClient = new UpdateRuns(_updateRunsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetUpdateRunApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -126,7 +126,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -185,7 +185,7 @@ public virtual ArmOperation CreateOrUpda /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -234,7 +234,7 @@ public virtual async Task> GetA /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -283,7 +283,7 @@ public virtual Response Get(string updat /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -320,7 +320,7 @@ public virtual AsyncPageable GetAllAsync /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -357,7 +357,7 @@ public virtual Pageable GetAll(int? maxC /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -414,7 +414,7 @@ public virtual async Task> ExistsAsync(string updateRunName, Canc /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -471,7 +471,7 @@ public virtual Response Exists(string updateRunName, CancellationToken can /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -532,7 +532,7 @@ public virtual async Task /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunResource.cs index 3d21943a0c61..54517a5717cf 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/ContainerServiceFleetUpdateRunResource.cs @@ -51,7 +51,7 @@ internal ContainerServiceFleetUpdateRunResource(ArmClient client, ResourceIdenti { TryGetApiVersion(ResourceType, out string containerServiceFleetUpdateRunApiVersion); _updateRunsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _updateRunsRestClient = new UpdateRuns(_updateRunsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetUpdateRunApiVersion ?? "2025-08-01-preview"); + _updateRunsRestClient = new UpdateRuns(_updateRunsClientDiagnostics, Pipeline, Endpoint, containerServiceFleetUpdateRunApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -153,7 +153,7 @@ public virtual async Task> GetA /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -201,7 +201,7 @@ public virtual Response Get(Cancellation /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -251,7 +251,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -301,7 +301,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, ETag? ifMatch = default, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -361,7 +361,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -421,7 +421,7 @@ public virtual ArmOperation Skip(WaitUnt /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -477,7 +477,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -533,7 +533,7 @@ public virtual ArmOperation Start(WaitUn /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -589,7 +589,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -645,7 +645,7 @@ public virtual ArmOperation Stop(WaitUnt /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -705,7 +705,7 @@ public virtual async Task> /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetResourceGroupResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetResourceGroupResource.cs index a8e4c056bd8a..6dd41ad96890 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetResourceGroupResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetResourceGroupResource.cs @@ -51,7 +51,7 @@ public virtual ContainerServiceFleetCollection GetContainerServiceFleets() /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -80,7 +80,7 @@ public virtual async Task> GetContainerS /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetSubscriptionResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetSubscriptionResource.cs index 5332c4c49f85..c75fc9c60be6 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetSubscriptionResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Extensions/MockableContainerServiceFleetSubscriptionResource.cs @@ -36,7 +36,7 @@ internal MockableContainerServiceFleetSubscriptionResource(ArmClient client, Res private ClientDiagnostics FleetsClientDiagnostics => _fleetsClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet.Mocking", ProviderConstants.DefaultProviderNamespace, Diagnostics); - private Fleets FleetsRestClient => _fleetsRestClient ??= new Fleets(FleetsClientDiagnostics, Pipeline, Endpoint, "2025-08-01-preview"); + private Fleets FleetsRestClient => _fleetsRestClient ??= new Fleets(FleetsClientDiagnostics, Pipeline, Endpoint, "2026-02-01-preview"); /// /// Lists fleets in the specified subscription. @@ -51,7 +51,7 @@ internal MockableContainerServiceFleetSubscriptionResource(ArmClient client, Res /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -81,7 +81,7 @@ public virtual AsyncPageable GetContainerServiceF /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyCollection.cs index 1b6e738c431e..d5e715efaf6d 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyCollection.cs @@ -40,7 +40,7 @@ internal FleetUpdateStrategyCollection(ArmClient client, ResourceIdentifier id) { TryGetApiVersion(FleetUpdateStrategyResource.ResourceType, out string fleetUpdateStrategyApiVersion); _fleetUpdateStrategiesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", FleetUpdateStrategyResource.ResourceType.Namespace, Diagnostics); - _fleetUpdateStrategiesRestClient = new FleetUpdateStrategies(_fleetUpdateStrategiesClientDiagnostics, Pipeline, Endpoint, fleetUpdateStrategyApiVersion ?? "2025-08-01-preview"); + _fleetUpdateStrategiesRestClient = new FleetUpdateStrategies(_fleetUpdateStrategiesClientDiagnostics, Pipeline, Endpoint, fleetUpdateStrategyApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -126,7 +126,7 @@ public virtual async Task> CreateOrUpd /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -185,7 +185,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnti /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -234,7 +234,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -283,7 +283,7 @@ public virtual Response Get(string updateStrategyNa /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -320,7 +320,7 @@ public virtual AsyncPageable GetAllAsync(int? maxCo /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -357,7 +357,7 @@ public virtual Pageable GetAll(int? maxCount = defa /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -414,7 +414,7 @@ public virtual async Task> ExistsAsync(string updateStrategyName, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -471,7 +471,7 @@ public virtual Response Exists(string updateStrategyName, CancellationToke /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// @@ -532,7 +532,7 @@ public virtual async Task> GetIfEx /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyResource.cs index d2f917bcced6..1078cf809a0c 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/FleetUpdateStrategyResource.cs @@ -50,7 +50,7 @@ internal FleetUpdateStrategyResource(ArmClient client, ResourceIdentifier id) : { TryGetApiVersion(ResourceType, out string fleetUpdateStrategyApiVersion); _fleetUpdateStrategiesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ContainerServiceFleet", ResourceType.Namespace, Diagnostics); - _fleetUpdateStrategiesRestClient = new FleetUpdateStrategies(_fleetUpdateStrategiesClientDiagnostics, Pipeline, Endpoint, fleetUpdateStrategyApiVersion ?? "2025-08-01-preview"); + _fleetUpdateStrategiesRestClient = new FleetUpdateStrategies(_fleetUpdateStrategiesClientDiagnostics, Pipeline, Endpoint, fleetUpdateStrategyApiVersion ?? "2026-02-01-preview"); ValidateResourceId(id); } @@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -152,7 +152,7 @@ public virtual async Task> GetAsync(Cancel /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -200,7 +200,7 @@ public virtual Response Get(CancellationToken cance /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -250,7 +250,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, ETag? i /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -300,7 +300,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, ETag? ifMatch = default, /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. @@ -360,7 +360,7 @@ public virtual async Task> UpdateAsync /// /// /// Default Api Version. - /// 2025-08-01-preview. + /// 2026-02-01-preview. /// /// /// Resource. diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.Serialization.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.Serialization.cs index 16d9e7568128..9206927e1ffb 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.Serialization.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.Serialization.cs @@ -81,6 +81,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); + if (Optional.IsDefined(MaxConcurrency)) + { + writer.WritePropertyName("maxConcurrency"u8); + writer.WriteStringValue(MaxConcurrency); + } if (Optional.IsCollectionDefined(BeforeGates)) { writer.WritePropertyName("beforeGates"u8); @@ -144,6 +149,7 @@ internal static ContainerServiceFleetUpdateGroup DeserializeContainerServiceFlee return null; } string name = default; + string maxConcurrency = default; IList beforeGates = default; IList afterGates = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); @@ -154,6 +160,11 @@ internal static ContainerServiceFleetUpdateGroup DeserializeContainerServiceFlee name = prop.Value.GetString(); continue; } + if (prop.NameEquals("maxConcurrency"u8)) + { + maxConcurrency = prop.Value.GetString(); + continue; + } if (prop.NameEquals("beforeGates"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -187,7 +198,7 @@ internal static ContainerServiceFleetUpdateGroup DeserializeContainerServiceFlee additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } } - return new ContainerServiceFleetUpdateGroup(name, beforeGates ?? new ChangeTrackingList(), afterGates ?? new ChangeTrackingList(), additionalBinaryDataProperties); + return new ContainerServiceFleetUpdateGroup(name, maxConcurrency, beforeGates ?? new ChangeTrackingList(), afterGates ?? new ChangeTrackingList(), additionalBinaryDataProperties); } } } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.cs index 440ec2624096..271bacf178ab 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroup.cs @@ -37,12 +37,28 @@ public ContainerServiceFleetUpdateGroup(string name) /// Name of the group. /// It must match a group name of an existing fleet member. /// + /// + /// 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. + /// /// A list of Gates that will be created before this Group is executed. /// A list of Gates that will be created after this Group is executed. /// Keeps track of any properties unknown to the library. - internal ContainerServiceFleetUpdateGroup(string name, IList beforeGates, IList afterGates, IDictionary additionalBinaryDataProperties) + internal ContainerServiceFleetUpdateGroup(string name, string maxConcurrency, IList beforeGates, IList afterGates, IDictionary additionalBinaryDataProperties) { Name = name; + MaxConcurrency = maxConcurrency; BeforeGates = beforeGates; AfterGates = afterGates; _additionalBinaryDataProperties = additionalBinaryDataProperties; @@ -54,6 +70,23 @@ internal ContainerServiceFleetUpdateGroup(string name, IList public string Name { get; set; } + /// + /// 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. + /// + public string MaxConcurrency { get; set; } + /// A list of Gates that will be created before this Group is executed. public IList BeforeGates { get; } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.Serialization.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.Serialization.cs index 7b18d9571289..a47c983338a7 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.Serialization.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.Serialization.cs @@ -84,6 +84,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } + if (options.Format != "W" && Optional.IsDefined(MaxConcurrency)) + { + writer.WritePropertyName("maxConcurrency"u8); + writer.WriteNumberValue(MaxConcurrency.Value); + } if (options.Format != "W" && Optional.IsCollectionDefined(Members)) { writer.WritePropertyName("members"u8); @@ -158,6 +163,7 @@ internal static ContainerServiceFleetUpdateGroupStatus DeserializeContainerServi } ContainerServiceFleetUpdateStatus status = default; string name = default; + int? maxConcurrency = default; IReadOnlyList members = default; IReadOnlyList beforeGates = default; IReadOnlyList afterGates = default; @@ -178,6 +184,15 @@ internal static ContainerServiceFleetUpdateGroupStatus DeserializeContainerServi name = prop.Value.GetString(); continue; } + if (prop.NameEquals("maxConcurrency"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + maxConcurrency = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("members"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -228,6 +243,7 @@ internal static ContainerServiceFleetUpdateGroupStatus DeserializeContainerServi return new ContainerServiceFleetUpdateGroupStatus( status, name, + maxConcurrency, members ?? new ChangeTrackingList(), beforeGates ?? new ChangeTrackingList(), afterGates ?? new ChangeTrackingList(), diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.cs index 3c38c10b537d..2a11607b25d4 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateGroupStatus.cs @@ -28,14 +28,16 @@ internal ContainerServiceFleetUpdateGroupStatus() /// Initializes a new instance of . /// The status of the UpdateGroup. /// The name of the UpdateGroup. + /// The max number of upgrades that can run concurrently in this group, resolved from the UpdateStrategy.UpdateGroup.maxConcurrency value. If no value was provided, this value defaults to "1". /// The list of member this UpdateGroup updates. /// The list of Gates that will run before this UpdateGroup. /// The list of Gates that will run after this UpdateGroup. /// Keeps track of any properties unknown to the library. - internal ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatus status, string name, IReadOnlyList members, IReadOnlyList beforeGates, IReadOnlyList afterGates, IDictionary additionalBinaryDataProperties) + internal ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatus status, string name, int? maxConcurrency, IReadOnlyList members, IReadOnlyList beforeGates, IReadOnlyList afterGates, IDictionary additionalBinaryDataProperties) { Status = status; Name = name; + MaxConcurrency = maxConcurrency; Members = members; BeforeGates = beforeGates; AfterGates = afterGates; @@ -48,6 +50,9 @@ internal ContainerServiceFleetUpdateGroupStatus(ContainerServiceFleetUpdateStatu /// The name of the UpdateGroup. public string Name { get; } + /// The max number of upgrades that can run concurrently in this group, resolved from the UpdateStrategy.UpdateGroup.maxConcurrency value. If no value was provided, this value defaults to "1". + public int? MaxConcurrency { get; } + /// The list of member this UpdateGroup updates. public IReadOnlyList Members { get; } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.Serialization.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.Serialization.cs index 91e5ac849255..8aa156ca9dc3 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.Serialization.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.Serialization.cs @@ -96,6 +96,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("afterStageWaitInSeconds"u8); writer.WriteNumberValue(AfterStageWaitInSeconds.Value); } + if (Optional.IsDefined(MaxConcurrency)) + { + writer.WritePropertyName("maxConcurrency"u8); + writer.WriteStringValue(MaxConcurrency); + } if (Optional.IsCollectionDefined(BeforeGates)) { writer.WritePropertyName("beforeGates"u8); @@ -161,6 +166,7 @@ internal static ContainerServiceFleetUpdateStage DeserializeContainerServiceFlee string name = default; IList groups = default; int? afterStageWaitInSeconds = default; + string maxConcurrency = default; IList beforeGates = default; IList afterGates = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); @@ -194,6 +200,11 @@ internal static ContainerServiceFleetUpdateStage DeserializeContainerServiceFlee afterStageWaitInSeconds = prop.Value.GetInt32(); continue; } + if (prop.NameEquals("maxConcurrency"u8)) + { + maxConcurrency = prop.Value.GetString(); + continue; + } if (prop.NameEquals("beforeGates"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -231,6 +242,7 @@ internal static ContainerServiceFleetUpdateStage DeserializeContainerServiceFlee name, groups ?? new ChangeTrackingList(), afterStageWaitInSeconds, + maxConcurrency, beforeGates ?? new ChangeTrackingList(), afterGates ?? new ChangeTrackingList(), additionalBinaryDataProperties); diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.cs index e97a5035743e..502556ae5b40 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStage.cs @@ -34,14 +34,29 @@ public ContainerServiceFleetUpdateStage(string name) /// The name of the stage. Must be unique within the UpdateRun. /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + /// + /// 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. + /// /// A list of Gates that will be created before this Stage is executed. /// A list of Gates that will be created after this Stage is executed. /// Keeps track of any properties unknown to the library. - internal ContainerServiceFleetUpdateStage(string name, IList groups, int? afterStageWaitInSeconds, IList beforeGates, IList afterGates, IDictionary additionalBinaryDataProperties) + internal ContainerServiceFleetUpdateStage(string name, IList groups, int? afterStageWaitInSeconds, string maxConcurrency, IList beforeGates, IList afterGates, IDictionary additionalBinaryDataProperties) { Name = name; Groups = groups; AfterStageWaitInSeconds = afterStageWaitInSeconds; + MaxConcurrency = maxConcurrency; BeforeGates = beforeGates; AfterGates = afterGates; _additionalBinaryDataProperties = additionalBinaryDataProperties; @@ -56,6 +71,22 @@ internal ContainerServiceFleetUpdateStage(string name, IList The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. public int? AfterStageWaitInSeconds { get; set; } + /// + /// 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. + /// + public string MaxConcurrency { get; set; } + /// A list of Gates that will be created before this Stage is executed. public IList BeforeGates { get; } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.Serialization.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.Serialization.cs index d035078a7e8b..58160882c9e8 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.Serialization.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.Serialization.cs @@ -84,6 +84,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } + if (options.Format != "W" && Optional.IsDefined(MaxConcurrency)) + { + writer.WritePropertyName("maxConcurrency"u8); + writer.WriteNumberValue(MaxConcurrency.Value); + } if (options.Format != "W" && Optional.IsCollectionDefined(Groups)) { writer.WritePropertyName("groups"u8); @@ -163,6 +168,7 @@ internal static ContainerServiceFleetUpdateStageStatus DeserializeContainerServi } ContainerServiceFleetUpdateStatus status = default; string name = default; + int? maxConcurrency = default; IReadOnlyList groups = default; IReadOnlyList beforeGates = default; IReadOnlyList afterGates = default; @@ -184,6 +190,15 @@ internal static ContainerServiceFleetUpdateStageStatus DeserializeContainerServi name = prop.Value.GetString(); continue; } + if (prop.NameEquals("maxConcurrency"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + maxConcurrency = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("groups"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -243,6 +258,7 @@ internal static ContainerServiceFleetUpdateStageStatus DeserializeContainerServi return new ContainerServiceFleetUpdateStageStatus( status, name, + maxConcurrency, groups ?? new ChangeTrackingList(), beforeGates ?? new ChangeTrackingList(), afterGates ?? new ChangeTrackingList(), diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.cs index a8c317d9334e..ae600df25264 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/src/Generated/Models/ContainerServiceFleetUpdateStageStatus.cs @@ -28,15 +28,17 @@ internal ContainerServiceFleetUpdateStageStatus() /// Initializes a new instance of . /// The status of the UpdateStage. /// The name of the UpdateStage. + /// The max number of upgrades that can run concurrently across all groups in this stage, resolved from the UpdateStrategy.UpdateStage.maxConcurrency value. /// The list of groups to be updated as part of this UpdateStage. /// The list of Gates that will run before this UpdateStage. /// The list of Gates that will run after this UpdateStage. /// The status of the wait period configured on the UpdateStage. /// Keeps track of any properties unknown to the library. - internal ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatus status, string name, IReadOnlyList groups, IReadOnlyList beforeGates, IReadOnlyList afterGates, ContainerServiceFleetWaitStatus afterStageWaitStatus, IDictionary additionalBinaryDataProperties) + internal ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatus status, string name, int? maxConcurrency, IReadOnlyList groups, IReadOnlyList beforeGates, IReadOnlyList afterGates, ContainerServiceFleetWaitStatus afterStageWaitStatus, IDictionary additionalBinaryDataProperties) { Status = status; Name = name; + MaxConcurrency = maxConcurrency; Groups = groups; BeforeGates = beforeGates; AfterGates = afterGates; @@ -50,6 +52,9 @@ internal ContainerServiceFleetUpdateStageStatus(ContainerServiceFleetUpdateStatu /// The name of the UpdateStage. public string Name { get; } + /// The max number of upgrades that can run concurrently across all groups in this stage, resolved from the UpdateStrategy.UpdateStage.maxConcurrency value. + public int? MaxConcurrency { get; } + /// The list of groups to be updated as part of this UpdateStage. public IReadOnlyList Groups { get; } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/tsp-location.yaml b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/tsp-location.yaml index a4d417bd5bf5..c907ce95a65a 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/tsp-location.yaml +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/tsp-location.yaml @@ -1,4 +1,6 @@ -directory: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ -commit: ae2ede61bec4f32d85afd9665bef05ce40bdb0fa +directory: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet +commit: 1648ecb14fca10c3febb2cc0468a8fef4288983c repo: Azure/azure-rest-api-specs -emitterPackageJsonPath: eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json +additionalDirectories: + +emitterPackageJsonPath: eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json \ No newline at end of file