diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 5a12b045a58b..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; @@ -258,7 +257,10 @@ interface Fleets { listByResourceGroup is ArmResourceListByParent; @doc("Lists fleets in the specified subscription.") - listBySubscription is ArmListBySubscription; + listBySubscription is ArmListBySubscription< + Fleet, + Parameters = 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..54d9746603c4 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -153,5 +153,10 @@ interface FleetMembers { >; /** List FleetMember resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + FleetMember, + Parameters = TopQueryParameter & + SkipTokenQueryParameter & + FilterQueryParameter + >; } diff --git a/specification/containerservice/Fleet.Management/gate.tsp b/specification/containerservice/Fleet.Management/gate.tsp index a9a2aa55827b..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; @@ -196,5 +195,10 @@ interface Gates { IfNoneMatchParameters >; - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + Gate, + Parameters = FilterQueryParameter & + TopQueryParameter & + SkipTokenQueryParameter + >; } diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 09629cae774b..19e886928f17 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,6 +26,27 @@ alias IfMatchHeadersParameters; }; +@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?: string; +} + +@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 bac1ad2946a2..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; @@ -153,7 +151,10 @@ interface AutoUpgradeProfiles { BaseParameters & IfMatchParameters >; - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + AutoUpgradeProfile, + Parameters = 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..693946a2f9dc 100644 --- a/specification/containerservice/Fleet.Management/update/run.tsp +++ b/specification/containerservice/Fleet.Management/update/run.tsp @@ -9,7 +9,6 @@ using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; -using TypeSpec.OpenAPI; namespace Microsoft.ContainerService; @@ -426,7 +425,10 @@ interface UpdateRuns { >; /** List UpdateRun resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + UpdateRun, + Parameters = 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..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; @@ -79,5 +77,8 @@ interface FleetUpdateStrategies { >; /** List FleetUpdateStrategy resources by Fleet */ - listByFleet is ArmResourceListByParent; + listByFleet is ArmResourceListByParent< + FleetUpdateStrategy, + 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..bbbb27ac5f35 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1092,5 +1107,34 @@ "readOnly": true } }, - "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": "string", + "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" + } + } } 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..778c3db7c94f 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -887,6 +902,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2092,5 +2113,34 @@ } } }, - "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": "string", + "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" + } + } } 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..0ba95fb0f24e 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -923,6 +938,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2301,5 +2322,34 @@ } } }, - "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": "string", + "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" + } + } } 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..f87d8c47fb2e 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2722,5 +2749,34 @@ } } }, - "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": "string", + "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" + } + } } 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..e88a42c071f7 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2896,5 +2923,34 @@ } } }, - "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": "string", + "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" + } + } } 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..69f3df4302d8 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/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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1223,6 +1244,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -3387,5 +3420,34 @@ } } }, - "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": "string", + "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" + } + } } 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..203215d943f2 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/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/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/FilterQueryParameter" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1574,6 +1604,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -4348,5 +4390,34 @@ } } }, - "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": "string", + "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" + } + } } 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..dbb732823cbe 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,34 @@ } } }, - "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": "string", + "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" + } + } } 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..c393d1af7864 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2606,5 +2633,34 @@ } } }, - "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": "string", + "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" + } + } } 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..e8ca821336bb 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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -926,6 +941,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -2880,5 +2907,34 @@ } } }, - "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": "string", + "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" + } + } } 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..8f5ada0de8ae 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/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/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" + }, + { + "$ref": "#/parameters/FilterQueryParameter" } ], "responses": { @@ -1360,6 +1381,12 @@ "minLength": 1, "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + { + "$ref": "#/parameters/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/TopQueryParameter" + }, + { + "$ref": "#/parameters/SkipTokenQueryParameter" } ], "responses": { @@ -3689,5 +3722,34 @@ } } }, - "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": "string", + "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" + } + } }