From 19658370b0214a3ec0cb38923d1748a111646151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Fri, 14 Nov 2025 05:23:09 +0000 Subject: [PATCH 1/8] add pagination query param to fleet list apis --- .../containerservice/Fleet.Management/fleet.tsp | 8 +++++++- .../containerservice/Fleet.Management/fleetmember.tsp | 9 ++++++++- specification/containerservice/Fleet.Management/gate.tsp | 9 ++++++++- .../containerservice/Fleet.Management/helpers.tsp | 7 +++++++ .../Fleet.Management/update/autoupgradeprofile.tsp | 8 +++++++- .../containerservice/Fleet.Management/update/run.tsp | 9 ++++++++- .../Fleet.Management/update/strategy.tsp | 8 +++++++- 7 files changed, 52 insertions(+), 6 deletions(-) diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 5a12b045a58b..50eb722a3128 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -258,7 +258,13 @@ interface Fleets { listByResourceGroup is ArmResourceListByParent; @doc("Lists fleets in the specified subscription.") - listBySubscription is ArmListBySubscription; + listBySubscription is ArmListBySubscription< + Fleet, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...TopQueryParameter; + ...SkipTokenQueryParameter; + } + >; @doc("Lists the user credentials of a Fleet.") listCredentials is ArmResourceActionSync; diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index 3b11bf9c56a5..26fddb7e5e61 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -153,5 +153,12 @@ interface FleetMembers { >; /** List FleetMember resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + FleetMember, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...TopQueryParameter; + ...SkipTokenQueryParameter; + ...FilterQueryParameter; + } + >; } diff --git a/specification/containerservice/Fleet.Management/gate.tsp b/specification/containerservice/Fleet.Management/gate.tsp index a9a2aa55827b..1b72f760987a 100644 --- a/specification/containerservice/Fleet.Management/gate.tsp +++ b/specification/containerservice/Fleet.Management/gate.tsp @@ -196,5 +196,12 @@ interface Gates { IfNoneMatchParameters >; - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + Gate, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...FilterQueryParameter; + ...TopQueryParameter; + ...SkipTokenQueryParameter; + } + >; } diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 09629cae774b..2e37c16bd20d 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -27,6 +27,13 @@ alias IfMatchHeadersParameters; }; +@doc("Provides the standard 'top' query parameter for list operations.") +model SkipTokenQueryParameter { + @query("$skiptoken") + @doc("The page-continuation token to use with a paged version of this API.") + skipToken?: int32; +} + #suppress "@azure-tools/cadl-azure-resource-manager/arm-resource-operation-outside-interface" "this is a template" @autoRoute @doc("Update a {name}", TResource) diff --git a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp index bac1ad2946a2..83edf0e0aa88 100644 --- a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp +++ b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp @@ -153,7 +153,13 @@ interface AutoUpgradeProfiles { BaseParameters & IfMatchParameters >; - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + AutoUpgradeProfile, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...TopQueryParameter; + ...SkipTokenQueryParameter; + } + >; } @doc("AutoUpgradeProfileStatus is the status of an auto upgrade profile.") diff --git a/specification/containerservice/Fleet.Management/update/run.tsp b/specification/containerservice/Fleet.Management/update/run.tsp index bc9aba75b23b..7553166962b6 100644 --- a/specification/containerservice/Fleet.Management/update/run.tsp +++ b/specification/containerservice/Fleet.Management/update/run.tsp @@ -9,6 +9,7 @@ using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; +using Azure.Core; using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; @@ -426,7 +427,13 @@ interface UpdateRuns { >; /** List UpdateRun resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + UpdateRun, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...TopQueryParameter; + ...SkipTokenQueryParameter; + } + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "Existing API" @doc("Starts an UpdateRun.") diff --git a/specification/containerservice/Fleet.Management/update/strategy.tsp b/specification/containerservice/Fleet.Management/update/strategy.tsp index 88f622312375..eecec90ede01 100644 --- a/specification/containerservice/Fleet.Management/update/strategy.tsp +++ b/specification/containerservice/Fleet.Management/update/strategy.tsp @@ -79,5 +79,11 @@ interface FleetUpdateStrategies { >; /** List FleetUpdateStrategy resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + FleetUpdateStrategy, + Azure.ResourceManager.Foundations.DefaultBaseParameters & { + ...TopQueryParameter; + ...SkipTokenQueryParameter; + } + >; } From 5df0df9fb5847b482e9838d76f0c044358547950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Fri, 14 Nov 2025 05:52:45 +0000 Subject: [PATCH 2/8] compile --- .../Fleet.Management/fleet.tsp | 5 +- .../Fleet.Management/fleetmember.tsp | 8 +-- .../Fleet.Management/gate.tsp | 10 ++- .../update/autoupgradeprofile.tsp | 5 +- .../Fleet.Management/update/run.tsp | 5 +- .../Fleet.Management/update/strategy.tsp | 5 +- .../preview/2022-09-02-preview/fleets.json | 45 +++++++++++- .../preview/2023-03-15-preview/fleets.json | 51 ++++++++++++- .../preview/2023-06-15-preview/fleets.json | 51 ++++++++++++- .../preview/2023-08-15-preview/fleets.json | 57 ++++++++++++++- .../preview/2024-02-02-preview/fleets.json | 57 ++++++++++++++- .../preview/2024-05-02-preview/fleets.json | 63 +++++++++++++++- .../preview/2025-04-01-preview/fleets.json | 72 ++++++++++++++++++- .../fleet/stable/2023-10-15/fleets.json | 57 ++++++++++++++- .../fleet/stable/2024-04-01/fleets.json | 57 ++++++++++++++- .../fleet/stable/2025-03-01/fleets.json | 63 +++++++++++++++- 16 files changed, 574 insertions(+), 37 deletions(-) diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 50eb722a3128..986442797922 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -260,10 +260,7 @@ interface Fleets { @doc("Lists fleets in the specified subscription.") listBySubscription is ArmListBySubscription< Fleet, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...TopQueryParameter; - ...SkipTokenQueryParameter; - } + Parameters = TopQueryParameter & SkipTokenQueryParameter >; @doc("Lists the user credentials of a Fleet.") diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index 26fddb7e5e61..240eede7aeb9 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -155,10 +155,8 @@ interface FleetMembers { /** List FleetMember resources by Fleet */ listByFleet is ArmResourceListByParent< FleetMember, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...TopQueryParameter; - ...SkipTokenQueryParameter; - ...FilterQueryParameter; - } + Parameters = TopQueryParameter + & SkipTokenQueryParameter + & FilterQueryParameter >; } diff --git a/specification/containerservice/Fleet.Management/gate.tsp b/specification/containerservice/Fleet.Management/gate.tsp index 1b72f760987a..5657f6739043 100644 --- a/specification/containerservice/Fleet.Management/gate.tsp +++ b/specification/containerservice/Fleet.Management/gate.tsp @@ -198,10 +198,8 @@ interface Gates { listByFleet is ArmResourceListByParent< Gate, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...FilterQueryParameter; - ...TopQueryParameter; - ...SkipTokenQueryParameter; - } + Parameters = FilterQueryParameter + & TopQueryParameter + & SkipTokenQueryParameter >; -} +} \ No newline at end of file diff --git a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp index 83edf0e0aa88..93e62730e5f1 100644 --- a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp +++ b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp @@ -155,10 +155,7 @@ interface AutoUpgradeProfiles { listByFleet is ArmResourceListByParent< AutoUpgradeProfile, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...TopQueryParameter; - ...SkipTokenQueryParameter; - } + Parameters = TopQueryParameter & SkipTokenQueryParameter >; } diff --git a/specification/containerservice/Fleet.Management/update/run.tsp b/specification/containerservice/Fleet.Management/update/run.tsp index 7553166962b6..b74eb3671da9 100644 --- a/specification/containerservice/Fleet.Management/update/run.tsp +++ b/specification/containerservice/Fleet.Management/update/run.tsp @@ -429,10 +429,7 @@ interface UpdateRuns { /** List UpdateRun resources by Fleet */ listByFleet is ArmResourceListByParent< UpdateRun, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...TopQueryParameter; - ...SkipTokenQueryParameter; - } + Parameters = TopQueryParameter & SkipTokenQueryParameter >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "Existing API" diff --git a/specification/containerservice/Fleet.Management/update/strategy.tsp b/specification/containerservice/Fleet.Management/update/strategy.tsp index eecec90ede01..8b634a664a22 100644 --- a/specification/containerservice/Fleet.Management/update/strategy.tsp +++ b/specification/containerservice/Fleet.Management/update/strategy.tsp @@ -81,9 +81,6 @@ interface FleetUpdateStrategies { /** List FleetUpdateStrategy resources by Fleet */ listByFleet is ArmResourceListByParent< FleetUpdateStrategy, - Azure.ResourceManager.Foundations.DefaultBaseParameters & { - ...TopQueryParameter; - ...SkipTokenQueryParameter; - } + Parameters = TopQueryParameter & SkipTokenQueryParameter >; } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json index 787b575865e6..d26a9297110a 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json @@ -99,6 +99,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -517,6 +523,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -1092,5 +1107,33 @@ "readOnly": true } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json index 95ef0a028187..d629ff954c0a 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json @@ -102,6 +102,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -520,6 +526,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -887,6 +902,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2092,5 +2113,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json index eebab910ae0e..673d5f0a2bb0 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json @@ -102,6 +102,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -538,6 +544,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -923,6 +938,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2301,5 +2322,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json index 4c25b49e3ad9..0ea273b90464 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json @@ -105,6 +105,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -541,6 +547,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1389,6 +1410,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2722,5 +2749,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json index 16f0c9adaf27..71670d73a744 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json @@ -105,6 +105,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -541,6 +547,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1483,6 +1504,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2896,5 +2923,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json index bea04d1fcd95..dd33104f13ae 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json @@ -108,6 +108,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -495,6 +501,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -838,6 +850,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -1223,6 +1244,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1780,6 +1807,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -3387,5 +3420,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json index caec4840b2b5..1f29899d846c 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json @@ -120,6 +120,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -525,6 +531,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -911,6 +923,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1174,6 +1195,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -1574,6 +1604,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2152,6 +2188,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -4348,5 +4390,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json index d433fb198bbb..7dbb5ec3487a 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json @@ -105,6 +105,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -541,6 +547,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1389,6 +1410,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2606,5 +2633,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json index f81384c2fa07..6e130365c9a1 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json @@ -105,6 +105,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -541,6 +547,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1483,6 +1504,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2880,5 +2907,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json index a755cde0e7dc..846b53735394 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json @@ -117,6 +117,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -522,6 +528,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -960,6 +972,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" } ], "responses": { @@ -1360,6 +1381,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1938,6 +1965,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -3689,5 +3722,33 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + } + } } From 0f6d9b0b977ad5f9a629353b9b53d2da1377051a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Fri, 14 Nov 2025 06:04:24 +0000 Subject: [PATCH 3/8] tsp format --- .../containerservice/Fleet.Management/fleetmember.tsp | 6 +++--- specification/containerservice/Fleet.Management/gate.tsp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index 240eede7aeb9..54d9746603c4 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -155,8 +155,8 @@ interface FleetMembers { /** List FleetMember resources by Fleet */ listByFleet is ArmResourceListByParent< FleetMember, - Parameters = TopQueryParameter - & SkipTokenQueryParameter - & FilterQueryParameter + Parameters = TopQueryParameter & + SkipTokenQueryParameter & + FilterQueryParameter >; } diff --git a/specification/containerservice/Fleet.Management/gate.tsp b/specification/containerservice/Fleet.Management/gate.tsp index 5657f6739043..a6682bf86125 100644 --- a/specification/containerservice/Fleet.Management/gate.tsp +++ b/specification/containerservice/Fleet.Management/gate.tsp @@ -198,8 +198,8 @@ interface Gates { listByFleet is ArmResourceListByParent< Gate, - Parameters = FilterQueryParameter - & TopQueryParameter - & SkipTokenQueryParameter + Parameters = FilterQueryParameter & + TopQueryParameter & + SkipTokenQueryParameter >; -} \ No newline at end of file +} From 746e754a7c7c07396aa1f205aaa2f621abf18541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Fri, 14 Nov 2025 06:32:25 +0000 Subject: [PATCH 4/8] adjust queryparams --- .../containerservice/Fleet.Management/fleet.tsp | 1 - .../containerservice/Fleet.Management/gate.tsp | 1 - .../Fleet.Management/helpers.tsp | 17 +++++++++++++++-- .../update/autoupgradeprofile.tsp | 2 -- .../Fleet.Management/update/run.tsp | 2 -- .../Fleet.Management/update/strategy.tsp | 2 -- 6 files changed, 15 insertions(+), 10 deletions(-) diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 986442797922..1be610b82e43 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -10,7 +10,6 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.Core; -using Azure.Core.Traits; using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; diff --git a/specification/containerservice/Fleet.Management/gate.tsp b/specification/containerservice/Fleet.Management/gate.tsp index a6682bf86125..73f8582a3677 100644 --- a/specification/containerservice/Fleet.Management/gate.tsp +++ b/specification/containerservice/Fleet.Management/gate.tsp @@ -6,7 +6,6 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; using Azure.ResourceManager; -using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 2e37c16bd20d..910d35c1c2e2 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -3,7 +3,6 @@ import "@typespec/rest"; using TypeSpec.OpenAPI; using TypeSpec.Http; using TypeSpec.Rest; -using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; @@ -27,13 +26,27 @@ alias IfMatchHeadersParameters; }; -@doc("Provides the standard 'top' query parameter for list operations.") +@doc("Provides the standard '$skiptoken' query parameter for list operations.") model SkipTokenQueryParameter { @query("$skiptoken") @doc("The page-continuation token to use with a paged version of this API.") skipToken?: int32; } +@doc("Provides the standard '$top' query parameter for list operations.") +model TopQueryParameter { + @query("$top") + @doc("The number of result items to return.") + top?: int32; +} + +@doc("Provides the standard '$filter' query parameter for list operations.") +model FilterQueryParameter { + @query("$filter") + @doc("Filter the result list using the given expression.") + filter?: string; +} + #suppress "@azure-tools/cadl-azure-resource-manager/arm-resource-operation-outside-interface" "this is a template" @autoRoute @doc("Update a {name}", TResource) diff --git a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp index 93e62730e5f1..3009657f1b17 100644 --- a/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp +++ b/specification/containerservice/Fleet.Management/update/autoupgradeprofile.tsp @@ -12,8 +12,6 @@ using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; using Azure.Core; -using Azure.Core.Traits; -using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; diff --git a/specification/containerservice/Fleet.Management/update/run.tsp b/specification/containerservice/Fleet.Management/update/run.tsp index b74eb3671da9..693946a2f9dc 100644 --- a/specification/containerservice/Fleet.Management/update/run.tsp +++ b/specification/containerservice/Fleet.Management/update/run.tsp @@ -9,8 +9,6 @@ using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; -using Azure.Core; -using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; diff --git a/specification/containerservice/Fleet.Management/update/strategy.tsp b/specification/containerservice/Fleet.Management/update/strategy.tsp index 8b634a664a22..232e32a98475 100644 --- a/specification/containerservice/Fleet.Management/update/strategy.tsp +++ b/specification/containerservice/Fleet.Management/update/strategy.tsp @@ -9,8 +9,6 @@ using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; -using Azure.Core; -using Azure.Core.Traits; using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; From 12fde4c0e2b1f95d3886c4204b69713b7fddf26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Fri, 14 Nov 2025 06:33:12 +0000 Subject: [PATCH 5/8] compile --- .../preview/2022-09-02-preview/fleets.json | 30 +++++++------- .../preview/2023-03-15-preview/fleets.json | 32 ++++++++------- .../preview/2023-06-15-preview/fleets.json | 32 ++++++++------- .../preview/2023-08-15-preview/fleets.json | 34 ++++++++-------- .../preview/2024-02-02-preview/fleets.json | 34 ++++++++-------- .../preview/2024-05-02-preview/fleets.json | 36 +++++++++-------- .../preview/2025-04-01-preview/fleets.json | 40 ++++++++++--------- .../fleet/stable/2023-10-15/fleets.json | 34 ++++++++-------- .../fleet/stable/2024-04-01/fleets.json | 34 ++++++++-------- .../fleet/stable/2025-03-01/fleets.json | 36 +++++++++-------- 10 files changed, 181 insertions(+), 161 deletions(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json index d26a9297110a..aa01301e5032 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json @@ -101,7 +101,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -525,13 +525,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1108,32 +1108,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json index d629ff954c0a..56b7f38d170d 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json @@ -104,7 +104,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -528,13 +528,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -904,7 +904,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2114,32 +2114,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json index 673d5f0a2bb0..86c5acdf5980 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json @@ -104,7 +104,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -546,13 +546,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -940,7 +940,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2323,32 +2323,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json index 0ea273b90464..a76b9b6092d0 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json @@ -107,7 +107,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -549,13 +549,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -943,7 +943,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1412,7 +1412,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2750,32 +2750,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json index 71670d73a744..b717661e941e 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json @@ -107,7 +107,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -549,13 +549,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -943,7 +943,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1506,7 +1506,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2924,32 +2924,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json index dd33104f13ae..7e45b88eecc3 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json @@ -110,7 +110,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -503,7 +503,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -852,13 +852,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1246,7 +1246,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1809,7 +1809,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -3421,32 +3421,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json index 1f29899d846c..b473b82526fc 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json @@ -122,7 +122,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -533,7 +533,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -925,10 +925,10 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1197,13 +1197,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1606,7 +1606,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2190,7 +2190,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -4391,32 +4391,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json index 7dbb5ec3487a..12b1a6b7200a 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json @@ -107,7 +107,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -549,13 +549,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -943,7 +943,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1412,7 +1412,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2634,32 +2634,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json index 6e130365c9a1..e982a9d32ef0 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json @@ -107,7 +107,7 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -549,13 +549,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -943,7 +943,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1506,7 +1506,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -2908,32 +2908,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json index 846b53735394..226572386b52 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json @@ -119,7 +119,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -530,7 +530,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -974,13 +974,13 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" }, { - "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1383,7 +1383,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -1967,7 +1967,7 @@ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "$ref": "#/parameters/TopQueryParameter" }, { "$ref": "#/parameters/SkipTokenQueryParameter" @@ -3723,32 +3723,34 @@ } }, "parameters": { - "Azure.Core.FilterQueryParameter": { - "name": "filter", + "FilterQueryParameter": { + "name": "$filter", "in": "query", "description": "Filter the result list using the given expression.", "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, - "Azure.Core.TopQueryParameter": { - "name": "top", + "SkipTokenQueryParameter": { + "name": "$skiptoken", "in": "query", - "description": "The number of result items to return.", + "description": "The page-continuation token to use with a paged version of this API.", "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" }, - "SkipTokenQueryParameter": { - "name": "$skiptoken", + "TopQueryParameter": { + "name": "$top", "in": "query", - "description": "The page-continuation token to use with a paged version of this API.", + "description": "The number of result items to return.", "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method", - "x-ms-client-name": "skipToken" + "x-ms-client-name": "top" } } } From fea1e97123c07b98441d0237b2979124d4810b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Tue, 2 Dec 2025 05:33:16 +0000 Subject: [PATCH 6/8] re-compile after latest version merged --- .../preview/2025-08-01-preview/fleets.json | 74 ++++++++++++++++++- 1 file changed, 73 insertions(+), 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 7127d255fc63..ecfe75c05f69 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 @@ -123,6 +123,12 @@ }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -528,6 +534,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -914,6 +926,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/FilterQueryParameter" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -1572,6 +1593,15 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1972,6 +2002,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2550,6 +2586,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -5449,5 +5491,35 @@ } } }, - "parameters": {} + "parameters": { + "FilterQueryParameter": { + "name": "$filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" + }, + "SkipTokenQueryParameter": { + "name": "$skiptoken", + "in": "query", + "description": "The page-continuation token to use with a paged version of this API.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "skipToken" + }, + "TopQueryParameter": { + "name": "$top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method", + "x-ms-client-name": "top" + } + } } From 2795e90dc116a005dc6ac1b9b78aabc693710cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Erbrech?= Date: Wed, 3 Dec 2025 02:49:43 +0000 Subject: [PATCH 7/8] skiptoken is a string, not an int --- specification/containerservice/Fleet.Management/helpers.tsp | 2 +- .../fleet/preview/2022-09-02-preview/fleets.json | 3 +-- .../fleet/preview/2023-03-15-preview/fleets.json | 3 +-- .../fleet/preview/2023-06-15-preview/fleets.json | 3 +-- .../fleet/preview/2023-08-15-preview/fleets.json | 3 +-- .../fleet/preview/2024-02-02-preview/fleets.json | 3 +-- .../fleet/preview/2024-05-02-preview/fleets.json | 3 +-- .../fleet/preview/2025-04-01-preview/fleets.json | 3 +-- .../fleet/preview/2025-08-01-preview/fleets.json | 3 +-- .../fleet/stable/2023-10-15/fleets.json | 3 +-- .../fleet/stable/2024-04-01/fleets.json | 3 +-- .../fleet/stable/2025-03-01/fleets.json | 3 +-- 12 files changed, 12 insertions(+), 23 deletions(-) diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 910d35c1c2e2..81919e6bd1c0 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -30,7 +30,7 @@ alias IfMatchHeadersParameters Date: Wed, 3 Dec 2025 03:17:06 +0000 Subject: [PATCH 8/8] skiptoken->skipToken --- specification/containerservice/Fleet.Management/helpers.tsp | 2 +- .../fleet/preview/2022-09-02-preview/fleets.json | 2 +- .../fleet/preview/2023-03-15-preview/fleets.json | 2 +- .../fleet/preview/2023-06-15-preview/fleets.json | 2 +- .../fleet/preview/2023-08-15-preview/fleets.json | 2 +- .../fleet/preview/2024-02-02-preview/fleets.json | 2 +- .../fleet/preview/2024-05-02-preview/fleets.json | 2 +- .../fleet/preview/2025-04-01-preview/fleets.json | 2 +- .../fleet/preview/2025-08-01-preview/fleets.json | 2 +- .../fleet/stable/2023-10-15/fleets.json | 2 +- .../fleet/stable/2024-04-01/fleets.json | 2 +- .../fleet/stable/2025-03-01/fleets.json | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 81919e6bd1c0..19e886928f17 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -28,7 +28,7 @@ alias IfMatchHeadersParameters