From 08bca19716b7ae97573914403bf0354337525605 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Fri, 11 Nov 2022 13:21:54 -0600 Subject: [PATCH 1/5] Tweak comment based on feedback --- packages/autorest.typescript/src/pagingHelper.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/autorest.typescript/src/pagingHelper.ts b/packages/autorest.typescript/src/pagingHelper.ts index df75ca4e96..fd632bce0f 100644 --- a/packages/autorest.typescript/src/pagingHelper.ts +++ b/packages/autorest.typescript/src/pagingHelper.ts @@ -5,11 +5,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { From bb39478938e6257c41dc7803cbf40ec89a28efda Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Fri, 11 Nov 2022 14:44:05 -0600 Subject: [PATCH 2/5] filter out query params when generating nextlink operations --- .../src/transforms/extensions.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/autorest.typescript/src/transforms/extensions.ts b/packages/autorest.typescript/src/transforms/extensions.ts index d6b3edc233..1b6b8ee9dd 100644 --- a/packages/autorest.typescript/src/transforms/extensions.ts +++ b/packages/autorest.typescript/src/transforms/extensions.ts @@ -204,9 +204,22 @@ function addPageableMethods(codeModel: CodeModel) { } ); + // Filter out query parameters from the original operation. + if (nextLinkMethod.parameters) { + nextLinkMethod.parameters = nextLinkMethod.parameters.filter(param => { + return param.protocol.http?.in !== ParameterLocation.Query; + }); + if (nextLinkMethod.signatureParameters) { + nextLinkMethod.updateSignatureParameters(); + } + } + // Ensure all overloads support the nextLink parameter. for (const request of nextLinkMethod.requests ?? []) { - const parameters = request.parameters ?? []; + let parameters = request.parameters ?? []; + parameters = parameters.filter(param => { + return param.protocol.http?.in !== ParameterLocation.Query; + }); parameters.push(nextLinkParameter); request.parameters = parameters; } From 1ee035f181f5ab775d5de4c434e52d3026203ece Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Fri, 11 Nov 2022 15:16:38 -0600 Subject: [PATCH 3/5] update integration packages --- .../src/appConfigurationClient.ts | 21 --------------- .../appconfiguration/src/models/index.ts | 26 ------------------- .../appconfiguration/src/pagingHelper.ts | 8 +++--- .../src/appConfigurationClient.ts | 21 --------------- .../src/models/index.ts | 26 ------------------- .../src/pagingHelper.ts | 8 +++--- .../customUrlPaging/src/pagingHelper.ts | 8 +++--- .../src/operations/dataFlowDebugSession.ts | 1 - .../datafactory/src/operations/dataFlows.ts | 1 - .../datafactory/src/operations/datasets.ts | 1 - .../datafactory/src/operations/factories.ts | 2 -- .../src/operations/integrationRuntimes.ts | 1 - .../src/operations/linkedServices.ts | 1 - .../src/operations/managedPrivateEndpoints.ts | 1 - .../src/operations/managedVirtualNetworks.ts | 1 - .../datafactory/src/operations/operations.ts | 1 - .../datafactory/src/operations/pipelines.ts | 1 - .../operations/privateEndPointConnections.ts | 1 - .../datafactory/src/operations/triggers.ts | 1 - .../generated/datafactory/src/pagingHelper.ts | 8 +++--- .../src/operations/iotDpsResource.ts | 4 --- .../src/operations/operations.ts | 1 - .../src/pagingHelper.ts | 8 +++--- .../src/operations/domainServiceOperations.ts | 1 - .../src/operations/domainServices.ts | 2 -- .../src/operations/ouContainerOperationGrp.ts | 1 - .../src/operations/ouContainerOperations.ts | 1 - .../domainservices/src/pagingHelper.ts | 8 +++--- .../src/operations/dicomServices.ts | 1 - .../src/operations/fhirDestinations.ts | 1 - .../src/operations/fhirServices.ts | 1 - .../src/operations/iotConnectors.ts | 1 - .../src/operations/operations.ts | 1 - .../healthcareapis/src/operations/services.ts | 2 -- .../src/operations/workspaces.ts | 2 -- .../healthcareapis/src/pagingHelper.ts | 8 +++--- .../generated/paging/src/models/index.ts | 5 +--- .../generated/paging/src/operations/paging.ts | 4 --- .../generated/paging/src/pagingHelper.ts | 8 +++--- .../pagingNoIterators/src/models/index.ts | 5 +--- .../src/operations/paging.ts | 4 --- .../readmeFileChecker/src/keyVaultClient.ts | 3 --- .../readmeFileChecker/src/models/index.ts | 15 +++-------- 43 files changed, 37 insertions(+), 189 deletions(-) diff --git a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/appConfigurationClient.ts b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/appConfigurationClient.ts index 8934e6aec6..382aa0c843 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/appConfigurationClient.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/appConfigurationClient.ts @@ -905,7 +905,6 @@ const getKeysNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.accept, @@ -926,13 +925,6 @@ const getKeyValuesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.after, - Parameters.key, - Parameters.label, - Parameters.select - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, @@ -953,12 +945,6 @@ const getLabelsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.name, - Parameters.apiVersion, - Parameters.after, - Parameters.select4 - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, @@ -979,13 +965,6 @@ const getRevisionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.after, - Parameters.key, - Parameters.label, - Parameters.select5 - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, diff --git a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts index 294c9c23b7..f11ad5b156 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/models/index.ts @@ -634,10 +634,6 @@ export type CheckRevisionsResponse = AppConfigurationClientCheckRevisionsHeaders /** Optional parameters. */ export interface GetKeysNextOptionalParams extends coreClient.OperationOptions { - /** A filter for the name of the returned keys. */ - name?: string; - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; } @@ -649,16 +645,8 @@ export type GetKeysNextResponse = AppConfigurationClientGetKeysNextHeaders & /** Optional parameters. */ export interface GetKeyValuesNextOptionalParams extends coreClient.OperationOptions { - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** A filter used to match keys. */ - key?: string; - /** A filter used to match labels */ - label?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: Get6ItemsItem[]; } /** Contains response data for the getKeyValuesNext operation. */ @@ -668,14 +656,8 @@ export type GetKeyValuesNextResponse = AppConfigurationClientGetKeyValuesNextHea /** Optional parameters. */ export interface GetLabelsNextOptionalParams extends coreClient.OperationOptions { - /** A filter for the name of the returned labels. */ - name?: string; - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: string[]; } /** Contains response data for the getLabelsNext operation. */ @@ -685,16 +667,8 @@ export type GetLabelsNextResponse = AppConfigurationClientGetLabelsNextHeaders & /** Optional parameters. */ export interface GetRevisionsNextOptionalParams extends coreClient.OperationOptions { - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** A filter used to match keys. */ - key?: string; - /** A filter used to match labels */ - label?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: Enum4[]; } /** Contains response data for the getRevisionsNext operation. */ diff --git a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfiguration/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfiguration/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/appConfigurationClient.ts b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/appConfigurationClient.ts index 1c52734a2c..6d7d079043 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/appConfigurationClient.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/appConfigurationClient.ts @@ -906,7 +906,6 @@ const getKeysNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.accept, @@ -927,13 +926,6 @@ const getKeyValuesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.after, - Parameters.key, - Parameters.label, - Parameters.select - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, @@ -954,12 +946,6 @@ const getLabelsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.name, - Parameters.apiVersion, - Parameters.after, - Parameters.select4 - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, @@ -980,13 +966,6 @@ const getRevisionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.after, - Parameters.key, - Parameters.label, - Parameters.select5 - ], urlParameters: [Parameters.endpoint, Parameters.nextLink], headerParameters: [ Parameters.syncToken, diff --git a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/models/index.ts b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/models/index.ts index 294c9c23b7..f11ad5b156 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/models/index.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/models/index.ts @@ -634,10 +634,6 @@ export type CheckRevisionsResponse = AppConfigurationClientCheckRevisionsHeaders /** Optional parameters. */ export interface GetKeysNextOptionalParams extends coreClient.OperationOptions { - /** A filter for the name of the returned keys. */ - name?: string; - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; } @@ -649,16 +645,8 @@ export type GetKeysNextResponse = AppConfigurationClientGetKeysNextHeaders & /** Optional parameters. */ export interface GetKeyValuesNextOptionalParams extends coreClient.OperationOptions { - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** A filter used to match keys. */ - key?: string; - /** A filter used to match labels */ - label?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: Get6ItemsItem[]; } /** Contains response data for the getKeyValuesNext operation. */ @@ -668,14 +656,8 @@ export type GetKeyValuesNextResponse = AppConfigurationClientGetKeyValuesNextHea /** Optional parameters. */ export interface GetLabelsNextOptionalParams extends coreClient.OperationOptions { - /** A filter for the name of the returned labels. */ - name?: string; - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: string[]; } /** Contains response data for the getLabelsNext operation. */ @@ -685,16 +667,8 @@ export type GetLabelsNextResponse = AppConfigurationClientGetLabelsNextHeaders & /** Optional parameters. */ export interface GetRevisionsNextOptionalParams extends coreClient.OperationOptions { - /** Instructs the server to return elements that appear after the element referred to by the specified token. */ - after?: string; /** Requests the server to respond with the state of the resource at the specified time. */ acceptDatetime?: string; - /** A filter used to match keys. */ - key?: string; - /** A filter used to match labels */ - label?: string; - /** Used to select what fields are present in the returned resource(s). */ - select?: Enum4[]; } /** Contains response data for the getRevisionsNext operation. */ diff --git a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/customUrlPaging/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/customUrlPaging/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/integration/generated/customUrlPaging/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/customUrlPaging/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlowDebugSession.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlowDebugSession.ts index 3ce9e402f6..8839be5f48 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlowDebugSession.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlowDebugSession.ts @@ -529,7 +529,6 @@ const queryByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlows.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlows.ts index 8666ebaa05..b26b79cee4 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlows.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/dataFlows.ts @@ -320,7 +320,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/datasets.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/datasets.ts index 884cf62e38..8d8526de8b 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/datasets.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/datasets.ts @@ -321,7 +321,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/factories.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/factories.ts index 85a9b5bb8d..5b329c1d48 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/factories.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/factories.ts @@ -573,7 +573,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -593,7 +592,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/integrationRuntimes.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/integrationRuntimes.ts index f6039adcbd..05bf33bbe7 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/integrationRuntimes.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/integrationRuntimes.ts @@ -1096,7 +1096,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/linkedServices.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/linkedServices.ts index 54d3096890..c10ee89d23 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/linkedServices.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/linkedServices.ts @@ -327,7 +327,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedPrivateEndpoints.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedPrivateEndpoints.ts index 7757e17bce..c79781f9d2 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedPrivateEndpoints.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedPrivateEndpoints.ts @@ -368,7 +368,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedVirtualNetworks.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedVirtualNetworks.ts index c88947b803..817962d1b4 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedVirtualNetworks.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/managedVirtualNetworks.ts @@ -284,7 +284,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/operations.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/operations.ts index 1199acbf96..64cd73d7fb 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/operations.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/operations.ts @@ -135,7 +135,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/pipelines.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/pipelines.ts index 0a283a14a3..6974b54707 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/pipelines.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/pipelines.ts @@ -373,7 +373,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/privateEndPointConnections.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/privateEndPointConnections.ts index a161758825..50d2c89dd8 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/privateEndPointConnections.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/privateEndPointConnections.ts @@ -183,7 +183,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/triggers.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/triggers.ts index a2658d730a..e7183e0507 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/triggers.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/operations/triggers.ts @@ -889,7 +889,6 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/datafactory/src/pagingHelper.ts index df75ca4e96..fd632bce0f 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/datafactory/src/pagingHelper.ts @@ -5,11 +5,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/iotDpsResource.ts b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/iotDpsResource.ts index 3ea9339388..3002319d5a 100644 --- a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/iotDpsResource.ts +++ b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/iotDpsResource.ts @@ -1576,7 +1576,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1596,7 +1595,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1617,7 +1615,6 @@ const listValidSkusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1639,7 +1636,6 @@ const listKeysNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/operations.ts b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/operations.ts index 8f8124abd9..3d0eb55408 100644 --- a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/operations.ts +++ b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/operations/operations.ts @@ -135,7 +135,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/pagingHelper.ts index df75ca4e96..fd632bce0f 100644 --- a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/src/pagingHelper.ts @@ -5,11 +5,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServiceOperations.ts b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServiceOperations.ts index 56c22cb2bb..8d82f0bbbe 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServiceOperations.ts +++ b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServiceOperations.ts @@ -135,7 +135,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServices.ts b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServices.ts index 223939a28d..4edc0c4e23 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServices.ts +++ b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/domainServices.ts @@ -685,7 +685,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -705,7 +704,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperationGrp.ts b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperationGrp.ts index 5d0e9db772..46adbbcacc 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperationGrp.ts +++ b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperationGrp.ts @@ -627,7 +627,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperations.ts b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperations.ts index 035c12e691..338bff11ec 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperations.ts +++ b/packages/autorest.typescript/test/integration/generated/domainservices/src/operations/ouContainerOperations.ts @@ -135,7 +135,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/domainservices/src/pagingHelper.ts index df75ca4e96..fd632bce0f 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/domainservices/src/pagingHelper.ts @@ -5,11 +5,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/dicomServices.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/dicomServices.ts index 562ed9dbd5..5ecf792a9f 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/dicomServices.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/dicomServices.ts @@ -619,7 +619,6 @@ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirDestinations.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirDestinations.ts index aa76f52c76..ceac97a110 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirDestinations.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirDestinations.ts @@ -196,7 +196,6 @@ const listByIotConnectorNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirServices.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirServices.ts index a0bab75354..4bd6af4155 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirServices.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/fhirServices.ts @@ -619,7 +619,6 @@ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/iotConnectors.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/iotConnectors.ts index e3d8144cf9..38652bd6bc 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/iotConnectors.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/iotConnectors.ts @@ -619,7 +619,6 @@ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/operations.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/operations.ts index e3a8c99894..3b524b1eed 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/operations.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/operations.ts @@ -135,7 +135,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/services.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/services.ts index 005cff7cfb..2aaa9ba290 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/services.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/services.ts @@ -704,7 +704,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -724,7 +723,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/workspaces.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/workspaces.ts index 78ac4481f6..bf95bf4286 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/workspaces.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/operations/workspaces.ts @@ -669,7 +669,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -689,7 +688,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorDetails } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/pagingHelper.ts index df75ca4e96..fd632bce0f 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/src/pagingHelper.ts @@ -5,11 +5,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/paging/src/models/index.ts b/packages/autorest.typescript/test/integration/generated/paging/src/models/index.ts index 9568a143ec..9925ddf2fc 100644 --- a/packages/autorest.typescript/test/integration/generated/paging/src/models/index.ts +++ b/packages/autorest.typescript/test/integration/generated/paging/src/models/index.ts @@ -374,10 +374,7 @@ export type PagingGetMultiplePagesNextResponse = ProductResult; /** Optional parameters. */ export interface PagingDuplicateParamsNextOptionalParams - extends coreClient.OperationOptions { - /** OData filter options. Pass in 'foo' */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the duplicateParamsNext operation. */ export type PagingDuplicateParamsNextResponse = ProductResult; diff --git a/packages/autorest.typescript/test/integration/generated/paging/src/operations/paging.ts b/packages/autorest.typescript/test/integration/generated/paging/src/operations/paging.ts index 9b96882c97..2dc68e472a 100644 --- a/packages/autorest.typescript/test/integration/generated/paging/src/operations/paging.ts +++ b/packages/autorest.typescript/test/integration/generated/paging/src/operations/paging.ts @@ -3018,7 +3018,6 @@ const duplicateParamsNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.filter], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -3032,7 +3031,6 @@ const pageWithMaxPageSizeNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.maxpagesize], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -3168,7 +3166,6 @@ const appendApiVersionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -3182,7 +3179,6 @@ const replaceApiVersionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/paging/src/pagingHelper.ts b/packages/autorest.typescript/test/integration/generated/paging/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/integration/generated/paging/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/integration/generated/paging/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/models/index.ts b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/models/index.ts index db33731528..df77f04ddb 100644 --- a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/models/index.ts +++ b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/models/index.ts @@ -374,10 +374,7 @@ export type PagingGetMultiplePagesNextResponse = ProductResult; /** Optional parameters. */ export interface PagingDuplicateParamsNextOptionalParams - extends coreClient.OperationOptions { - /** OData filter options. Pass in 'foo' */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the duplicateParamsNext operation. */ export type PagingDuplicateParamsNextResponse = ProductResult; diff --git a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/operations/paging.ts b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/operations/paging.ts index 0c209eec0f..56982146e6 100644 --- a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/operations/paging.ts +++ b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/src/operations/paging.ts @@ -1256,7 +1256,6 @@ const duplicateParamsNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.filter], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -1270,7 +1269,6 @@ const pageWithMaxPageSizeNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.maxpagesize], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -1406,7 +1404,6 @@ const appendApiVersionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -1420,7 +1417,6 @@ const replaceApiVersionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/keyVaultClient.ts b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/keyVaultClient.ts index 2b7590dfee..63bacaed89 100644 --- a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/keyVaultClient.ts +++ b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/keyVaultClient.ts @@ -624,7 +624,6 @@ const getSecretsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.KeyVaultError } }, - queryParameters: [Parameters.apiVersion, Parameters.maxresults], urlParameters: [Parameters.vaultBaseUrl, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -640,7 +639,6 @@ const getSecretVersionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.KeyVaultError } }, - queryParameters: [Parameters.apiVersion, Parameters.maxresults], urlParameters: [ Parameters.vaultBaseUrl, Parameters.secretName1, @@ -660,7 +658,6 @@ const getDeletedSecretsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.KeyVaultError } }, - queryParameters: [Parameters.apiVersion, Parameters.maxresults], urlParameters: [Parameters.vaultBaseUrl, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/models/index.ts b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/models/index.ts index 5c316ab8f4..0064f14bb7 100644 --- a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/models/index.ts +++ b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/src/models/index.ts @@ -357,30 +357,21 @@ export type RestoreSecretResponse = SecretBundle; /** Optional parameters. */ export interface GetSecretsNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return in a page. If not specified, the service will return up to 25 results. */ - maxresults?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the getSecretsNext operation. */ export type GetSecretsNextResponse = SecretListResult; /** Optional parameters. */ export interface GetSecretVersionsNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return in a page. If not specified, the service will return up to 25 results. */ - maxresults?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the getSecretVersionsNext operation. */ export type GetSecretVersionsNextResponse = SecretListResult; /** Optional parameters. */ export interface GetDeletedSecretsNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ - maxresults?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the getDeletedSecretsNext operation. */ export type GetDeletedSecretsNextResponse = DeletedSecretListResult; From 47d3b5477401cf0a395ef5d9194884ee30e6abf7 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Fri, 11 Nov 2022 16:44:41 -0600 Subject: [PATCH 4/5] update smoke --- .../src/operations/deploymentScripts.ts | 2 - .../src/pagingHelper.ts | 8 +- .../src/featureClient.ts | 1 - .../src/operations/features.ts | 2 - .../src/pagingHelper.ts | 8 +- .../review/arm-package-links-2016-09.api.md | 1 - .../src/models/index.ts | 5 +- .../src/operations/operations.ts | 1 - .../src/operations/resourceLinks.ts | 2 - .../src/pagingHelper.ts | 8 +- .../review/arm-package-locks-2016-09.api.md | 4 - .../src/models/index.ts | 20 +- .../src/operations/authorizationOperations.ts | 1 - .../src/operations/managementLocks.ts | 4 - .../src/pagingHelper.ts | 8 +- .../src/operations/applicationDefinitions.ts | 1 - .../src/operations/applications.ts | 2 - .../src/pagingHelper.ts | 8 +- .../review/arm-package-policy-2019-09.api.md | 3 - .../src/models/index.ts | 15 +- .../src/operations/policyAssignments.ts | 11 +- .../src/operations/policyDefinitions.ts | 3 - .../src/operations/policySetDefinitions.ts | 3 - .../src/pagingHelper.ts | 8 +- .../arm-package-resources-2019-08.api.md | 27 -- .../src/models/index.ts | 99 +---- .../src/operations/deploymentOperations.ts | 5 - .../src/operations/deployments.ts | 5 - .../src/operations/operations.ts | 1 - .../src/operations/providers.ts | 2 - .../src/operations/resourceGroups.ts | 1 - .../src/operations/resources.ts | 12 - .../src/operations/tags.ts | 1 - .../src/pagingHelper.ts | 8 +- .../src/operations/operations.ts | 1 - .../src/operations/subscriptions.ts | 1 - .../src/operations/tenants.ts | 1 - .../src/pagingHelper.ts | 8 +- .../review/compute-resource-manager.api.md | 15 - .../src/models/index.ts | 66 +--- .../src/operations/availabilitySets.ts | 2 - .../operations/capacityReservationGroups.ts | 2 - .../src/operations/capacityReservations.ts | 1 - .../cloudServiceOperatingSystems.ts | 2 - .../operations/cloudServiceRoleInstances.ts | 1 - .../src/operations/cloudServiceRoles.ts | 1 - .../src/operations/cloudServices.ts | 2 - .../operations/cloudServicesUpdateDomain.ts | 1 - .../src/operations/dedicatedHostGroups.ts | 2 - .../src/operations/dedicatedHosts.ts | 1 - .../src/operations/diskAccesses.ts | 3 - .../src/operations/diskEncryptionSets.ts | 3 - .../operations/diskRestorePointOperations.ts | 1 - .../src/operations/disks.ts | 2 - .../src/operations/galleries.ts | 2 - .../operations/galleryApplicationVersions.ts | 1 - .../src/operations/galleryApplications.ts | 1 - .../src/operations/galleryImageVersions.ts | 1 - .../src/operations/galleryImages.ts | 1 - .../src/operations/images.ts | 2 - .../operations/proximityPlacementGroups.ts | 2 - .../src/operations/resourceSkus.ts | 5 - .../src/operations/restorePointCollections.ts | 2 - .../src/operations/sharedGalleries.ts | 1 - .../operations/sharedGalleryImageVersions.ts | 1 - .../src/operations/sharedGalleryImages.ts | 1 - .../src/operations/snapshots.ts | 2 - .../src/operations/sshPublicKeys.ts | 2 - .../src/operations/usageOperations.ts | 1 - .../operations/virtualMachineRunCommands.ts | 2 - .../virtualMachineScaleSetExtensions.ts | 1 - .../virtualMachineScaleSetVMRunCommands.ts | 1 - .../operations/virtualMachineScaleSetVMs.ts | 6 - .../src/operations/virtualMachineScaleSets.ts | 5 - .../src/operations/virtualMachines.ts | 3 - .../src/pagingHelper.ts | 8 +- .../src/operations/operations.ts | 1 - .../src/pagingHelper.ts | 8 +- .../src/operations/applications.ts | 1 - .../src/operations/groups.ts | 1 - .../src/operations/servicePrincipals.ts | 1 - .../graphrbac-data-plane/src/pagingHelper.ts | 8 +- .../review/keyvault-resource-manager.api.md | 6 - .../src/models/index.ts | 30 +- .../src/operations/keys.ts | 2 - .../src/operations/managedHsms.ts | 3 - .../mhsmPrivateEndpointConnections.ts | 1 - .../src/operations/operations.ts | 1 - .../operations/privateEndpointConnections.ts | 1 - .../src/operations/secrets.ts | 1 - .../src/operations/vaults.ts | 4 - .../src/pagingHelper.ts | 8 +- .../src/operations/operations.ts | 1 - .../src/operations/userAssignedIdentities.ts | 2 - .../msi-resource-manager/src/pagingHelper.ts | 8 +- .../review/network-resource-manager.api.md | 3 - .../src/models/index.ts | 12 +- .../src/networkManagementClient.ts | 4 - ...cationGatewayPrivateEndpointConnections.ts | 1 - .../applicationGatewayPrivateLinkResources.ts | 1 - .../src/operations/applicationGateways.ts | 3 - .../operations/applicationSecurityGroups.ts | 2 - .../src/operations/availableDelegations.ts | 1 - .../operations/availableEndpointServices.ts | 1 - .../availablePrivateEndpointTypes.ts | 2 - .../availableResourceGroupDelegations.ts | 1 - .../src/operations/availableServiceAliases.ts | 2 - .../src/operations/azureFirewallFqdnTags.ts | 1 - .../src/operations/azureFirewalls.ts | 2 - .../src/operations/bastionHosts.ts | 2 - .../src/operations/bgpServiceCommunities.ts | 1 - .../src/operations/customIPPrefixes.ts | 2 - .../src/operations/ddosProtectionPlans.ts | 2 - .../src/operations/defaultSecurityRules.ts | 1 - .../operations/dscpConfigurationOperations.ts | 2 - .../expressRouteCircuitAuthorizations.ts | 1 - .../expressRouteCircuitConnections.ts | 1 - .../operations/expressRouteCircuitPeerings.ts | 1 - .../src/operations/expressRouteCircuits.ts | 2 - .../expressRouteCrossConnectionPeerings.ts | 1 - .../expressRouteCrossConnections.ts | 2 - .../src/operations/expressRouteLinks.ts | 1 - .../src/operations/expressRoutePorts.ts | 2 - .../operations/expressRoutePortsLocations.ts | 1 - .../expressRouteServiceProviders.ts | 1 - .../src/operations/firewallPolicies.ts | 2 - .../firewallPolicyRuleCollectionGroups.ts | 1 - .../src/operations/flowLogs.ts | 1 - .../src/operations/hubRouteTables.ts | 1 - .../hubVirtualNetworkConnections.ts | 1 - .../src/operations/inboundNatRules.ts | 1 - .../src/operations/ipAllocations.ts | 2 - .../src/operations/ipGroups.ts | 2 - .../loadBalancerBackendAddressPools.ts | 1 - .../loadBalancerFrontendIPConfigurations.ts | 1 - .../loadBalancerLoadBalancingRules.ts | 1 - .../loadBalancerNetworkInterfaces.ts | 1 - .../operations/loadBalancerOutboundRules.ts | 1 - .../src/operations/loadBalancerProbes.ts | 1 - .../src/operations/loadBalancers.ts | 2 - .../src/operations/localNetworkGateways.ts | 1 - .../src/operations/natGateways.ts | 2 - .../src/operations/natRules.ts | 1 - .../networkInterfaceIPConfigurations.ts | 1 - .../networkInterfaceLoadBalancers.ts | 1 - .../networkInterfaceTapConfigurations.ts | 1 - .../src/operations/networkInterfaces.ts | 7 - .../src/operations/networkProfiles.ts | 2 - .../src/operations/networkSecurityGroups.ts | 2 - .../operations/networkVirtualAppliances.ts | 2 - .../src/operations/operations.ts | 1 - .../src/operations/p2SVpnGateways.ts | 2 - .../peerExpressRouteCircuitConnections.ts | 1 - .../src/operations/privateDnsZoneGroups.ts | 1 - .../src/operations/privateEndpoints.ts | 2 - .../src/operations/privateLinkServices.ts | 5 - .../src/operations/publicIPAddresses.ts | 6 - .../src/operations/publicIPPrefixes.ts | 2 - .../src/operations/routeFilterRules.ts | 1 - .../src/operations/routeFilters.ts | 2 - .../src/operations/routeTables.ts | 2 - .../src/operations/routes.ts | 1 - .../src/operations/routingIntentOperations.ts | 1 - .../operations/securityPartnerProviders.ts | 2 - .../src/operations/securityRules.ts | 1 - .../src/operations/serviceEndpointPolicies.ts | 2 - .../serviceEndpointPolicyDefinitions.ts | 1 - .../serviceTagInformationOperations.ts | 5 - .../src/operations/subnets.ts | 1 - .../src/operations/usages.ts | 1 - .../src/operations/virtualApplianceSites.ts | 1 - .../src/operations/virtualApplianceSkus.ts | 1 - .../operations/virtualHubBgpConnections.ts | 1 - .../operations/virtualHubIpConfiguration.ts | 1 - .../src/operations/virtualHubRouteTableV2S.ts | 1 - .../src/operations/virtualHubs.ts | 2 - .../virtualNetworkGatewayConnections.ts | 1 - .../virtualNetworkGatewayNatRules.ts | 1 - .../src/operations/virtualNetworkGateways.ts | 2 - .../src/operations/virtualNetworkPeerings.ts | 1 - .../src/operations/virtualNetworkTaps.ts | 2 - .../src/operations/virtualNetworks.ts | 3 - .../src/operations/virtualRouterPeerings.ts | 1 - .../src/operations/virtualRouters.ts | 2 - .../src/operations/virtualWans.ts | 2 - .../src/operations/vpnConnections.ts | 1 - .../src/operations/vpnGateways.ts | 2 - .../src/operations/vpnLinkConnections.ts | 1 - .../src/operations/vpnServerConfigurations.ts | 2 - .../src/operations/vpnSiteLinks.ts | 1 - .../src/operations/vpnSites.ts | 2 - .../webApplicationFirewallPolicies.ts | 2 - .../src/operations/webCategories.ts | 1 - .../src/pagingHelper.ts | 8 +- .../review/sql-resource-manager.api.md | 118 ------ .../sql-resource-manager/src/models/index.ts | 341 +++--------------- .../backupShortTermRetentionPolicies.ts | 1 - .../dataWarehouseUserActivitiesOperations.ts | 1 - .../databaseBlobAuditingPolicies.ts | 1 - .../src/operations/databaseColumns.ts | 9 - .../databaseExtensionsOperations.ts | 1 - .../src/operations/databaseOperations.ts | 1 - .../src/operations/databaseSchemas.ts | 1 - .../databaseSecurityAlertPolicies.ts | 1 - .../src/operations/databaseTables.ts | 1 - .../src/operations/databaseUsages.ts | 1 - .../databaseVulnerabilityAssessmentScans.ts | 1 - .../databaseVulnerabilityAssessments.ts | 1 - .../src/operations/databases.ts | 3 - .../src/operations/deletedServers.ts | 2 - .../src/operations/elasticPoolOperations.ts | 1 - .../src/operations/elasticPools.ts | 1 - .../src/operations/encryptionProtectors.ts | 1 - .../extendedDatabaseBlobAuditingPolicies.ts | 1 - .../extendedServerBlobAuditingPolicies.ts | 1 - .../src/operations/failoverGroups.ts | 1 - .../src/operations/firewallRules.ts | 1 - .../src/operations/instanceFailoverGroups.ts | 1 - .../src/operations/instancePools.ts | 2 - .../src/operations/jobAgents.ts | 1 - .../src/operations/jobCredentials.ts | 1 - .../src/operations/jobExecutions.ts | 20 - .../src/operations/jobStepExecutions.ts | 10 - .../src/operations/jobSteps.ts | 2 - .../src/operations/jobTargetExecutions.ts | 20 - .../src/operations/jobTargetGroups.ts | 1 - .../src/operations/jobVersions.ts | 1 - .../src/operations/jobs.ts | 1 - .../ledgerDigestUploadsOperations.ts | 1 - .../operations/longTermRetentionBackups.ts | 30 -- ...longTermRetentionManagedInstanceBackups.ts | 30 -- .../operations/longTermRetentionPolicies.ts | 1 - ...managedBackupShortTermRetentionPolicies.ts | 1 - .../src/operations/managedDatabaseColumns.ts | 9 - .../src/operations/managedDatabaseQueries.ts | 6 - .../src/operations/managedDatabaseSchemas.ts | 1 - .../managedDatabaseSecurityAlertPolicies.ts | 1 - .../managedDatabaseSecurityEvents.ts | 7 - .../managedDatabaseSensitivityLabels.ts | 12 - .../src/operations/managedDatabaseTables.ts | 1 - ...anagedDatabaseTransparentDataEncryption.ts | 1 - ...gedDatabaseVulnerabilityAssessmentScans.ts | 1 - ...managedDatabaseVulnerabilityAssessments.ts | 1 - .../src/operations/managedDatabases.ts | 2 - .../managedInstanceAdministrators.ts | 1 - ...nagedInstanceAzureADOnlyAuthentications.ts | 1 - .../managedInstanceEncryptionProtectors.ts | 1 - .../src/operations/managedInstanceKeys.ts | 1 - ...anagedInstanceLongTermRetentionPolicies.ts | 1 - .../operations/managedInstanceOperations.ts | 1 - ...nagedInstancePrivateEndpointConnections.ts | 1 - .../managedInstancePrivateLinkResources.ts | 1 - ...managedInstanceVulnerabilityAssessments.ts | 1 - .../src/operations/managedInstances.ts | 13 - ...atabaseBackupShortTermRetentionPolicies.ts | 1 - .../managedServerSecurityAlertPolicies.ts | 1 - .../src/operations/operations.ts | 1 - .../src/operations/outboundFirewallRules.ts | 1 - .../operations/privateEndpointConnections.ts | 1 - .../src/operations/privateLinkResources.ts | 1 - .../operations/recoverableManagedDatabases.ts | 1 - .../src/operations/replicationLinks.ts | 2 - .../operations/restorableDroppedDatabases.ts | 1 - .../restorableDroppedManagedDatabases.ts | 1 - .../src/operations/restorePoints.ts | 1 - .../src/operations/sensitivityLabels.ts | 12 - .../operations/serverAzureADAdministrators.ts | 1 - .../serverAzureADOnlyAuthentications.ts | 1 - .../operations/serverBlobAuditingPolicies.ts | 1 - .../operations/serverConnectionPolicies.ts | 1 - .../operations/serverDevOpsAuditSettings.ts | 1 - .../src/operations/serverDnsAliases.ts | 1 - .../src/operations/serverKeys.ts | 1 - .../src/operations/serverOperations.ts | 1 - .../operations/serverSecurityAlertPolicies.ts | 1 - .../src/operations/serverTrustGroups.ts | 2 - .../serverVulnerabilityAssessments.ts | 1 - .../src/operations/servers.ts | 2 - .../src/operations/subscriptionUsages.ts | 1 - .../src/operations/syncAgents.ts | 2 - .../src/operations/syncGroups.ts | 24 +- .../src/operations/syncMembers.ts | 2 - .../src/operations/timeZones.ts | 1 - .../operations/transparentDataEncryptions.ts | 1 - .../src/operations/usages.ts | 1 - .../src/operations/virtualClusters.ts | 2 - .../src/operations/virtualNetworkRules.ts | 1 - .../src/operations/workloadClassifiers.ts | 1 - .../src/operations/workloadGroups.ts | 1 - .../sql-resource-manager/src/pagingHelper.ts | 8 +- .../review/storage-resource-manager.api.md | 8 - .../src/models/index.ts | 25 +- .../src/operations/blobContainers.ts | 6 - .../src/operations/deletedAccounts.ts | 1 - .../src/operations/encryptionScopes.ts | 1 - .../src/operations/fileShares.ts | 6 - .../src/operations/queue.ts | 5 - .../src/operations/storageAccounts.ts | 2 - .../src/operations/tableOperations.ts | 1 - .../src/pagingHelper.ts | 8 +- .../review/web-resource-manager.api.md | 37 -- .../web-resource-manager/src/models/index.ts | 143 ++------ .../operations/appServiceCertificateOrders.ts | 3 - .../src/operations/appServiceEnvironments.ts | 22 -- .../src/operations/appServicePlans.ts | 11 - .../certificateOrdersDiagnostics.ts | 1 - .../certificateRegistrationProvider.ts | 1 - .../src/operations/certificates.ts | 2 - .../src/operations/deletedWebApps.ts | 2 - .../src/operations/diagnostics.ts | 9 - .../operations/domainRegistrationProvider.ts | 1 - .../src/operations/domains.ts | 4 - .../src/operations/kubeEnvironments.ts | 2 - .../src/operations/provider.ts | 7 - .../src/operations/recommendations.ts | 25 -- .../resourceHealthMetadataOperations.ts | 4 - .../src/operations/staticSites.ts | 10 - .../src/operations/topLevelDomains.ts | 2 - .../src/operations/webApps.ts | 63 ---- .../web-resource-manager/src/pagingHelper.ts | 8 +- .../src/webSiteManagementClient.ts | 15 - 321 files changed, 182 insertions(+), 1739 deletions(-) diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/operations/deploymentScripts.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/operations/deploymentScripts.ts index 35a9ebaebf..056f4bc354 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/operations/deploymentScripts.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/operations/deploymentScripts.ts @@ -607,7 +607,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DeploymentScriptsError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -627,7 +626,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DeploymentScriptsError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/featureClient.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/featureClient.ts index 161dc3be18..13adb04c01 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/featureClient.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/featureClient.ts @@ -220,7 +220,6 @@ const listOperationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperationListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/operations/features.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/operations/features.ts index 5c883e99cf..0b1f49e58c 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/operations/features.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/operations/features.ts @@ -376,7 +376,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.FeatureOperationsListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -393,7 +392,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.FeatureOperationsListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/review/arm-package-links-2016-09.api.md b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/review/arm-package-links-2016-09.api.md index c4a7c4e8f2..dda5ca2f21 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/review/arm-package-links-2016-09.api.md +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/review/arm-package-links-2016-09.api.md @@ -141,7 +141,6 @@ export type ResourceLinksListAtSourceScopeResponse = ResourceLinkResult; // @public export interface ResourceLinksListAtSubscriptionNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/models/index.ts index 1a730f96d3..1788384b57 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/models/index.ts @@ -138,10 +138,7 @@ export type ResourceLinksListAtSourceScopeResponse = ResourceLinkResult; /** Optional parameters. */ export interface ResourceLinksListAtSubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the list resource links operation. The supported filter for list resource links is targetId. For example, $filter=targetId eq {value} */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtSubscriptionNext operation. */ export type ResourceLinksListAtSubscriptionNextResponse = ResourceLinkResult; diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/operations.ts index 26969f581f..d62cec21b1 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/operations.ts @@ -137,7 +137,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperationListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/resourceLinks.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/resourceLinks.ts index 4585f8d526..8b639e997e 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/resourceLinks.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/operations/resourceLinks.ts @@ -355,7 +355,6 @@ const listAtSubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ResourceLinkResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -372,7 +371,6 @@ const listAtSourceScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ResourceLinkResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter1], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/review/arm-package-locks-2016-09.api.md b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/review/arm-package-locks-2016-09.api.md index 1992bd48b5..3375aa6b63 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/review/arm-package-locks-2016-09.api.md +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/review/arm-package-locks-2016-09.api.md @@ -177,7 +177,6 @@ export type ManagementLocksGetByScopeResponse = ManagementLockObject; // @public export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -193,7 +192,6 @@ export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockList // @public export interface ManagementLocksListAtResourceLevelNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -209,7 +207,6 @@ export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResul // @public export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -225,7 +222,6 @@ export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListR // @public export interface ManagementLocksListByScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/models/index.ts index 27dfd3a28f..e6eaf62abe 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/models/index.ts @@ -222,40 +222,28 @@ export type ManagementLocksListByScopeResponse = ManagementLockListResult; /** Optional parameters. */ export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtResourceGroupLevelNext operation. */ export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult; /** Optional parameters. */ export interface ManagementLocksListAtResourceLevelNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtResourceLevelNext operation. */ export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult; /** Optional parameters. */ export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtSubscriptionLevelNext operation. */ export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult; /** Optional parameters. */ export interface ManagementLocksListByScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByScopeNext operation. */ export type ManagementLocksListByScopeNextResponse = ManagementLockListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/authorizationOperations.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/authorizationOperations.ts index fcc4a63b3e..cc05792ea9 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/authorizationOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/authorizationOperations.ts @@ -137,7 +137,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperationListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/managementLocks.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/managementLocks.ts index 3a4240955b..13363466c9 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/managementLocks.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/operations/managementLocks.ts @@ -1112,7 +1112,6 @@ const listAtResourceGroupLevelNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagementLockListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1130,7 +1129,6 @@ const listAtResourceLevelNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagementLockListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1152,7 +1150,6 @@ const listAtSubscriptionLevelNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagementLockListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1169,7 +1166,6 @@ const listByScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagementLockListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applicationDefinitions.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applicationDefinitions.ts index af58b04677..5bf7dcb1f9 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applicationDefinitions.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applicationDefinitions.ts @@ -704,7 +704,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applications.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applications.ts index 6da4d43c8d..a26149b3a5 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applications.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/operations/applications.ts @@ -884,7 +884,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -905,7 +904,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/review/arm-package-policy-2019-09.api.md b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/review/arm-package-policy-2019-09.api.md index d4b1524841..781d5da178 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/review/arm-package-policy-2019-09.api.md +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/review/arm-package-policy-2019-09.api.md @@ -187,7 +187,6 @@ export type PolicyAssignmentsListForManagementGroupResponse = PolicyAssignmentLi // @public export interface PolicyAssignmentsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -203,7 +202,6 @@ export type PolicyAssignmentsListForResourceGroupResponse = PolicyAssignmentList // @public export interface PolicyAssignmentsListForResourceNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -219,7 +217,6 @@ export type PolicyAssignmentsListForResourceResponse = PolicyAssignmentListResul // @public export interface PolicyAssignmentsListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/models/index.ts index 6bb6dba6d3..c46af5f91e 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/models/index.ts @@ -424,20 +424,14 @@ export type PolicyAssignmentsGetByIdResponse = PolicyAssignment; /** Optional parameters. */ export interface PolicyAssignmentsListForResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listForResourceGroupNext operation. */ export type PolicyAssignmentsListForResourceGroupNextResponse = PolicyAssignmentListResult; /** Optional parameters. */ export interface PolicyAssignmentsListForResourceNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listForResourceNext operation. */ export type PolicyAssignmentsListForResourceNextResponse = PolicyAssignmentListResult; @@ -451,10 +445,7 @@ export type PolicyAssignmentsListForManagementGroupNextResponse = PolicyAssignme /** Optional parameters. */ export interface PolicyAssignmentsListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type PolicyAssignmentsListNextResponse = PolicyAssignmentListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyAssignments.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyAssignments.ts index 6f0df2805d..f79cfcbbb6 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyAssignments.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyAssignments.ts @@ -334,7 +334,6 @@ export class PolicyAssignmentsImpl implements PolicyAssignments { while (continuationToken) { result = await this._listForManagementGroupNext( managementGroupId, - filter, continuationToken, options ); @@ -734,20 +733,16 @@ export class PolicyAssignmentsImpl implements PolicyAssignments { /** * ListForManagementGroupNext * @param managementGroupId The ID of the management group. - * @param filter The filter to apply on the operation. Valid values for $filter are: 'atScope()' or - * 'policyDefinitionId eq '{value}''. A filter is required when listing policy assignments at - * management group scope. * @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method. * @param options The options parameters. */ private _listForManagementGroupNext( managementGroupId: string, - filter: string, nextLink: string, options?: PolicyAssignmentsListForManagementGroupNextOptionalParams ): Promise { return this.client.sendOperationRequest( - { managementGroupId, filter, nextLink, options }, + { managementGroupId, nextLink, options }, listForManagementGroupNextOperationSpec ); } @@ -978,7 +973,6 @@ const listForResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -999,7 +993,6 @@ const listForResourceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1024,7 +1017,6 @@ const listForManagementGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter2], urlParameters: [ Parameters.$host, Parameters.managementGroupId, @@ -1044,7 +1036,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyDefinitions.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyDefinitions.ts index 9a16207c15..9375503ca2 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyDefinitions.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policyDefinitions.ts @@ -644,7 +644,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -664,7 +663,6 @@ const listBuiltInNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -680,7 +678,6 @@ const listByManagementGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.managementGroupId, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policySetDefinitions.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policySetDefinitions.ts index 2734d83212..77f2acd35f 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policySetDefinitions.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/operations/policySetDefinitions.ts @@ -652,7 +652,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -672,7 +671,6 @@ const listBuiltInNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -688,7 +686,6 @@ const listByManagementGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.managementGroupId, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/review/arm-package-resources-2019-08.api.md b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/review/arm-package-resources-2019-08.api.md index 920d90325b..727cb6ea0e 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/review/arm-package-resources-2019-08.api.md +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/review/arm-package-resources-2019-08.api.md @@ -161,7 +161,6 @@ export type DeploymentOperationsGetResponse = DeploymentOperation; // @public export interface DeploymentOperationsListAtManagementGroupScopeNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -177,7 +176,6 @@ export type DeploymentOperationsListAtManagementGroupScopeResponse = DeploymentO // @public export interface DeploymentOperationsListAtScopeNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -193,7 +191,6 @@ export type DeploymentOperationsListAtScopeResponse = DeploymentOperationsListRe // @public export interface DeploymentOperationsListAtSubscriptionScopeNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -209,7 +206,6 @@ export type DeploymentOperationsListAtSubscriptionScopeResponse = DeploymentOper // @public export interface DeploymentOperationsListAtTenantScopeNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -225,7 +221,6 @@ export type DeploymentOperationsListAtTenantScopeResponse = DeploymentOperations // @public export interface DeploymentOperationsListNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -527,8 +522,6 @@ export type DeploymentsGetResponse = DeploymentExtended; // @public export interface DeploymentsListAtManagementGroupScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -545,8 +538,6 @@ export type DeploymentsListAtManagementGroupScopeResponse = DeploymentListResult // @public export interface DeploymentsListAtScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -563,8 +554,6 @@ export type DeploymentsListAtScopeResponse = DeploymentListResult; // @public export interface DeploymentsListAtSubscriptionScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -581,8 +570,6 @@ export type DeploymentsListAtSubscriptionScopeResponse = DeploymentListResult; // @public export interface DeploymentsListAtTenantScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -599,8 +586,6 @@ export type DeploymentsListAtTenantScopeResponse = DeploymentListResult; // @public export interface DeploymentsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -893,8 +878,6 @@ export type ProvidersGetResponse = Provider; // @public export interface ProvidersListAtTenantScopeNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - top?: number; } // @public @@ -911,8 +894,6 @@ export type ProvidersListAtTenantScopeResponse = ProviderListResult; // @public export interface ProvidersListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - top?: number; } // @public @@ -1046,8 +1027,6 @@ export type ResourceGroupsGetResponse = ResourceGroup; // @public export interface ResourceGroupsListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - top?: number; } // @public @@ -1199,9 +1178,6 @@ export type ResourcesGetResponse = GenericResource; // @public export interface ResourcesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - filter?: string; - top?: number; } // @public @@ -1219,9 +1195,6 @@ export type ResourcesListByResourceGroupResponse = ResourceListResult; // @public export interface ResourcesListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - filter?: string; - top?: number; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/models/index.ts index e18af966bb..ce83b42233 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/models/index.ts @@ -1205,60 +1205,35 @@ export type DeploymentsCalculateTemplateHashResponse = TemplateHashResult; /** Optional parameters. */ export interface DeploymentsListAtScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. */ - filter?: string; - /** The number of results to get. If null is passed, returns all deployments. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtScopeNext operation. */ export type DeploymentsListAtScopeNextResponse = DeploymentListResult; /** Optional parameters. */ export interface DeploymentsListAtTenantScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. */ - filter?: string; - /** The number of results to get. If null is passed, returns all deployments. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtTenantScopeNext operation. */ export type DeploymentsListAtTenantScopeNextResponse = DeploymentListResult; /** Optional parameters. */ export interface DeploymentsListAtManagementGroupScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. */ - filter?: string; - /** The number of results to get. If null is passed, returns all deployments. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtManagementGroupScopeNext operation. */ export type DeploymentsListAtManagementGroupScopeNextResponse = DeploymentListResult; /** Optional parameters. */ export interface DeploymentsListAtSubscriptionScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. */ - filter?: string; - /** The number of results to get. If null is passed, returns all deployments. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtSubscriptionScopeNext operation. */ export type DeploymentsListAtSubscriptionScopeNextResponse = DeploymentListResult; /** Optional parameters. */ export interface DeploymentsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. */ - filter?: string; - /** The number of results to get. If null is passed, returns all deployments. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type DeploymentsListByResourceGroupNextResponse = DeploymentListResult; @@ -1323,24 +1298,14 @@ export type ProvidersGetAtTenantScopeResponse = Provider; /** Optional parameters. */ export interface ProvidersListNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. If null is passed returns all deployments. */ - top?: number; - /** The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ProvidersListNextResponse = ProviderListResult; /** Optional parameters. */ export interface ProvidersListAtTenantScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. If null is passed returns all providers. */ - top?: number; - /** The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtTenantScopeNext operation. */ export type ProvidersListAtTenantScopeNextResponse = ProviderListResult; @@ -1481,28 +1446,14 @@ export type ResourcesGetByIdResponse = GenericResource; /** Optional parameters. */ export interface ResourcesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. */ - filter?: string; - /** The number of results to return. If null is passed, returns all resources. */ - top?: number; - /** Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type ResourcesListByResourceGroupNextResponse = ResourceListResult; /** Optional parameters. */ export interface ResourcesListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. */ - filter?: string; - /** The number of results to return. If null is passed, returns all resource groups. */ - top?: number; - /** Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ResourcesListNextResponse = ResourceListResult; @@ -1567,12 +1518,7 @@ export type ResourceGroupsListResponse = ResourceGroupListResult; /** Optional parameters. */ export interface ResourceGroupsListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1' */ - filter?: string; - /** The number of results to return. If null is passed, returns all resource groups. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ResourceGroupsListNextResponse = ResourceGroupListResult; @@ -1698,50 +1644,35 @@ export type DeploymentOperationsListResponse = DeploymentOperationsListResult; /** Optional parameters. */ export interface DeploymentOperationsListAtScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtScopeNext operation. */ export type DeploymentOperationsListAtScopeNextResponse = DeploymentOperationsListResult; /** Optional parameters. */ export interface DeploymentOperationsListAtTenantScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtTenantScopeNext operation. */ export type DeploymentOperationsListAtTenantScopeNextResponse = DeploymentOperationsListResult; /** Optional parameters. */ export interface DeploymentOperationsListAtManagementGroupScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtManagementGroupScopeNext operation. */ export type DeploymentOperationsListAtManagementGroupScopeNextResponse = DeploymentOperationsListResult; /** Optional parameters. */ export interface DeploymentOperationsListAtSubscriptionScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAtSubscriptionScopeNext operation. */ export type DeploymentOperationsListAtSubscriptionScopeNextResponse = DeploymentOperationsListResult; /** Optional parameters. */ export interface DeploymentOperationsListNextOptionalParams - extends coreClient.OperationOptions { - /** The number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type DeploymentOperationsListNextResponse = DeploymentOperationsListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deploymentOperations.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deploymentOperations.ts index abbf6115b7..b05668ce23 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deploymentOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deploymentOperations.ts @@ -925,7 +925,6 @@ const listAtScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -946,7 +945,6 @@ const listAtTenantScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -966,7 +964,6 @@ const listAtManagementGroupScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -987,7 +984,6 @@ const listAtSubscriptionScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1008,7 +1004,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deployments.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deployments.ts index 6b32f9151b..507f929b78 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deployments.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/deployments.ts @@ -3083,7 +3083,6 @@ const listAtScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -3099,7 +3098,6 @@ const listAtTenantScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -3115,7 +3113,6 @@ const listAtManagementGroupScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.groupId], headerParameters: [Parameters.accept], serializer @@ -3131,7 +3128,6 @@ const listAtSubscriptionScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -3151,7 +3147,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/operations.ts index 0db1686b12..e218ad6bc0 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/providers.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/providers.ts index 210cef6e42..2017ebfede 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/providers.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/providers.ts @@ -391,7 +391,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -411,7 +410,6 @@ const listAtTenantScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.expand], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resourceGroups.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resourceGroups.ts index f74d4bceb4..5b64ee9985 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resourceGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resourceGroups.ts @@ -528,7 +528,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resources.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resources.ts index b4b14601de..74c801837d 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resources.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/resources.ts @@ -1516,12 +1516,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.top, - Parameters.expand - ], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -1542,12 +1536,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.top, - Parameters.expand - ], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/tags.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/tags.ts index 832a1e6de0..8562d09375 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/tags.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/operations/tags.ts @@ -298,7 +298,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/operations.ts index abd1e591c8..332d746588 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/operations.ts @@ -137,7 +137,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperationListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/subscriptions.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/subscriptions.ts index d612b33bb9..b1006d43ae 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/subscriptions.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/subscriptions.ts @@ -248,7 +248,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SubscriptionListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/tenants.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/tenants.ts index 053198e4ed..58a0293f57 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/tenants.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/operations/tenants.ts @@ -137,7 +137,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.TenantListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/review/compute-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/review/compute-resource-manager.api.md index ab4b1e9cb1..f3ba49728a 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/review/compute-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/review/compute-resource-manager.api.md @@ -137,7 +137,6 @@ export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListR // @public export interface AvailabilitySetsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -279,7 +278,6 @@ export type CapacityReservationGroupsGetResponse = CapacityReservationGroup; // @public export interface CapacityReservationGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - expand?: ExpandTypesForGetCapacityReservationGroups; } // @public @@ -295,7 +293,6 @@ export type CapacityReservationGroupsListByResourceGroupResponse = CapacityReser // @public export interface CapacityReservationGroupsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - expand?: ExpandTypesForGetCapacityReservationGroups; } // @public @@ -611,7 +608,6 @@ export type CloudServiceRoleInstancesGetResponse = RoleInstance; // @public export interface CloudServiceRoleInstancesListNextOptionalParams extends coreClient.OperationOptions { - expand?: InstanceViewTypes; } // @public @@ -4165,8 +4161,6 @@ export interface ResourceSkus { // @public export interface ResourceSkusListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - includeExtendedLocations?: string; } // @public @@ -4565,7 +4559,6 @@ export type SharedGalleriesGetResponse = SharedGallery; // @public export interface SharedGalleriesListNextOptionalParams extends coreClient.OperationOptions { - sharedTo?: SharedToValues; } // @public @@ -4617,7 +4610,6 @@ export type SharedGalleryImagesGetResponse = SharedGalleryImage; // @public export interface SharedGalleryImagesListNextOptionalParams extends coreClient.OperationOptions { - sharedTo?: SharedToValues; } // @public @@ -4658,7 +4650,6 @@ export type SharedGalleryImageVersionsGetResponse = SharedGalleryImageVersion; // @public export interface SharedGalleryImageVersionsListNextOptionalParams extends coreClient.OperationOptions { - sharedTo?: SharedToValues; } // @public @@ -5747,7 +5738,6 @@ export type VirtualMachineRunCommandsGetResponse = RunCommandDocument; // @public export interface VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -6772,7 +6762,6 @@ export type VirtualMachineScaleSetVMRunCommandsGetResponse = VirtualMachineRunCo // @public export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -6856,9 +6845,6 @@ export type VirtualMachineScaleSetVMsGetResponse = VirtualMachineScaleSetVM; // @public export interface VirtualMachineScaleSetVMsListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - filter?: string; - select?: string; } // @public @@ -7046,7 +7032,6 @@ export type VirtualMachineSizeTypes = string; // @public export interface VirtualMachinesListAllNextOptionalParams extends coreClient.OperationOptions { - statusOnly?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/models/index.ts index e9d3567219..6155d51c69 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/models/index.ts @@ -8027,10 +8027,7 @@ export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListR /** Optional parameters. */ export interface AvailabilitySetsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult; @@ -8697,10 +8694,7 @@ export type VirtualMachinesListNextResponse = VirtualMachineListResult; /** Optional parameters. */ export interface VirtualMachinesListAllNextOptionalParams - extends coreClient.OperationOptions { - /** statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. */ - statusOnly?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listAllNext operation. */ export type VirtualMachinesListAllNextResponse = VirtualMachineListResult; @@ -9172,20 +9166,14 @@ export type CapacityReservationGroupsListBySubscriptionResponse = CapacityReserv /** Optional parameters. */ export interface CapacityReservationGroupsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type CapacityReservationGroupsListByResourceGroupNextResponse = CapacityReservationGroupListResult; /** Optional parameters. */ export interface CapacityReservationGroupsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type CapacityReservationGroupsListBySubscriptionNextResponse = CapacityReservationGroupListResult; @@ -9549,14 +9537,7 @@ export type VirtualMachineScaleSetVMsRunCommandResponse = RunCommandResult; /** Optional parameters. */ export interface VirtualMachineScaleSetVMsListNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; - /** The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. */ - filter?: string; - /** The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. */ - select?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type VirtualMachineScaleSetVMsListNextResponse = VirtualMachineScaleSetVMListResult; @@ -9661,10 +9642,7 @@ export type VirtualMachineRunCommandsListNextResponse = RunCommandListResult; /** Optional parameters. */ export interface VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByVirtualMachineNext operation. */ export type VirtualMachineRunCommandsListByVirtualMachineNextResponse = VirtualMachineRunCommandsListResult; @@ -9724,10 +9702,7 @@ export type VirtualMachineScaleSetVMRunCommandsListResponse = VirtualMachineRunC /** Optional parameters. */ export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type VirtualMachineScaleSetVMRunCommandsListNextResponse = VirtualMachineRunCommandsListResult; @@ -9746,12 +9721,7 @@ export type ResourceSkusListResponse = ResourceSkusResult; /** Optional parameters. */ export interface ResourceSkusListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Only **location** filter is supported currently. */ - filter?: string; - /** To Include Extended Locations information or not in the response. */ - includeExtendedLocations?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ResourceSkusListNextResponse = ResourceSkusResult; @@ -10495,10 +10465,7 @@ export type SharedGalleriesGetResponse = SharedGallery; /** Optional parameters. */ export interface SharedGalleriesListNextOptionalParams - extends coreClient.OperationOptions { - /** The query parameter to decide what shared galleries to fetch when doing listing operations. */ - sharedTo?: SharedToValues; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SharedGalleriesListNextResponse = SharedGalleryList; @@ -10522,10 +10489,7 @@ export type SharedGalleryImagesGetResponse = SharedGalleryImage; /** Optional parameters. */ export interface SharedGalleryImagesListNextOptionalParams - extends coreClient.OperationOptions { - /** The query parameter to decide what shared galleries to fetch when doing listing operations. */ - sharedTo?: SharedToValues; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SharedGalleryImagesListNextResponse = SharedGalleryImageList; @@ -10549,10 +10513,7 @@ export type SharedGalleryImageVersionsGetResponse = SharedGalleryImageVersion; /** Optional parameters. */ export interface SharedGalleryImageVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** The query parameter to decide what shared galleries to fetch when doing listing operations. */ - sharedTo?: SharedToValues; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SharedGalleryImageVersionsListNextResponse = SharedGalleryImageVersionList; @@ -10665,10 +10626,7 @@ export type CloudServiceRoleInstancesGetRemoteDesktopFileResponse = { /** Optional parameters. */ export interface CloudServiceRoleInstancesListNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. 'UserData' is not supported for cloud services. */ - expand?: InstanceViewTypes; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type CloudServiceRoleInstancesListNextResponse = RoleInstanceListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/availabilitySets.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/availabilitySets.ts index 633ec5e04f..a79e3940af 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/availabilitySets.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/availabilitySets.ts @@ -519,7 +519,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AvailabilitySetListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -536,7 +535,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AvailabilitySetListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservationGroups.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservationGroups.ts index 391e265847..2800722f8d 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservationGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservationGroups.ts @@ -458,7 +458,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand5], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -479,7 +478,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand5], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservations.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservations.ts index f78bcf040f..05b615bc23 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservations.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/capacityReservations.ts @@ -648,7 +648,6 @@ const listByCapacityReservationGroupNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceOperatingSystems.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceOperatingSystems.ts index f066b55603..d6a170362e 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceOperatingSystems.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceOperatingSystems.ts @@ -376,7 +376,6 @@ const listOSVersionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -397,7 +396,6 @@ const listOSFamiliesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoleInstances.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoleInstances.ts index 91d981ecd6..7b72d0f76d 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoleInstances.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoleInstances.ts @@ -777,7 +777,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand1, Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoles.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoles.ts index e56b156b22..b19162acfe 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoles.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServiceRoles.ts @@ -232,7 +232,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServices.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServices.ts index 8c815b466e..c69b0e3d64 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServices.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServices.ts @@ -1357,7 +1357,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1377,7 +1376,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServicesUpdateDomain.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServicesUpdateDomain.ts index 07a69fb415..1cc5f93693 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServicesUpdateDomain.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/cloudServicesUpdateDomain.ts @@ -358,7 +358,6 @@ const listUpdateDomainsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHostGroups.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHostGroups.ts index 4bd7185fd2..f266251ae3 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHostGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHostGroups.ts @@ -427,7 +427,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DedicatedHostGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -445,7 +444,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DedicatedHostGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHosts.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHosts.ts index b27fe36b12..7e60e6c88a 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHosts.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/dedicatedHosts.ts @@ -593,7 +593,6 @@ const listByHostGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DedicatedHostListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskAccesses.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskAccesses.ts index 8d795ce487..ccf51bec27 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskAccesses.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskAccesses.ts @@ -1201,7 +1201,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1222,7 +1221,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1242,7 +1240,6 @@ const listPrivateEndpointConnectionsNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskEncryptionSets.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskEncryptionSets.ts index 0289cdf037..1d631ca672 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskEncryptionSets.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskEncryptionSets.ts @@ -845,7 +845,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -866,7 +865,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -886,7 +884,6 @@ const listAssociatedResourcesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskRestorePointOperations.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskRestorePointOperations.ts index 7140ca26ab..4eeb88f5fb 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskRestorePointOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/diskRestorePointOperations.ts @@ -552,7 +552,6 @@ const listByRestorePointNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/disks.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/disks.ts index 8f1b9bed0e..c0e4b07b2a 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/disks.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/disks.ts @@ -883,7 +883,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DiskList } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -901,7 +900,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DiskList } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleries.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleries.ts index 3e872cb0c5..1f85c46472 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleries.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleries.ts @@ -677,7 +677,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -698,7 +697,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplicationVersions.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplicationVersions.ts index 712b3ed69a..fbbd46333b 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplicationVersions.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplicationVersions.ts @@ -716,7 +716,6 @@ const listByGalleryApplicationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplications.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplications.ts index 58267b7d7b..b660c4f562 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplications.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryApplications.ts @@ -645,7 +645,6 @@ const listByGalleryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImageVersions.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImageVersions.ts index 2155df81f8..95f4b41a9e 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImageVersions.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImageVersions.ts @@ -693,7 +693,6 @@ const listByGalleryImageNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImages.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImages.ts index 903a5d453a..0d057bd760 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImages.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/galleryImages.ts @@ -645,7 +645,6 @@ const listByGalleryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/images.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/images.ts index 87e99d2d3e..029ea75afc 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/images.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/images.ts @@ -645,7 +645,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ImageListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -663,7 +662,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ImageListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/proximityPlacementGroups.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/proximityPlacementGroups.ts index 864d2b1787..4334e74c8a 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/proximityPlacementGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/proximityPlacementGroups.ts @@ -422,7 +422,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ProximityPlacementGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -439,7 +438,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ProximityPlacementGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/resourceSkus.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/resourceSkus.ts index 91628a03b9..a7cd4cc65b 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/resourceSkus.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/resourceSkus.ts @@ -141,11 +141,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ResourceSkusResult } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.includeExtendedLocations - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/restorePointCollections.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/restorePointCollections.ts index daa3f49839..6274b099cb 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/restorePointCollections.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/restorePointCollections.ts @@ -514,7 +514,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -535,7 +534,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleries.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleries.ts index 6b59e1c2be..b5ca5cca84 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleries.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleries.ts @@ -200,7 +200,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.sharedTo], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImageVersions.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImageVersions.ts index 31691b186e..6834185499 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImageVersions.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImageVersions.ts @@ -264,7 +264,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.sharedTo], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImages.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImages.ts index b85c74b535..3fbdac6fa1 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImages.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sharedGalleryImages.ts @@ -227,7 +227,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.sharedTo], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/snapshots.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/snapshots.ts index f4cbc744b5..f8d9bce0e9 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/snapshots.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/snapshots.ts @@ -892,7 +892,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SnapshotList } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -910,7 +909,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SnapshotList } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sshPublicKeys.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sshPublicKeys.ts index 6c22482ea2..9260b7418c 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sshPublicKeys.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/sshPublicKeys.ts @@ -466,7 +466,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SshPublicKeysGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -483,7 +482,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SshPublicKeysGroupListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/usageOperations.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/usageOperations.ts index d53a3507eb..6af2fc8080 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/usageOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/usageOperations.ts @@ -155,7 +155,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ListUsagesResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineRunCommands.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineRunCommands.ts index ab2161cbdf..0c0f373268 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineRunCommands.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineRunCommands.ts @@ -764,7 +764,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RunCommandListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -785,7 +784,6 @@ const listByVirtualMachineNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetExtensions.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetExtensions.ts index 1806d3e764..b1595be134 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetExtensions.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetExtensions.ts @@ -598,7 +598,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetExtensionListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMRunCommands.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMRunCommands.ts index 1f7ddece8b..b5d2ee335e 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMRunCommands.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMRunCommands.ts @@ -679,7 +679,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMs.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMs.ts index fb87101f31..0daad92f6f 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMs.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSetVMs.ts @@ -1560,12 +1560,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetVMListResult } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.expand, - Parameters.filter, - Parameters.select - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSets.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSets.ts index 56899c3c59..6e7c1d1d14 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSets.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachineScaleSets.ts @@ -2310,7 +2310,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2328,7 +2327,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2346,7 +2344,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetListWithLinkResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2363,7 +2360,6 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetListSkusResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2382,7 +2378,6 @@ const getOSUpgradeHistoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineScaleSetListOSUpgradeHistory } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachines.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachines.ts index 4702971de3..140c3669f4 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachines.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/operations/virtualMachines.ts @@ -2381,7 +2381,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2399,7 +2398,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2417,7 +2415,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.VirtualMachineListResult } }, - queryParameters: [Parameters.apiVersion, Parameters.statusOnly], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/operations/operations.ts index d98bb35d3a..9efad353ad 100644 --- a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/operations/operations.ts @@ -137,7 +137,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.OperationListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/applications.ts b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/applications.ts index 13154c3872..c76a33156d 100644 --- a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/applications.ts +++ b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/applications.ts @@ -865,7 +865,6 @@ const listOwnersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.GraphError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.tenantID, diff --git a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/groups.ts b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/groups.ts index cb673db18a..167512e43c 100644 --- a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/groups.ts +++ b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/groups.ts @@ -898,7 +898,6 @@ const listOwnersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.GraphError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.tenantID, diff --git a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/servicePrincipals.ts b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/servicePrincipals.ts index 4dd35bef2c..5a96435433 100644 --- a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/servicePrincipals.ts +++ b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/operations/servicePrincipals.ts @@ -701,7 +701,6 @@ const listOwnersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.GraphError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.tenantID, diff --git a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/review/keyvault-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/review/keyvault-resource-manager.api.md index d6dada89d1..907f6461d8 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/review/keyvault-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/review/keyvault-resource-manager.api.md @@ -629,7 +629,6 @@ export type ManagedHsmSkuName = "Standard_B1" | "Custom_B32"; // @public export interface ManagedHsmsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -645,7 +644,6 @@ export type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult; // @public export interface ManagedHsmsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -1130,7 +1128,6 @@ export type SecretsGetResponse = Secret; // @public export interface SecretsListNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -1339,7 +1336,6 @@ export type VaultsGetResponse = Vault; // @public export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -1355,7 +1351,6 @@ export type VaultsListByResourceGroupResponse = VaultListResult; // @public export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public @@ -1385,7 +1380,6 @@ export type VaultsListDeletedResponse = DeletedVaultListResult; // @public export interface VaultsListNextOptionalParams extends coreClient.OperationOptions { - top?: number; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/models/index.ts index 09f3da18ae..f677bf9401 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/models/index.ts @@ -1819,20 +1819,14 @@ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult; /** Optional parameters. */ export interface VaultsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type VaultsListByResourceGroupNextResponse = VaultListResult; /** Optional parameters. */ export interface VaultsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type VaultsListBySubscriptionNextResponse = VaultListResult; @@ -1846,10 +1840,7 @@ export type VaultsListDeletedNextResponse = DeletedVaultListResult; /** Optional parameters. */ export interface VaultsListNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type VaultsListNextResponse = ResourceListResult; @@ -1987,20 +1978,14 @@ export interface ManagedHsmsPurgeDeletedOptionalParams /** Optional parameters. */ export interface ManagedHsmsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult; /** Optional parameters. */ export interface ManagedHsmsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult; @@ -2105,10 +2090,7 @@ export type SecretsListResponse = SecretListResult; /** Optional parameters. */ export interface SecretsListNextOptionalParams - extends coreClient.OperationOptions { - /** Maximum number of results to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SecretsListNextResponse = SecretListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/keys.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/keys.ts index 48f203fa73..b779a1a8e8 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/keys.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/keys.ts @@ -484,7 +484,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -506,7 +505,6 @@ const listVersionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/managedHsms.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/managedHsms.ts index 8c80bb16ca..5a9d9c3fb8 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/managedHsms.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/managedHsms.ts @@ -923,7 +923,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagedHsmError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -944,7 +943,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagedHsmError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -964,7 +962,6 @@ const listDeletedNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagedHsmError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/mhsmPrivateEndpointConnections.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/mhsmPrivateEndpointConnections.ts index 7310a38ac4..1cfa8c06ac 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/mhsmPrivateEndpointConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/mhsmPrivateEndpointConnections.ts @@ -416,7 +416,6 @@ const listByResourceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ManagedHsmError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/operations.ts index 6ce75a0375..653bd71bbc 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/privateEndpointConnections.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/privateEndpointConnections.ts index a9eb66c18f..b8ca073a5f 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/privateEndpointConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/privateEndpointConnections.ts @@ -425,7 +425,6 @@ const listByResourceNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/secrets.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/secrets.ts index 86c6f42069..a26b2d56df 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/secrets.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/secrets.ts @@ -338,7 +338,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/vaults.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/vaults.ts index cb65a14579..0194aae718 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/vaults.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/operations/vaults.ts @@ -970,7 +970,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -991,7 +990,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1011,7 +1009,6 @@ const listDeletedNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1031,7 +1028,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.top, Parameters.filter, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/operations.ts index 58c73214b8..01d32d9ea9 100644 --- a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/userAssignedIdentities.ts b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/userAssignedIdentities.ts index e49ac6cb2d..cd19c87cf4 100644 --- a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/userAssignedIdentities.ts +++ b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/operations/userAssignedIdentities.ts @@ -447,7 +447,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, @@ -467,7 +466,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/review/network-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/review/network-resource-manager.api.md index b772da5ae8..96a5f53552 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/review/network-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/review/network-resource-manager.api.md @@ -7425,7 +7425,6 @@ export type NetworkInterfacesListResponse = NetworkInterfaceListResult; // @public export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -10498,8 +10497,6 @@ export interface ServiceTagInformation { // @public export interface ServiceTagInformationListNextOptionalParams extends coreClient.OperationOptions { - noAddressPrefixes?: boolean; - tagName?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/models/index.ts index d3705ac701..7d6e4e8b6c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/models/index.ts @@ -14467,10 +14467,7 @@ export type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesNextResp /** Optional parameters. */ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams - extends coreClient.OperationOptions { - /** Expands referenced resources. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listVirtualMachineScaleSetIpConfigurationsNext operation. */ export type NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextResponse = NetworkInterfaceIPConfigurationListResult; @@ -17531,12 +17528,7 @@ export type ServiceTagInformationListResponse = ServiceTagInformationListResult; /** Optional parameters. */ export interface ServiceTagInformationListNextOptionalParams - extends coreClient.OperationOptions { - /** Do not return address prefixes for the tag(s). */ - noAddressPrefixes?: boolean; - /** Return tag information for a particular tag. */ - tagName?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ServiceTagInformationListNextResponse = ServiceTagInformationListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/networkManagementClient.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/networkManagementClient.ts index 4247885524..99f5f1f664 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/networkManagementClient.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/networkManagementClient.ts @@ -1696,7 +1696,6 @@ const putBastionShareableLinkNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1719,7 +1718,6 @@ const getBastionShareableLinkNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1743,7 +1741,6 @@ const getActiveSessionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1765,7 +1762,6 @@ const disconnectActiveSessionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateEndpointConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateEndpointConnections.ts index ab49ef37d9..aa923547bd 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateEndpointConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateEndpointConnections.ts @@ -494,7 +494,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateLinkResources.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateLinkResources.ts index 65d9ba6b71..4d51f4dc92 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateLinkResources.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGatewayPrivateLinkResources.ts @@ -191,7 +191,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGateways.ts index c808f688a5..c7e394e8d2 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationGateways.ts @@ -1372,7 +1372,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1393,7 +1392,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1413,7 +1411,6 @@ const listAvailableSslPredefinedPoliciesNextOperationSpec: coreClient.OperationS bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationSecurityGroups.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationSecurityGroups.ts index 33ad454b59..8fc734e45e 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationSecurityGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/applicationSecurityGroups.ts @@ -588,7 +588,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -608,7 +607,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableDelegations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableDelegations.ts index 9e1bb3b830..ec62a36d2c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableDelegations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableDelegations.ts @@ -159,7 +159,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableEndpointServices.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableEndpointServices.ts index 0c112a5805..a691f78c08 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableEndpointServices.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableEndpointServices.ts @@ -160,7 +160,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availablePrivateEndpointTypes.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availablePrivateEndpointTypes.ts index 6feda37898..6f2cd84465 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availablePrivateEndpointTypes.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availablePrivateEndpointTypes.ts @@ -310,7 +310,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -331,7 +330,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableResourceGroupDelegations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableResourceGroupDelegations.ts index 0cdd341b98..53e44327af 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableResourceGroupDelegations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableResourceGroupDelegations.ts @@ -183,7 +183,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableServiceAliases.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableServiceAliases.ts index a415dd414e..b53c289433 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableServiceAliases.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/availableServiceAliases.ts @@ -305,7 +305,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -326,7 +325,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewallFqdnTags.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewallFqdnTags.ts index 00966b1dab..fe41ad58f7 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewallFqdnTags.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewallFqdnTags.ts @@ -144,7 +144,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewalls.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewalls.ts index 8357edb80f..98ea281984 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewalls.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/azureFirewalls.ts @@ -670,7 +670,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -691,7 +690,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bastionHosts.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bastionHosts.ts index f7a3d14b0f..dd9da95e6a 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bastionHosts.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bastionHosts.ts @@ -677,7 +677,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -697,7 +696,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bgpServiceCommunities.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bgpServiceCommunities.ts index 043cdbbbdf..2ecc32e1a4 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bgpServiceCommunities.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/bgpServiceCommunities.ts @@ -144,7 +144,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/customIPPrefixes.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/customIPPrefixes.ts index dfec2cc4c2..5e42607c63 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/customIPPrefixes.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/customIPPrefixes.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ddosProtectionPlans.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ddosProtectionPlans.ts index 874bb43c5c..4053bfa54d 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ddosProtectionPlans.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ddosProtectionPlans.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/defaultSecurityRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/defaultSecurityRules.ts index 7e55b4844b..282343953a 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/defaultSecurityRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/defaultSecurityRules.ts @@ -239,7 +239,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/dscpConfigurationOperations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/dscpConfigurationOperations.ts index 4459010305..993dd25f43 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/dscpConfigurationOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/dscpConfigurationOperations.ts @@ -542,7 +542,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -563,7 +562,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitAuthorizations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitAuthorizations.ts index 6d623ae302..3a0ff7b000 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitAuthorizations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitAuthorizations.ts @@ -486,7 +486,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitConnections.ts index 1b296d518c..b527f1115d 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitConnections.ts @@ -522,7 +522,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitPeerings.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitPeerings.ts index e44a8c9f4e..f53b6ec6f7 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitPeerings.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuitPeerings.ts @@ -484,7 +484,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuits.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuits.ts index 38c5eef44e..cf1895d290 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuits.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCircuits.ts @@ -1077,7 +1077,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1098,7 +1097,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnectionPeerings.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnectionPeerings.ts index 46027b5c1f..60b1fa6341 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnectionPeerings.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnectionPeerings.ts @@ -494,7 +494,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnections.ts index 8147b1add4..202bda3f54 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteCrossConnections.ts @@ -920,7 +920,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -940,7 +939,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteLinks.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteLinks.ts index c493913603..94f0c1a3ac 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteLinks.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteLinks.ts @@ -234,7 +234,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePorts.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePorts.ts index 9c27dd9cea..e8ab782530 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePorts.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePorts.ts @@ -640,7 +640,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -661,7 +660,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePortsLocations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePortsLocations.ts index 666b4af48a..19c7e503c2 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePortsLocations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRoutePortsLocations.ts @@ -186,7 +186,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteServiceProviders.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteServiceProviders.ts index 305d2cbafd..534bfbed75 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteServiceProviders.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/expressRouteServiceProviders.ts @@ -145,7 +145,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicies.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicies.ts index 168b4d6de6..6a215545c8 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicies.ts @@ -541,7 +541,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -562,7 +561,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicyRuleCollectionGroups.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicyRuleCollectionGroups.ts index 832cdd32a4..6022438052 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicyRuleCollectionGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/firewallPolicyRuleCollectionGroups.ts @@ -500,7 +500,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/flowLogs.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/flowLogs.ts index 6a2dc41dc5..c3d8359779 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/flowLogs.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/flowLogs.ts @@ -540,7 +540,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubRouteTables.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubRouteTables.ts index 948eb30e23..2032926f2b 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubRouteTables.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubRouteTables.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubVirtualNetworkConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubVirtualNetworkConnections.ts index 61e0f39c0c..f4361d1b42 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubVirtualNetworkConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/hubVirtualNetworkConnections.ts @@ -484,7 +484,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/inboundNatRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/inboundNatRules.ts index e599d92f4e..755d5dad04 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/inboundNatRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/inboundNatRules.ts @@ -487,7 +487,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipAllocations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipAllocations.ts index 249959b132..0a48493d53 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipAllocations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipAllocations.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipGroups.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipGroups.ts index 532504b9d4..8579bb411f 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/ipGroups.ts @@ -593,7 +593,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -614,7 +613,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerBackendAddressPools.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerBackendAddressPools.ts index 8ad000ab36..f327e8ad24 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerBackendAddressPools.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerBackendAddressPools.ts @@ -488,7 +488,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerFrontendIPConfigurations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerFrontendIPConfigurations.ts index 2c83d42fe9..aee1ddd70c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerFrontendIPConfigurations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerFrontendIPConfigurations.ts @@ -236,7 +236,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerLoadBalancingRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerLoadBalancingRules.ts index d1e836692c..d2826cf242 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerLoadBalancingRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerLoadBalancingRules.ts @@ -231,7 +231,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerNetworkInterfaces.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerNetworkInterfaces.ts index a1b8cba55d..1935560a9c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerNetworkInterfaces.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerNetworkInterfaces.ts @@ -187,7 +187,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerOutboundRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerOutboundRules.ts index a0e886b904..4ce4e922d6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerOutboundRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerOutboundRules.ts @@ -231,7 +231,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerProbes.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerProbes.ts index 8013a1c3e8..6c7ae35030 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerProbes.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancerProbes.ts @@ -230,7 +230,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancers.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancers.ts index 5e6ef4c14a..e87e2fed10 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancers.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/loadBalancers.ts @@ -831,7 +831,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -851,7 +850,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/localNetworkGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/localNetworkGateways.ts index e6db23a3a3..2039ad76c6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/localNetworkGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/localNetworkGateways.ts @@ -487,7 +487,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natGateways.ts index e18b4447f9..ffa0361a39 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natGateways.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natRules.ts index cc5dae5ab5..3ddb601d4c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/natRules.ts @@ -491,7 +491,6 @@ const listByVpnGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceIPConfigurations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceIPConfigurations.ts index a310dfc399..49d9488fc1 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceIPConfigurations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceIPConfigurations.ts @@ -235,7 +235,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceLoadBalancers.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceLoadBalancers.ts index 648f4ad67f..c03bf884f6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceLoadBalancers.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceLoadBalancers.ts @@ -191,7 +191,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceTapConfigurations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceTapConfigurations.ts index b1b088f8cf..76f59ba550 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceTapConfigurations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaceTapConfigurations.ts @@ -504,7 +504,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaces.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaces.ts index e2aadf8480..2107fe55eb 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaces.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkInterfaces.ts @@ -1836,7 +1836,6 @@ const listCloudServiceRoleInstanceNetworkInterfacesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1859,7 +1858,6 @@ const listCloudServiceNetworkInterfacesNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1881,7 +1879,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1901,7 +1898,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1922,7 +1918,6 @@ const listVirtualMachineScaleSetVMNetworkInterfacesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1945,7 +1940,6 @@ const listVirtualMachineScaleSetNetworkInterfacesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1967,7 +1961,6 @@ const listVirtualMachineScaleSetIpConfigurationsNextOperationSpec: coreClient.Op bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkProfiles.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkProfiles.ts index 5d9e26f507..2438c78b7d 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkProfiles.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkProfiles.ts @@ -507,7 +507,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -527,7 +526,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkSecurityGroups.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkSecurityGroups.ts index ba0f78ad88..559203727c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkSecurityGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkSecurityGroups.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkVirtualAppliances.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkVirtualAppliances.ts index 1626b19555..b358a618a4 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkVirtualAppliances.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/networkVirtualAppliances.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/operations.ts index aa601ff238..f1f494c4b7 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/p2SVpnGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/p2SVpnGateways.ts index ae3aaefc42..e2bfea6956 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/p2SVpnGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/p2SVpnGateways.ts @@ -1300,7 +1300,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1321,7 +1320,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/peerExpressRouteCircuitConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/peerExpressRouteCircuitConnections.ts index 85d1edc8bb..8e02201280 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/peerExpressRouteCircuitConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/peerExpressRouteCircuitConnections.ts @@ -254,7 +254,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateDnsZoneGroups.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateDnsZoneGroups.ts index 875cdf1c57..2abce211ef 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateDnsZoneGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateDnsZoneGroups.ts @@ -499,7 +499,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateEndpoints.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateEndpoints.ts index afeeb3d292..25db7415e3 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateEndpoints.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateEndpoints.ts @@ -544,7 +544,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -565,7 +564,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateLinkServices.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateLinkServices.ts index 8f6828bbe7..b2ec5936a0 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateLinkServices.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/privateLinkServices.ts @@ -1446,7 +1446,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1467,7 +1466,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1487,7 +1485,6 @@ const listPrivateEndpointConnectionsNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1509,7 +1506,6 @@ const listAutoApprovedPrivateLinkServicesNextOperationSpec: coreClient.Operation bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1530,7 +1526,6 @@ const listAutoApprovedPrivateLinkServicesByResourceGroupNextOperationSpec: coreC bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPAddresses.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPAddresses.ts index 1f36ebc4aa..a610596808 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPAddresses.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPAddresses.ts @@ -1429,7 +1429,6 @@ const listCloudServicePublicIPAddressesNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1451,7 +1450,6 @@ const listCloudServiceRoleInstancePublicIPAddressesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1476,7 +1474,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1496,7 +1493,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1517,7 +1513,6 @@ const listVirtualMachineScaleSetPublicIPAddressesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1539,7 +1534,6 @@ const listVirtualMachineScaleSetVMPublicIPAddressesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPPrefixes.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPPrefixes.ts index 6c85ee5b88..8b5d643272 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPPrefixes.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/publicIPPrefixes.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilterRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilterRules.ts index efb91d125a..6673d46880 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilterRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilterRules.ts @@ -491,7 +491,6 @@ const listByRouteFilterNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilters.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilters.ts index 97403f64b3..4f97406010 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilters.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeFilters.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeTables.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeTables.ts index 7270d4d9fb..5f35845b38 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeTables.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routeTables.ts @@ -587,7 +587,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -608,7 +607,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routes.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routes.ts index ed568da398..4ae8ae147b 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routes.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routes.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routingIntentOperations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routingIntentOperations.ts index 854ce0528b..eea3e90b08 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routingIntentOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/routingIntentOperations.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityPartnerProviders.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityPartnerProviders.ts index a489974a31..caa13937ba 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityPartnerProviders.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityPartnerProviders.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityRules.ts index c45b8dc97e..f4bc172a1a 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/securityRules.ts @@ -501,7 +501,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicies.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicies.ts index 800479af5b..0631ef91d4 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicies.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicyDefinitions.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicyDefinitions.ts index a73a0fa2db..7ed78994b6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicyDefinitions.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceEndpointPolicyDefinitions.ts @@ -504,7 +504,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceTagInformationOperations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceTagInformationOperations.ts index 5079312ced..d7c3e7edab 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceTagInformationOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/serviceTagInformationOperations.ts @@ -170,11 +170,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.noAddressPrefixes, - Parameters.tagName - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/subnets.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/subnets.ts index 6422c4b3d9..c5e7faa1f6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/subnets.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/subnets.ts @@ -743,7 +743,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/usages.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/usages.ts index aefb0226f9..c754049db9 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/usages.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/usages.ts @@ -159,7 +159,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSites.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSites.ts index c226db0f09..3a461c9826 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSites.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSites.ts @@ -491,7 +491,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSkus.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSkus.ts index ef87640de7..61ea648252 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSkus.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualApplianceSkus.ts @@ -182,7 +182,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubBgpConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubBgpConnections.ts index dafd7742d4..55fd285db5 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubBgpConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubBgpConnections.ts @@ -438,7 +438,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubIpConfiguration.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubIpConfiguration.ts index 250c345c57..3b22488d14 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubIpConfiguration.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubIpConfiguration.ts @@ -478,7 +478,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubRouteTableV2S.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubRouteTableV2S.ts index 74d3852d7b..ba3b013075 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubRouteTableV2S.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubRouteTableV2S.ts @@ -485,7 +485,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubs.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubs.ts index efffbd35bc..ab50dc5885 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubs.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualHubs.ts @@ -703,7 +703,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -724,7 +723,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayConnections.ts index a980ba81a9..1b91b9754c 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayConnections.ts @@ -1406,7 +1406,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayNatRules.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayNatRules.ts index 3fe0df86c2..de95440710 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayNatRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGatewayNatRules.ts @@ -495,7 +495,6 @@ const listByVirtualNetworkGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGateways.ts index 12808a59ce..faf5448ae2 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkGateways.ts @@ -2561,7 +2561,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2582,7 +2581,6 @@ const listConnectionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkPeerings.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkPeerings.ts index abf40676ff..00da50e8ed 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkPeerings.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkPeerings.ts @@ -497,7 +497,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkTaps.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkTaps.ts index b7f58c71d1..ecb300d4c6 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkTaps.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworkTaps.ts @@ -590,7 +590,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -610,7 +609,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworks.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworks.ts index b971210294..64697fa290 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworks.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualNetworks.ts @@ -777,7 +777,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -797,7 +796,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -818,7 +816,6 @@ const listUsageNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouterPeerings.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouterPeerings.ts index d55509f0eb..f0ad599196 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouterPeerings.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouterPeerings.ts @@ -485,7 +485,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouters.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouters.ts index c5061cf6df..64da3f6e7d 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouters.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualRouters.ts @@ -548,7 +548,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -569,7 +568,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualWans.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualWans.ts index cf04476ef0..11ded60730 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualWans.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/virtualWans.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnConnections.ts index 3c4171ba72..422bd100e1 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnConnections.ts @@ -749,7 +749,6 @@ const listByVpnGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnGateways.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnGateways.ts index c9b63213f5..2afaf2aa1d 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnGateways.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnGateways.ts @@ -1044,7 +1044,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1065,7 +1064,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnLinkConnections.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnLinkConnections.ts index e6992ed195..4849ec4daf 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnLinkConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnLinkConnections.ts @@ -470,7 +470,6 @@ const listByVpnConnectionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnServerConfigurations.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnServerConfigurations.ts index bc2fdced35..5d68b67473 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnServerConfigurations.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnServerConfigurations.ts @@ -608,7 +608,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -629,7 +628,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSiteLinks.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSiteLinks.ts index 14e4cf93fa..24f8583093 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSiteLinks.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSiteLinks.ts @@ -234,7 +234,6 @@ const listByVpnSiteNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSites.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSites.ts index 4638ff91ca..10be6d332a 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSites.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/vpnSites.ts @@ -593,7 +593,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -614,7 +613,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webApplicationFirewallPolicies.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webApplicationFirewallPolicies.ts index c76351694b..2ba285c76b 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webApplicationFirewallPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webApplicationFirewallPolicies.ts @@ -462,7 +462,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -483,7 +482,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webCategories.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webCategories.ts index 3f67ef3bd2..c3b1d53cec 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webCategories.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/operations/webCategories.ts @@ -181,7 +181,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/review/sql-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/review/sql-resource-manager.api.md index c5284e6d51..8735d87c7d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/review/sql-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/review/sql-resource-manager.api.md @@ -429,11 +429,6 @@ export type DatabaseColumnsGetResponse = DatabaseColumn; // @public export interface DatabaseColumnsListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - column?: string[]; - orderBy?: string[]; - schema?: string[]; - skiptoken?: string; - table?: string[]; } // @public @@ -453,7 +448,6 @@ export type DatabaseColumnsListByDatabaseResponse = DatabaseColumnListResult; // @public export interface DatabaseColumnsListByTableNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -667,7 +661,6 @@ export type DatabaseSchemasGetResponse = DatabaseSchema; // @public export interface DatabaseSchemasListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -798,8 +791,6 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult; // @public export interface DatabasesListByServerNextOptionalParams extends coreClient.OperationOptions { - // (undocumented) - skipToken?: string; } // @public @@ -912,7 +903,6 @@ export type DatabaseTablesGetResponse = DatabaseTable; // @public export interface DatabaseTablesListBySchemaNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -1609,7 +1599,6 @@ export type ElasticPoolsGetResponse = ElasticPool; // @public export interface ElasticPoolsListByServerNextOptionalParams extends coreClient.OperationOptions { - skip?: number; } // @public @@ -2587,13 +2576,6 @@ export type JobExecutionsGetResponse = JobExecution; // @public export interface JobExecutionsListByAgentNextOptionalParams extends coreClient.OperationOptions { - createTimeMax?: Date; - createTimeMin?: Date; - endTimeMax?: Date; - endTimeMin?: Date; - isActive?: boolean; - skip?: number; - top?: number; } // @public @@ -2615,13 +2597,6 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult; // @public export interface JobExecutionsListByJobNextOptionalParams extends coreClient.OperationOptions { - createTimeMax?: Date; - createTimeMin?: Date; - endTimeMax?: Date; - endTimeMin?: Date; - isActive?: boolean; - skip?: number; - top?: number; } // @public @@ -2753,13 +2728,6 @@ export type JobStepExecutionsGetResponse = JobExecution; // @public export interface JobStepExecutionsListByJobExecutionNextOptionalParams extends coreClient.OperationOptions { - createTimeMax?: Date; - createTimeMin?: Date; - endTimeMax?: Date; - endTimeMin?: Date; - isActive?: boolean; - skip?: number; - top?: number; } // @public @@ -2890,13 +2858,6 @@ export type JobTargetExecutionsGetResponse = JobExecution; // @public export interface JobTargetExecutionsListByJobExecutionNextOptionalParams extends coreClient.OperationOptions { - createTimeMax?: Date; - createTimeMin?: Date; - endTimeMax?: Date; - endTimeMin?: Date; - isActive?: boolean; - skip?: number; - top?: number; } // @public @@ -2918,13 +2879,6 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu // @public export interface JobTargetExecutionsListByStepNextOptionalParams extends coreClient.OperationOptions { - createTimeMax?: Date; - createTimeMin?: Date; - endTimeMax?: Date; - endTimeMin?: Date; - isActive?: boolean; - skip?: number; - top?: number; } // @public @@ -4085,8 +4039,6 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup; // @public export interface LongTermRetentionBackupsListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4103,8 +4055,6 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa // @public export interface LongTermRetentionBackupsListByLocationNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4121,8 +4071,6 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa // @public export interface LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4139,8 +4087,6 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe // @public export interface LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4157,8 +4103,6 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe // @public export interface LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4175,8 +4119,6 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm // @public export interface LongTermRetentionBackupsListByServerNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4253,8 +4195,6 @@ export type LongTermRetentionManagedInstanceBackupsGetResponse = ManagedInstance // @public export interface LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4271,8 +4211,6 @@ export type LongTermRetentionManagedInstanceBackupsListByDatabaseResponse = Mana // @public export interface LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4289,8 +4227,6 @@ export type LongTermRetentionManagedInstanceBackupsListByInstanceResponse = Mana // @public export interface LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4307,8 +4243,6 @@ export type LongTermRetentionManagedInstanceBackupsListByLocationResponse = Mana // @public export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4325,8 +4259,6 @@ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseRe // @public export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4343,8 +4275,6 @@ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceRe // @public export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams extends coreClient.OperationOptions { - databaseState?: DatabaseState; - onlyLatestPerDatabase?: boolean; } // @public @@ -4572,11 +4502,6 @@ export type ManagedDatabaseColumnsGetResponse = DatabaseColumn; // @public export interface ManagedDatabaseColumnsListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - column?: string[]; - orderBy?: string[]; - schema?: string[]; - skiptoken?: string; - table?: string[]; } // @public @@ -4596,7 +4521,6 @@ export type ManagedDatabaseColumnsListByDatabaseResponse = DatabaseColumnListRes // @public export interface ManagedDatabaseColumnsListByTableNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -4634,9 +4558,6 @@ export type ManagedDatabaseQueriesGetResponse = ManagedInstanceQuery; // @public export interface ManagedDatabaseQueriesListByQueryNextOptionalParams extends coreClient.OperationOptions { - endTime?: string; - interval?: QueryTimeGrainType; - startTime?: string; } // @public @@ -4717,7 +4638,6 @@ export type ManagedDatabaseSchemasGetResponse = DatabaseSchema; // @public export interface ManagedDatabaseSchemasListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -4812,10 +4732,6 @@ export interface ManagedDatabaseSecurityEvents { // @public export interface ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - skip?: number; - skiptoken?: string; - top?: number; } // @public @@ -4872,11 +4788,6 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel; // @public export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams extends coreClient.OperationOptions { - // (undocumented) - count?: boolean; - filter?: string; - // (undocumented) - skipToken?: string; } // @public @@ -4896,10 +4807,6 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens // @public export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - includeDisabledRecommendations?: boolean; - // (undocumented) - skipToken?: string; } // @public @@ -4982,7 +4889,6 @@ export type ManagedDatabaseTablesGetResponse = DatabaseTable; // @public export interface ManagedDatabaseTablesListBySchemaNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -5460,7 +5366,6 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey; // @public export interface ManagedInstanceKeysListByInstanceNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -5832,7 +5737,6 @@ export type ManagedInstancesGetResponse = ManagedInstance; // @public export interface ManagedInstancesListByInstancePoolNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -5848,13 +5752,6 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu // @public export interface ManagedInstancesListByManagedInstanceNextOptionalParams extends coreClient.OperationOptions { - aggregationFunction?: AggregationFunctionType; - databases?: string; - endTime?: string; - interval?: QueryTimeGrainType; - numberOfQueries?: number; - observationMetric?: MetricType; - startTime?: string; } // @public @@ -5876,7 +5773,6 @@ export type ManagedInstancesListByManagedInstanceResponse = TopQueriesListResult // @public export interface ManagedInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -5892,7 +5788,6 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes // @public export interface ManagedInstancesListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -7188,11 +7083,6 @@ export type SensitivityLabelsGetResponse = SensitivityLabel; // @public export interface SensitivityLabelsListCurrentByDatabaseNextOptionalParams extends coreClient.OperationOptions { - // (undocumented) - count?: boolean; - filter?: string; - // (undocumented) - skipToken?: string; } // @public @@ -7212,10 +7102,6 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis // @public export interface SensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - includeDisabledRecommendations?: boolean; - // (undocumented) - skipToken?: string; } // @public @@ -7977,7 +7863,6 @@ export type ServersImportDatabaseResponse = ImportExportOperationResult; // @public export interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -7993,7 +7878,6 @@ export type ServersListByResourceGroupResponse = ServerListResult; // @public export interface ServersListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -8921,7 +8805,6 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul // @public export interface SyncGroupsListLogsNextOptionalParams extends coreClient.OperationOptions { - continuationToken?: string; } // @public @@ -9288,7 +9171,6 @@ export interface Usages { // @public export interface UsagesListByInstancePoolNextOptionalParams extends coreClient.OperationOptions { - expandChildren?: boolean; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/models/index.ts index 019d95594b..3a1113e70d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/models/index.ts @@ -10223,9 +10223,7 @@ export type DatabasesExportResponse = ImportExportOperationResult; /** Optional parameters. */ export interface DatabasesListByServerNextOptionalParams - extends coreClient.OperationOptions { - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByServerNext operation. */ export type DatabasesListByServerNextResponse = DatabaseListResult; @@ -10319,10 +10317,7 @@ export interface ElasticPoolsFailoverOptionalParams /** Optional parameters. */ export interface ElasticPoolsListByServerNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByServerNext operation. */ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult; @@ -10655,28 +10650,14 @@ export type DatabaseColumnsGetResponse = DatabaseColumn; /** Optional parameters. */ export interface DatabaseColumnsListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Array of Get3ItemsItem */ - schema?: string[]; - /** Array of Get4ItemsItem */ - table?: string[]; - /** Array of Get5ItemsItem */ - column?: string[]; - /** Array of Get6ItemsItem */ - orderBy?: string[]; - /** An opaque token that identifies a starting point in the collection. */ - skiptoken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type DatabaseColumnsListByDatabaseNextResponse = DatabaseColumnListResult; /** Optional parameters. */ export interface DatabaseColumnsListByTableNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByTableNext operation. */ export type DatabaseColumnsListByTableNextResponse = DatabaseColumnListResult; @@ -10721,10 +10702,7 @@ export type DatabaseSchemasGetResponse = DatabaseSchema; /** Optional parameters. */ export interface DatabaseSchemasListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type DatabaseSchemasListByDatabaseNextResponse = DatabaseSchemaListResult; @@ -10776,10 +10754,7 @@ export type DatabaseTablesGetResponse = DatabaseTable; /** Optional parameters. */ export interface DatabaseTablesListBySchemaNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySchemaNext operation. */ export type DatabaseTablesListBySchemaNextResponse = DatabaseTableListResult; @@ -11417,44 +11392,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution; /** Optional parameters. */ export interface JobExecutionsListByAgentNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** If specified, only job executions created at or after the specified time are included. */ - createTimeMin?: Date; - /** If specified, only job executions created before the specified time are included. */ - createTimeMax?: Date; - /** If specified, only job executions completed at or after the specified time are included. */ - endTimeMin?: Date; - /** If specified, only job executions completed before the specified time are included. */ - endTimeMax?: Date; - /** If specified, only active or only completed job executions are included. */ - isActive?: boolean; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByAgentNext operation. */ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult; /** Optional parameters. */ export interface JobExecutionsListByJobNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** If specified, only job executions created at or after the specified time are included. */ - createTimeMin?: Date; - /** If specified, only job executions created before the specified time are included. */ - createTimeMax?: Date; - /** If specified, only job executions completed at or after the specified time are included. */ - endTimeMin?: Date; - /** If specified, only job executions completed before the specified time are included. */ - endTimeMax?: Date; - /** If specified, only active or only completed job executions are included. */ - isActive?: boolean; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByJobNext operation. */ export type JobExecutionsListByJobNextResponse = JobExecutionListResult; @@ -11520,22 +11465,7 @@ export type JobStepExecutionsGetResponse = JobExecution; /** Optional parameters. */ export interface JobStepExecutionsListByJobExecutionNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** If specified, only job executions created at or after the specified time are included. */ - createTimeMin?: Date; - /** If specified, only job executions created before the specified time are included. */ - createTimeMax?: Date; - /** If specified, only job executions completed at or after the specified time are included. */ - endTimeMin?: Date; - /** If specified, only job executions completed before the specified time are included. */ - endTimeMax?: Date; - /** If specified, only active or only completed job executions are included. */ - isActive?: boolean; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByJobExecutionNext operation. */ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult; @@ -11646,44 +11576,14 @@ export type JobTargetExecutionsGetResponse = JobExecution; /** Optional parameters. */ export interface JobTargetExecutionsListByJobExecutionNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** If specified, only job executions created at or after the specified time are included. */ - createTimeMin?: Date; - /** If specified, only job executions created before the specified time are included. */ - createTimeMax?: Date; - /** If specified, only job executions completed at or after the specified time are included. */ - endTimeMin?: Date; - /** If specified, only job executions completed before the specified time are included. */ - endTimeMax?: Date; - /** If specified, only active or only completed job executions are included. */ - isActive?: boolean; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByJobExecutionNext operation. */ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult; /** Optional parameters. */ export interface JobTargetExecutionsListByStepNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** If specified, only job executions created at or after the specified time are included. */ - createTimeMin?: Date; - /** If specified, only job executions created before the specified time are included. */ - createTimeMax?: Date; - /** If specified, only job executions completed at or after the specified time are included. */ - endTimeMin?: Date; - /** If specified, only job executions completed before the specified time are included. */ - endTimeMax?: Date; - /** If specified, only active or only completed job executions are included. */ - isActive?: boolean; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByStepNext operation. */ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult; @@ -11884,28 +11784,14 @@ export type ManagedDatabaseColumnsGetResponse = DatabaseColumn; /** Optional parameters. */ export interface ManagedDatabaseColumnsListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Array of Get3ItemsItem */ - schema?: string[]; - /** Array of Get4ItemsItem */ - table?: string[]; - /** Array of Get5ItemsItem */ - column?: string[]; - /** Array of Get6ItemsItem */ - orderBy?: string[]; - /** An opaque token that identifies a starting point in the collection. */ - skiptoken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type ManagedDatabaseColumnsListByDatabaseNextResponse = DatabaseColumnListResult; /** Optional parameters. */ export interface ManagedDatabaseColumnsListByTableNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByTableNext operation. */ export type ManagedDatabaseColumnsListByTableNextResponse = DatabaseColumnListResult; @@ -11933,14 +11819,7 @@ export type ManagedDatabaseQueriesListByQueryResponse = ManagedInstanceQueryStat /** Optional parameters. */ export interface ManagedDatabaseQueriesListByQueryNextOptionalParams - extends coreClient.OperationOptions { - /** Start time for observed period. */ - startTime?: string; - /** End time for observed period. */ - endTime?: string; - /** The time step to be used to summarize the metric values. */ - interval?: QueryTimeGrainType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByQueryNext operation. */ export type ManagedDatabaseQueriesListByQueryNextResponse = ManagedInstanceQueryStatistics; @@ -12048,10 +11927,7 @@ export type ManagedDatabaseSchemasGetResponse = DatabaseSchema; /** Optional parameters. */ export interface ManagedDatabaseSchemasListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type ManagedDatabaseSchemasListByDatabaseNextResponse = DatabaseSchemaListResult; @@ -12102,16 +11978,7 @@ export type ManagedDatabaseSecurityEventsListByDatabaseResponse = SecurityEventC /** Optional parameters. */ export interface ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** The number of elements in the collection to skip. */ - skip?: number; - /** An opaque token that identifies a starting point in the collection. */ - skiptoken?: string; - /** An OData filter expression that filters elements in the collection. */ - filter?: string; - /** The number of elements to return from the collection. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type ManagedDatabaseSecurityEventsListByDatabaseNextResponse = SecurityEventCollection; @@ -12173,25 +12040,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** Optional parameters. */ export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - skipToken?: string; - /** An OData filter expression that filters elements in the collection. */ - filter?: string; - count?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listCurrentByDatabaseNext operation. */ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult; /** Optional parameters. */ export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - skipToken?: string; - /** An OData filter expression that filters elements in the collection. */ - filter?: string; - /** Specifies whether to include disabled recommendations or not. */ - includeDisabledRecommendations?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedByDatabaseNext operation. */ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult; @@ -12219,10 +12075,7 @@ export type ManagedDatabaseTablesGetResponse = DatabaseTable; /** Optional parameters. */ export interface ManagedDatabaseTablesListBySchemaNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySchemaNext operation. */ export type ManagedDatabaseTablesListBySchemaNextResponse = DatabaseTableListResult; @@ -12508,10 +12361,7 @@ export interface ManagedInstanceKeysDeleteOptionalParams /** Optional parameters. */ export interface ManagedInstanceKeysListByInstanceNextOptionalParams - extends coreClient.OperationOptions { - /** An OData filter expression that filters elements in the collection. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByInstanceNext operation. */ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult; @@ -12948,25 +12798,14 @@ export interface SensitivityLabelsDeleteOptionalParams /** Optional parameters. */ export interface SensitivityLabelsListCurrentByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - skipToken?: string; - /** An OData filter expression that filters elements in the collection. */ - filter?: string; - count?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listCurrentByDatabaseNext operation. */ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult; /** Optional parameters. */ export interface SensitivityLabelsListRecommendedByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - skipToken?: string; - /** An OData filter expression that filters elements in the collection. */ - filter?: string; - /** Specifies whether to include disabled recommendations or not. */ - includeDisabledRecommendations?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedByDatabaseNext operation. */ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult; @@ -13563,10 +13402,7 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** Optional parameters. */ export interface SyncGroupsListLogsNextOptionalParams - extends coreClient.OperationOptions { - /** The continuation token for this operation. */ - continuationToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listLogsNext operation. */ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult; @@ -14178,20 +14014,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse /** Optional parameters. */ export interface ServersListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The child resources to include in the response. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type ServersListByResourceGroupNextResponse = ServerListResult; /** Optional parameters. */ export interface ServersListNextOptionalParams - extends coreClient.OperationOptions { - /** The child resources to include in the response. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ServersListNextResponse = ServerListResult; @@ -14208,10 +14038,7 @@ export type UsagesListByInstancePoolResponse = UsageListResult; /** Optional parameters. */ export interface UsagesListByInstancePoolNextOptionalParams - extends coreClient.OperationOptions { - /** Optional request parameter to include managed instance usages within the instance pool. */ - expandChildren?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByInstancePoolNext operation. */ export type UsagesListByInstancePoolNextResponse = UsageListResult; @@ -14370,72 +14197,42 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm /** Optional parameters. */ export interface LongTermRetentionBackupsListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionBackupsListByLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByLocationNext operation. */ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionBackupsListByServerNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByServerNext operation. */ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupDatabaseNext operation. */ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupLocationNext operation. */ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupServerNext operation. */ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult; @@ -14546,72 +14343,42 @@ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationRe /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByDatabaseNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByInstanceNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByLocationNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupDatabaseNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupInstanceNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult; /** Optional parameters. */ export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Whether or not to only get the latest backup for each database. */ - onlyLatestPerDatabase?: boolean; - /** Whether to query against just live databases, just deleted databases, or all databases. */ - databaseState?: DatabaseState; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupLocationNext operation. */ export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult; @@ -14724,52 +14491,28 @@ export interface ManagedInstancesFailoverOptionalParams /** Optional parameters. */ export interface ManagedInstancesListByInstancePoolNextOptionalParams - extends coreClient.OperationOptions { - /** The child resources to include in the response. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByInstancePoolNext operation. */ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult; /** Optional parameters. */ export interface ManagedInstancesListNextOptionalParams - extends coreClient.OperationOptions { - /** The child resources to include in the response. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ManagedInstancesListNextResponse = ManagedInstanceListResult; /** Optional parameters. */ export interface ManagedInstancesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The child resources to include in the response. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult; /** Optional parameters. */ export interface ManagedInstancesListByManagedInstanceNextOptionalParams - extends coreClient.OperationOptions { - /** Start time for observed period. */ - startTime?: string; - /** End time for observed period. */ - endTime?: string; - /** The time step to be used to summarize the metric values. Default value is PT1H */ - interval?: QueryTimeGrainType; - /** How many 'top queries' to return. Default is 5. */ - numberOfQueries?: number; - /** Comma separated list of databases to be included into search. All DB's are included if this parameter is not specified. */ - databases?: string; - /** Aggregation function to be used, default value is 'sum' */ - aggregationFunction?: AggregationFunctionType; - /** Metric to be used for ranking top queries. Default is 'cpu' */ - observationMetric?: MetricType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByManagedInstanceNext operation. */ export type ManagedInstancesListByManagedInstanceNextResponse = TopQueriesListResult; diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/backupShortTermRetentionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/backupShortTermRetentionPolicies.ts index bef4a282d4..7ac4f5e7a8 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/backupShortTermRetentionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/backupShortTermRetentionPolicies.ts @@ -547,7 +547,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/dataWarehouseUserActivitiesOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/dataWarehouseUserActivitiesOperations.ts index aaeda9ed1d..392107399f 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/dataWarehouseUserActivitiesOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/dataWarehouseUserActivitiesOperations.ts @@ -257,7 +257,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseBlobAuditingPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseBlobAuditingPolicies.ts index 0bb273468e..86545d0293 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseBlobAuditingPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseBlobAuditingPolicies.ts @@ -299,7 +299,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseColumns.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseColumns.ts index f11f7ac63b..65eb5fa276 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseColumns.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseColumns.ts @@ -474,14 +474,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion2, - Parameters.schema, - Parameters.table, - Parameters.column, - Parameters.orderBy, - Parameters.skiptoken - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -502,7 +494,6 @@ const listByTableNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseExtensionsOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseExtensionsOperations.ts index 2e21831859..a012e10ebe 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseExtensionsOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseExtensionsOperations.ts @@ -392,7 +392,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseOperations.ts index d5930de4a5..99ac81d7e4 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseOperations.ts @@ -242,7 +242,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSchemas.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSchemas.ts index 735e56bad7..de373b268f 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSchemas.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSchemas.ts @@ -249,7 +249,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSecurityAlertPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSecurityAlertPolicies.ts index 6bb2f395a8..e6e162f049 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSecurityAlertPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseSecurityAlertPolicies.ts @@ -317,7 +317,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseTables.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseTables.ts index d7ac835e08..dd78c3d913 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseTables.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseTables.ts @@ -280,7 +280,6 @@ const listBySchemaNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseUsages.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseUsages.ts index f83ba0e9c3..32f4ff1cad 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseUsages.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseUsages.ts @@ -203,7 +203,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessmentScans.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessmentScans.ts index 27b6735f9d..050bf6fa95 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessmentScans.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessmentScans.ts @@ -473,7 +473,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessments.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessments.ts index 16e857ab50..a14c258833 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessments.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databaseVulnerabilityAssessments.ts @@ -365,7 +365,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databases.ts index 356ce4aee9..1f6d601bfe 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/databases.ts @@ -1929,7 +1929,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.skipToken, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1949,7 +1948,6 @@ const listByElasticPoolNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1970,7 +1968,6 @@ const listInaccessibleByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/deletedServers.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/deletedServers.ts index fbd35fd52e..e41206404c 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/deletedServers.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/deletedServers.ts @@ -419,7 +419,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -437,7 +436,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPoolOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPoolOperations.ts index 836a77d293..a0e6acea76 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPoolOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPoolOperations.ts @@ -242,7 +242,6 @@ const listByElasticPoolNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPools.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPools.ts index 4df9bf2bcf..e6dcfe9e14 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPools.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/elasticPools.ts @@ -953,7 +953,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.skip, Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/encryptionProtectors.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/encryptionProtectors.ts index 653b444d0d..52b2aa97ea 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/encryptionProtectors.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/encryptionProtectors.ts @@ -475,7 +475,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedDatabaseBlobAuditingPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedDatabaseBlobAuditingPolicies.ts index adae58b476..11a946179b 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedDatabaseBlobAuditingPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedDatabaseBlobAuditingPolicies.ts @@ -299,7 +299,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedServerBlobAuditingPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedServerBlobAuditingPolicies.ts index a2486e3f7b..15477d1dd3 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedServerBlobAuditingPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/extendedServerBlobAuditingPolicies.ts @@ -359,7 +359,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/failoverGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/failoverGroups.ts index 5104be479e..ed02e98202 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/failoverGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/failoverGroups.ts @@ -854,7 +854,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/firewallRules.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/firewallRules.ts index 30483e60b6..884d41bf29 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/firewallRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/firewallRules.ts @@ -360,7 +360,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instanceFailoverGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instanceFailoverGroups.ts index b688b9a261..b3e8efcc93 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instanceFailoverGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instanceFailoverGroups.ts @@ -734,7 +734,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instancePools.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instancePools.ts index aa413b1a6b..68308fb5e2 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instancePools.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/instancePools.ts @@ -662,7 +662,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -681,7 +680,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobAgents.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobAgents.ts index f17c4cfc44..9227eb03ec 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobAgents.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobAgents.ts @@ -602,7 +602,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobCredentials.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobCredentials.ts index 493ba0d039..90e7c5cc55 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobCredentials.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobCredentials.ts @@ -348,7 +348,6 @@ const listByAgentNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobExecutions.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobExecutions.ts index 7784ced7ed..c8de16cfc0 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobExecutions.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobExecutions.ts @@ -787,16 +787,6 @@ const listByAgentNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.createTimeMin, - Parameters.createTimeMax, - Parameters.endTimeMin, - Parameters.endTimeMax, - Parameters.isActive, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -817,16 +807,6 @@ const listByJobNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.createTimeMin, - Parameters.createTimeMax, - Parameters.endTimeMin, - Parameters.endTimeMax, - Parameters.isActive, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobStepExecutions.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobStepExecutions.ts index 031c24aebe..7aa9d691e8 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobStepExecutions.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobStepExecutions.ts @@ -315,16 +315,6 @@ const listByJobExecutionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.createTimeMin, - Parameters.createTimeMax, - Parameters.endTimeMin, - Parameters.endTimeMax, - Parameters.isActive, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobSteps.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobSteps.ts index b4c123612c..b9ec55ea81 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobSteps.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobSteps.ts @@ -657,7 +657,6 @@ const listByVersionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -680,7 +679,6 @@ const listByJobNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetExecutions.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetExecutions.ts index f84d7c018a..98a88c9b0a 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetExecutions.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetExecutions.ts @@ -548,16 +548,6 @@ const listByJobExecutionNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.createTimeMin, - Parameters.createTimeMax, - Parameters.endTimeMin, - Parameters.endTimeMax, - Parameters.isActive, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -580,16 +570,6 @@ const listByStepNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.createTimeMin, - Parameters.createTimeMax, - Parameters.endTimeMin, - Parameters.endTimeMax, - Parameters.isActive, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetGroups.ts index 0563e79d7f..a070e9574d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobTargetGroups.ts @@ -348,7 +348,6 @@ const listByAgentNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobVersions.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobVersions.ts index f06a3d34be..48b0b18d4a 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobVersions.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobVersions.ts @@ -280,7 +280,6 @@ const listByJobNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobs.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobs.ts index f76c37072c..101a833f4d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobs.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/jobs.ts @@ -348,7 +348,6 @@ const listByAgentNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/ledgerDigestUploadsOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/ledgerDigestUploadsOperations.ts index f3a9de4711..9b4f130081 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/ledgerDigestUploadsOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/ledgerDigestUploadsOperations.ts @@ -545,7 +545,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionBackups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionBackups.ts index 779e77b5e0..785da90b9f 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionBackups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionBackups.ts @@ -1948,11 +1948,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1973,11 +1968,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1996,11 +1986,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2020,11 +2005,6 @@ const listByResourceGroupDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2046,11 +2026,6 @@ const listByResourceGroupLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2070,11 +2045,6 @@ const listByResourceGroupServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionManagedInstanceBackups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionManagedInstanceBackups.ts index 4f8e46043c..2b990504bc 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionManagedInstanceBackups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionManagedInstanceBackups.ts @@ -1350,11 +1350,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1375,11 +1370,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1399,11 +1389,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1422,11 +1407,6 @@ const listByResourceGroupDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1448,11 +1428,6 @@ const listByResourceGroupInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1473,11 +1448,6 @@ const listByResourceGroupLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.onlyLatestPerDatabase, - Parameters.databaseState - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionPolicies.ts index 99f6552343..57e28be0f3 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/longTermRetentionPolicies.ts @@ -399,7 +399,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedBackupShortTermRetentionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedBackupShortTermRetentionPolicies.ts index 7ee0b687e1..8258d372ad 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedBackupShortTermRetentionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedBackupShortTermRetentionPolicies.ts @@ -561,7 +561,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseColumns.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseColumns.ts index fd946f342e..4b27bb35b0 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseColumns.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseColumns.ts @@ -480,14 +480,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion2, - Parameters.schema, - Parameters.table, - Parameters.column, - Parameters.orderBy, - Parameters.skiptoken - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -508,7 +500,6 @@ const listByTableNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseQueries.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseQueries.ts index 655111b5c8..d5d20edb5b 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseQueries.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseQueries.ts @@ -287,12 +287,6 @@ const listByQueryNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion2, - Parameters.startTime, - Parameters.endTime, - Parameters.interval - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSchemas.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSchemas.ts index a92ac66b1b..ae3536d5e2 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSchemas.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSchemas.ts @@ -261,7 +261,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityAlertPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityAlertPolicies.ts index 5aeaae19e4..b91d9a6cd1 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityAlertPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityAlertPolicies.ts @@ -326,7 +326,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityEvents.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityEvents.ts index b27cb43aff..3d09bd90b0 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityEvents.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSecurityEvents.ts @@ -216,13 +216,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skip, - Parameters.apiVersion2, - Parameters.skiptoken, - Parameters.filter1, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSensitivityLabels.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSensitivityLabels.ts index 6827304fe4..40b816a3e7 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSensitivityLabels.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseSensitivityLabels.ts @@ -739,12 +739,6 @@ const listCurrentByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skipToken, - Parameters.apiVersion2, - Parameters.filter1, - Parameters.count - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -765,12 +759,6 @@ const listRecommendedByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skipToken, - Parameters.apiVersion2, - Parameters.filter1, - Parameters.includeDisabledRecommendations - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTables.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTables.ts index 92fd98c48d..a3ac3c08dc 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTables.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTables.ts @@ -286,7 +286,6 @@ const listBySchemaNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTransparentDataEncryption.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTransparentDataEncryption.ts index 555532d35a..9a1aadee22 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTransparentDataEncryption.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseTransparentDataEncryption.ts @@ -329,7 +329,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts index 492844734c..c1d4fba128 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts @@ -477,7 +477,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessments.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessments.ts index e928b65420..f9afdd63d2 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessments.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabaseVulnerabilityAssessments.ts @@ -370,7 +370,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabases.ts index 8727fa99f5..31a4860bd5 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedDatabases.ts @@ -886,7 +886,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -906,7 +905,6 @@ const listInaccessibleByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAdministrators.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAdministrators.ts index 424da51e31..01fc3c1acd 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAdministrators.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAdministrators.ts @@ -480,7 +480,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAzureADOnlyAuthentications.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAzureADOnlyAuthentications.ts index af63db80fb..b7da19a811 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAzureADOnlyAuthentications.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceAzureADOnlyAuthentications.ts @@ -488,7 +488,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceEncryptionProtectors.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceEncryptionProtectors.ts index d9b5876ed2..dd9f1a2989 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceEncryptionProtectors.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceEncryptionProtectors.ts @@ -492,7 +492,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceKeys.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceKeys.ts index e7381971a6..e217acd788 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceKeys.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceKeys.ts @@ -472,7 +472,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2, Parameters.filter1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceLongTermRetentionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceLongTermRetentionPolicies.ts index 0f9c341a30..80a56e2d7d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceLongTermRetentionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceLongTermRetentionPolicies.ts @@ -415,7 +415,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceOperations.ts index dbf6656bf6..0d07576a97 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceOperations.ts @@ -269,7 +269,6 @@ const listByManagedInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateEndpointConnections.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateEndpointConnections.ts index 90b5b7e812..f18c172dd3 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateEndpointConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateEndpointConnections.ts @@ -495,7 +495,6 @@ const listByManagedInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateLinkResources.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateLinkResources.ts index 63dfbda2bf..8a47584359 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateLinkResources.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstancePrivateLinkResources.ts @@ -235,7 +235,6 @@ const listByManagedInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceVulnerabilityAssessments.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceVulnerabilityAssessments.ts index aef15a4edc..8d7e4a9e44 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceVulnerabilityAssessments.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstanceVulnerabilityAssessments.ts @@ -346,7 +346,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstances.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstances.ts index 3f8584a302..5d7bddf257 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstances.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedInstances.ts @@ -1066,7 +1066,6 @@ const listByInstancePoolNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1086,7 +1085,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1104,7 +1102,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1123,16 +1120,6 @@ const listByManagedInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion1, - Parameters.startTime, - Parameters.endTime, - Parameters.interval, - Parameters.numberOfQueries, - Parameters.databases, - Parameters.aggregationFunction, - Parameters.observationMetric - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts index 984dfb057d..fc4514483e 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts @@ -577,7 +577,6 @@ const listByRestorableDroppedDatabaseNextOperationSpec: coreClient.OperationSpec }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedServerSecurityAlertPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedServerSecurityAlertPolicies.ts index 1f7c800389..1bcee9f6ef 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedServerSecurityAlertPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/managedServerSecurityAlertPolicies.ts @@ -382,7 +382,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/operations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/operations.ts index 07712a43a1..b5cbf0223c 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/operations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/operations.ts @@ -139,7 +139,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/outboundFirewallRules.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/outboundFirewallRules.ts index c57c697a44..aea3087af7 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/outboundFirewallRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/outboundFirewallRules.ts @@ -468,7 +468,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateEndpointConnections.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateEndpointConnections.ts index bcaaa54087..c8ca340b24 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateEndpointConnections.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateEndpointConnections.ts @@ -475,7 +475,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateLinkResources.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateLinkResources.ts index 2efaa2c57c..b0da96f824 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateLinkResources.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/privateLinkResources.ts @@ -228,7 +228,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/recoverableManagedDatabases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/recoverableManagedDatabases.ts index 4293cbb79a..25756f4bfc 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/recoverableManagedDatabases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/recoverableManagedDatabases.ts @@ -238,7 +238,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/replicationLinks.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/replicationLinks.ts index d50e7ce8da..a7a5ced581 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/replicationLinks.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/replicationLinks.ts @@ -784,7 +784,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -805,7 +804,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedDatabases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedDatabases.ts index e1ed4b9cc4..bf22893ab5 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedDatabases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedDatabases.ts @@ -229,7 +229,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedManagedDatabases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedManagedDatabases.ts index de54573b18..861ff038af 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedManagedDatabases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorableDroppedManagedDatabases.ts @@ -238,7 +238,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorePoints.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorePoints.ts index 6a2afb05d3..1c7239b2fd 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorePoints.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/restorePoints.ts @@ -436,7 +436,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/sensitivityLabels.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/sensitivityLabels.ts index 6869046ec0..0b67dcaf0c 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/sensitivityLabels.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/sensitivityLabels.ts @@ -714,12 +714,6 @@ const listCurrentByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skipToken, - Parameters.apiVersion2, - Parameters.filter1, - Parameters.count - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -740,12 +734,6 @@ const listRecommendedByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.skipToken, - Parameters.apiVersion2, - Parameters.filter1, - Parameters.includeDisabledRecommendations - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADAdministrators.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADAdministrators.ts index ebf0a57758..cb49ab6513 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADAdministrators.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADAdministrators.ts @@ -470,7 +470,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADOnlyAuthentications.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADOnlyAuthentications.ts index 7698020289..15a1d4a16b 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADOnlyAuthentications.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverAzureADOnlyAuthentications.ts @@ -482,7 +482,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverBlobAuditingPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverBlobAuditingPolicies.ts index f67bf45a2e..cc18caceba 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverBlobAuditingPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverBlobAuditingPolicies.ts @@ -357,7 +357,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverConnectionPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverConnectionPolicies.ts index 054917c8a1..1397ac20a4 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverConnectionPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverConnectionPolicies.ts @@ -370,7 +370,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDevOpsAuditSettings.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDevOpsAuditSettings.ts index e451f4195d..1d2a45c356 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDevOpsAuditSettings.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDevOpsAuditSettings.ts @@ -374,7 +374,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDnsAliases.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDnsAliases.ts index 95e68107dd..1210741910 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDnsAliases.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverDnsAliases.ts @@ -595,7 +595,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverKeys.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverKeys.ts index 595d6fa5d5..93ff032e95 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverKeys.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverKeys.ts @@ -474,7 +474,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverOperations.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverOperations.ts index 3a5a94bc6e..013860eb26 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverOperations.ts @@ -185,7 +185,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverSecurityAlertPolicies.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverSecurityAlertPolicies.ts index 64c01747d9..c1d541b8c3 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverSecurityAlertPolicies.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverSecurityAlertPolicies.ts @@ -371,7 +371,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverTrustGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverTrustGroups.ts index 7dc1fadc60..429fff707d 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverTrustGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverTrustGroups.ts @@ -625,7 +625,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -645,7 +644,6 @@ const listByInstanceNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverVulnerabilityAssessments.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverVulnerabilityAssessments.ts index cda6b66f83..7fe58d35a8 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverVulnerabilityAssessments.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/serverVulnerabilityAssessments.ts @@ -324,7 +324,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/servers.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/servers.ts index 6e2214ee30..07acdf2085 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/servers.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/servers.ts @@ -822,7 +822,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -841,7 +840,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3, Parameters.expand], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/subscriptionUsages.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/subscriptionUsages.ts index b4e184c595..c81d4a0187 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/subscriptionUsages.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/subscriptionUsages.ts @@ -201,7 +201,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncAgents.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncAgents.ts index fc604661d7..b9bd75c431 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncAgents.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncAgents.ts @@ -673,7 +673,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -693,7 +692,6 @@ const listLinkedDatabasesNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncGroups.ts index b7d95ddd09..83277e304c 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncGroups.ts @@ -25,8 +25,8 @@ import { SyncGroupsListHubSchemasOptionalParams, SyncGroupsListHubSchemasResponse, SyncGroupLogProperties, - SyncGroupsType, SyncGroupsListLogsNextOptionalParams, + SyncGroupsType, SyncGroupsListLogsOptionalParams, SyncGroupsListLogsResponse, SyncGroup, @@ -327,9 +327,6 @@ export class SyncGroupsImpl implements SyncGroups { serverName, databaseName, syncGroupName, - startTime, - endTime, - typeParam, continuationToken, options ); @@ -1083,9 +1080,6 @@ export class SyncGroupsImpl implements SyncGroups { * @param serverName The name of the server. * @param databaseName The name of the database on which the sync group is hosted. * @param syncGroupName The name of the sync group. - * @param startTime Get logs generated after this time. - * @param endTime Get logs generated before this time. - * @param typeParam The types of logs to retrieve. * @param nextLink The nextLink from the previous successful call to the ListLogs method. * @param options The options parameters. */ @@ -1094,9 +1088,6 @@ export class SyncGroupsImpl implements SyncGroups { serverName: string, databaseName: string, syncGroupName: string, - startTime: string, - endTime: string, - typeParam: SyncGroupsType, nextLink: string, options?: SyncGroupsListLogsNextOptionalParams ): Promise { @@ -1106,9 +1097,6 @@ export class SyncGroupsImpl implements SyncGroups { serverName, databaseName, syncGroupName, - startTime, - endTime, - typeParam, nextLink, options }, @@ -1392,7 +1380,6 @@ const listSyncDatabaseIdsNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1411,7 +1398,6 @@ const listHubSchemasNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1433,13 +1419,6 @@ const listLogsNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [ - Parameters.apiVersion2, - Parameters.startTime1, - Parameters.endTime1, - Parameters.typeParam, - Parameters.continuationToken - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1461,7 +1440,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncMembers.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncMembers.ts index b33f12c73a..4da469cdf6 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncMembers.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/syncMembers.ts @@ -1041,7 +1041,6 @@ const listBySyncGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1063,7 +1062,6 @@ const listMemberSchemasNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/timeZones.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/timeZones.ts index 8b9d48ecc0..56026f2bf6 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/timeZones.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/timeZones.ts @@ -201,7 +201,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/transparentDataEncryptions.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/transparentDataEncryptions.ts index 545da29dc1..473e792000 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/transparentDataEncryptions.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/transparentDataEncryptions.ts @@ -316,7 +316,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/usages.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/usages.ts index b478451bec..2d1e669e01 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/usages.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/usages.ts @@ -189,7 +189,6 @@ const listByInstancePoolNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3, Parameters.expandChildren], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualClusters.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualClusters.ts index 690ff1bd75..47dae588ab 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualClusters.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualClusters.ts @@ -576,7 +576,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -594,7 +593,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualNetworkRules.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualNetworkRules.ts index ca298ccbdc..55d3700d33 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualNetworkRules.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/virtualNetworkRules.ts @@ -474,7 +474,6 @@ const listByServerNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadClassifiers.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadClassifiers.ts index 6a08ca1f68..feb69c3391 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadClassifiers.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadClassifiers.ts @@ -565,7 +565,6 @@ const listByWorkloadGroupNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadGroups.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadGroups.ts index 9f86c32c57..1acc3d0bb9 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadGroups.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/operations/workloadGroups.ts @@ -520,7 +520,6 @@ const listByDatabaseNextOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/review/storage-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/review/storage-resource-manager.api.md index 41306ee9ad..4d90426b6b 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/review/storage-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/review/storage-resource-manager.api.md @@ -198,9 +198,6 @@ export type BlobContainersLeaseResponse = LeaseContainerResponse; // @public export interface BlobContainersListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - include?: ListContainersInclude; - maxpagesize?: string; } // @public @@ -825,9 +822,6 @@ export type FileSharesLeaseResponse = FileSharesLeaseHeaders & LeaseShareRespons // @public export interface FileSharesListNextOptionalParams extends coreClient.OperationOptions { - expand?: string; - filter?: string; - maxpagesize?: string; } // @public @@ -1843,8 +1837,6 @@ export type QueueGetResponse = StorageQueue; // @public export interface QueueListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - maxpagesize?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/models/index.ts index d56a812fea..07c3075b8e 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/models/index.ts @@ -3825,14 +3825,7 @@ export interface BlobContainersObjectLevelWormOptionalParams /** Optional parameters. */ export interface BlobContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Optional. Specified maximum number of containers that can be included in the list. */ - maxpagesize?: string; - /** Optional. When specified, only container names starting with the filter will be listed. */ - filter?: string; - /** Optional, used to include the properties for soft deleted blob containers. */ - include?: ListContainersInclude; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type BlobContainersListNextResponse = ListContainerItems; @@ -3929,14 +3922,7 @@ export type FileSharesLeaseResponse = FileSharesLeaseHeaders & /** Optional parameters. */ export interface FileSharesListNextOptionalParams - extends coreClient.OperationOptions { - /** Optional. Specified maximum number of shares that can be included in the list. */ - maxpagesize?: string; - /** Optional. When specified, only share names starting with the filter will be listed. */ - filter?: string; - /** Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ',' */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type FileSharesListNextResponse = FileShareItems; @@ -3999,12 +3985,7 @@ export type QueueListResponse = ListQueueResource; /** Optional parameters. */ export interface QueueListNextOptionalParams - extends coreClient.OperationOptions { - /** Optional, a maximum number of queues that should be included in a list queue response */ - maxpagesize?: string; - /** Optional, When specified, only the queues with a name starting with the given filter will be listed. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type QueueListNextResponse = ListQueueResource; diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/blobContainers.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/blobContainers.ts index 67f8caad9d..0080c734b0 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/blobContainers.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/blobContainers.ts @@ -952,12 +952,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ListContainerItems } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.maxpagesize, - Parameters.filter, - Parameters.include - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/deletedAccounts.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/deletedAccounts.ts index cc672064ec..1d39e7c806 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/deletedAccounts.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/deletedAccounts.ts @@ -185,7 +185,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/encryptionScopes.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/encryptionScopes.ts index e6451e22fc..aa03d6438a 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/encryptionScopes.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/encryptionScopes.ts @@ -361,7 +361,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.EncryptionScopeListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/fileShares.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/fileShares.ts index 2bec398874..e50e60d8e1 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/fileShares.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/fileShares.ts @@ -513,12 +513,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudErrorAutoGenerated } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.maxpagesize, - Parameters.filter, - Parameters.expand2 - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/queue.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/queue.ts index 20df9bdb55..187d83baee 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/queue.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/queue.ts @@ -397,11 +397,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudErrorAutoGenerated } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.maxpagesize, - Parameters.filter - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/storageAccounts.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/storageAccounts.ts index 39f36be9df..96c153508e 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/storageAccounts.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/storageAccounts.ts @@ -1265,7 +1265,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.StorageAccountListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1282,7 +1281,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.StorageAccountListResult } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/tableOperations.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/tableOperations.ts index 6522b287b9..f888e68370 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/tableOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/operations/tableOperations.ts @@ -384,7 +384,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudErrorAutoGenerated } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md index e90fe126f5..0d190d49ae 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md @@ -851,7 +851,6 @@ export type AppServiceEnvironmentsListResponse = AppServiceEnvironmentCollection // @public export interface AppServiceEnvironmentsListUsagesNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -867,7 +866,6 @@ export type AppServiceEnvironmentsListUsagesResponse = CsmUsageQuotaCollection; // @public export interface AppServiceEnvironmentsListWebAppsNextOptionalParams extends coreClient.OperationOptions { - propertiesToInclude?: string; } // @public @@ -1246,7 +1244,6 @@ export type AppServicePlansListHybridConnectionsResponse = HybridConnectionColle // @public export interface AppServicePlansListNextOptionalParams extends coreClient.OperationOptions { - detailed?: boolean; } // @public @@ -1269,7 +1266,6 @@ export type AppServicePlansListRoutesForVnetResponse = VnetRoute[]; // @public export interface AppServicePlansListUsagesNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -1306,9 +1302,6 @@ export type AppServicePlansListWebAppsByHybridConnectionResponse = ResourceColle // @public export interface AppServicePlansListWebAppsNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - skipToken?: string; - top?: string; } // @public @@ -1802,7 +1795,6 @@ export type CertificatesListByResourceGroupResponse = CertificateCollection; // @public export interface CertificatesListNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -3872,8 +3864,6 @@ export interface LinuxJavaContainerSettings { // @public export interface ListBillingMetersNextOptionalParams extends coreClient.OperationOptions { - billingLocation?: string; - osType?: string; } // @public @@ -3890,10 +3880,6 @@ export type ListBillingMetersResponse = BillingMeterCollection; // @public export interface ListGeoRegionsNextOptionalParams extends coreClient.OperationOptions { - linuxDynamicWorkersEnabled?: boolean; - linuxWorkersEnabled?: boolean; - sku?: SkuName; - xenonWorkersEnabled?: boolean; } // @public @@ -4461,8 +4447,6 @@ export interface Provider { // @public export interface ProviderGetAvailableStacksNextOptionalParams extends coreClient.OperationOptions { - // (undocumented) - osTypeSelected?: Enum10; } // @public @@ -4470,8 +4454,6 @@ export type ProviderGetAvailableStacksNextResponse = ApplicationStackCollection; // @public export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends coreClient.OperationOptions { - // (undocumented) - osTypeSelected?: Enum15; } // @public @@ -4497,7 +4479,6 @@ export type ProviderGetAvailableStacksResponse = ApplicationStackCollection; // @public export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum12; } // @public @@ -4513,7 +4494,6 @@ export type ProviderGetFunctionAppStacksForLocationResponse = FunctionAppStackCo // @public export interface ProviderGetFunctionAppStacksNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum11; } // @public @@ -4529,7 +4509,6 @@ export type ProviderGetFunctionAppStacksResponse = FunctionAppStackCollection; // @public export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum13; } // @public @@ -4545,7 +4524,6 @@ export type ProviderGetWebAppStacksForLocationResponse = WebAppStackCollection; // @public export interface ProviderGetWebAppStacksNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum14; } // @public @@ -4750,8 +4728,6 @@ export type RecommendationsGetRuleDetailsByWebAppResponse = RecommendationRule; // @public export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams extends coreClient.OperationOptions { - expiredOnly?: boolean; - filter?: string; } // @public @@ -4768,8 +4744,6 @@ export type RecommendationsListHistoryForHostingEnvironmentResponse = Recommenda // @public export interface RecommendationsListHistoryForWebAppNextOptionalParams extends coreClient.OperationOptions { - expiredOnly?: boolean; - filter?: string; } // @public @@ -4786,8 +4760,6 @@ export type RecommendationsListHistoryForWebAppResponse = RecommendationCollecti // @public export interface RecommendationsListNextOptionalParams extends coreClient.OperationOptions { - featured?: boolean; - filter?: string; } // @public @@ -4801,8 +4773,6 @@ export interface RecommendationsListOptionalParams extends coreClient.OperationO // @public export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams extends coreClient.OperationOptions { - featured?: boolean; - filter?: string; } // @public @@ -4819,8 +4789,6 @@ export type RecommendationsListRecommendedRulesForHostingEnvironmentResponse = R // @public export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends coreClient.OperationOptions { - featured?: boolean; - filter?: string; } // @public @@ -8816,7 +8784,6 @@ export type WebAppsListBasicPublishingCredentialsPoliciesSlotResponse = Publishi // @public export interface WebAppsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - includeSlots?: boolean; } // @public @@ -9263,7 +9230,6 @@ export interface WebAppsListOptionalParams extends coreClient.OperationOptions { // @public export interface WebAppsListPerfMonCountersNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -9279,7 +9245,6 @@ export type WebAppsListPerfMonCountersResponse = PerfMonCounterCollection; // @public export interface WebAppsListPerfMonCountersSlotNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -9729,7 +9694,6 @@ export type WebAppsListTriggeredWebJobsSlotResponse = TriggeredWebJobCollection; // @public export interface WebAppsListUsagesNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -9745,7 +9709,6 @@ export type WebAppsListUsagesResponse = CsmUsageQuotaCollection; // @public export interface WebAppsListUsagesSlotNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/models/index.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/models/index.ts index 3d36af3901..6e36b3a204 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/models/index.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/models/index.ts @@ -9286,10 +9286,7 @@ export type AppServiceEnvironmentsListAppServicePlansNextResponse = AppServicePl /** Optional parameters. */ export interface AppServiceEnvironmentsListWebAppsNextOptionalParams - extends coreClient.OperationOptions { - /** Comma separated list of app properties to include. */ - propertiesToInclude?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listWebAppsNext operation. */ export type AppServiceEnvironmentsListWebAppsNextResponse = WebAppCollection; @@ -9303,10 +9300,7 @@ export type AppServiceEnvironmentsSuspendNextResponse = WebAppCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListUsagesNextOptionalParams - extends coreClient.OperationOptions { - /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listUsagesNext operation. */ export type AppServiceEnvironmentsListUsagesNextResponse = CsmUsageQuotaCollection; @@ -9546,13 +9540,7 @@ export interface AppServicePlansRebootWorkerOptionalParams /** Optional parameters. */ export interface AppServicePlansListNextOptionalParams - extends coreClient.OperationOptions { - /** - * Specify true to return all App Service plan properties. The default is false, which returns a subset of the properties. - * Retrieval of all properties may increase the API latency. - */ - detailed?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type AppServicePlansListNextResponse = AppServicePlanCollection; @@ -9580,24 +9568,14 @@ export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionC /** Optional parameters. */ export interface AppServicePlansListWebAppsNextOptionalParams - extends coreClient.OperationOptions { - /** Supported filter: $filter=state eq running. Returns only web apps that are currently running */ - filter?: string; - /** Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from the start of the list */ - skipToken?: string; - /** List page size. If specified, results are paged. */ - top?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listWebAppsNext operation. */ export type AppServicePlansListWebAppsNextResponse = WebAppCollection; /** Optional parameters. */ export interface AppServicePlansListUsagesNextOptionalParams - extends coreClient.OperationOptions { - /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listUsagesNext operation. */ export type AppServicePlansListUsagesNextResponse = CsmUsageQuotaCollection; @@ -9646,10 +9624,7 @@ export type CertificatesUpdateResponse = Certificate; /** Optional parameters. */ export interface CertificatesListNextOptionalParams - extends coreClient.OperationOptions { - /** Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId' */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type CertificatesListNextResponse = CertificateCollection; @@ -10110,39 +10085,28 @@ export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollectio /** Optional parameters. */ export interface ProviderGetAvailableStacksNextOptionalParams - extends coreClient.OperationOptions { - osTypeSelected?: Enum10; -} + extends coreClient.OperationOptions {} /** Contains response data for the getAvailableStacksNext operation. */ export type ProviderGetAvailableStacksNextResponse = ApplicationStackCollection; /** Optional parameters. */ export interface ProviderGetFunctionAppStacksNextOptionalParams - extends coreClient.OperationOptions { - /** Stack OS Type */ - stackOsType?: Enum11; -} + extends coreClient.OperationOptions {} /** Contains response data for the getFunctionAppStacksNext operation. */ export type ProviderGetFunctionAppStacksNextResponse = FunctionAppStackCollection; /** Optional parameters. */ export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Stack OS Type */ - stackOsType?: Enum12; -} + extends coreClient.OperationOptions {} /** Contains response data for the getFunctionAppStacksForLocationNext operation. */ export type ProviderGetFunctionAppStacksForLocationNextResponse = FunctionAppStackCollection; /** Optional parameters. */ export interface ProviderGetWebAppStacksForLocationNextOptionalParams - extends coreClient.OperationOptions { - /** Stack OS Type */ - stackOsType?: Enum13; -} + extends coreClient.OperationOptions {} /** Contains response data for the getWebAppStacksForLocationNext operation. */ export type ProviderGetWebAppStacksForLocationNextResponse = WebAppStackCollection; @@ -10156,19 +10120,14 @@ export type ProviderListOperationsNextResponse = CsmOperationCollection; /** Optional parameters. */ export interface ProviderGetWebAppStacksNextOptionalParams - extends coreClient.OperationOptions { - /** Stack OS Type */ - stackOsType?: Enum14; -} + extends coreClient.OperationOptions {} /** Contains response data for the getWebAppStacksNext operation. */ export type ProviderGetWebAppStacksNextResponse = WebAppStackCollection; /** Optional parameters. */ export interface ProviderGetAvailableStacksOnPremNextOptionalParams - extends coreClient.OperationOptions { - osTypeSelected?: Enum15; -} + extends coreClient.OperationOptions {} /** Contains response data for the getAvailableStacksOnPremNext operation. */ export type ProviderGetAvailableStacksOnPremNextResponse = ApplicationStackCollection; @@ -10291,60 +10250,35 @@ export interface RecommendationsDisableRecommendationForSiteOptionalParams /** Optional parameters. */ export interface RecommendationsListNextOptionalParams - extends coreClient.OperationOptions { - /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */ - filter?: string; - /** Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. */ - featured?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type RecommendationsListNextResponse = RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams - extends coreClient.OperationOptions { - /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */ - filter?: string; - /** Specify false to return all recommendations. The default is true, which returns only expired recommendations. */ - expiredOnly?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listHistoryForHostingEnvironmentNext operation. */ export type RecommendationsListHistoryForHostingEnvironmentNextResponse = RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams - extends coreClient.OperationOptions { - /** Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' */ - filter?: string; - /** Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. */ - featured?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedRulesForHostingEnvironmentNext operation. */ export type RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse = RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListHistoryForWebAppNextOptionalParams - extends coreClient.OperationOptions { - /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */ - filter?: string; - /** Specify false to return all recommendations. The default is true, which returns only expired recommendations. */ - expiredOnly?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listHistoryForWebAppNext operation. */ export type RecommendationsListHistoryForWebAppNextResponse = RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams - extends coreClient.OperationOptions { - /** Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' */ - filter?: string; - /** Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. */ - featured?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedRulesForWebAppNext operation. */ export type RecommendationsListRecommendedRulesForWebAppNextResponse = RecommendationCollection; @@ -10548,28 +10482,14 @@ export type ListSourceControlsNextResponse = SourceControlCollection; /** Optional parameters. */ export interface ListBillingMetersNextOptionalParams - extends coreClient.OperationOptions { - /** Azure Location of billable resource */ - billingLocation?: string; - /** App Service OS type meters used for */ - osType?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBillingMetersNext operation. */ export type ListBillingMetersNextResponse = BillingMeterCollection; /** Optional parameters. */ export interface ListGeoRegionsNextOptionalParams - extends coreClient.OperationOptions { - /** Name of SKU used to filter the regions. */ - sku?: SkuName; - /** Specify true if you want to filter to only regions that support Linux workers. */ - linuxWorkersEnabled?: boolean; - /** Specify true if you want to filter to only regions that support Xenon workers. */ - xenonWorkersEnabled?: boolean; - /** Specify true if you want to filter to only regions that support Linux Consumption Workers. */ - linuxDynamicWorkersEnabled?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listGeoRegionsNext operation. */ export type ListGeoRegionsNextResponse = GeoRegionCollection; @@ -13947,10 +13867,7 @@ export type WebAppsListNextResponse = WebAppCollection; /** Optional parameters. */ export interface WebAppsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** Specify true to include deployment slots in results. The default is false, which only gives you the production slot of all apps. */ - includeSlots?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type WebAppsListByResourceGroupNextResponse = WebAppCollection; @@ -14069,10 +13986,7 @@ export type WebAppsListSiteBackupsNextResponse = BackupItemCollection; /** Optional parameters. */ export interface WebAppsListPerfMonCountersNextOptionalParams - extends coreClient.OperationOptions { - /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listPerfMonCountersNext operation. */ export type WebAppsListPerfMonCountersNextResponse = PerfMonCounterCollection; @@ -14240,10 +14154,7 @@ export type WebAppsListSiteBackupsSlotNextResponse = BackupItemCollection; /** Optional parameters. */ export interface WebAppsListPerfMonCountersSlotNextOptionalParams - extends coreClient.OperationOptions { - /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listPerfMonCountersSlotNext operation. */ export type WebAppsListPerfMonCountersSlotNextResponse = PerfMonCounterCollection; @@ -14327,10 +14238,7 @@ export type WebAppsListTriggeredWebJobHistorySlotNextResponse = TriggeredJobHist /** Optional parameters. */ export interface WebAppsListUsagesSlotNextOptionalParams - extends coreClient.OperationOptions { - /** Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listUsagesSlotNext operation. */ export type WebAppsListUsagesSlotNextResponse = CsmUsageQuotaCollection; @@ -14379,10 +14287,7 @@ export type WebAppsListTriggeredWebJobHistoryNextResponse = TriggeredJobHistoryC /** Optional parameters. */ export interface WebAppsListUsagesNextOptionalParams - extends coreClient.OperationOptions { - /** Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listUsagesNext operation. */ export type WebAppsListUsagesNextResponse = CsmUsageQuotaCollection; diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceCertificateOrders.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceCertificateOrders.ts index f56f50c3e4..cfdebd1143 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceCertificateOrders.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceCertificateOrders.ts @@ -1364,7 +1364,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1384,7 +1383,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1405,7 +1403,6 @@ const listCertificatesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceEnvironments.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceEnvironments.ts index 8291398383..77b7071525 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceEnvironments.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServiceEnvironments.ts @@ -4911,7 +4911,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4931,7 +4930,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4952,7 +4950,6 @@ const listCapacitiesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4977,7 +4974,6 @@ const changeVnetNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5000,7 +4996,6 @@ const getInboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.Operat bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5022,7 +5017,6 @@ const listMultiRolePoolsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5044,7 +5038,6 @@ const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: coreClient.Op bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5067,7 +5060,6 @@ const listMultiRoleMetricDefinitionsNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5089,7 +5081,6 @@ const listMultiRolePoolSkusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5111,7 +5102,6 @@ const listMultiRoleUsagesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5133,7 +5123,6 @@ const getOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.Opera bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5155,7 +5144,6 @@ const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5180,7 +5168,6 @@ const resumeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5202,7 +5189,6 @@ const listAppServicePlansNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5224,7 +5210,6 @@ const listWebAppsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.propertiesToInclude], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5249,7 +5234,6 @@ const suspendNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5271,7 +5255,6 @@ const listUsagesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5293,7 +5276,6 @@ const listWorkerPoolsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5315,7 +5297,6 @@ const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: coreClient.Opera bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5339,7 +5320,6 @@ const listWebWorkerMetricDefinitionsNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5362,7 +5342,6 @@ const listWorkerPoolSkusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -5385,7 +5364,6 @@ const listWebWorkerUsagesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServicePlans.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServicePlans.ts index a0c3a3d9b8..d0db135d3b 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServicePlans.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/appServicePlans.ts @@ -1950,7 +1950,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.detailed], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1970,7 +1969,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1991,7 +1989,6 @@ const listWebAppsByHybridConnectionNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2015,7 +2012,6 @@ const listHybridConnectionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2037,12 +2033,6 @@ const listWebAppsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.skipToken, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2064,7 +2054,6 @@ const listUsagesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateOrdersDiagnostics.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateOrdersDiagnostics.ts index 31c94e1a48..76f4fd43db 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateOrdersDiagnostics.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateOrdersDiagnostics.ts @@ -247,7 +247,6 @@ const listAppServiceCertificateOrderDetectorResponseNextOperationSpec: coreClien bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateRegistrationProvider.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateRegistrationProvider.ts index 177d2a6dcb..c7eb6d89ca 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateRegistrationProvider.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificateRegistrationProvider.ts @@ -149,7 +149,6 @@ const listOperationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificates.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificates.ts index 3fdea6d39b..c5d88361f8 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificates.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/certificates.ts @@ -440,7 +440,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -460,7 +459,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/deletedWebApps.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/deletedWebApps.ts index f499306938..dfeddf8fc1 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/deletedWebApps.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/deletedWebApps.ts @@ -303,7 +303,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -323,7 +322,6 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/diagnostics.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/diagnostics.ts index a6515ee97b..52591f8610 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/diagnostics.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/diagnostics.ts @@ -2193,7 +2193,6 @@ const listHostingEnvironmentDetectorResponsesNextOperationSpec: coreClient.Opera bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2215,7 +2214,6 @@ const listSiteDetectorResponsesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2237,7 +2235,6 @@ const listSiteDiagnosticCategoriesNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2259,7 +2256,6 @@ const listSiteAnalysesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2282,7 +2278,6 @@ const listSiteDetectorsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2305,7 +2300,6 @@ const listSiteDetectorResponsesSlotNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2328,7 +2322,6 @@ const listSiteDiagnosticCategoriesSlotNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2351,7 +2344,6 @@ const listSiteAnalysesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -2375,7 +2367,6 @@ const listSiteDetectorsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domainRegistrationProvider.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domainRegistrationProvider.ts index 5ac414e02b..c9ba45f696 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domainRegistrationProvider.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domainRegistrationProvider.ts @@ -149,7 +149,6 @@ const listOperationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domains.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domains.ts index 67a25ea2a4..71e94a8552 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domains.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/domains.ts @@ -1106,7 +1106,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1126,7 +1125,6 @@ const listRecommendationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1147,7 +1145,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1168,7 +1165,6 @@ const listOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/kubeEnvironments.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/kubeEnvironments.ts index d1ba086c51..0cf6f7fe22 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/kubeEnvironments.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/kubeEnvironments.ts @@ -594,7 +594,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/provider.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/provider.ts index 47a843869a..e13a525f2a 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/provider.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/provider.ts @@ -811,7 +811,6 @@ const getAvailableStacksNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -827,7 +826,6 @@ const getFunctionAppStacksNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -843,7 +841,6 @@ const getFunctionAppStacksForLocationNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType1], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -859,7 +856,6 @@ const getWebAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType2], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -875,7 +871,6 @@ const listOperationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -891,7 +886,6 @@ const getWebAppStacksNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType3], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -907,7 +901,6 @@ const getAvailableStacksOnPremNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/recommendations.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/recommendations.ts index 960307a1f2..6d1cabd71e 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/recommendations.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/recommendations.ts @@ -1155,11 +1155,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.featured - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1179,11 +1174,6 @@ const listHistoryForHostingEnvironmentNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.expiredOnly - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1205,11 +1195,6 @@ const listRecommendedRulesForHostingEnvironmentNextOperationSpec: coreClient.Ope bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.featured - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1231,11 +1216,6 @@ const listHistoryForWebAppNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.expiredOnly - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1257,11 +1237,6 @@ const listRecommendedRulesForWebAppNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.featured - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/resourceHealthMetadataOperations.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/resourceHealthMetadataOperations.ts index 0dee824b47..2bfe0f7a86 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/resourceHealthMetadataOperations.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/resourceHealthMetadataOperations.ts @@ -660,7 +660,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -680,7 +679,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -701,7 +699,6 @@ const listBySiteNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -723,7 +720,6 @@ const listBySiteSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/staticSites.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/staticSites.ts index e03c828625..aa7fa1481a 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/staticSites.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/staticSites.ts @@ -4280,7 +4280,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4300,7 +4299,6 @@ const getStaticSitesByResourceGroupNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4321,7 +4319,6 @@ const listStaticSiteUsersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4344,7 +4341,6 @@ const getStaticSiteBuildsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4366,7 +4362,6 @@ const listStaticSiteBuildFunctionsNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4389,7 +4384,6 @@ const getUserProvidedFunctionAppsForStaticSiteBuildNextOperationSpec: coreClient bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4412,7 +4406,6 @@ const listStaticSiteCustomDomainsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4434,7 +4427,6 @@ const listStaticSiteFunctionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4456,7 +4448,6 @@ const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -4478,7 +4469,6 @@ const getUserProvidedFunctionAppsForStaticSiteNextOperationSpec: coreClient.Oper bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/topLevelDomains.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/topLevelDomains.ts index b16fe7b5f4..86aab2407d 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/topLevelDomains.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/topLevelDomains.ts @@ -315,7 +315,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -335,7 +334,6 @@ const listAgreementsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/webApps.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/webApps.ts index e608b5e987..0d74b8c247 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/webApps.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/operations/webApps.ts @@ -28366,7 +28366,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28386,7 +28385,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.includeSlots], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28407,7 +28405,6 @@ const listBackupsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28429,7 +28426,6 @@ const listBasicPublishingCredentialsPoliciesNextOperationSpec: coreClient.Operat bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28451,7 +28447,6 @@ const listConfigurationsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28473,7 +28468,6 @@ const getAppSettingsKeyVaultReferencesNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28495,7 +28489,6 @@ const getSiteConnectionStringKeyVaultReferencesNextOperationSpec: coreClient.Ope bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28517,7 +28510,6 @@ const listConfigurationSnapshotInfoNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28539,7 +28531,6 @@ const listContinuousWebJobsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28561,7 +28552,6 @@ const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28583,7 +28573,6 @@ const listDomainOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28608,7 +28597,6 @@ const listFunctionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28630,7 +28618,6 @@ const listHostNameBindingsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28652,7 +28639,6 @@ const listInstanceIdentifiersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28677,7 +28663,6 @@ const listInstanceProcessesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28703,7 +28688,6 @@ const listInstanceProcessModulesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28730,7 +28714,6 @@ const listInstanceProcessThreadsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28754,7 +28737,6 @@ const listSiteBackupsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28776,7 +28758,6 @@ const listPerfMonCountersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28798,7 +28779,6 @@ const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28823,7 +28803,6 @@ const listProcessesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28848,7 +28827,6 @@ const listProcessModulesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28874,7 +28852,6 @@ const listProcessThreadsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28897,7 +28874,6 @@ const listPublicCertificatesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28922,7 +28898,6 @@ const listSiteExtensionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28944,7 +28919,6 @@ const listSlotsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28966,7 +28940,6 @@ const listBackupsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -28989,7 +28962,6 @@ const listBasicPublishingCredentialsPoliciesSlotNextOperationSpec: coreClient.Op bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29012,7 +28984,6 @@ const listConfigurationsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29035,7 +29006,6 @@ const getAppSettingsKeyVaultReferencesSlotNextOperationSpec: coreClient.Operatio bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29058,7 +29028,6 @@ const getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec: coreClient bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29081,7 +29050,6 @@ const listConfigurationSnapshotInfoSlotNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29104,7 +29072,6 @@ const listContinuousWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29127,7 +29094,6 @@ const listDeploymentsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29150,7 +29116,6 @@ const listDomainOwnershipIdentifiersSlotNextOperationSpec: coreClient.OperationS bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29176,7 +29141,6 @@ const listInstanceFunctionsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29199,7 +29163,6 @@ const listHostNameBindingsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29222,7 +29185,6 @@ const listInstanceIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29248,7 +29210,6 @@ const listInstanceProcessesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29275,7 +29236,6 @@ const listInstanceProcessModulesSlotNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29303,7 +29263,6 @@ const listInstanceProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29328,7 +29287,6 @@ const listSiteBackupsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29351,7 +29309,6 @@ const listPerfMonCountersSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29374,7 +29331,6 @@ const getPrivateEndpointConnectionListSlotNextOperationSpec: coreClient.Operatio bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29400,7 +29356,6 @@ const listProcessesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29426,7 +29381,6 @@ const listProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29453,7 +29407,6 @@ const listProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29477,7 +29430,6 @@ const listPublicCertificatesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29503,7 +29455,6 @@ const listSiteExtensionsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29526,7 +29477,6 @@ const listSlotDifferencesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29550,7 +29500,6 @@ const listSnapshotsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29573,7 +29522,6 @@ const listSnapshotsFromDRSecondarySlotNextOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29596,7 +29544,6 @@ const listTriggeredWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29622,7 +29569,6 @@ const listTriggeredWebJobHistorySlotNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29646,7 +29592,6 @@ const listUsagesSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29669,7 +29614,6 @@ const listWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29692,7 +29636,6 @@ const listSlotDifferencesFromProductionNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29715,7 +29658,6 @@ const listSnapshotsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29737,7 +29679,6 @@ const listSnapshotsFromDRSecondaryNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29759,7 +29700,6 @@ const listTriggeredWebJobsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29784,7 +29724,6 @@ const listTriggeredWebJobHistoryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29807,7 +29746,6 @@ const listUsagesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -29829,7 +29767,6 @@ const listWebJobsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/pagingHelper.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/pagingHelper.ts index d85fc13bce..269a2b9814 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/pagingHelper.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/webSiteManagementClient.ts b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/webSiteManagementClient.ts index cd7d03ebf9..04806ade84 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/webSiteManagementClient.ts +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/src/webSiteManagementClient.ts @@ -1164,7 +1164,6 @@ const listSourceControlsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -1180,11 +1179,6 @@ const listBillingMetersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.billingLocation, - Parameters.osType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1204,13 +1198,6 @@ const listGeoRegionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.sku, - Parameters.linuxWorkersEnabled, - Parameters.xenonWorkersEnabled, - Parameters.linuxDynamicWorkersEnabled - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1230,7 +1217,6 @@ const listSiteIdentifiersAssignedToHostNameNextOperationSpec: coreClient.Operati bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1251,7 +1237,6 @@ const listPremierAddOnOffersNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, From 5397f4d63cb2679242df37b9f153ce7886719661 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Mon, 28 Nov 2022 14:27:03 -0600 Subject: [PATCH 5/5] PR feedback --- packages/autorest.typescript/src/transforms/extensions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/autorest.typescript/src/transforms/extensions.ts b/packages/autorest.typescript/src/transforms/extensions.ts index 1b6b8ee9dd..5a63461941 100644 --- a/packages/autorest.typescript/src/transforms/extensions.ts +++ b/packages/autorest.typescript/src/transforms/extensions.ts @@ -206,9 +206,9 @@ function addPageableMethods(codeModel: CodeModel) { // Filter out query parameters from the original operation. if (nextLinkMethod.parameters) { - nextLinkMethod.parameters = nextLinkMethod.parameters.filter(param => { - return param.protocol.http?.in !== ParameterLocation.Query; - }); + nextLinkMethod.parameters = nextLinkMethod.parameters.filter( + param => param.protocol.http?.in !== ParameterLocation.Query + ); if (nextLinkMethod.signatureParameters) { nextLinkMethod.updateSignatureParameters(); }