From 90e31ac902c7263599b988e0112445a53e18ea9c Mon Sep 17 00:00:00 2001 From: Nont <9658731+nwnt@users.noreply.github.com> Date: Mon, 11 Aug 2025 11:41:47 -0500 Subject: [PATCH 1/5] Rebase on top of 2025-04-01-preview (#36403) Signed-off-by: Nont Co-authored-by: Nont --- ...ions_GenerateUpdateRun_MaximumSet_Gen.json | 23 + .../AutoUpgradeProfiles_CreateOrUpdate.json | 64 + ...rofiles_CreateOrUpdate_MaximumSet_Gen.json | 78 + .../AutoUpgradeProfiles_Delete.json | 20 + ...UpgradeProfiles_Delete_MaximumSet_Gen.json | 20 + .../AutoUpgradeProfiles_Get.json | 33 + ...utoUpgradeProfiles_Get_MaximumSet_Gen.json | 38 + .../AutoUpgradeProfiles_ListByFleet.json | 37 + ...deProfiles_ListByFleet_MaximumSet_Gen.json | 42 + ...FleetManagedNamespaces_CreateOrUpdate.json | 294 + .../FleetManagedNamespaces_Delete.json | 19 + .../FleetManagedNamespaces_Get.json | 112 + .../FleetManagedNamespaces_ListByFleet.json | 117 + .../FleetManagedNamespaces_Update.json | 124 + .../FleetMembers_Create.json | 75 + .../FleetMembers_Create_MaximumSet_Gen.json | 66 + .../FleetMembers_Delete.json | 21 + .../FleetMembers_Delete_MaximumSet_Gen.json | 21 + .../2025-08-01-preview/FleetMembers_Get.json | 43 + .../FleetMembers_Get_MaximumSet_Gen.json | 34 + .../FleetMembers_ListByFleet.json | 44 + ...eetMembers_ListByFleet_MaximumSet_Gen.json | 38 + .../FleetMembers_Update.json | 55 + .../FleetMembers_Update_MaximumSet_Gen.json | 46 + ...ategies_CreateOrUpdate_MaximumSet_Gen.json | 99 + ...pdateStrategies_Delete_MaximumSet_Gen.json | 21 + ...etUpdateStrategies_Get_MaximumSet_Gen.json | 45 + ...Strategies_ListByFleet_MaximumSet_Gen.json | 49 + .../Fleets_CreateOrUpdate.json | 110 + .../Fleets_CreateOrUpdate_MaximumSet_Gen.json | 135 + .../2025-08-01-preview/Fleets_Delete.json | 20 + .../Fleets_Delete_MaximumSet_Gen.json | 20 + .../2025-08-01-preview/Fleets_Get.json | 55 + .../Fleets_Get_MaximumSet_Gen.json | 59 + .../Fleets_ListByResourceGroup.json | 56 + ...ts_ListByResourceGroup_MaximumSet_Gen.json | 63 + .../2025-08-01-preview/Fleets_ListBySub.json | 55 + ...ets_ListBySubscription_MaximumSet_Gen.json | 62 + .../Fleets_ListCredentialsResult.json | 22 + ...Fleets_ListCredentials_MaximumSet_Gen.json | 22 + .../2025-08-01-preview/Fleets_PatchTags.json | 68 + .../Fleets_Update_MaximumSet_Gen.json | 75 + .../2025-08-01-preview/Gates_Get.json | 47 + .../Gates_Get_MaximumSet_Gen.json | 44 + .../2025-08-01-preview/Gates_ListByFleet.json | 48 + .../Gates_ListByFleet_MaximumSet_Gen.json | 48 + .../2025-08-01-preview/Gates_Update.json | 58 + .../Gates_Update_MaximumSet_Gen.json | 56 + .../2025-08-01-preview/Operations_List.json | 25 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + .../UpdateRuns_CreateOrUpdate.json | 334 + ...ateRuns_CreateOrUpdate_MaximumSet_Gen.json | 382 ++ .../2025-08-01-preview/UpdateRuns_Delete.json | 21 + .../UpdateRuns_Delete_MaximumSet_Gen.json | 21 + .../2025-08-01-preview/UpdateRuns_Get.json | 147 + .../UpdateRuns_Get_MaximumSet_Gen.json | 176 + .../UpdateRuns_ListByFleet.json | 151 + ...UpdateRuns_ListByFleet_MaximumSet_Gen.json | 180 + .../2025-08-01-preview/UpdateRuns_Skip.json | 130 + .../UpdateRuns_Skip_MaximumSet_Gen.json | 194 + .../2025-08-01-preview/UpdateRuns_Start.json | 99 + .../UpdateRuns_Start_MaximumSet_Gen.json | 182 + .../2025-08-01-preview/UpdateRuns_Stop.json | 99 + .../UpdateRuns_Stop_MaximumSet_Gen.json | 182 + .../UpdateStrategies_CreateOrUpdate.json | 166 + .../UpdateStrategies_Delete.json | 21 + .../UpdateStrategies_Get.json | 69 + .../UpdateStrategies_ListByFleet.json | 73 + .../Fleet.Management/fleetnamespace.tsp | 232 + .../k8s.io/api/core/v1/types.tsp | 20 + .../apimachinery/apis/meta/v1/types.tsp | 41 + .../kubefleet/apis/placement/v1/types.tsp | 126 + .../Fleet.Management/main.tsp | 7 + specification/containerservice/cspell.yaml | 2 + ...ions_GenerateUpdateRun_MaximumSet_Gen.json | 23 + .../AutoUpgradeProfiles_CreateOrUpdate.json | 64 + ...rofiles_CreateOrUpdate_MaximumSet_Gen.json | 78 + .../examples/AutoUpgradeProfiles_Delete.json | 20 + ...UpgradeProfiles_Delete_MaximumSet_Gen.json | 20 + .../examples/AutoUpgradeProfiles_Get.json | 33 + ...utoUpgradeProfiles_Get_MaximumSet_Gen.json | 38 + .../AutoUpgradeProfiles_ListByFleet.json | 37 + ...deProfiles_ListByFleet_MaximumSet_Gen.json | 42 + ...FleetManagedNamespaces_CreateOrUpdate.json | 294 + .../FleetManagedNamespaces_Delete.json | 19 + .../examples/FleetManagedNamespaces_Get.json | 112 + .../FleetManagedNamespaces_ListByFleet.json | 117 + .../FleetManagedNamespaces_Update.json | 124 + .../examples/FleetMembers_Create.json | 75 + .../FleetMembers_Create_MaximumSet_Gen.json | 66 + .../examples/FleetMembers_Delete.json | 21 + .../FleetMembers_Delete_MaximumSet_Gen.json | 21 + .../examples/FleetMembers_Get.json | 43 + .../FleetMembers_Get_MaximumSet_Gen.json | 34 + .../examples/FleetMembers_ListByFleet.json | 44 + ...eetMembers_ListByFleet_MaximumSet_Gen.json | 38 + .../examples/FleetMembers_Update.json | 55 + .../FleetMembers_Update_MaximumSet_Gen.json | 46 + ...ategies_CreateOrUpdate_MaximumSet_Gen.json | 99 + ...pdateStrategies_Delete_MaximumSet_Gen.json | 21 + ...etUpdateStrategies_Get_MaximumSet_Gen.json | 45 + ...Strategies_ListByFleet_MaximumSet_Gen.json | 49 + .../examples/Fleets_CreateOrUpdate.json | 110 + .../Fleets_CreateOrUpdate_MaximumSet_Gen.json | 135 + .../examples/Fleets_Delete.json | 20 + .../Fleets_Delete_MaximumSet_Gen.json | 20 + .../examples/Fleets_Get.json | 55 + .../examples/Fleets_Get_MaximumSet_Gen.json | 59 + .../examples/Fleets_ListByResourceGroup.json | 56 + ...ts_ListByResourceGroup_MaximumSet_Gen.json | 63 + .../examples/Fleets_ListBySub.json | 55 + ...ets_ListBySubscription_MaximumSet_Gen.json | 62 + .../Fleets_ListCredentialsResult.json | 22 + ...Fleets_ListCredentials_MaximumSet_Gen.json | 22 + .../examples/Fleets_PatchTags.json | 68 + .../Fleets_Update_MaximumSet_Gen.json | 75 + .../examples/Gates_Get.json | 47 + .../examples/Gates_Get_MaximumSet_Gen.json | 44 + .../examples/Gates_ListByFleet.json | 48 + .../Gates_ListByFleet_MaximumSet_Gen.json | 48 + .../examples/Gates_Update.json | 58 + .../examples/Gates_Update_MaximumSet_Gen.json | 56 + .../examples/Operations_List.json | 25 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + .../examples/UpdateRuns_CreateOrUpdate.json | 334 + ...ateRuns_CreateOrUpdate_MaximumSet_Gen.json | 382 ++ .../examples/UpdateRuns_Delete.json | 21 + .../UpdateRuns_Delete_MaximumSet_Gen.json | 21 + .../examples/UpdateRuns_Get.json | 147 + .../UpdateRuns_Get_MaximumSet_Gen.json | 176 + .../examples/UpdateRuns_ListByFleet.json | 151 + ...UpdateRuns_ListByFleet_MaximumSet_Gen.json | 180 + .../examples/UpdateRuns_Skip.json | 130 + .../UpdateRuns_Skip_MaximumSet_Gen.json | 194 + .../examples/UpdateRuns_Start.json | 99 + .../UpdateRuns_Start_MaximumSet_Gen.json | 182 + .../examples/UpdateRuns_Stop.json | 99 + .../UpdateRuns_Stop_MaximumSet_Gen.json | 182 + .../UpdateStrategies_CreateOrUpdate.json | 166 + .../examples/UpdateStrategies_Delete.json | 21 + .../examples/UpdateStrategies_Get.json | 69 + .../UpdateStrategies_ListByFleet.json | 73 + .../preview/2025-08-01-preview/fleets.json | 5449 +++++++++++++++++ .../fleet/readme.md | 56 +- 146 files changed, 16906 insertions(+), 13 deletions(-) create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_CreateOrUpdate.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Update.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySub.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentialsResult.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentials_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_PatchTags.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MinimumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop_MaximumSet_Gen.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_CreateOrUpdate.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Delete.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Get.json create mode 100644 specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_ListByFleet.json create mode 100644 specification/containerservice/Fleet.Management/fleetnamespace.tsp create mode 100644 specification/containerservice/Fleet.Management/k8s.io/api/core/v1/types.tsp create mode 100644 specification/containerservice/Fleet.Management/k8s.io/apimachinery/apis/meta/v1/types.tsp create mode 100644 specification/containerservice/Fleet.Management/kubefleet/apis/placement/v1/types.tsp create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_CreateOrUpdate.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Update.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySub.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentialsResult.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentials_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_PatchTags.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop_MaximumSet_Gen.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_CreateOrUpdate.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Delete.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Get.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_ListByFleet.json create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json new file mode 100644 index 000000000000..8b84143f6bbb --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet", + "operationId": "AutoUpgradeProfileOperations_GenerateUpdateRun", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "autoUpgradeProfileName": "aup1" + }, + "responses": { + "200": { + "body": { + "id": "lfte" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate.json new file mode 100644 index 000000000000..12d87e4ae310 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate.json @@ -0,0 +1,64 @@ +{ + "operationId": "AutoUpgradeProfiles_CreateOrUpdate", + "title": "Create an AutoUpgradeProfile.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1", + "resource": { + "properties": { + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..de8be9b97ac5 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Create an AutoUpgradeProfile. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "uktvayathbu", + "If-None-Match": "vdjolwxnefqamimybcvxxva", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1", + "resource": { + "properties": { + "channel": "Stable", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete.json new file mode 100644 index 000000000000..9aec75c4703c --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete.json @@ -0,0 +1,20 @@ +{ + "operationId": "AutoUpgradeProfiles_Delete", + "title": "Delete an AutoUpgradeProfile resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-08-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-08-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..f571b7f8fe16 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Delete an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "tmlfhgsu", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get.json new file mode 100644 index 000000000000..78d12ac35040 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get.json @@ -0,0 +1,33 @@ +{ + "operationId": "AutoUpgradeProfiles_Get", + "title": "Gets an AutoUpgradeProfile resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..cb42867aa0eb --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_Get_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "Gets an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "200": { + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet.json new file mode 100644 index 000000000000..a80ef1c8077e --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet.json @@ -0,0 +1,37 @@ +{ + "operationId": "AutoUpgradeProfiles_ListByFleet", + "title": "Lists the AutoUpgradeProfile resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..011f5cb59ea6 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Lists the AutoUpgradeProfile resources by fleet. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_CreateOrUpdate.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_CreateOrUpdate.json new file mode 100644 index 000000000000..76d4876b98a6 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_CreateOrUpdate.json @@ -0,0 +1,294 @@ +{ + "title": "FleetManagedNamespaces_CreateOrUpdate", + "operationId": "FleetManagedNamespaces_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1", + "resource": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-08-01" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Delete.json new file mode 100644 index 000000000000..28a59f1e59d9 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "FleetManagedNamespaces_Delete", + "operationId": "FleetManagedNamespaces_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-08-01" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json new file mode 100644 index 000000000000..3b4bf1bcfece --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json @@ -0,0 +1,112 @@ +{ + "title": "FleetManagedNamespaces_Get", + "operationId": "FleetManagedNamespaces_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1" + }, + "responses": { + "200": { + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json new file mode 100644 index 000000000000..a93c8d070298 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json @@ -0,0 +1,117 @@ +{ + "title": "FleetManagedNamespaces_ListByFleet", + "operationId": "FleetManagedNamespaces_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + ], + "nextLink": "https://nextlink.sausage.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Update.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Update.json new file mode 100644 index 000000000000..2fce8222c768 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Update.json @@ -0,0 +1,124 @@ +{ + "title": "FleetManagedNamespaces_Update", + "operationId": "FleetManagedNamespaces_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1", + "properties": {}, + "tags": { + "tag2": "tagValue2" + } + }, + "responses": { + "200": { + "headers": { + "ETag": "\"EtagValue\"" + }, + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag2": "tagValue2" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create.json new file mode 100644 index 000000000000..833021ebabb3 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create.json @@ -0,0 +1,75 @@ +{ + "operationId": "FleetMembers_Create", + "title": "Creates a FleetMember resource with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1", + "resource": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1" + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded" + } + } + }, + "200": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..b72a780e2336 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Create_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "title": "Creates a FleetMember resource with a long running operation. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Create", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "amkttadbw", + "If-None-Match": "zoljoccbcg", + "fleetName": "fleet1", + "fleetMemberName": "fleet1", + "resource": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete.json new file mode 100644 index 000000000000..d545467e4333 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "FleetMembers_Delete", + "title": "Deletes a FleetMember resource asynchronously with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ada55f0ea535 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Deletes a FleetMember resource asynchronously with a long running operation. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "klroqfozx", + "fleetName": "fleet1", + "fleetMemberName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get.json new file mode 100644 index 000000000000..66daf0848c1b --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get.json @@ -0,0 +1,43 @@ +{ + "operationId": "FleetMembers_Get", + "title": "Gets a FleetMember resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1" + }, + "responses": { + "200": { + "headers": { + "ETag": "kd30rkdfo49=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6aab2b4a0f60 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Get_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "title": "Gets a FleetMember resource. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "fleetMemberName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet.json new file mode 100644 index 000000000000..1f98975b67f9 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet.json @@ -0,0 +1,44 @@ +{ + "operationId": "FleetMembers_ListByFleet", + "title": "Lists the members of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..18bf7b32fc44 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "Lists the members of a Fleet. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "group": "fleet1" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update.json new file mode 100644 index 000000000000..16603bf99ed7 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update.json @@ -0,0 +1,55 @@ +{ + "operationId": "FleetMembers_Update", + "title": "Updates a FleetMember resource synchronously.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1", + "properties": { + "properties": { + "group": "staging" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "staging", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..f57cc0acaf04 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetMembers_Update_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Updates a FleetMember resource synchronously. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bjyjzzxvbs", + "fleetName": "fleet1", + "fleetMemberName": "fleet1", + "properties": { + "properties": { + "group": "staging" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..6f69d8deffb2 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "title": "Create a FleetUpdateStrategy. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bttptpmhheves", + "If-None-Match": "tlx", + "fleetName": "fleet1", + "updateStrategyName": "fleet1", + "resource": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Delete_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d304bcbba044 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Delete a FleetUpdateStrategy resource. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "saqprswlk", + "fleetName": "fleet1", + "updateStrategyName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c29ff57ef2a1 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Get a FleetUpdateStrategy resource. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "updateStrategyName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..f7480bd06ee6 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "title": "List the FleetUpdateStrategy resources by fleet. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate.json new file mode 100644 index 000000000000..92c6e74a5ad3 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate.json @@ -0,0 +1,110 @@ +{ + "operationId": "Fleets_CreateOrUpdate", + "title": "Creates a Fleet resource with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "resource": { + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1" + } + } + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Updating", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "201": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8ea64cfdd26c --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,135 @@ +{ + "title": "Creates a Fleet resource with a long running operation. - generated by [MaximumSet] rule", + "operationId": "Fleets_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "jzlrwaylijhsnzp", + "If-None-Match": "cqpzdjshmggwolagomzxfy", + "fleetName": "fleet1", + "resource": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key126": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete.json new file mode 100644 index 000000000000..fa756ddc86cb --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete.json @@ -0,0 +1,20 @@ +{ + "operationId": "Fleets_Delete", + "title": "Deletes a Fleet resource asynchronously with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0c9acc45fbb4 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes a Fleet resource asynchronously with a long running operation. - generated by [MaximumSet] rule", + "operationId": "Fleets_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "crsgokrdxddjsvqxpplerummnmzav", + "fleetName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get.json new file mode 100644 index 000000000000..f665c9e63c3a --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get.json @@ -0,0 +1,55 @@ +{ + "operationId": "Fleets_Get", + "title": "Gets a Fleet resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..70ee72b50b39 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Get_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "Gets a Fleet resource. - generated by [MaximumSet] rule", + "operationId": "Fleets_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup.json new file mode 100644 index 000000000000..7cc6b01ad026 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup.json @@ -0,0 +1,56 @@ +{ + "operationId": "Fleets_ListByResourceGroup", + "title": "Lists the Fleet resources in a resource group.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..1c022ced552c --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,63 @@ +{ + "title": "Lists the Fleet resources in a resource group. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListByResourceGroup", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": {}, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + }, + "provisioningState": "Succeeded" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + ], + "nextLink": "https://microsoft.com/adyccxeh" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySub.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySub.json new file mode 100644 index 000000000000..64ccd24a80f6 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySub.json @@ -0,0 +1,55 @@ +{ + "operationId": "Fleets_ListBySubscription", + "title": "Lists the Fleet resources in a subscription.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySubscription_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..ca5a16e6a6d7 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "Lists the Fleet resources in a subscription. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListBySubscription", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": {}, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + }, + "provisioningState": "Succeeded" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + ], + "nextLink": "https://microsoft.com/adyccxeh" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentialsResult.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentialsResult.json new file mode 100644 index 000000000000..21207cd64dd5 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentialsResult.json @@ -0,0 +1,22 @@ +{ + "operationId": "Fleets_ListCredentials", + "title": "Lists the user credentials of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet" + }, + "responses": { + "200": { + "body": { + "kubeconfigs": [ + { + "name": "credentialName1", + "value": "Y3JlZGVudGlhbFZhbHVlMQ==" + } + ] + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentials_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentials_MaximumSet_Gen.json new file mode 100644 index 000000000000..336d183a1587 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_ListCredentials_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "Lists the user credentials of a Fleet. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListCredentials", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "kubeconfigs": [ + { + "name": "credentialName1", + "value": "Y3JlZGVudGlhbFZhbHVlMQ==" + } + ] + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_PatchTags.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_PatchTags.json new file mode 100644 index 000000000000..1bb27df82846 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_PatchTags.json @@ -0,0 +1,68 @@ +{ + "operationId": "Fleets_Update", + "title": "Update a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "If-Match": "dfjkwelr7384", + "properties": { + "tags": { + "tier": "secure", + "env": "prod" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "secure", + "env": "prod" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Update_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2bd18c086b2 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Fleets_Update_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "Update a Fleet. - generated by [MaximumSet] rule", + "operationId": "Fleets_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "lgoeir", + "fleetName": "fleet1", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key126": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get.json new file mode 100644 index 000000000000..6aa1db17da81 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get.json @@ -0,0 +1,47 @@ +{ + "operationId": "Gates_Get", + "title": "Gets a Gate resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "gateName": "12345678-910a-bcde-f000-000000000000" + }, + "responses": { + "200": { + "headers": { + "ETag": "kd30rkdfo49=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Pending" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c0dfd1976b8b --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Get_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "Gates_Get_MaximumSet", + "operationId": "Gates_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "fleetName": "fleet-1", + "gateName": "12345678-910a-bcde-f000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet.json new file mode 100644 index 000000000000..5fae37cb62d0 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet.json @@ -0,0 +1,48 @@ +{ + "operationId": "Gates_ListByFleet", + "title": "Lists the Gates of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Pending" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f3d52a58ace --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Gates_ListByFleet_MaximumSet", + "operationId": "Gates_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "fleetName": "fleet-1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "tvpzzhsokcrigcrjnqyjhhdmsrm", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update.json new file mode 100644 index 000000000000..6b7ab738b2c9 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update.json @@ -0,0 +1,58 @@ +{ + "operationId": "Gates_Update", + "title": "Updates a Gate resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "gateName": "12345678-910a-bcde-f000-000000000000", + "properties": { + "properties": { + "state": "Completed" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Completed" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..86dac35e4b53 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Gates_Update_MaximumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "title": "Gates_Update_MaximumSet", + "operationId": "Gates_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "If-Match": "jqongzwjguenncptggiqzxxycakgrj", + "If-None-Match": "fsyp", + "fleetName": "fleet-1", + "gateName": "12345678-910a-bcde-f000-000000000000", + "properties": { + "properties": { + "state": "Pending" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List.json new file mode 100644 index 000000000000..192d89b6106b --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List.json @@ -0,0 +1,25 @@ +{ + "operationId": "Operations_List", + "title": "List the operations for the provider.", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "description": "Gets the status of an asynchronous operation", + "operation": "Get Operation", + "provider": "Microsoft Container Service", + "resource": "Operation" + }, + "name": "Microsoft.ContainerService/locations/operations/read", + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..c73d5d02b3d9 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "List the operations for the provider. - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "operation": "Get Operation", + "provider": "Microsoft Container Service", + "resource": "Operation", + "description": "yvruoknlkuvuqxsodwkgqznxaig" + }, + "name": "Microsoft.ContainerService/locations/operations/read", + "origin": "user,system", + "isDataAction": true, + "actionType": "Internal" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MinimumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..aecb8726ae8f --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "List the operations for the provider. - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate.json new file mode 100644 index 000000000000..5613987b6ead --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate.json @@ -0,0 +1,334 @@ +{ + "operationId": "UpdateRuns_CreateOrUpdate", + "title": "Create an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1", + "resource": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..eba852f505b2 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,382 @@ +{ + "title": "Create an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "wyolpuaxgybeygcbz", + "If-None-Match": "rwrhonlormgshamadufoo", + "fleetName": "fleet1", + "updateRunName": "fleet1", + "resource": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + {} + ] + } + }, + "status": { + "status": { + "state": "NotStarted", + "error": {} + }, + "nodeImageSelection": {} + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete.json new file mode 100644 index 000000000000..153e75c0abf2 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "UpdateRuns_Delete", + "title": "Delete an updateRun resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b800d69fbc97 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Delete an updateRun resource. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "xnbwucfeufeagpa", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get.json new file mode 100644 index 000000000000..bd7effc63b7b --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get.json @@ -0,0 +1,147 @@ +{ + "operationId": "UpdateRuns_Get", + "title": "Gets an UpdateRun resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..fddc9f169021 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Get_MaximumSet_Gen.json @@ -0,0 +1,176 @@ +{ + "title": "Gets an UpdateRun resource. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet.json new file mode 100644 index 000000000000..dca6beb49713 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet.json @@ -0,0 +1,151 @@ +{ + "operationId": "UpdateRuns_ListByFleet", + "title": "Lists the UpdateRun resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..0282342dc181 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,180 @@ +{ + "title": "Lists the UpdateRun resources by fleet. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "status": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.763Z", + "completedTime": "2025-02-14T23:29:32.763Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip.json new file mode 100644 index 000000000000..f5c46234a1ee --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip.json @@ -0,0 +1,130 @@ +{ + "operationId": "UpdateRuns_Skip", + "title": "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1", + "body": { + "targets": [ + { + "type": "Member", + "name": "member-one" + }, + { + "type": "AfterStageWait", + "name": "stage1" + } + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + }, + { + "name": "group-b" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Skipped" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Skipped" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster-1" + } + ] + }, + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "group-b", + "members": [ + { + "status": { + "state": "Running" + }, + "name": "member-two", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster-2" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "Skipped" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip_MaximumSet_Gen.json new file mode 100644 index 000000000000..551d5ac59cfd --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Skip_MaximumSet_Gen.json @@ -0,0 +1,194 @@ +{ + "title": "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Skip", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "rncfubdzrhcihvpqflbsjvoau", + "fleetName": "fleet1", + "updateRunName": "fleet1", + "body": { + "targets": [ + { + "type": "Member", + "name": "member-one" + }, + { + "type": "AfterStageWait", + "name": "stage1" + } + ] + } + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start.json new file mode 100644 index 000000000000..84cb000fc1d3 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start.json @@ -0,0 +1,99 @@ +{ + "operationId": "UpdateRuns_Start", + "title": "Starts an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Running" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start_MaximumSet_Gen.json new file mode 100644 index 000000000000..3fac9c928eac --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Start_MaximumSet_Gen.json @@ -0,0 +1,182 @@ +{ + "title": "Starts an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Start", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bvhjlqeindkmljbbiypbqiaqgtkhlu", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop.json new file mode 100644 index 000000000000..cfbfaef46160 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop.json @@ -0,0 +1,99 @@ +{ + "operationId": "UpdateRuns_Stop", + "title": "Stops an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Stopping" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop_MaximumSet_Gen.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop_MaximumSet_Gen.json new file mode 100644 index 000000000000..f67edb7d0497 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateRuns_Stop_MaximumSet_Gen.json @@ -0,0 +1,182 @@ +{ + "title": "Stops an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Stop", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "jb", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_CreateOrUpdate.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_CreateOrUpdate.json new file mode 100644 index 000000000000..55c957957613 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_CreateOrUpdate.json @@ -0,0 +1,166 @@ +{ + "operationId": "FleetUpdateStrategies_CreateOrUpdate", + "title": "Create a FleetUpdateStrategy.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1", + "resource": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Delete.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Delete.json new file mode 100644 index 000000000000..4cf1aeaa1d13 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "FleetUpdateStrategies_Delete", + "title": "Delete a FleetUpdateStrategy resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Get.json new file mode 100644 index 000000000000..8156b6774499 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_Get.json @@ -0,0 +1,69 @@ +{ + "operationId": "FleetUpdateStrategies_Get", + "title": "Get a FleetUpdateStrategy resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_ListByFleet.json new file mode 100644 index 000000000000..80684ba284e7 --- /dev/null +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/UpdateStrategies_ListByFleet.json @@ -0,0 +1,73 @@ +{ + "operationId": "FleetUpdateStrategies_ListByFleet", + "title": "List the FleetUpdateStrategy resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/Fleet.Management/fleetnamespace.tsp b/specification/containerservice/Fleet.Management/fleetnamespace.tsp new file mode 100644 index 000000000000..0b1a7f546136 --- /dev/null +++ b/specification/containerservice/Fleet.Management/fleetnamespace.tsp @@ -0,0 +1,232 @@ +import "@typespec/rest"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "./helpers.tsp"; +import "./kubefleet/apis/placement/v1/types.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; +using Placement.V1; + +namespace Microsoft.ContainerService; + +@doc("A fleet managed namespace.") +@resource("managedNamespaces") +@added(Versions.v2025_08_01_preview) +@parentResource(Fleet) +model FleetManagedNamespace + is TrackedResource { + @doc("The name of the fleet managed namespace resource.") + @key("managedNamespaceName") + @segment("managedNamespaces") + @pattern("^[a-z0-9]([-a-z0-9]*[a-z0-9])?$") + @minLength(1) + @maxLength(63) + @path + @visibility(Lifecycle.Create, Lifecycle.Read) + name: string; + + ...EntityTagProperty; +} + +@doc("The properties of a fleet managed namespace.") +@added(Versions.v2025_08_01_preview) +model FleetManagedNamespaceProperties { + @visibility(Lifecycle.Read) + @doc("The status of the last operation.") + provisioningState?: FleetManagedNamespaceProvisioningState; + + @doc("The namespace properties for the fleet managed namespace.") + managedNamespaceProperties?: ManagedNamespaceProperties; + + @doc("Action if the managed namespace with the same name already exists. Default is Never.") + adoptionPolicy: AdoptionPolicy; + + @doc("Delete options of a fleet managed namespace. Default is Keep.") + deletePolicy: DeletePolicy; + + @doc("The profile of the propagation to create the namespace.") + propagationPolicy?: PropagationPolicy; + + @visibility(Lifecycle.Read) + @doc("Status information of the last operation for fleet managed namespace.") + status?: FleetManagedNamespaceStatus; +} + +@added(Versions.v2025_08_01_preview) +@doc("Status information for the fleet managed namespace.") +model FleetManagedNamespaceStatus { + @visibility(Lifecycle.Read) + @doc("The last operation ID for the fleet managed namespace") + lastOperationId?: string; + + @visibility(Lifecycle.Read) + @doc("The last operation error of the fleet managed namespace") + lastOperationError?: Azure.ResourceManager.Foundations.ErrorDetail; +} + +@doc("The namespace properties for the fleet managed namespace.") +@added(Versions.v2025_08_01_preview) +model ManagedNamespaceProperties { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Records is the most semantically correct choice for this use-case" + @doc("The labels for the fleet managed namespace.") + labels?: Record; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Records is the most semantically correct choice for this use-case" + @doc("The annotations for the fleet managed namespace.") + annotations?: Record; + + @doc("The default resource quota for the fleet managed namespace.") + defaultResourceQuota?: ResourceQuota; + + @doc("The default network policy for the fleet managed namespace.") + defaultNetworkPolicy?: NetworkPolicy; +} + +@doc("The resource quota for the managed namespace.") +@added(Versions.v2025_08_01_preview) +model ResourceQuota { + @doc("The CPU request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu") + cpuRequest?: string; + + @doc("The CPU limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu") + cpuLimit?: string; + + @doc("The memory request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory") + memoryRequest?: string; + + @doc("The memory limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory") + memoryLimit?: string; +} + +@doc("The network policy for the managed namespace.") +@added(Versions.v2025_08_01_preview) +model NetworkPolicy { + @doc("The ingress policy for the managed namespace.") + ingress?: PolicyRule; + + @doc("The egress policy for the managed namespace.") + egress?: PolicyRule; +} + +@doc("The possible values representing different network policy rules.") +@added(Versions.v2025_08_01_preview) +union PolicyRule { + @doc("Allow all network traffic.") + AllowAll: "AllowAll", + + @doc("Deny all network traffic.") + DenyAll: "DenyAll", + + @doc("Allow traffic within the same namespace.") + AllowSameNamespace: "AllowSameNamespace", + + string, +} + +@doc("Action if the Namespace with the same name already exists.") +@added(Versions.v2025_08_01_preview) +union AdoptionPolicy { + @doc("If the Namespace already exists, do not take over the existing Namespace to be managed by ARM.") + Never: "Never", + + @doc("If there is an identical Namespace, take over the existing Namespace to be managed by ARM.") + IfIdentical: "IfIdentical", + + @doc("Always take over the existing Namespace to be managed by ARM, even if it is not identical.") + Always: "Always", + + string, +} + +@doc("Delete options for the ARM managed namespace.") +@added(Versions.v2025_08_01_preview) +union DeletePolicy { + @doc("Delete the ARM resource but keep the Namespace.") + Keep: "Keep", + + @doc("Delete both ARM resource and Namespace.") + Delete: "Delete", + + string, +} + +@added(Versions.v2025_08_01_preview) +@doc("The propagation to be used for provisioning the namespace among the fleet.") +model PropagationPolicy { + @doc("The type of the policy to be used. Default is Placement.") + type: PropagationType; + + @doc("The profile to be used for propagation via placement.") + placementProfile?: PlacementProfile; +} + +@added(Versions.v2025_08_01_preview) +@doc("How the namespace will be provisioned among the fleet members.") +union PropagationType { + @doc("Using ClusterResourcePlacement.") + Placement: "Placement", + + string, +} + +@added(Versions.v2025_08_01_preview) +@doc("The configuration profile for default ClusterResourcePlacement for placement.") +model PlacementProfile { + @doc("The default ClusterResourcePlacement policy configuration.") + defaultClusterResourcePlacement?: ClusterResourcePlacementSpec; +} + +@doc("The provisioning state of the fleet managed namespace resource") +union FleetManagedNamespaceProvisioningState { + string, + ResourceProvisioningState, + + @doc("The provisioning state of a fleet managed namespace being created.") + Creating: "Creating", + + @doc("The provisioning state of a fleet managed namespace being updated.") + Updating: "Updating", + + @doc("The provisioning state of a fleet managed namespace being deleted.") + Deleting: "Deleting", +} + +@added(Versions.v2025_08_01_preview) +@armResourceOperations +interface FleetManagedNamespaces { + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync< + FleetManagedNamespace, + Azure.ResourceManager.Foundations.BaseParameters & + IfMatchParameters & + IfNoneMatchParameters + >; + + delete is ArmResourceDeleteWithoutOkAsync< + FleetManagedNamespace, + Azure.ResourceManager.Foundations.BaseParameters & + IfMatchParameters + >; + + listByFleet is ArmResourceListByParent; + + update is ArmCustomPatchAsync< + FleetManagedNamespace, + FleetManagedNamespacePatch, + Azure.ResourceManager.Foundations.BaseParameters & + IfMatchParameters + >; +} + +@added(Versions.v2025_08_01_preview) +@doc("The properties of a fleet managed namespace that can be patched.") +model FleetManagedNamespacePatch { + /* The ARM tags of the fleet managed namespace resource.*/ + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} diff --git a/specification/containerservice/Fleet.Management/k8s.io/api/core/v1/types.tsp b/specification/containerservice/Fleet.Management/k8s.io/api/core/v1/types.tsp new file mode 100644 index 000000000000..3189ee6d93d4 --- /dev/null +++ b/specification/containerservice/Fleet.Management/k8s.io/api/core/v1/types.tsp @@ -0,0 +1,20 @@ +namespace Core.V1; + +@doc("A toleration operator is the set of operators that can be used in a toleration.") +union TolerationOperator { + @doc("Toleration Operator Exists") + Exists: "Exists", + + @doc("Toleration Operator Equal") + Equal: "Equal", + + string, +} + +@doc("TaintEffect") +union TaintEffect { + @doc("Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.") + NoSchedule: "NoSchedule", + + string, +} diff --git a/specification/containerservice/Fleet.Management/k8s.io/apimachinery/apis/meta/v1/types.tsp b/specification/containerservice/Fleet.Management/k8s.io/apimachinery/apis/meta/v1/types.tsp new file mode 100644 index 000000000000..dfb68f94331b --- /dev/null +++ b/specification/containerservice/Fleet.Management/k8s.io/apimachinery/apis/meta/v1/types.tsp @@ -0,0 +1,41 @@ +namespace Meta.V1; + +@doc("A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") +model LabelSelector { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Records is the most semantically correct choice for this use-case" + @doc("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + matchLabels?: Record; + + @OpenAPI.extension("x-ms-identifiers", #[]) + @doc("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + matchExpressions?: LabelSelectorRequirement[]; +} + +@doc("A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.") +model LabelSelectorRequirement { + @doc("key is the label key that the selector applies to.") + key: string; + + @doc("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + operator: LabelSelectorOperator; + + @doc("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + values?: string[]; +} + +@doc("A label selector operator is the set of operators that can be used in a selector requirement.") +union LabelSelectorOperator { + @doc("Label Selector Operator In") + In: "In", + + @doc("Label Selector Operator NotIn") + NotIn: "NotIn", + + @doc("Label Selector Operator Exists") + Exists: "Exists", + + @doc("Label Selector Operator DoesNotExist") + DoesNotExist: "DoesNotExist", + + string, +} diff --git a/specification/containerservice/Fleet.Management/kubefleet/apis/placement/v1/types.tsp b/specification/containerservice/Fleet.Management/kubefleet/apis/placement/v1/types.tsp new file mode 100644 index 000000000000..07c35869110f --- /dev/null +++ b/specification/containerservice/Fleet.Management/kubefleet/apis/placement/v1/types.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-resource-manager"; +import "../../../../k8s.io/api/core/v1/types.tsp"; +import "../../../../k8s.io/apimachinery/apis/meta/v1/types.tsp"; + +using TypeSpec.Versioning; +using Core.V1; +using Meta.V1; + +namespace Placement.V1; + +@doc("ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.") +model ClusterResourcePlacementSpec { + @doc("Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.") + policy?: PlacementPolicy; +} + +@doc("PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.") +model PlacementPolicy { + @doc("Type of placement. Can be \"PickAll\", \"PickN\" or \"PickFixed\". Default is PickAll.") + placementType?: PlacementType; + + @doc("ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is \"PickFixed\"") + clusterNames?: string[]; + + @doc("Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is \"PickAll\" or \"PickN\".") + affinity?: Affinity; + + @OpenAPI.extension("x-ms-identifiers", #[]) + @doc("If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.") + tolerations?: Toleration[]; +} + +@doc("PlacementType identifies the type of placement.") +union PlacementType { + @doc("PickAll picks all clusters that satisfy the rules.") + PickAll: "PickAll", + + @doc("PickFixed picks a fixed set of clusters.") + PickFixed: "PickFixed", + + string, +} + +@doc("Affinity is a group of cluster affinity scheduling rules. More to be added.") +model Affinity { + @doc("ClusterAffinity contains cluster affinity scheduling rules for the selected resources.") + clusterAffinity?: ClusterAffinity; +} + +@doc("ClusterAffinity contains cluster affinity scheduling rules for the selected resources.") +model ClusterAffinity { + @doc("If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.") + requiredDuringSchedulingIgnoredDuringExecution?: ClusterSelector; +} + +@doc("ClusterSelector") +model ClusterSelector { + @OpenAPI.extension("x-ms-identifiers", #[]) + @doc("ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.") + clusterSelectorTerms: ClusterSelectorTerm[]; +} + +@doc("ClusterSelectorTerm") +model ClusterSelectorTerm { + @doc("LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.") + labelSelector?: LabelSelector; + + @doc("PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment.") + propertySelector?: PropertySelector; +} + +@doc("PropertySelector helps user specify property requirements when picking clusters for resource placement.") +model PropertySelector { + @doc("MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.") + matchExpressions: PropertySelectorRequirement[]; +} + +@doc("PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.") +model PropertySelectorRequirement { + @doc("Name is the name of the property; it should be a Kubernetes label name.") + name: string; + + @doc("Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.") + operator: PropertySelectorOperator; + + @doc("Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.") + values: string[]; +} + +@doc("PropertySelectorOperator is the operator that can be used with PropertySelectorRequirements.") +union PropertySelectorOperator { + @doc("Gt dictates Fleet to select cluster if its observed value of a given property is greater than the value specified in the requirement.") + Gt: "Gt", + + @doc("Ge dictates Fleet to select cluster if its observed value of a given property is greater than or equal to the value specified in the requirement.") + Ge: "Ge", + + @doc("Eq dictates Fleet to select cluster if its observed value of a given property is equal to the values specified in the requirement.") + Eq: "Eq", + + @doc("Ne dictates Fleet to select cluster if its observed value of a given property is not equal to the values specified in the requirement.") + Ne: "Ne", + + @doc("Lt dictates Fleet to select cluster if its observed value of a given property is less than the value specified in the requirement.") + Lt: "Lt", + + @doc("Le dictates Fleet to select cluster if its observed value of a given property is less than or equal to the value specified in the requirement.") + Le: "Le", + + string, +} + +@doc("Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .") +model Toleration { + @doc("Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.") + key?: string; + + @doc("Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.") + operator?: TolerationOperator; + + @doc("Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.") + value?: string; + + @doc("Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.") + effect?: TaintEffect; +} diff --git a/specification/containerservice/Fleet.Management/main.tsp b/specification/containerservice/Fleet.Management/main.tsp index cfa045fe32c2..09d7c8cad9b6 100644 --- a/specification/containerservice/Fleet.Management/main.tsp +++ b/specification/containerservice/Fleet.Management/main.tsp @@ -2,6 +2,7 @@ import "@typespec/versioning"; import "@azure-tools/typespec-azure-resource-manager"; import "./fleet.tsp"; import "./fleetmember.tsp"; +import "./fleetnamespace.tsp"; import "./gate.tsp"; import "./update/common.tsp"; import "./update/run.tsp"; @@ -54,4 +55,10 @@ enum Versions { @doc("Azure Kubernetes Fleet Manager api version 2025-04-01-preview.") @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2025_04_01_preview: "2025-04-01-preview", + + @doc("Azure Kubernetes Fleet Manager api version 2025-08-01-preview.") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2025_08_01_preview: "2025-08-01-preview", } diff --git a/specification/containerservice/cspell.yaml b/specification/containerservice/cspell.yaml index 24514c22b3bf..7ce9320ad352 100644 --- a/specification/containerservice/cspell.yaml +++ b/specification/containerservice/cspell.yaml @@ -42,6 +42,8 @@ words: - vhds - veth - wmem + - naar + - kubefleet overrides: - filename: >- **/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2016-03-30/containerService.json diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json new file mode 100644 index 000000000000..8b84143f6bbb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet", + "operationId": "AutoUpgradeProfileOperations_GenerateUpdateRun", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "autoUpgradeProfileName": "aup1" + }, + "responses": { + "200": { + "body": { + "id": "lfte" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json new file mode 100644 index 000000000000..12d87e4ae310 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json @@ -0,0 +1,64 @@ +{ + "operationId": "AutoUpgradeProfiles_CreateOrUpdate", + "title": "Create an AutoUpgradeProfile.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1", + "resource": { + "properties": { + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "targetKubernetesVersion": "", + "longTermSupport": false, + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..de8be9b97ac5 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "Create an AutoUpgradeProfile. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "uktvayathbu", + "If-None-Match": "vdjolwxnefqamimybcvxxva", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1", + "resource": { + "properties": { + "channel": "Stable", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete.json new file mode 100644 index 000000000000..9aec75c4703c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete.json @@ -0,0 +1,20 @@ +{ + "operationId": "AutoUpgradeProfiles_Delete", + "title": "Delete an AutoUpgradeProfile resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-08-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-08-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..f571b7f8fe16 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Delete an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "tmlfhgsu", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get.json new file mode 100644 index 000000000000..78d12ac35040 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get.json @@ -0,0 +1,33 @@ +{ + "operationId": "AutoUpgradeProfiles_Get", + "title": "Gets an AutoUpgradeProfile resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..cb42867aa0eb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_Get_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "Gets an AutoUpgradeProfile resource. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "autoUpgradeProfileName": "autoupgradeprofile1" + }, + "responses": { + "200": { + "body": { + "properties": { + "channel": "Stable", + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet.json new file mode 100644 index 000000000000..a80ef1c8077e --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet.json @@ -0,0 +1,37 @@ +{ + "operationId": "AutoUpgradeProfiles_ListByFleet", + "title": "Lists the AutoUpgradeProfile resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable" + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..011f5cb59ea6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Lists the AutoUpgradeProfile resources by fleet. - generated by [MaximumSet] rule", + "operationId": "AutoUpgradeProfiles_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/autoUpgradeProfiles/autoupgradeprofile1", + "name": "autoupgradeprofile1", + "type": "Microsoft.ContainerService/fleets/autoUpgradeProfiles", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "channel": "Stable", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "nodeImageSelection": { + "type": "Latest" + }, + "disabled": true + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_CreateOrUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_CreateOrUpdate.json new file mode 100644 index 000000000000..76d4876b98a6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_CreateOrUpdate.json @@ -0,0 +1,294 @@ +{ + "title": "FleetManagedNamespaces_CreateOrUpdate", + "operationId": "FleetManagedNamespaces_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1", + "resource": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-08-01" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Delete.json new file mode 100644 index 000000000000..28a59f1e59d9 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "FleetManagedNamespaces_Delete", + "operationId": "FleetManagedNamespaces_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-08-01" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json new file mode 100644 index 000000000000..3b4bf1bcfece --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json @@ -0,0 +1,112 @@ +{ + "title": "FleetManagedNamespaces_Get", + "operationId": "FleetManagedNamespaces_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1" + }, + "responses": { + "200": { + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json new file mode 100644 index 000000000000..a93c8d070298 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json @@ -0,0 +1,117 @@ +{ + "title": "FleetManagedNamespaces_ListByFleet", + "operationId": "FleetManagedNamespaces_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag1": "tagValue1" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + ], + "nextLink": "https://nextlink.sausage.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Update.json new file mode 100644 index 000000000000..2fce8222c768 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Update.json @@ -0,0 +1,124 @@ +{ + "title": "FleetManagedNamespaces_Update", + "operationId": "FleetManagedNamespaces_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "managedNamespaceName": "namespace1", + "properties": {}, + "tags": { + "tag2": "tagValue2" + } + }, + "responses": { + "200": { + "headers": { + "ETag": "\"EtagValue\"" + }, + "body": { + "properties": { + "managedNamespaceProperties": { + "labels": { + "key1": "value1" + }, + "annotations": { + "key2": "value2" + }, + "defaultResourceQuota": { + "cpuRequest": "1", + "cpuLimit": "1", + "memoryRequest": "10Gi", + "memoryLimit": "32Gi" + }, + "defaultNetworkPolicy": { + "ingress": "AllowSameNamespace", + "egress": "AllowAll" + } + }, + "adoptionPolicy": "Never", + "deletePolicy": "Keep", + "propagationPolicy": { + "type": "Placement", + "placementProfile": { + "defaultClusterResourcePlacement": { + "policy": { + "placementType": "PickAll", + "affinity": { + "clusterAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "clusterSelectorTerms": [ + { + "labelSelector": { + "matchLabels": { + "gpu": "true" + }, + "matchExpressions": [ + { + "key": "region", + "operator": "In", + "values": [ + "production1", + "production2" + ] + } + ] + }, + "propertySelector": { + "matchExpressions": [ + { + "name": "zones", + "operator": "Gt", + "values": [ + "1" + ] + } + ] + } + } + ] + } + } + }, + "tolerations": [ + { + "key": "AIWorkloadOnly", + "operator": "Exists", + "value": "true", + "effect": "NoSchedule" + } + ] + } + } + } + }, + "status": { + "lastOperationError": {} + } + }, + "eTag": "\"EtagValue\"", + "tags": { + "tag2": "tagValue2" + }, + "location": "eastus", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1/managedNamespaces/namespace1", + "name": "namespace1", + "type": "Microsoft.ContainerService/fleets/managedNamespaces", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2025-08-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-08-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create.json new file mode 100644 index 000000000000..833021ebabb3 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create.json @@ -0,0 +1,75 @@ +{ + "operationId": "FleetMembers_Create", + "title": "Creates a FleetMember resource with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1", + "resource": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1" + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded" + } + } + }, + "200": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..b72a780e2336 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Create_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "title": "Creates a FleetMember resource with a long running operation. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Create", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "amkttadbw", + "If-None-Match": "zoljoccbcg", + "fleetName": "fleet1", + "fleetMemberName": "fleet1", + "resource": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete.json new file mode 100644 index 000000000000..d545467e4333 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "FleetMembers_Delete", + "title": "Deletes a FleetMember resource asynchronously with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ada55f0ea535 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Deletes a FleetMember resource asynchronously with a long running operation. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "klroqfozx", + "fleetName": "fleet1", + "fleetMemberName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get.json new file mode 100644 index 000000000000..66daf0848c1b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get.json @@ -0,0 +1,43 @@ +{ + "operationId": "FleetMembers_Get", + "title": "Gets a FleetMember resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1" + }, + "responses": { + "200": { + "headers": { + "ETag": "kd30rkdfo49=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6aab2b4a0f60 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Get_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "title": "Gets a FleetMember resource. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "fleetMemberName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet.json new file mode 100644 index 000000000000..1f98975b67f9 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet.json @@ -0,0 +1,44 @@ +{ + "operationId": "FleetMembers_ListByFleet", + "title": "Lists the members of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..18bf7b32fc44 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "Lists the members of a Fleet. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "provisioningState": "Succeeded", + "group": "fleet1" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update.json new file mode 100644 index 000000000000..16603bf99ed7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update.json @@ -0,0 +1,55 @@ +{ + "operationId": "FleetMembers_Update", + "title": "Updates a FleetMember resource synchronously.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "fleetMemberName": "member-1", + "properties": { + "properties": { + "group": "staging" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "23ujdflewrj3=", + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "staging", + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..f57cc0acaf04 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetMembers_Update_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Updates a FleetMember resource synchronously. - generated by [MaximumSet] rule", + "operationId": "FleetMembers_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bjyjzzxvbs", + "fleetName": "fleet1", + "fleetMemberName": "fleet1", + "properties": { + "properties": { + "group": "staging" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", + "group": "fleet1", + "provisioningState": "Succeeded" + }, + "eTag": "kd30rkdfo49=", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", + "name": "member-1", + "type": "Microsoft.ContainerService/fleets/members", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..6f69d8deffb2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "title": "Create a FleetUpdateStrategy. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bttptpmhheves", + "If-None-Match": "tlx", + "fleetName": "fleet1", + "updateStrategyName": "fleet1", + "resource": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Delete_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d304bcbba044 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Delete a FleetUpdateStrategy resource. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "saqprswlk", + "fleetName": "fleet1", + "updateStrategyName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c29ff57ef2a1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Get a FleetUpdateStrategy resource. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "updateStrategyName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "provisioningState": "Succeeded" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..f7480bd06ee6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "title": "List the FleetUpdateStrategy resources by fleet. - generated by [MaximumSet] rule", + "operationId": "FleetUpdateStrategies_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate.json new file mode 100644 index 000000000000..92c6e74a5ad3 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate.json @@ -0,0 +1,110 @@ +{ + "operationId": "Fleets_CreateOrUpdate", + "title": "Creates a Fleet resource with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "resource": { + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1" + } + } + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Updating", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "201": { + "headers": { + "ETag": "23ujdflewrj3=", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8ea64cfdd26c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,135 @@ +{ + "title": "Creates a Fleet resource with a long running operation. - generated by [MaximumSet] rule", + "operationId": "Fleets_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "jzlrwaylijhsnzp", + "If-None-Match": "cqpzdjshmggwolagomzxfy", + "fleetName": "fleet1", + "resource": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key126": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete.json new file mode 100644 index 000000000000..fa756ddc86cb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete.json @@ -0,0 +1,20 @@ +{ + "operationId": "Fleets_Delete", + "title": "Deletes a Fleet resource asynchronously with a long running operation.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0c9acc45fbb4 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes a Fleet resource asynchronously with a long running operation. - generated by [MaximumSet] rule", + "operationId": "Fleets_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "crsgokrdxddjsvqxpplerummnmzav", + "fleetName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get.json new file mode 100644 index 000000000000..f665c9e63c3a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get.json @@ -0,0 +1,55 @@ +{ + "operationId": "Fleets_Get", + "title": "Gets a Fleet resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..70ee72b50b39 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Get_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "Gets a Fleet resource. - generated by [MaximumSet] rule", + "operationId": "Fleets_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup.json new file mode 100644 index 000000000000..7cc6b01ad026 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup.json @@ -0,0 +1,56 @@ +{ + "operationId": "Fleets_ListByResourceGroup", + "title": "Lists the Fleet resources in a resource group.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..1c022ced552c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,63 @@ +{ + "title": "Lists the Fleet resources in a resource group. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListByResourceGroup", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": {}, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + }, + "provisioningState": "Succeeded" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + ], + "nextLink": "https://microsoft.com/adyccxeh" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySub.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySub.json new file mode 100644 index 000000000000..64ccd24a80f6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySub.json @@ -0,0 +1,55 @@ +{ + "operationId": "Fleets_ListBySubscription", + "title": "Lists the Fleet resources in a subscription.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "production", + "archv2": "" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySubscription_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..ca5a16e6a6d7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "Lists the Fleet resources in a subscription. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListBySubscription", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": {}, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + } + }, + "provisioningState": "Succeeded" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + ], + "nextLink": "https://microsoft.com/adyccxeh" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentialsResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentialsResult.json new file mode 100644 index 000000000000..21207cd64dd5 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentialsResult.json @@ -0,0 +1,22 @@ +{ + "operationId": "Fleets_ListCredentials", + "title": "Lists the user credentials of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet" + }, + "responses": { + "200": { + "body": { + "kubeconfigs": [ + { + "name": "credentialName1", + "value": "Y3JlZGVudGlhbFZhbHVlMQ==" + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentials_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentials_MaximumSet_Gen.json new file mode 100644 index 000000000000..336d183a1587 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_ListCredentials_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "Lists the user credentials of a Fleet. - generated by [MaximumSet] rule", + "operationId": "Fleets_ListCredentials", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "kubeconfigs": [ + { + "name": "credentialName1", + "value": "Y3JlZGVudGlhbFZhbHVlMQ==" + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_PatchTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_PatchTags.json new file mode 100644 index 000000000000..1bb27df82846 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_PatchTags.json @@ -0,0 +1,68 @@ +{ + "operationId": "Fleets_Update", + "title": "Update a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "If-Match": "dfjkwelr7384", + "properties": { + "tags": { + "tier": "secure", + "env": "prod" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "tags": { + "tier": "secure", + "env": "prod" + }, + "location": "East US", + "eTag": "23ujdflewrj3=", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "agentProfile": { + "vmSize": "Standard_DS1" + } + }, + "provisioningState": "Succeeded", + "status": { + "lastOperationId": "operation-12345", + "lastOperationError": { + "code": "None", + "message": "No error" + } + } + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Update_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2bd18c086b2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Fleets_Update_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "Update a Fleet. - generated by [MaximumSet] rule", + "operationId": "Fleets_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "lgoeir", + "fleetName": "fleet1", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key126": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": {}, + "location": "East US", + "properties": { + "hubProfile": { + "dnsPrefix": "dnsprefix1", + "agentProfile": { + "vmSize": "Standard_DS1", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "apiServerAccessProfile": { + "enablePrivateCluster": true, + "enableVnetIntegration": true, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1" + }, + "fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", + "kubernetesVersion": "1.22.4", + "portalFqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io" + }, + "provisioningState": "Succeeded" + }, + "eTag": "23ujdflewrj3=", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "None", + "userAssignedIdentities": { + "key126": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", + "name": "fleet-1", + "type": "Microsoft.ContainerService/fleets", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get.json new file mode 100644 index 000000000000..6aa1db17da81 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get.json @@ -0,0 +1,47 @@ +{ + "operationId": "Gates_Get", + "title": "Gets a Gate resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "gateName": "12345678-910a-bcde-f000-000000000000" + }, + "responses": { + "200": { + "headers": { + "ETag": "kd30rkdfo49=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Pending" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c0dfd1976b8b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Get_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "Gates_Get_MaximumSet", + "operationId": "Gates_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "fleetName": "fleet-1", + "gateName": "12345678-910a-bcde-f000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet.json new file mode 100644 index 000000000000..5fae37cb62d0 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet.json @@ -0,0 +1,48 @@ +{ + "operationId": "Gates_ListByFleet", + "title": "Lists the Gates of a Fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Pending" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f3d52a58ace --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Gates_ListByFleet_MaximumSet", + "operationId": "Gates_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "fleetName": "fleet-1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "tvpzzhsokcrigcrjnqyjhhdmsrm", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update.json new file mode 100644 index 000000000000..6b7ab738b2c9 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update.json @@ -0,0 +1,58 @@ +{ + "operationId": "Gates_Update", + "title": "Updates a Gate resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "gateName": "12345678-910a-bcde-f000-000000000000", + "properties": { + "properties": { + "state": "Completed" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "23ujdflewrj3=" + }, + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "Microsoft.ContainerService/fleets/gates", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + }, + "eTag": "kd30rkdfo49=", + "properties": { + "provisioningState": "Succeeded", + "displayName": "Perform health checks after Group 1", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "gateType": "Approval", + "state": "Completed" + } + } + }, + "202": { + "headers": { + "Retry-After": "20", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..86dac35e4b53 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Gates_Update_MaximumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "title": "Gates_Update_MaximumSet", + "operationId": "Gates_Update", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "A5DFED4F-5511-4753-B6C8-3ACC54B370E3", + "resourceGroupName": "rgfleets", + "If-Match": "jqongzwjguenncptggiqzxxycakgrj", + "If-None-Match": "fsyp", + "fleetName": "fleet-1", + "gateName": "12345678-910a-bcde-f000-000000000000", + "properties": { + "properties": { + "state": "Pending" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "displayName": "ohoncqhjnqlnpgqhidtmlwqitzujqvyvidoibym", + "gateType": "Approval", + "target": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "updateRunProperties": { + "name": "run1", + "stage": "stage1", + "group": "group1", + "timing": "After" + } + }, + "state": "Pending" + }, + "eTag": "zk", + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/updateRuns/run1", + "name": "12345678-910a-bcde-f000-000000000000", + "type": "xttejjiwuk", + "systemData": { + "createdBy": "afnyxgutytkmyjqwvebhdh", + "createdByType": "User", + "createdAt": "2025-07-21T20:36:49.685Z", + "lastModifiedBy": "ecpoq", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-21T20:36:49.685Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..192d89b6106b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List.json @@ -0,0 +1,25 @@ +{ + "operationId": "Operations_List", + "title": "List the operations for the provider.", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "description": "Gets the status of an asynchronous operation", + "operation": "Get Operation", + "provider": "Microsoft Container Service", + "resource": "Operation" + }, + "name": "Microsoft.ContainerService/locations/operations/read", + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..c73d5d02b3d9 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "List the operations for the provider. - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "operation": "Get Operation", + "provider": "Microsoft Container Service", + "resource": "Operation", + "description": "yvruoknlkuvuqxsodwkgqznxaig" + }, + "name": "Microsoft.ContainerService/locations/operations/read", + "origin": "user,system", + "isDataAction": true, + "actionType": "Internal" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..aecb8726ae8f --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "List the operations for the provider. - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate.json new file mode 100644 index 000000000000..5613987b6ead --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate.json @@ -0,0 +1,334 @@ +{ + "operationId": "UpdateRuns_CreateOrUpdate", + "title": "Create an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1", + "resource": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..eba852f505b2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,382 @@ +{ + "title": "Create an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_CreateOrUpdate", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "wyolpuaxgybeygcbz", + "If-None-Match": "rwrhonlormgshamadufoo", + "fleetName": "fleet1", + "updateRunName": "fleet1", + "resource": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + {} + ] + } + }, + "status": { + "status": { + "state": "NotStarted", + "error": {} + }, + "nodeImageSelection": {} + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete.json new file mode 100644 index 000000000000..153e75c0abf2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "UpdateRuns_Delete", + "title": "Delete an updateRun resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b800d69fbc97 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Delete an updateRun resource. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Delete", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "xnbwucfeufeagpa", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get.json new file mode 100644 index 000000000000..bd7effc63b7b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get.json @@ -0,0 +1,147 @@ +{ + "operationId": "UpdateRuns_Get", + "title": "Gets an UpdateRun resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..fddc9f169021 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Get_MaximumSet_Gen.json @@ -0,0 +1,176 @@ +{ + "title": "Gets an UpdateRun resource. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Get", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet.json new file mode 100644 index 000000000000..dca6beb49713 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet.json @@ -0,0 +1,151 @@ +{ + "operationId": "UpdateRuns_ListByFleet", + "title": "Lists the UpdateRun resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "state": "Pending" + }, + "stages": [ + { + "status": { + "state": "Pending" + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ], + "beforeGates": [ + { + "displayName": "gate before group-a", + "status": { + "state": "NotStarted" + } + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "status": { + "state": "NotStarted" + } + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "gateId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/gates/12345678-910a-bcde-f000-000000000000", + "status": { + "state": "Pending" + } + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "status": { + "state": "NotStarted" + } + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet_MaximumSet_Gen.json new file mode 100644 index 000000000000..0282342dc181 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_ListByFleet_MaximumSet_Gen.json @@ -0,0 +1,180 @@ +{ + "title": "Lists the UpdateRun resources by fleet. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_ListByFleet", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "status": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.763Z", + "completedTime": "2025-02-14T23:29:32.763Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/updateStrategies/strategy1", + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip.json new file mode 100644 index 000000000000..f5c46234a1ee --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip.json @@ -0,0 +1,130 @@ +{ + "operationId": "UpdateRuns_Skip", + "title": "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1", + "body": { + "targets": [ + { + "type": "Member", + "name": "member-one" + }, + { + "type": "AfterStageWait", + "name": "stage1" + } + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + }, + { + "name": "group-b" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Skipped" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Skipped" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster-1" + } + ] + }, + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "group-b", + "members": [ + { + "status": { + "state": "Running" + }, + "name": "member-two", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster-2" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "Skipped" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip_MaximumSet_Gen.json new file mode 100644 index 000000000000..551d5ac59cfd --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Skip_MaximumSet_Gen.json @@ -0,0 +1,194 @@ +{ + "title": "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Skip", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "rncfubdzrhcihvpqflbsjvoau", + "fleetName": "fleet1", + "updateRunName": "fleet1", + "body": { + "targets": [ + { + "type": "Member", + "name": "member-one" + }, + { + "type": "AfterStageWait", + "name": "stage1" + } + ] + } + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start.json new file mode 100644 index 000000000000..84cb000fc1d3 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start.json @@ -0,0 +1,99 @@ +{ + "operationId": "UpdateRuns_Start", + "title": "Starts an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Running" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Running" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start_MaximumSet_Gen.json new file mode 100644 index 000000000000..3fac9c928eac --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Start_MaximumSet_Gen.json @@ -0,0 +1,182 @@ +{ + "title": "Starts an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Start", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "bvhjlqeindkmljbbiypbqiaqgtkhlu", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop.json new file mode 100644 index 000000000000..cfbfaef46160 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop.json @@ -0,0 +1,99 @@ +{ + "operationId": "UpdateRuns_Stop", + "title": "Stops an UpdateRun.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateRunName": "run1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:09:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest" + } + }, + "status": { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "stages": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "name": "stage1", + "groups": [ + { + "status": { + "startTime": "2023-03-01T01:10:08.395Z", + "state": "Stopping" + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "Stopping" + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted" + }, + "waitDurationInSeconds": 3600 + } + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop_MaximumSet_Gen.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop_MaximumSet_Gen.json new file mode 100644 index 000000000000..f67edb7d0497 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateRuns_Stop_MaximumSet_Gen.json @@ -0,0 +1,182 @@ +{ + "title": "Stops an UpdateRun. - generated by [MaximumSet] rule", + "operationId": "UpdateRuns_Stop", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgfleets", + "If-Match": "jb", + "fleetName": "fleet1", + "updateRunName": "fleet1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateStrategyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + }, + "managedClusterUpdate": { + "upgrade": { + "type": "Full", + "kubernetesVersion": "1.26.1" + }, + "nodeImageSelection": { + "type": "Latest", + "customNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "provisioningState": "Succeeded", + "status": { + "status": { + "startTime": "2025-02-14T23:29:32.768Z", + "completedTime": "2025-02-14T23:29:32.768Z", + "state": "NotStarted", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "stages": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "stage1", + "groups": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "group-a", + "members": [ + { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "name": "member-one", + "clusterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myClusters/providers/Microsoft.ContainerService/managedClusters/myCluster", + "operationId": "islvvdetacuskjzmkcxc", + "message": "xrvhotarzemcgeen" + } + ] + } + ], + "afterStageWaitStatus": { + "status": { + "state": "NotStarted", + "startTime": "2025-02-14T23:29:32.767Z", + "completedTime": "2025-02-14T23:29:32.767Z", + "error": { + "code": "ezwocfahsfmbddlqgloysjkthkn", + "message": "udtnrxlgadzqlogclb", + "target": "l", + "details": [], + "additionalInfo": [ + { + "type": "fzgprz", + "info": {} + } + ] + } + }, + "waitDurationInSeconds": 3600 + } + } + ], + "nodeImageSelection": { + "selectedNodeImageVersions": [ + { + "version": "wkcmcqhecdbsoskkny" + } + ] + } + }, + "autoUpgradeProfileId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgfleets/providers/Microsoft.ContainerService/fleets/fleet1/autoUpgradeProfiles/aup1" + }, + "eTag": "\"EtagValue\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateRuns/run1", + "name": "run1", + "type": "Microsoft.ContainerService/fleets/updateRuns", + "systemData": { + "createdBy": "someUser", + "createdByType": "User", + "createdAt": "2022-03-23T05:40:40.657Z", + "lastModifiedBy": "someOtherUser", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-03-23T05:40:40.657Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_CreateOrUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_CreateOrUpdate.json new file mode 100644 index 000000000000..55c957957613 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_CreateOrUpdate.json @@ -0,0 +1,166 @@ +{ + "operationId": "FleetUpdateStrategies_CreateOrUpdate", + "title": "Create a FleetUpdateStrategy.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1", + "resource": { + "properties": { + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Delete.json new file mode 100644 index 000000000000..4cf1aeaa1d13 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Delete.json @@ -0,0 +1,21 @@ +{ + "operationId": "FleetUpdateStrategies_Delete", + "title": "Delete a FleetUpdateStrategy resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-02-preview" + } + }, + "200": {}, + "204": {} + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Get.json new file mode 100644 index 000000000000..8156b6774499 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_Get.json @@ -0,0 +1,69 @@ +{ + "operationId": "FleetUpdateStrategies_Get", + "title": "Get a FleetUpdateStrategy resource.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1", + "updateStrategyName": "strategy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_ListByFleet.json new file mode 100644 index 000000000000..80684ba284e7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/UpdateStrategies_ListByFleet.json @@ -0,0 +1,73 @@ +{ + "operationId": "FleetUpdateStrategies_ListByFleet", + "title": "List the FleetUpdateStrategy resources by fleet.", + "parameters": { + "api-version": "2025-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "fleetName": "fleet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/fleets/myFleet/updateStrategies/strategy1", + "name": "strategy1", + "type": "Microsoft.ContainerService/fleets/updateStrategies", + "systemData": { + "createdBy": "@contoso.com", + "createdByType": "User", + "createdAt": "2023-03-01T01:10:08.395Z", + "lastModifiedBy": "@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-01T01:10:08.395Z" + }, + "properties": { + "provisioningState": "Succeeded", + "strategy": { + "stages": [ + { + "name": "stage1", + "groups": [ + { + "name": "group-a", + "beforeGates": [ + { + "displayName": "gate before group-a", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after group-a", + "type": "Approval" + } + ] + } + ], + "beforeGates": [ + { + "displayName": "gate before stage1", + "type": "Approval" + } + ], + "afterGates": [ + { + "displayName": "gate after stage1", + "type": "Approval" + } + ], + "afterStageWaitInSeconds": 3600 + } + ] + } + }, + "eTag": "\"EtagValue\"" + } + ], + "nextLink": "http://nextlink.contoso.com" + } + } + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json new file mode 100644 index 000000000000..7c98f4fbc7e3 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json @@ -0,0 +1,5449 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerServiceFleetClient", + "version": "2025-08-01-preview", + "description": "Azure Kubernetes Fleet Manager api client.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Fleets" + }, + { + "name": "FleetMembers" + }, + { + "name": "FleetManagedNamespaces" + }, + { + "name": "Gates" + }, + { + "name": "UpdateRuns" + }, + { + "name": "FleetUpdateStrategies" + }, + { + "name": "AutoUpgradeProfiles" + }, + { + "name": "AutoUpgradeProfileOperations" + } + ], + "paths": { + "/providers/Microsoft.ContainerService/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the operations for the provider.": { + "$ref": "./examples/Operations_List.json" + }, + "List the operations for the provider. - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "List the operations for the provider. - generated by [MinimumSet] rule": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets": { + "get": { + "operationId": "Fleets_ListBySubscription", + "tags": [ + "Fleets" + ], + "description": "Lists fleets in the specified subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the Fleet resources in a subscription.": { + "$ref": "./examples/Fleets_ListBySub.json" + }, + "Lists the Fleet resources in a subscription. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_ListBySubscription_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets": { + "get": { + "operationId": "Fleets_ListByResourceGroup", + "tags": [ + "Fleets" + ], + "description": "Lists fleets in the specified subscription and resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the Fleet resources in a resource group.": { + "$ref": "./examples/Fleets_ListByResourceGroup.json" + }, + "Lists the Fleet resources in a resource group. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}": { + "get": { + "operationId": "Fleets_Get", + "tags": [ + "Fleets" + ], + "description": "Gets a Fleet.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Fleet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets a Fleet resource.": { + "$ref": "./examples/Fleets_Get.json" + }, + "Gets a Fleet resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Fleets_CreateOrUpdate", + "tags": [ + "Fleets" + ], + "description": "Creates or updates a Fleet.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Fleet" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Fleet' update operation succeeded", + "schema": { + "$ref": "#/definitions/Fleet" + } + }, + "201": { + "description": "Resource 'Fleet' create operation succeeded", + "schema": { + "$ref": "#/definitions/Fleet" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates a Fleet resource with a long running operation.": { + "$ref": "./examples/Fleets_CreateOrUpdate.json" + }, + "Creates a Fleet resource with a long running operation. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Fleets_Update", + "tags": [ + "Fleets" + ], + "description": "Update a Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Fleet" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Fleet.": { + "$ref": "./examples/Fleets_PatchTags.json" + }, + "Update a Fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_Update_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Fleets_Delete", + "tags": [ + "Fleets" + ], + "description": "Delete a Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes a Fleet resource asynchronously with a long running operation.": { + "$ref": "./examples/Fleets_Delete.json" + }, + "Deletes a Fleet resource asynchronously with a long running operation. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles": { + "get": { + "operationId": "AutoUpgradeProfiles_ListByFleet", + "tags": [ + "AutoUpgradeProfiles" + ], + "description": "List AutoUpgradeProfile resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoUpgradeProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the AutoUpgradeProfile resources by fleet.": { + "$ref": "./examples/AutoUpgradeProfiles_ListByFleet.json" + }, + "Lists the AutoUpgradeProfile resources by fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/AutoUpgradeProfiles_ListByFleet_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName}": { + "get": { + "operationId": "AutoUpgradeProfiles_Get", + "tags": [ + "AutoUpgradeProfiles" + ], + "description": "Get a AutoUpgradeProfile", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "autoUpgradeProfileName", + "in": "path", + "description": "The name of the AutoUpgradeProfile resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoUpgradeProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets an AutoUpgradeProfile resource.": { + "$ref": "./examples/AutoUpgradeProfiles_Get.json" + }, + "Gets an AutoUpgradeProfile resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/AutoUpgradeProfiles_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "AutoUpgradeProfiles_CreateOrUpdate", + "tags": [ + "AutoUpgradeProfiles" + ], + "description": "Create a AutoUpgradeProfile", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "autoUpgradeProfileName", + "in": "path", + "description": "The name of the AutoUpgradeProfile resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoUpgradeProfile" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AutoUpgradeProfile' update operation succeeded", + "schema": { + "$ref": "#/definitions/AutoUpgradeProfile" + } + }, + "201": { + "description": "Resource 'AutoUpgradeProfile' create operation succeeded", + "schema": { + "$ref": "#/definitions/AutoUpgradeProfile" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create an AutoUpgradeProfile.": { + "$ref": "./examples/AutoUpgradeProfiles_CreateOrUpdate.json" + }, + "Create an AutoUpgradeProfile. - generated by [MaximumSet] rule": { + "$ref": "./examples/AutoUpgradeProfiles_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AutoUpgradeProfiles_Delete", + "tags": [ + "AutoUpgradeProfiles" + ], + "description": "Delete a AutoUpgradeProfile", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "autoUpgradeProfileName", + "in": "path", + "description": "The name of the AutoUpgradeProfile resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an AutoUpgradeProfile resource.": { + "$ref": "./examples/AutoUpgradeProfiles_Delete.json" + }, + "Delete an AutoUpgradeProfile resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/AutoUpgradeProfiles_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName}/generateUpdateRun": { + "post": { + "operationId": "AutoUpgradeProfileOperations_GenerateUpdateRun", + "tags": [ + "AutoUpgradeProfileOperations" + ], + "description": "Generates an update run for a given auto upgrade profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "autoUpgradeProfileName", + "in": "path", + "description": "The name of the AutoUpgradeProfile resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GenerateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "If-Match": { + "type": "string", + "description": "The request should only proceed if an entity matches this string." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet": { + "$ref": "./examples/AutoUpgradeProfileOperations_GenerateUpdateRun_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates": { + "get": { + "operationId": "Gates_ListByFleet", + "tags": [ + "Gates" + ], + "description": "List Gate resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GateListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gates_ListByFleet_MaximumSet": { + "$ref": "./examples/Gates_ListByFleet_MaximumSet_Gen.json" + }, + "Lists the Gates of a Fleet.": { + "$ref": "./examples/Gates_ListByFleet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates/{gateName}": { + "get": { + "operationId": "Gates_Get", + "tags": [ + "Gates" + ], + "description": "Get a Gate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "gateName", + "in": "path", + "description": "The name of the Gate resource, a GUID.", + "required": true, + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Gate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gates_Get_MaximumSet": { + "$ref": "./examples/Gates_Get_MaximumSet_Gen.json" + }, + "Gets a Gate resource.": { + "$ref": "./examples/Gates_Get.json" + } + } + }, + "patch": { + "operationId": "Gates_Update", + "tags": [ + "Gates" + ], + "description": "Update a Gate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "gateName", + "in": "path", + "description": "The name of the Gate resource, a GUID.", + "required": true, + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/GatePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Gate" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gates_Update_MaximumSet": { + "$ref": "./examples/Gates_Update_MaximumSet_Gen.json" + }, + "Updates a Gate resource.": { + "$ref": "./examples/Gates_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/listCredentials": { + "post": { + "operationId": "Fleets_ListCredentials", + "tags": [ + "Fleets" + ], + "description": "Lists the user credentials of a Fleet.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetCredentialResults" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the user credentials of a Fleet.": { + "$ref": "./examples/Fleets_ListCredentialsResult.json" + }, + "Lists the user credentials of a Fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/Fleets_ListCredentials_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/managedNamespaces": { + "get": { + "operationId": "FleetManagedNamespaces_ListByFleet", + "tags": [ + "FleetManagedNamespaces" + ], + "description": "List FleetManagedNamespace resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetManagedNamespaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "FleetManagedNamespaces_ListByFleet": { + "$ref": "./examples/FleetManagedNamespaces_ListByFleet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/managedNamespaces/{managedNamespaceName}": { + "get": { + "operationId": "FleetManagedNamespaces_Get", + "tags": [ + "FleetManagedNamespaces" + ], + "description": "Get a FleetManagedNamespace", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "managedNamespaceName", + "in": "path", + "description": "The name of the fleet managed namespace resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetManagedNamespace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "FleetManagedNamespaces_Get": { + "$ref": "./examples/FleetManagedNamespaces_Get.json" + } + } + }, + "put": { + "operationId": "FleetManagedNamespaces_CreateOrUpdate", + "tags": [ + "FleetManagedNamespaces" + ], + "description": "Create a FleetManagedNamespace", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "managedNamespaceName", + "in": "path", + "description": "The name of the fleet managed namespace resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetManagedNamespace" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FleetManagedNamespace' update operation succeeded", + "schema": { + "$ref": "#/definitions/FleetManagedNamespace" + } + }, + "201": { + "description": "Resource 'FleetManagedNamespace' create operation succeeded", + "schema": { + "$ref": "#/definitions/FleetManagedNamespace" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "FleetManagedNamespaces_CreateOrUpdate": { + "$ref": "./examples/FleetManagedNamespaces_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "FleetManagedNamespaces_Update", + "tags": [ + "FleetManagedNamespaces" + ], + "description": "Update a FleetManagedNamespace", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "managedNamespaceName", + "in": "path", + "description": "The name of the fleet managed namespace resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetManagedNamespacePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetManagedNamespace" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "FleetManagedNamespaces_Update": { + "$ref": "./examples/FleetManagedNamespaces_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "FleetManagedNamespaces_Delete", + "tags": [ + "FleetManagedNamespaces" + ], + "description": "Delete a FleetManagedNamespace", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "managedNamespaceName", + "in": "path", + "description": "The name of the fleet managed namespace resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "FleetManagedNamespaces_Delete": { + "$ref": "./examples/FleetManagedNamespaces_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members": { + "get": { + "operationId": "FleetMembers_ListByFleet", + "tags": [ + "FleetMembers" + ], + "description": "List FleetMember resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetMemberListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the members of a Fleet.": { + "$ref": "./examples/FleetMembers_ListByFleet.json" + }, + "Lists the members of a Fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetMembers_ListByFleet_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}": { + "get": { + "operationId": "FleetMembers_Get", + "tags": [ + "FleetMembers" + ], + "description": "Get a FleetMember", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "fleetMemberName", + "in": "path", + "description": "The name of the Fleet member resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetMember" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets a FleetMember resource.": { + "$ref": "./examples/FleetMembers_Get.json" + }, + "Gets a FleetMember resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetMembers_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "FleetMembers_Create", + "tags": [ + "FleetMembers" + ], + "description": "Create a FleetMember", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "fleetMemberName", + "in": "path", + "description": "The name of the Fleet member resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetMember" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FleetMember' update operation succeeded", + "schema": { + "$ref": "#/definitions/FleetMember" + } + }, + "201": { + "description": "Resource 'FleetMember' create operation succeeded", + "schema": { + "$ref": "#/definitions/FleetMember" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates a FleetMember resource with a long running operation.": { + "$ref": "./examples/FleetMembers_Create.json" + }, + "Creates a FleetMember resource with a long running operation. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetMembers_Create_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "FleetMembers_Update", + "tags": [ + "FleetMembers" + ], + "description": "Update a FleetMember", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "fleetMemberName", + "in": "path", + "description": "The name of the Fleet member resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetMemberUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetMember" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Updates a FleetMember resource synchronously.": { + "$ref": "./examples/FleetMembers_Update.json" + }, + "Updates a FleetMember resource synchronously. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetMembers_Update_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "FleetMembers_Delete", + "tags": [ + "FleetMembers" + ], + "description": "Delete a FleetMember", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "fleetMemberName", + "in": "path", + "description": "The name of the Fleet member resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes a FleetMember resource asynchronously with a long running operation.": { + "$ref": "./examples/FleetMembers_Delete.json" + }, + "Deletes a FleetMember resource asynchronously with a long running operation. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetMembers_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns": { + "get": { + "operationId": "UpdateRuns_ListByFleet", + "tags": [ + "UpdateRuns" + ], + "description": "List UpdateRun resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the UpdateRun resources by fleet.": { + "$ref": "./examples/UpdateRuns_ListByFleet.json" + }, + "Lists the UpdateRun resources by fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_ListByFleet_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}": { + "get": { + "operationId": "UpdateRuns_Get", + "tags": [ + "UpdateRuns" + ], + "description": "Get a UpdateRun", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets an UpdateRun resource.": { + "$ref": "./examples/UpdateRuns_Get.json" + }, + "Gets an UpdateRun resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "UpdateRuns_CreateOrUpdate", + "tags": [ + "UpdateRuns" + ], + "description": "Create a UpdateRun", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateRun" + } + } + ], + "responses": { + "200": { + "description": "Resource 'UpdateRun' update operation succeeded", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "201": { + "description": "Resource 'UpdateRun' create operation succeeded", + "schema": { + "$ref": "#/definitions/UpdateRun" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create an UpdateRun.": { + "$ref": "./examples/UpdateRuns_CreateOrUpdate.json" + }, + "Create an UpdateRun. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "UpdateRuns_Delete", + "tags": [ + "UpdateRuns" + ], + "description": "Delete a UpdateRun", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an updateRun resource.": { + "$ref": "./examples/UpdateRuns_Delete.json" + }, + "Delete an updateRun resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/skip": { + "post": { + "operationId": "UpdateRuns_Skip", + "tags": [ + "UpdateRuns" + ], + "description": "Skips one or a combination of member/group/stage/afterStageWait(s) of an update run.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SkipProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun.": { + "$ref": "./examples/UpdateRuns_Skip.json" + }, + "Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_Skip_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/start": { + "post": { + "operationId": "UpdateRuns_Start", + "tags": [ + "UpdateRuns" + ], + "description": "Starts an UpdateRun.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Starts an UpdateRun.": { + "$ref": "./examples/UpdateRuns_Start.json" + }, + "Starts an UpdateRun. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_Start_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/stop": { + "post": { + "operationId": "UpdateRuns_Stop", + "tags": [ + "UpdateRuns" + ], + "description": "Stops an UpdateRun.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateRunName", + "in": "path", + "description": "The name of the UpdateRun resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stops an UpdateRun.": { + "$ref": "./examples/UpdateRuns_Stop.json" + }, + "Stops an UpdateRun. - generated by [MaximumSet] rule": { + "$ref": "./examples/UpdateRuns_Stop_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateStrategies": { + "get": { + "operationId": "FleetUpdateStrategies_ListByFleet", + "tags": [ + "FleetUpdateStrategies" + ], + "description": "List FleetUpdateStrategy resources by Fleet", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetUpdateStrategyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the FleetUpdateStrategy resources by fleet.": { + "$ref": "./examples/UpdateStrategies_ListByFleet.json" + }, + "List the FleetUpdateStrategy resources by fleet. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetUpdateStrategies_ListByFleet_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateStrategies/{updateStrategyName}": { + "get": { + "operationId": "FleetUpdateStrategies_Get", + "tags": [ + "FleetUpdateStrategies" + ], + "description": "Get a FleetUpdateStrategy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateStrategyName", + "in": "path", + "description": "The name of the UpdateStrategy resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetUpdateStrategy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a FleetUpdateStrategy resource.": { + "$ref": "./examples/UpdateStrategies_Get.json" + }, + "Get a FleetUpdateStrategy resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetUpdateStrategies_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "FleetUpdateStrategies_CreateOrUpdate", + "tags": [ + "FleetUpdateStrategies" + ], + "description": "Create a FleetUpdateStrategy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "If-None-Match", + "in": "header", + "description": "The request should only proceed if no entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateStrategyName", + "in": "path", + "description": "The name of the UpdateStrategy resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/FleetUpdateStrategy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FleetUpdateStrategy' update operation succeeded", + "schema": { + "$ref": "#/definitions/FleetUpdateStrategy" + } + }, + "201": { + "description": "Resource 'FleetUpdateStrategy' create operation succeeded", + "schema": { + "$ref": "#/definitions/FleetUpdateStrategy" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a FleetUpdateStrategy.": { + "$ref": "./examples/UpdateStrategies_CreateOrUpdate.json" + }, + "Create a FleetUpdateStrategy. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetUpdateStrategies_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "FleetUpdateStrategies_Delete", + "tags": [ + "FleetUpdateStrategies" + ], + "description": "Delete a FleetUpdateStrategy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "The request should only proceed if an entity matches this string.", + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" + }, + { + "name": "fleetName", + "in": "path", + "description": "The name of the Fleet resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "name": "updateStrategyName", + "in": "path", + "description": "The name of the UpdateStrategy resource.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a FleetUpdateStrategy resource.": { + "$ref": "./examples/UpdateStrategies_Delete.json" + }, + "Delete a FleetUpdateStrategy resource. - generated by [MaximumSet] rule": { + "$ref": "./examples/FleetUpdateStrategies_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "APIServerAccessProfile": { + "type": "object", + "description": "Access profile for the Fleet hub API server.", + "properties": { + "enablePrivateCluster": { + "type": "boolean", + "description": "Whether to create the Fleet hub as a private cluster or not.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "enableVnetIntegration": { + "type": "boolean", + "description": "Whether to enable apiserver vnet integration for the Fleet hub or not.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "subnetId": { + "$ref": "#/definitions/SubnetResourceId", + "description": "The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "AdoptionPolicy": { + "type": "string", + "description": "Action if the Namespace with the same name already exists.", + "enum": [ + "Never", + "IfIdentical", + "Always" + ], + "x-ms-enum": { + "name": "AdoptionPolicy", + "modelAsString": true, + "values": [ + { + "name": "Never", + "value": "Never", + "description": "If the Namespace already exists, do not take over the existing Namespace to be managed by ARM." + }, + { + "name": "IfIdentical", + "value": "IfIdentical", + "description": "If there is an identical Namespace, take over the existing Namespace to be managed by ARM." + }, + { + "name": "Always", + "value": "Always", + "description": "Always take over the existing Namespace to be managed by ARM, even if it is not identical." + } + ] + } + }, + "AgentProfile": { + "type": "object", + "description": "Agent profile for the Fleet hub.", + "properties": { + "subnetId": { + "$ref": "#/definitions/SubnetResourceId", + "description": "The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "vmSize": { + "type": "string", + "description": "The virtual machine size of the Fleet hub.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "AutoUpgradeLastTriggerStatus": { + "type": "string", + "description": "AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile.", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "AutoUpgradeLastTriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The last AutoUpgrade trigger was succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The last AutoUpgrade trigger failed." + } + ] + }, + "readOnly": true + }, + "AutoUpgradeNodeImageSelection": { + "type": "object", + "description": "The node image upgrade to be applied to the target clusters in auto upgrade.", + "properties": { + "type": { + "$ref": "#/definitions/AutoUpgradeNodeImageSelectionType", + "description": "The node image upgrade type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "type" + ] + }, + "AutoUpgradeNodeImageSelectionType": { + "type": "string", + "description": "The node image upgrade type.", + "enum": [ + "Latest", + "Consistent" + ], + "x-ms-enum": { + "name": "AutoUpgradeNodeImageSelectionType", + "modelAsString": true, + "values": [ + { + "name": "Latest", + "value": "Latest", + "description": "Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions." + }, + { + "name": "Consistent", + "value": "Consistent", + "description": "The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'." + } + ] + } + }, + "AutoUpgradeProfile": { + "type": "object", + "description": "The AutoUpgradeProfile resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AutoUpgradeProfileProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AutoUpgradeProfileId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/fleets/updateRuns" + } + ] + } + }, + "AutoUpgradeProfileListResult": { + "type": "object", + "description": "The response of a AutoUpgradeProfile list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AutoUpgradeProfile items on this page", + "items": { + "$ref": "#/definitions/AutoUpgradeProfile" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AutoUpgradeProfileProperties": { + "type": "object", + "description": "The properties of the AutoUpgradeProfile.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/AutoUpgradeProfileProvisioningState", + "description": "The provisioning state of the AutoUpgradeProfile resource.", + "readOnly": true + }, + "updateStrategyId": { + "$ref": "#/definitions/FleetUpdateStrategyResourceId", + "description": "The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "channel": { + "$ref": "#/definitions/UpgradeChannel", + "description": "Configures how auto-upgrade will be run." + }, + "nodeImageSelection": { + "$ref": "#/definitions/AutoUpgradeNodeImageSelection", + "description": "The node image upgrade to be applied to the target clusters in auto upgrade." + }, + "disabled": { + "type": "boolean", + "description": "If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule.\nIf set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters.\nThis is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile.\nBy default, this is set to False." + }, + "autoUpgradeProfileStatus": { + "$ref": "#/definitions/AutoUpgradeProfileStatus", + "description": "The status of the auto upgrade profile." + }, + "targetKubernetesVersion": { + "type": "string", + "description": " This is the target Kubernetes version for auto-upgrade. The format must be `{major version}.{minor version}`. For example, \"1.30\".\n By default, this is empty.\n If upgrade channel is set to TargetKubernetesVersion, this field must not be empty.\n If upgrade channel is Rapid, Stable or NodeImage, this field must be empty." + }, + "longTermSupport": { + "type": "boolean", + "description": " If upgrade channel is not TargetKubernetesVersion, this field must be False.\n If set to True: Fleet auto upgrade will continue generate update runs for patches of minor versions earlier than N-2 \n (where N is the latest supported minor version) if those minor versions support Long-Term Support (LTS).\n By default, this is set to False.\n For more information on AKS LTS, please see https://learn.microsoft.com/en-us/azure/aks/long-term-support" + } + }, + "required": [ + "channel" + ] + }, + "AutoUpgradeProfileProvisioningState": { + "type": "string", + "description": "The provisioning state of the AutoUpgradeProfile resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "AutoUpgradeProfileProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "AutoUpgradeProfileStatus": { + "type": "object", + "description": "AutoUpgradeProfileStatus is the status of an auto upgrade profile.", + "properties": { + "lastTriggeredAt": { + "type": "string", + "format": "date-time", + "description": "The UTC time of the last attempt to automatically create and start an UpdateRun as triggered by the release of new versions.", + "readOnly": true + }, + "lastTriggerStatus": { + "$ref": "#/definitions/AutoUpgradeLastTriggerStatus", + "description": "The status of the last AutoUpgrade trigger.", + "readOnly": true + }, + "lastTriggerError": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error details of the last trigger.", + "readOnly": true + }, + "lastTriggerUpgradeVersions": { + "type": "array", + "description": "The target Kubernetes version or node image versions of the last trigger.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "ClusterResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/managedClusters" + } + ] + } + }, + "Core.V1.TaintEffect": { + "type": "string", + "description": "TaintEffect", + "enum": [ + "NoSchedule" + ], + "x-ms-enum": { + "name": "TaintEffect", + "modelAsString": true, + "values": [ + { + "name": "NoSchedule", + "value": "NoSchedule", + "description": "Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler." + } + ] + } + }, + "Core.V1.TolerationOperator": { + "type": "string", + "description": "A toleration operator is the set of operators that can be used in a toleration.", + "enum": [ + "Exists", + "Equal" + ], + "x-ms-enum": { + "name": "TolerationOperator", + "modelAsString": true, + "values": [ + { + "name": "Exists", + "value": "Exists", + "description": "Toleration Operator Exists" + }, + { + "name": "Equal", + "value": "Equal", + "description": "Toleration Operator Equal" + } + ] + } + }, + "DeletePolicy": { + "type": "string", + "description": "Delete options for the ARM managed namespace.", + "enum": [ + "Keep", + "Delete" + ], + "x-ms-enum": { + "name": "DeletePolicy", + "modelAsString": true, + "values": [ + { + "name": "Keep", + "value": "Keep", + "description": "Delete the ARM resource but keep the Namespace." + }, + { + "name": "Delete", + "value": "Delete", + "description": "Delete both ARM resource and Namespace." + } + ] + } + }, + "Fleet": { + "type": "object", + "description": "The Fleet resource.", + "properties": { + "properties": { + "$ref": "#/definitions/FleetProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "FleetCredentialResult": { + "type": "object", + "description": "One credential result item.", + "properties": { + "name": { + "type": "string", + "description": "The name of the credential.", + "readOnly": true + }, + "value": { + "type": "string", + "format": "byte", + "description": "Base64-encoded Kubernetes configuration file.", + "readOnly": true + } + } + }, + "FleetCredentialResults": { + "type": "object", + "description": "The Credential results response.", + "properties": { + "kubeconfigs": { + "type": "array", + "description": "Array of base64-encoded Kubernetes configuration files.", + "items": { + "$ref": "#/definitions/FleetCredentialResult" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "FleetHubProfile": { + "type": "object", + "description": "The FleetHubProfile configures the fleet hub.", + "properties": { + "dnsPrefix": { + "type": "string", + "description": "DNS prefix used to create the FQDN for the Fleet hub.", + "minLength": 1, + "maxLength": 54, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "apiServerAccessProfile": { + "$ref": "#/definitions/APIServerAccessProfile", + "description": "The access profile for the Fleet hub API server.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "agentProfile": { + "$ref": "#/definitions/AgentProfile", + "description": "The agent profile for the Fleet hub.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "fqdn": { + "type": "string", + "description": "The FQDN of the Fleet hub.", + "readOnly": true + }, + "kubernetesVersion": { + "type": "string", + "description": "The Kubernetes version of the Fleet hub.", + "readOnly": true + }, + "portalFqdn": { + "type": "string", + "description": "The Azure Portal FQDN of the Fleet hub.", + "readOnly": true + } + } + }, + "FleetListResult": { + "type": "object", + "description": "The response of a Fleet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Fleet items on this page", + "items": { + "$ref": "#/definitions/Fleet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FleetManagedNamespace": { + "type": "object", + "description": "A fleet managed namespace.", + "properties": { + "properties": { + "$ref": "#/definitions/FleetManagedNamespaceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "FleetManagedNamespaceListResult": { + "type": "object", + "description": "The response of a FleetManagedNamespace list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FleetManagedNamespace items on this page", + "items": { + "$ref": "#/definitions/FleetManagedNamespace" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FleetManagedNamespacePatch": { + "type": "object", + "description": "The properties of a fleet managed namespace that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "FleetManagedNamespaceProperties": { + "type": "object", + "description": "The properties of a fleet managed namespace.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/FleetManagedNamespaceProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "managedNamespaceProperties": { + "$ref": "#/definitions/ManagedNamespaceProperties", + "description": "The namespace properties for the fleet managed namespace." + }, + "adoptionPolicy": { + "$ref": "#/definitions/AdoptionPolicy", + "description": "Action if the managed namespace with the same name already exists. Default is Never." + }, + "deletePolicy": { + "$ref": "#/definitions/DeletePolicy", + "description": "Delete options of a fleet managed namespace. Default is Keep." + }, + "propagationPolicy": { + "$ref": "#/definitions/PropagationPolicy", + "description": "The profile of the propagation to create the namespace." + }, + "status": { + "$ref": "#/definitions/FleetManagedNamespaceStatus", + "description": "Status information of the last operation for fleet managed namespace.", + "readOnly": true + } + }, + "required": [ + "adoptionPolicy", + "deletePolicy" + ] + }, + "FleetManagedNamespaceProvisioningState": { + "type": "string", + "description": "The provisioning state of the fleet managed namespace resource", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "FleetManagedNamespaceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The provisioning state of a fleet managed namespace being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The provisioning state of a fleet managed namespace being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The provisioning state of a fleet managed namespace being deleted." + } + ] + }, + "readOnly": true + }, + "FleetManagedNamespaceStatus": { + "type": "object", + "description": "Status information for the fleet managed namespace.", + "properties": { + "lastOperationId": { + "type": "string", + "description": "The last operation ID for the fleet managed namespace", + "readOnly": true + }, + "lastOperationError": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The last operation error of the fleet managed namespace", + "readOnly": true + } + } + }, + "FleetMember": { + "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", + "properties": { + "properties": { + "$ref": "#/definitions/FleetMemberProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FleetMemberListResult": { + "type": "object", + "description": "The response of a FleetMember list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FleetMember items on this page", + "items": { + "$ref": "#/definitions/FleetMember" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FleetMemberProperties": { + "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", + "properties": { + "clusterResourceId": { + "$ref": "#/definitions/ClusterResourceId", + "description": "The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "group": { + "type": "string", + "description": "The group this member belongs to for multi-cluster update management.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "provisioningState": { + "$ref": "#/definitions/FleetMemberProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "labels": { + "type": "object", + "description": "The labels for the fleet member.", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "$ref": "#/definitions/FleetMemberStatus", + "description": "Status information of the last operation for fleet member.", + "readOnly": true + } + }, + "required": [ + "clusterResourceId" + ] + }, + "FleetMemberProvisioningState": { + "type": "string", + "description": "The provisioning state of the last accepted operation.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Joining", + "Leaving", + "Updating" + ], + "x-ms-enum": { + "name": "FleetMemberProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Joining", + "value": "Joining", + "description": "The provisioning state of a member joining a fleet." + }, + { + "name": "Leaving", + "value": "Leaving", + "description": "The provisioning state of a member leaving a fleet." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The provisioning state of a member being updated." + } + ] + }, + "readOnly": true + }, + "FleetMemberStatus": { + "type": "object", + "description": "Status information for the fleet member", + "properties": { + "lastOperationId": { + "type": "string", + "description": "The last operation ID for the fleet member", + "readOnly": true + }, + "lastOperationError": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The last operation error of the fleet member", + "readOnly": true + } + } + }, + "FleetMemberUpdate": { + "type": "object", + "description": "The type used for update operations of the FleetMember.", + "properties": { + "properties": { + "$ref": "#/definitions/FleetMemberUpdateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "FleetMemberUpdateProperties": { + "type": "object", + "description": "The updatable properties of the FleetMember.", + "properties": { + "group": { + "type": "string", + "description": "The group this member belongs to for multi-cluster update management.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "labels": { + "type": "object", + "description": "The labels for the fleet member.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "FleetPatch": { + "type": "object", + "description": "Properties of a Fleet that can be patched.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed identity." + } + } + }, + "FleetProperties": { + "type": "object", + "description": "Fleet properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/FleetProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "hubProfile": { + "$ref": "#/definitions/FleetHubProfile", + "description": "The FleetHubProfile configures the Fleet's hub." + }, + "status": { + "$ref": "#/definitions/FleetStatus", + "description": "Status information for the fleet.", + "readOnly": true + } + } + }, + "FleetProvisioningState": { + "type": "string", + "description": "The provisioning state of the last accepted operation.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "FleetProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The provisioning state of a fleet being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The provisioning state of a fleet being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The provisioning state of a fleet being deleted." + } + ] + }, + "readOnly": true + }, + "FleetStatus": { + "type": "object", + "description": "Status information for the fleet.", + "properties": { + "lastOperationId": { + "type": "string", + "description": "The last operation ID for the fleet.", + "readOnly": true + }, + "lastOperationError": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The last operation error for the fleet.", + "readOnly": true + } + } + }, + "FleetUpdateStrategy": { + "type": "object", + "description": "Defines a multi-stage process to perform update operations across members of a Fleet.", + "properties": { + "properties": { + "$ref": "#/definitions/FleetUpdateStrategyProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FleetUpdateStrategyListResult": { + "type": "object", + "description": "The response of a FleetUpdateStrategy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FleetUpdateStrategy items on this page", + "items": { + "$ref": "#/definitions/FleetUpdateStrategy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FleetUpdateStrategyProperties": { + "type": "object", + "description": "The properties of the UpdateStrategy.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/FleetUpdateStrategyProvisioningState", + "description": "The provisioning state of the UpdateStrategy resource.", + "readOnly": true + }, + "strategy": { + "$ref": "#/definitions/UpdateRunStrategy", + "description": "Defines the update sequence of the clusters.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + }, + "required": [ + "strategy" + ] + }, + "FleetUpdateStrategyProvisioningState": { + "type": "string", + "description": "The provisioning state of the UpdateStrategy resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "FleetUpdateStrategyProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "FleetUpdateStrategyResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/fleets/updateStrategies" + } + ] + } + }, + "Gate": { + "type": "object", + "description": "A Gate controls the progression during a staged rollout, e.g. in an Update Run.", + "properties": { + "properties": { + "$ref": "#/definitions/GateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "GateConfiguration": { + "type": "object", + "description": "GateConfiguration is used to define where Gates should be placed within the Update Run.", + "properties": { + "displayName": { + "type": "string", + "description": "The human-readable display name of the Gate.", + "minLength": 1, + "maxLength": 100 + }, + "type": { + "$ref": "#/definitions/GateType", + "description": "The type of the Gate determines how it is completed." + } + }, + "required": [ + "type" + ] + }, + "GateListResult": { + "type": "object", + "description": "The response of a Gate list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Gate items on this page", + "items": { + "$ref": "#/definitions/Gate" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GatePatch": { + "type": "object", + "description": "Patch a Gate resource.", + "properties": { + "properties": { + "$ref": "#/definitions/GatePatchProperties", + "description": "Properties of a Gate that can be patched." + } + } + }, + "GatePatchProperties": { + "type": "object", + "description": "Properties of a Gate that can be patched.", + "properties": { + "state": { + "$ref": "#/definitions/GateState", + "description": "The state of the Gate." + } + } + }, + "GateProperties": { + "type": "object", + "description": "A Gate controls the progression during a staged rollout, e.g. in an Update Run.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/GateProvisioningState", + "description": "The provisioning state of the Gate resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The human-readable display name of the Gate.", + "minLength": 1, + "maxLength": 100, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "gateType": { + "$ref": "#/definitions/GateType", + "description": "The type of the Gate determines how it is completed.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "target": { + "$ref": "#/definitions/GateTarget", + "description": "The target that the Gate is controlling, e.g. an Update Run.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "state": { + "$ref": "#/definitions/GateState", + "description": "The state of the Gate.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + }, + "required": [ + "gateType", + "target", + "state" + ] + }, + "GateProvisioningState": { + "type": "string", + "description": "The provisioning state of the Gate resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "GateProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "GateResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/fleets/gates" + } + ] + } + }, + "GateState": { + "type": "string", + "description": "The state of the Gate.", + "enum": [ + "Pending", + "Skipped", + "Completed" + ], + "x-ms-enum": { + "name": "GateState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "A Pending Gate will continue to block the staged rollout process it is controlling." + }, + { + "name": "Skipped", + "value": "Skipped", + "description": "A Skipped Gate means that the staged rollout process it is controlling was skipped." + }, + { + "name": "Completed", + "value": "Completed", + "description": "An Completed Gate allows the staged rollout process to continue." + } + ] + } + }, + "GateTarget": { + "type": "object", + "description": "The target that the Gate is controlling, e.g. an Update Run. Exactly one of the properties objects will be set.", + "properties": { + "id": { + "$ref": "#/definitions/UpdateRunResourceId", + "description": "The resource id that the Gate is controlling the rollout of.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "updateRunProperties": { + "$ref": "#/definitions/UpdateRunGateTargetProperties", + "description": "The properties of the Update Run that the Gate is targeting.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "id" + ] + }, + "GateType": { + "type": "string", + "description": "The type of the Gate determines how it is completed.", + "enum": [ + "Approval" + ], + "x-ms-enum": { + "name": "GateType", + "modelAsString": true, + "values": [ + { + "name": "Approval", + "value": "Approval", + "description": "An approval gate is completed by setting its state to be Completed." + } + ] + } + }, + "GenerateResponse": { + "type": "object", + "description": "GenerateResponse is the response of a generate request.", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id of the generated UpdateRun. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}'.", + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "KubernetesVersion": { + "type": "string" + }, + "ManagedClusterUpdate": { + "type": "object", + "description": "The update to be applied to the ManagedClusters.", + "properties": { + "upgrade": { + "$ref": "#/definitions/ManagedClusterUpgradeSpec", + "description": "The upgrade to apply to the ManagedClusters." + }, + "nodeImageSelection": { + "$ref": "#/definitions/NodeImageSelection", + "description": "The node image upgrade to be applied to the target nodes in update run.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "upgrade" + ] + }, + "ManagedClusterUpgradeSpec": { + "type": "object", + "description": "The upgrade to apply to a ManagedCluster.", + "properties": { + "type": { + "$ref": "#/definitions/ManagedClusterUpgradeType", + "description": "ManagedClusterUpgradeType is the type of upgrade to be applied." + }, + "kubernetesVersion": { + "$ref": "#/definitions/KubernetesVersion", + "description": "The Kubernetes version to upgrade the member clusters to." + } + }, + "required": [ + "type" + ] + }, + "ManagedClusterUpgradeType": { + "type": "string", + "description": "The type of upgrade to perform when targeting ManagedClusters.", + "enum": [ + "Full", + "NodeImageOnly", + "ControlPlaneOnly" + ], + "x-ms-enum": { + "name": "ManagedClusterUpgradeType", + "modelAsString": true, + "values": [ + { + "name": "Full", + "value": "Full", + "description": "Full upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set." + }, + { + "name": "NodeImageOnly", + "value": "NodeImageOnly", + "description": "NodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set." + }, + { + "name": "ControlPlaneOnly", + "value": "ControlPlaneOnly", + "description": "ControlPlaneOnly upgrades only targets the KubernetesVersion of the ManagedClusters and will not be applied to the AgentPool. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set." + } + ] + } + }, + "ManagedNamespaceProperties": { + "type": "object", + "description": "The namespace properties for the fleet managed namespace.", + "properties": { + "labels": { + "type": "object", + "description": "The labels for the fleet managed namespace.", + "additionalProperties": { + "type": "string" + } + }, + "annotations": { + "type": "object", + "description": "The annotations for the fleet managed namespace.", + "additionalProperties": { + "type": "string" + } + }, + "defaultResourceQuota": { + "$ref": "#/definitions/ResourceQuota", + "description": "The default resource quota for the fleet managed namespace." + }, + "defaultNetworkPolicy": { + "$ref": "#/definitions/NetworkPolicy", + "description": "The default network policy for the fleet managed namespace." + } + } + }, + "MemberUpdateStatus": { + "type": "object", + "description": "The status of a member update operation.", + "properties": { + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the MemberUpdate operation.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the FleetMember.", + "readOnly": true + }, + "clusterResourceId": { + "type": "string", + "description": "The Azure resource id of the target Kubernetes cluster.", + "readOnly": true + }, + "operationId": { + "type": "string", + "description": "The operation resource id of the latest attempt to perform the operation.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "The status message after processing the member update operation.", + "readOnly": true + } + } + }, + "Meta.V1.LabelSelector": { + "type": "object", + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchLabels": { + "type": "object", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "additionalProperties": { + "type": "string" + } + }, + "matchExpressions": { + "type": "array", + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "$ref": "#/definitions/Meta.V1.LabelSelectorRequirement" + }, + "x-ms-identifiers": [] + } + } + }, + "Meta.V1.LabelSelectorOperator": { + "type": "string", + "description": "A label selector operator is the set of operators that can be used in a selector requirement.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "x-ms-enum": { + "name": "LabelSelectorOperator", + "modelAsString": true, + "values": [ + { + "name": "In", + "value": "In", + "description": "Label Selector Operator In" + }, + { + "name": "NotIn", + "value": "NotIn", + "description": "Label Selector Operator NotIn" + }, + { + "name": "Exists", + "value": "Exists", + "description": "Label Selector Operator Exists" + }, + { + "name": "DoesNotExist", + "value": "DoesNotExist", + "description": "Label Selector Operator DoesNotExist" + } + ] + } + }, + "Meta.V1.LabelSelectorRequirement": { + "type": "object", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "type": "string", + "description": "key is the label key that the selector applies to." + }, + "operator": { + "$ref": "#/definitions/Meta.V1.LabelSelectorOperator", + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": "array", + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "operator" + ] + }, + "NetworkPolicy": { + "type": "object", + "description": "The network policy for the managed namespace.", + "properties": { + "ingress": { + "$ref": "#/definitions/PolicyRule", + "description": "The ingress policy for the managed namespace." + }, + "egress": { + "$ref": "#/definitions/PolicyRule", + "description": "The egress policy for the managed namespace." + } + } + }, + "NodeImageSelection": { + "type": "object", + "description": "The node image upgrade to be applied to the target nodes in update run.", + "properties": { + "type": { + "$ref": "#/definitions/NodeImageSelectionType", + "description": "The node image upgrade type.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "customNodeImageVersions": { + "type": "array", + "description": "Custom node image versions to upgrade the nodes to. This field is required if node image selection type is Custom. Otherwise, it must be empty. For each node image family (e.g., 'AKSUbuntu-1804gen2containerd'), this field can contain at most one version (e.g., only one of 'AKSUbuntu-1804gen2containerd-2023.01.12' or 'AKSUbuntu-1804gen2containerd-2023.02.12', not both). If the nodes belong to a family without a matching image version in this field, they are not upgraded.", + "items": { + "$ref": "#/definitions/NodeImageVersion" + }, + "x-ms-identifiers": [ + "version" + ] + } + }, + "required": [ + "type" + ] + }, + "NodeImageSelectionStatus": { + "type": "object", + "description": "The node image upgrade specs for the update run.", + "properties": { + "selectedNodeImageVersions": { + "type": "array", + "description": "The image versions to upgrade the nodes to.", + "items": { + "$ref": "#/definitions/NodeImageVersion" + }, + "readOnly": true, + "x-ms-identifiers": [ + "version" + ] + } + } + }, + "NodeImageSelectionType": { + "type": "string", + "description": "The node image upgrade type.", + "enum": [ + "Latest", + "Consistent", + "Custom" + ], + "x-ms-enum": { + "name": "NodeImageSelectionType", + "modelAsString": true, + "values": [ + { + "name": "Latest", + "value": "Latest", + "description": "Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions." + }, + { + "name": "Consistent", + "value": "Consistent", + "description": "The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'." + }, + { + "name": "Custom", + "value": "Custom", + "description": "Upgrade the nodes to the custom image versions. When set, update run will use node image versions provided in customNodeImageVersions to upgrade the nodes. If set, customNodeImageVersions must not be empty." + } + ] + } + }, + "NodeImageVersion": { + "type": "object", + "description": "The node upgrade image version.", + "properties": { + "version": { + "type": "string", + "description": "The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13').", + "readOnly": true + } + } + }, + "Placement.V1.Affinity": { + "type": "object", + "description": "Affinity is a group of cluster affinity scheduling rules. More to be added.", + "properties": { + "clusterAffinity": { + "$ref": "#/definitions/Placement.V1.ClusterAffinity", + "description": "ClusterAffinity contains cluster affinity scheduling rules for the selected resources." + } + } + }, + "Placement.V1.ClusterAffinity": { + "type": "object", + "description": "ClusterAffinity contains cluster affinity scheduling rules for the selected resources.", + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "$ref": "#/definitions/Placement.V1.ClusterSelector", + "description": "If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster." + } + } + }, + "Placement.V1.ClusterResourcePlacementSpec": { + "type": "object", + "description": "ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.", + "properties": { + "policy": { + "$ref": "#/definitions/Placement.V1.PlacementPolicy", + "description": "Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected." + } + } + }, + "Placement.V1.ClusterSelector": { + "type": "object", + "description": "ClusterSelector", + "properties": { + "clusterSelectorTerms": { + "type": "array", + "description": "ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.", + "items": { + "$ref": "#/definitions/Placement.V1.ClusterSelectorTerm" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "clusterSelectorTerms" + ] + }, + "Placement.V1.ClusterSelectorTerm": { + "type": "object", + "description": "ClusterSelectorTerm", + "properties": { + "labelSelector": { + "$ref": "#/definitions/Meta.V1.LabelSelector", + "description": "LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd." + }, + "propertySelector": { + "$ref": "#/definitions/Placement.V1.PropertySelector", + "description": "PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment." + } + } + }, + "Placement.V1.PlacementPolicy": { + "type": "object", + "description": "PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.", + "properties": { + "placementType": { + "$ref": "#/definitions/Placement.V1.PlacementType", + "description": "Type of placement. Can be \"PickAll\", \"PickN\" or \"PickFixed\". Default is PickAll." + }, + "clusterNames": { + "type": "array", + "description": "ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is \"PickFixed\"", + "items": { + "type": "string" + } + }, + "affinity": { + "$ref": "#/definitions/Placement.V1.Affinity", + "description": "Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is \"PickAll\" or \"PickN\"." + }, + "tolerations": { + "type": "array", + "description": "If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.", + "items": { + "$ref": "#/definitions/Placement.V1.Toleration" + }, + "x-ms-identifiers": [] + } + } + }, + "Placement.V1.PlacementType": { + "type": "string", + "description": "PlacementType identifies the type of placement.", + "enum": [ + "PickAll", + "PickFixed" + ], + "x-ms-enum": { + "name": "PlacementType", + "modelAsString": true, + "values": [ + { + "name": "PickAll", + "value": "PickAll", + "description": "PickAll picks all clusters that satisfy the rules." + }, + { + "name": "PickFixed", + "value": "PickFixed", + "description": "PickFixed picks a fixed set of clusters." + } + ] + } + }, + "Placement.V1.PropertySelector": { + "type": "object", + "description": "PropertySelector helps user specify property requirements when picking clusters for resource placement.", + "properties": { + "matchExpressions": { + "type": "array", + "description": "MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.", + "items": { + "$ref": "#/definitions/Placement.V1.PropertySelectorRequirement" + } + } + }, + "required": [ + "matchExpressions" + ] + }, + "Placement.V1.PropertySelectorOperator": { + "type": "string", + "description": "PropertySelectorOperator is the operator that can be used with PropertySelectorRequirements.", + "enum": [ + "Gt", + "Ge", + "Eq", + "Ne", + "Lt", + "Le" + ], + "x-ms-enum": { + "name": "PropertySelectorOperator", + "modelAsString": true, + "values": [ + { + "name": "Gt", + "value": "Gt", + "description": "Gt dictates Fleet to select cluster if its observed value of a given property is greater than the value specified in the requirement." + }, + { + "name": "Ge", + "value": "Ge", + "description": "Ge dictates Fleet to select cluster if its observed value of a given property is greater than or equal to the value specified in the requirement." + }, + { + "name": "Eq", + "value": "Eq", + "description": "Eq dictates Fleet to select cluster if its observed value of a given property is equal to the values specified in the requirement." + }, + { + "name": "Ne", + "value": "Ne", + "description": "Ne dictates Fleet to select cluster if its observed value of a given property is not equal to the values specified in the requirement." + }, + { + "name": "Lt", + "value": "Lt", + "description": "Lt dictates Fleet to select cluster if its observed value of a given property is less than the value specified in the requirement." + }, + { + "name": "Le", + "value": "Le", + "description": "Le dictates Fleet to select cluster if its observed value of a given property is less than or equal to the value specified in the requirement." + } + ] + } + }, + "Placement.V1.PropertySelectorRequirement": { + "type": "object", + "description": "PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.", + "properties": { + "name": { + "type": "string", + "description": "Name is the name of the property; it should be a Kubernetes label name." + }, + "operator": { + "$ref": "#/definitions/Placement.V1.PropertySelectorOperator", + "description": "Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement." + }, + "values": { + "type": "array", + "description": "Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "operator", + "values" + ] + }, + "Placement.V1.Toleration": { + "type": "object", + "description": "Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .", + "properties": { + "key": { + "type": "string", + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "$ref": "#/definitions/Core.V1.TolerationOperator", + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category." + }, + "value": { + "type": "string", + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + }, + "effect": { + "$ref": "#/definitions/Core.V1.TaintEffect", + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule." + } + } + }, + "PlacementProfile": { + "type": "object", + "description": "The configuration profile for default ClusterResourcePlacement for placement.", + "properties": { + "defaultClusterResourcePlacement": { + "$ref": "#/definitions/Placement.V1.ClusterResourcePlacementSpec", + "description": "The default ClusterResourcePlacement policy configuration." + } + } + }, + "PolicyRule": { + "type": "string", + "description": "The possible values representing different network policy rules.", + "enum": [ + "AllowAll", + "DenyAll", + "AllowSameNamespace" + ], + "x-ms-enum": { + "name": "PolicyRule", + "modelAsString": true, + "values": [ + { + "name": "AllowAll", + "value": "AllowAll", + "description": "Allow all network traffic." + }, + { + "name": "DenyAll", + "value": "DenyAll", + "description": "Deny all network traffic." + }, + { + "name": "AllowSameNamespace", + "value": "AllowSameNamespace", + "description": "Allow traffic within the same namespace." + } + ] + } + }, + "PropagationPolicy": { + "type": "object", + "description": "The propagation to be used for provisioning the namespace among the fleet.", + "properties": { + "type": { + "$ref": "#/definitions/PropagationType", + "description": "The type of the policy to be used. Default is Placement." + }, + "placementProfile": { + "$ref": "#/definitions/PlacementProfile", + "description": "The profile to be used for propagation via placement." + } + }, + "required": [ + "type" + ] + }, + "PropagationType": { + "type": "string", + "description": "How the namespace will be provisioned among the fleet members.", + "enum": [ + "Placement" + ], + "x-ms-enum": { + "name": "PropagationType", + "modelAsString": true, + "values": [ + { + "name": "Placement", + "value": "Placement", + "description": "Using ClusterResourcePlacement." + } + ] + } + }, + "ResourceQuota": { + "type": "object", + "description": "The resource quota for the managed namespace.", + "properties": { + "cpuRequest": { + "type": "string", + "description": "The CPU request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu" + }, + "cpuLimit": { + "type": "string", + "description": "The CPU limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu" + }, + "memoryRequest": { + "type": "string", + "description": "The memory request for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory" + }, + "memoryLimit": { + "type": "string", + "description": "The memory limit for the managed namespace. See more at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory" + } + } + }, + "SkipProperties": { + "type": "object", + "description": "The properties of a skip operation containing multiple skip requests.", + "properties": { + "targets": { + "type": "array", + "description": "The targets to skip.", + "items": { + "$ref": "#/definitions/SkipTarget" + }, + "x-ms-identifiers": [ + "type", + "name" + ] + } + }, + "required": [ + "targets" + ] + }, + "SkipTarget": { + "type": "object", + "description": "The definition of a single skip request.", + "properties": { + "type": { + "$ref": "#/definitions/TargetType", + "description": "The skip target type." + }, + "name": { + "type": "string", + "description": "The skip target's name. \nTo skip a member/group/stage, use the member/group/stage's name;\nTp skip an after stage wait, use the parent stage's name." + } + }, + "required": [ + "type", + "name" + ] + }, + "SubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "TargetType": { + "type": "string", + "description": "The target type of a skip request.", + "enum": [ + "Member", + "Group", + "Stage", + "AfterStageWait" + ], + "x-ms-enum": { + "name": "TargetType", + "modelAsString": true, + "values": [ + { + "name": "Member", + "value": "Member", + "description": "Skip the update of a member." + }, + { + "name": "Group", + "value": "Group", + "description": "Skip the update of a group." + }, + { + "name": "Stage", + "value": "Stage", + "description": "Skip the update of an entire stage including the after stage wait." + }, + { + "name": "AfterStageWait", + "value": "AfterStageWait", + "description": "Skip the update of the after stage wait of a certain stage." + } + ] + } + }, + "Timing": { + "type": "string", + "description": "Whether the Gate is placed before or after the target.", + "enum": [ + "Before", + "After" + ], + "x-ms-enum": { + "name": "Timing", + "modelAsString": true, + "values": [ + { + "name": "Before", + "value": "Before", + "description": "The Gate is before the target." + }, + { + "name": "After", + "value": "After", + "description": "The Gate is after the target." + } + ] + } + }, + "UpdateGroup": { + "type": "object", + "description": "A group to be updated.", + "properties": { + "name": { + "type": "string", + "description": "Name of the group.\nIt must match a group name of an existing fleet member. ", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "beforeGates": { + "type": "array", + "description": "A list of Gates that will be created before this Group is executed.", + "items": { + "$ref": "#/definitions/GateConfiguration" + }, + "x-ms-identifiers": [] + }, + "afterGates": { + "type": "array", + "description": "A list of Gates that will be created after this Group is executed.", + "items": { + "$ref": "#/definitions/GateConfiguration" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name" + ] + }, + "UpdateGroupStatus": { + "type": "object", + "description": "The status of a UpdateGroup.", + "properties": { + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the UpdateGroup.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the UpdateGroup.", + "readOnly": true + }, + "members": { + "type": "array", + "description": "The list of member this UpdateGroup updates.", + "items": { + "$ref": "#/definitions/MemberUpdateStatus" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "beforeGates": { + "type": "array", + "description": "The list of Gates that will run before this UpdateGroup.", + "items": { + "$ref": "#/definitions/UpdateRunGateStatus" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "afterGates": { + "type": "array", + "description": "The list of Gates that will run after this UpdateGroup.", + "items": { + "$ref": "#/definitions/UpdateRunGateStatus" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "UpdateRun": { + "type": "object", + "description": "A multi-stage process to perform update operations across members of a Fleet.", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateRunProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "UpdateRunGateStatus": { + "type": "object", + "description": "The status of the Gate, as represented in the Update Run.", + "properties": { + "displayName": { + "type": "string", + "description": "The human-readable display name of the Gate.", + "minLength": 1, + "maxLength": 100, + "readOnly": true + }, + "gateId": { + "$ref": "#/definitions/GateResourceId", + "description": "The resource id of the Gate.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the Gate.", + "readOnly": true + } + } + }, + "UpdateRunGateTargetProperties": { + "type": "object", + "description": "The properties of the Update Run that the Gate is targeting.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Update Run.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "readOnly": true + }, + "stage": { + "type": "string", + "description": "The Update Stage of the Update Run.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "readOnly": true + }, + "group": { + "type": "string", + "description": "The Update Group of the Update Run.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", + "readOnly": true + }, + "timing": { + "$ref": "#/definitions/Timing", + "description": "Whether the Gate is placed before or after the update itself.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "name", + "timing" + ] + }, + "UpdateRunListResult": { + "type": "object", + "description": "The response of a UpdateRun list operation.", + "properties": { + "value": { + "type": "array", + "description": "The UpdateRun items on this page", + "items": { + "$ref": "#/definitions/UpdateRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UpdateRunProperties": { + "type": "object", + "description": "The properties of the UpdateRun.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/UpdateRunProvisioningState", + "description": "The provisioning state of the UpdateRun resource.", + "readOnly": true + }, + "updateStrategyId": { + "$ref": "#/definitions/FleetUpdateStrategyResourceId", + "description": "The resource id of the FleetUpdateStrategy resource to reference.\n\nWhen creating a new run, there are three ways to define a strategy for the run:\n1. Define a new strategy in place: Set the \"strategy\" field.\n2. Use an existing strategy: Set the \"updateStrategyId\" field. (since 2023-08-15-preview)\n3. Use the default strategy to update all the members one by one: Leave both \"updateStrategyId\" and \"strategy\" unset. (since 2023-08-15-preview)\n\nSetting both \"updateStrategyId\" and \"strategy\" is invalid.\n\nUpdateRuns created by \"updateStrategyId\" snapshot the referenced UpdateStrategy at the time of creation and store it in the \"strategy\" field. \nSubsequent changes to the referenced FleetUpdateStrategy resource do not propagate.\nUpdateRunStrategy changes can be made directly on the \"strategy\" field before launching the UpdateRun." + }, + "strategy": { + "$ref": "#/definitions/UpdateRunStrategy", + "description": "The strategy defines the order in which the clusters will be updated.\nIf not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members.\nThe strategy of the UpdateRun can be modified until the run is started." + }, + "managedClusterUpdate": { + "$ref": "#/definitions/ManagedClusterUpdate", + "description": "The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started." + }, + "status": { + "$ref": "#/definitions/UpdateRunStatus", + "description": "The status of the UpdateRun.", + "readOnly": true + }, + "autoUpgradeProfileId": { + "$ref": "#/definitions/AutoUpgradeProfileId", + "description": "AutoUpgradeProfileId is the id of an auto upgrade profile resource.", + "readOnly": true + } + }, + "required": [ + "managedClusterUpdate" + ] + }, + "UpdateRunProvisioningState": { + "type": "string", + "description": "The provisioning state of the UpdateRun resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "UpdateRunProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "UpdateRunResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/fleets/updateRuns" + } + ] + } + }, + "UpdateRunStatus": { + "type": "object", + "description": "The status of a UpdateRun.", + "properties": { + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the UpdateRun.", + "readOnly": true + }, + "stages": { + "type": "array", + "description": "The stages composing an update run. Stages are run sequentially withing an UpdateRun.", + "items": { + "$ref": "#/definitions/UpdateStageStatus" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "nodeImageSelection": { + "$ref": "#/definitions/NodeImageSelectionStatus", + "description": "The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`.", + "readOnly": true + } + } + }, + "UpdateRunStrategy": { + "type": "object", + "description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages.", + "properties": { + "stages": { + "type": "array", + "description": "The list of stages that compose this update run. Min size: 1.", + "items": { + "$ref": "#/definitions/UpdateStage" + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "stages" + ] + }, + "UpdateStage": { + "type": "object", + "description": "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.", + "properties": { + "name": { + "type": "string", + "description": "The name of the stage. Must be unique within the UpdateRun.", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "groups": { + "type": "array", + "description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.", + "items": { + "$ref": "#/definitions/UpdateGroup" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "afterStageWaitInSeconds": { + "type": "integer", + "format": "int32", + "description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified." + }, + "beforeGates": { + "type": "array", + "description": "A list of Gates that will be created before this Stage is executed.", + "items": { + "$ref": "#/definitions/GateConfiguration" + }, + "x-ms-identifiers": [] + }, + "afterGates": { + "type": "array", + "description": "A list of Gates that will be created after this Stage is executed.", + "items": { + "$ref": "#/definitions/GateConfiguration" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name" + ] + }, + "UpdateStageStatus": { + "type": "object", + "description": "The status of a UpdateStage.", + "properties": { + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the UpdateStage.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the UpdateStage.", + "readOnly": true + }, + "groups": { + "type": "array", + "description": "The list of groups to be updated as part of this UpdateStage.", + "items": { + "$ref": "#/definitions/UpdateGroupStatus" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "beforeGates": { + "type": "array", + "description": "The list of Gates that will run before this UpdateStage.", + "items": { + "$ref": "#/definitions/UpdateRunGateStatus" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "afterGates": { + "type": "array", + "description": "The list of Gates that will run after this UpdateStage.", + "items": { + "$ref": "#/definitions/UpdateRunGateStatus" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "afterStageWaitStatus": { + "$ref": "#/definitions/WaitStatus", + "description": "The status of the wait period configured on the UpdateStage.", + "readOnly": true + } + } + }, + "UpdateState": { + "type": "string", + "description": "The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate.", + "enum": [ + "NotStarted", + "Running", + "Stopping", + "Stopped", + "Skipped", + "Failed", + "Pending", + "Completed" + ], + "x-ms-enum": { + "name": "UpdateState", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has not been started." + }, + { + "name": "Running", + "value": "Running", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is running." + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is being stopped." + }, + { + "name": "Stopped", + "value": "Stopped", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has stopped." + }, + { + "name": "Skipped", + "value": "Skipped", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has been skipped." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has failed." + }, + { + "name": "Pending", + "value": "Pending", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is pending." + }, + { + "name": "Completed", + "value": "Completed", + "description": "The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has completed." + } + ] + } + }, + "UpdateStatus": { + "type": "object", + "description": "The status for an operation or group of operations.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the operation or group was started.", + "readOnly": true + }, + "completedTime": { + "type": "string", + "format": "date-time", + "description": "The time the operation or group was completed.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/UpdateState", + "description": "The State of the operation or group.", + "readOnly": true + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error details when a failure is encountered.", + "readOnly": true + } + } + }, + "UpgradeChannel": { + "type": "string", + "description": "Configuration of how auto upgrade will be run.", + "enum": [ + "Stable", + "Rapid", + "NodeImage", + "TargetKubernetesVersion" + ], + "x-ms-enum": { + "name": "UpgradeChannel", + "modelAsString": true, + "values": [ + { + "name": "Stable", + "value": "Stable", + "description": " Upgrades the clusters kubernetes version to the latest supported patch release on minor version N-1, where N is the latest supported minor version.\n For example, if a cluster runs version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, the cluster upgrades to 1.18.6." + }, + { + "name": "Rapid", + "value": "Rapid", + "description": "Upgrades the clusters kubernetes version to the latest supported patch release on the latest supported minor version." + }, + { + "name": "NodeImage", + "value": "NodeImage", + "description": "Upgrade node image version of the clusters." + }, + { + "name": "TargetKubernetesVersion", + "value": "TargetKubernetesVersion", + "description": " Upgrades the clusters Kubernetes version to the latest supported patch version of the specified target Kubernetes version.\n For information on the behavior of update run for Kubernetes version upgrade, \n see https://learn.microsoft.com/en-us/azure/kubernetes-fleet/update-orchestration?tabs=azure-portal" + } + ] + } + }, + "WaitStatus": { + "type": "object", + "description": "The status of the wait duration.", + "properties": { + "status": { + "$ref": "#/definitions/UpdateStatus", + "description": "The status of the wait duration.", + "readOnly": true + }, + "waitDurationInSeconds": { + "type": "integer", + "format": "int32", + "description": "The wait duration configured in seconds.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md index a3a7bd430475..3ea7f9c7cf35 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md @@ -2,7 +2,7 @@ > see https://aka.ms/autorest -## This is the AutoRest configuration file for ContainerServiceFleet. +## This is the AutoRest configuration file for ContainerServiceFleet The service is hosted under the Microsoft.ContainerService resource provider but exposes a separate set of resources, apis, and SDKs. @@ -25,10 +25,39 @@ To see additional help and options, run: These are the global settings for the ContainerServices API. - -``` yaml +```yaml openapi-type: arm -tag: package-2025-04-01-preview +tag: package-2025-08-01-preview +``` + +### Tag: package-2025-08-01-preview + +These settings apply only when `--tag=package-2025-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2025-08-01-preview' +input-file: + - preview/2025-08-01-preview/fleets.json +suppressions: + - code: AvoidAdditionalProperties + from: fleets.json + where: $.definitions.FleetMemberProperties.properties.labels + reason: Labels are a key/value map that is passed through to the underlying Kubernetes model. + - code: AvoidAdditionalProperties + from: fleets.json + where: $.definitions.FleetMemberUpdateProperties.properties.labels + reason: Labels are a key/value map that is passed through to the underlying Kubernetes model. + - code: AvoidAdditionalProperties + from: fleets.json + where: $.definitions.ManagedNamespaceProperties.properties.labels + reason: Labels are a key/value map that is passed through to the underlying Kubernetes model. + - code: AvoidAdditionalProperties + from: fleets.json + where: $.definitions.ManagedNamespaceProperties.properties.annotations + reason: Annotations are a key/value map that is passed through to the underlying Kubernetes model. + - code: AvoidAdditionalProperties + from: fleets.json + where: $.definitions['Meta.V1.LabelSelector'].properties.matchLabels + reason: MatchLabels are a key/value map that is passed through to the underlying Kubernetes model. ``` ### Tag: package-2025-04-01-preview @@ -71,7 +100,7 @@ input-file: These settings apply only when `--tag=package-2024-04` is specified on the command line. -``` yaml $(tag) == 'package-2024-04' +```yaml $(tag) == 'package-2024-04' input-file: - stable/2024-04-01/fleets.json ``` @@ -84,11 +113,12 @@ These settings apply only when `--tag=package-2024-02-preview` is specified on t input-file: - preview/2024-02-02-preview/fleets.json ``` + ### Tag: package-2023-10 These settings apply only when `--tag=package-2023-10` is specified on the command line. -``` yaml $(tag) == 'package-2023-10' +```yaml $(tag) == 'package-2023-10' input-file: - stable/2023-10-15/fleets.json ``` @@ -97,7 +127,7 @@ input-file: These settings apply only when `--tag=package-2023-08-preview` is specified on the command line. -``` yaml $(tag) == 'package-2023-08-preview' +```yaml $(tag) == 'package-2023-08-preview' input-file: - preview/2023-08-15-preview/fleets.json ``` @@ -106,7 +136,7 @@ input-file: These settings apply only when `--tag=package-2023-06-preview` is specified on the command line. -``` yaml $(tag) == 'package-2023-06-preview' +```yaml $(tag) == 'package-2023-06-preview' input-file: - preview/2023-06-15-preview/fleets.json ``` @@ -115,7 +145,7 @@ input-file: These settings apply only when `--tag=package-2023-03-preview` is specified on the command line. -``` yaml $(tag) == 'package-2023-03-preview' +```yaml $(tag) == 'package-2023-03-preview' input-file: - preview/2023-03-15-preview/fleets.json ``` @@ -124,7 +154,7 @@ input-file: These settings apply only when `--tag=package-2022-09-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-09-preview' +```yaml $(tag) == 'package-2022-09-preview' input-file: - preview/2022-09-02-preview/fleets.json ``` @@ -133,7 +163,7 @@ input-file: These settings apply only when `--tag=package-2022-07-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-07-preview' +```yaml $(tag) == 'package-2022-07-preview' input-file: - preview/2022-07-02-preview/fleets.json ``` @@ -142,7 +172,7 @@ input-file: These settings apply only when `--tag=package-2022-06-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-06-preview' +```yaml $(tag) == 'package-2022-06-preview' input-file: - preview/2022-06-02-preview/fleets.json ``` @@ -156,7 +186,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -``` yaml $(swagger-to-sdk) +```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java From 556e58d0d685e27e053301bcc3ed435b2b64dfff Mon Sep 17 00:00:00 2001 From: Nont Date: Thu, 2 Oct 2025 20:07:38 -0500 Subject: [PATCH 2/5] Add portalFqdn to v2025_08_01_preview Signed-off-by: Nont --- .../2025-08-01-preview/FleetManagedNamespaces_Get.json | 3 ++- .../FleetManagedNamespaces_ListByFleet.json | 3 ++- .../containerservice/Fleet.Management/fleetnamespace.tsp | 4 ++++ .../examples/FleetManagedNamespaces_Get.json | 3 ++- .../examples/FleetManagedNamespaces_ListByFleet.json | 3 ++- .../fleet/preview/2025-08-01-preview/fleets.json | 5 +++++ 6 files changed, 17 insertions(+), 4 deletions(-) diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json index 3b4bf1bcfece..0181d7b2592e 100644 --- a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_Get.json @@ -88,7 +88,8 @@ }, "status": { "lastOperationError": {} - } + }, + "portalFqdn": "fleet1-namespace1-abc123.flt.eastus.azmk8s.io" }, "eTag": "\"EtagValue\"", "tags": { diff --git a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json index a93c8d070298..68ac65d58951 100644 --- a/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json +++ b/specification/containerservice/Fleet.Management/examples/2025-08-01-preview/FleetManagedNamespaces_ListByFleet.json @@ -90,7 +90,8 @@ }, "status": { "lastOperationError": {} - } + }, + "portalFqdn": "fleet1-namespace1-abc123.flt.eastus.azmk8s.io" }, "eTag": "\"EtagValue\"", "tags": { diff --git a/specification/containerservice/Fleet.Management/fleetnamespace.tsp b/specification/containerservice/Fleet.Management/fleetnamespace.tsp index 0b1a7f546136..3bec5b1b3454 100644 --- a/specification/containerservice/Fleet.Management/fleetnamespace.tsp +++ b/specification/containerservice/Fleet.Management/fleetnamespace.tsp @@ -55,6 +55,10 @@ model FleetManagedNamespaceProperties { @visibility(Lifecycle.Read) @doc("Status information of the last operation for fleet managed namespace.") status?: FleetManagedNamespaceStatus; + + @visibility(Lifecycle.Read) + @doc("The Azure Portal FQDN of the Fleet managed namespace.") + portalFqdn?: string; } @added(Versions.v2025_08_01_preview) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json index 3b4bf1bcfece..0181d7b2592e 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_Get.json @@ -88,7 +88,8 @@ }, "status": { "lastOperationError": {} - } + }, + "portalFqdn": "fleet1-namespace1-abc123.flt.eastus.azmk8s.io" }, "eTag": "\"EtagValue\"", "tags": { diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json index a93c8d070298..68ac65d58951 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/examples/FleetManagedNamespaces_ListByFleet.json @@ -90,7 +90,8 @@ }, "status": { "lastOperationError": {} - } + }, + "portalFqdn": "fleet1-namespace1-abc123.flt.eastus.azmk8s.io" }, "eTag": "\"EtagValue\"", "tags": { diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json index 7c98f4fbc7e3..f82116221754 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json @@ -3430,6 +3430,11 @@ "$ref": "#/definitions/FleetManagedNamespaceStatus", "description": "Status information of the last operation for fleet managed namespace.", "readOnly": true + }, + "portalFqdn": { + "type": "string", + "description": "The Azure Portal FQDN of the Fleet managed namespace.", + "readOnly": true } }, "required": [ From 3060c29f095a65f8e3137d08adbddc00b8c08a2b Mon Sep 17 00:00:00 2001 From: Nont Date: Fri, 3 Oct 2025 11:24:19 -0500 Subject: [PATCH 3/5] Fix description Signed-off-by: Nont --- .../containerservice/Fleet.Management/fleetnamespace.tsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerservice/Fleet.Management/fleetnamespace.tsp b/specification/containerservice/Fleet.Management/fleetnamespace.tsp index 3bec5b1b3454..cb2546d9a7ba 100644 --- a/specification/containerservice/Fleet.Management/fleetnamespace.tsp +++ b/specification/containerservice/Fleet.Management/fleetnamespace.tsp @@ -57,7 +57,7 @@ model FleetManagedNamespaceProperties { status?: FleetManagedNamespaceStatus; @visibility(Lifecycle.Read) - @doc("The Azure Portal FQDN of the Fleet managed namespace.") + @doc("The Azure Portal FQDN of the Fleet hub.") portalFqdn?: string; } From 73084369f6c8ec82ea2286acb3f670661cf1b13a Mon Sep 17 00:00:00 2001 From: Nont Date: Mon, 6 Oct 2025 09:03:42 -0500 Subject: [PATCH 4/5] Fix lint Signed-off-by: Nont --- .../fleet/preview/2025-08-01-preview/fleets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json index f82116221754..d2e29a035452 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json @@ -3433,7 +3433,7 @@ }, "portalFqdn": { "type": "string", - "description": "The Azure Portal FQDN of the Fleet managed namespace.", + "description": "The Azure Portal FQDN of the Fleet hub.", "readOnly": true } }, From 432d36e6e58f2a2c4af00a15b74f5caf6310989f Mon Sep 17 00:00:00 2001 From: Nont Date: Thu, 16 Oct 2025 14:52:02 -0500 Subject: [PATCH 5/5] Fix the SDK breaking changes Signed-off-by: Nont --- .../containerservice/Fleet.Management/client.tsp | 12 ------------ .../containerservice/Fleet.Management/main.tsp | 2 -- 2 files changed, 14 deletions(-) diff --git a/specification/containerservice/Fleet.Management/client.tsp b/specification/containerservice/Fleet.Management/client.tsp index c2593f91022a..8806da0ba394 100644 --- a/specification/containerservice/Fleet.Management/client.tsp +++ b/specification/containerservice/Fleet.Management/client.tsp @@ -41,18 +41,6 @@ using Azure.ClientGenerator.Core; "python" ); -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" -@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.TrackedResource.properties -); -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" -@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.ProxyResource.properties -); -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" -@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties -); -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" -@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties -); @@clientName(Microsoft.ContainerService, "ContainerServiceFleetClient", "javascript" diff --git a/specification/containerservice/Fleet.Management/main.tsp b/specification/containerservice/Fleet.Management/main.tsp index 09d7c8cad9b6..0a62528e15dc 100644 --- a/specification/containerservice/Fleet.Management/main.tsp +++ b/specification/containerservice/Fleet.Management/main.tsp @@ -57,8 +57,6 @@ enum Versions { v2025_04_01_preview: "2025-04-01-preview", @doc("Azure Kubernetes Fleet Manager api version 2025-08-01-preview.") - @useDependency(Azure.Core.Versions.v1_0_Preview_2) - @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2025_08_01_preview: "2025-08-01-preview", }