From c16e11e1d7eab253d9c051b0d9f59b5529d5584f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 11 Nov 2020 07:56:25 +0000 Subject: [PATCH] CodeGen from PR 11631 in Azure/azure-rest-api-specs Merge b9693fc9be6e0d27441d06257e5db0c65b260195 into e320555a456cbc894c5a89466defdfca45ca18a8 --- sdk/eventgrid/arm-eventgrid/README.md | 9 +- sdk/eventgrid/arm-eventgrid/rollup.config.js | 4 +- .../src/eventGridManagementClient.ts | 5 +- .../src/eventGridManagementClientContext.ts | 5 +- .../src/models/domainTopicsMappers.ts | 4 +- .../src/models/domainsMappers.ts | 4 +- .../src/models/eventSubscriptionsMappers.ts | 4 +- .../arm-eventgrid/src/models/index.ts | 361 +++++++++++++++++- .../arm-eventgrid/src/models/mappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../arm-eventgrid/src/models/parameters.ts | 5 +- .../privateEndpointConnectionsMappers.ts | 4 +- .../src/models/privateLinkResourcesMappers.ts | 4 +- .../src/models/topicTypesMappers.ts | 4 +- .../arm-eventgrid/src/models/topicsMappers.ts | 4 +- .../src/operations/domainTopics.ts | 16 +- .../arm-eventgrid/src/operations/domains.ts | 27 +- .../src/operations/eventSubscriptions.ts | 115 ++++-- .../arm-eventgrid/src/operations/index.ts | 5 +- .../src/operations/operations.ts | 5 +- .../operations/privateEndpointConnections.ts | 16 +- .../src/operations/privateLinkResources.ts | 16 +- .../src/operations/topicTypes.ts | 5 +- .../arm-eventgrid/src/operations/topics.ts | 27 +- 24 files changed, 543 insertions(+), 114 deletions(-) diff --git a/sdk/eventgrid/arm-eventgrid/README.md b/sdk/eventgrid/arm-eventgrid/README.md index 7eb240824021..9a71e7ac5a15 100644 --- a/sdk/eventgrid/arm-eventgrid/README.md +++ b/sdk/eventgrid/arm-eventgrid/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-eventgrid ### How to use -#### nodejs - Authentication, client creation and get domains as an example written in TypeScript. +#### nodejs - client creation and get domains as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { EventGridManagementClient, EventGridManagementModels, EventGridManagementMappers } from "@azure/arm-eventgrid"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { EventGridManagementClient } = require("@azure/arm-eventgrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/eventgrid/arm-eventgrid/rollup.config.js b/sdk/eventgrid/arm-eventgrid/rollup.config.js index ec1bb9075665..c26f05776166 100644 --- a/sdk/eventgrid/arm-eventgrid/rollup.config.js +++ b/sdk/eventgrid/arm-eventgrid/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts index c38747ad7094..0d218e6307cb 100644 --- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts +++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts index 6a789f076bd1..6f383a5ffe47 100644 --- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts +++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts index 39b0e128fb63..c8357226fae8 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts index fc653eca13b1..940fc1f0d3af 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts index 6f59d38fb4d8..f9d78d32f105 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/index.ts b/sdk/eventgrid/arm-eventgrid/src/models/index.ts index c81b2d30e4c8..fbdd20a9f5c1 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/index.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -1128,6 +1128,48 @@ export interface DomainsListByResourceGroupOptionalParams extends msRest.Request top?: number; } +/** + * Optional Parameters. + */ +export interface DomainsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface DomainsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * Optional Parameters. */ @@ -1149,6 +1191,27 @@ export interface DomainTopicsListByDomainOptionalParams extends msRest.RequestOp top?: number; } +/** + * Optional Parameters. + */ +export interface DomainTopicsListByDomainNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * Optional Parameters. */ @@ -1359,6 +1422,216 @@ export interface EventSubscriptionsListByDomainTopicOptionalParams extends msRes top?: number; } +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListByResourceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface EventSubscriptionsListByDomainTopicNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * Optional Parameters. */ @@ -1401,6 +1674,48 @@ export interface TopicsListByResourceGroupOptionalParams extends msRest.RequestO top?: number; } +/** + * Optional Parameters. + */ +export interface TopicsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface TopicsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * Optional Parameters. */ @@ -1422,6 +1737,27 @@ export interface PrivateEndpointConnectionsListByResourceOptionalParams extends top?: number; } +/** + * Optional Parameters. + */ +export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * Optional Parameters. */ @@ -1443,6 +1779,27 @@ export interface PrivateLinkResourcesListByResourceOptionalParams extends msRest top?: number; } +/** + * Optional Parameters. + */ +export interface PrivateLinkResourcesListByResourceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The query used to filter the search results using OData syntax. Filtering is permitted on the + * 'name' property only and with limited number of OData operations. These operations are: the + * 'contains' function as well as the following logical operations: not, and, or, eq (for equal), + * and ne (for not equal). No arithmetic operations are supported. The following is a valid + * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is + * not a valid filter example: $filter=location eq 'westus'. + */ + filter?: string; + /** + * The number of results to return per page for the list operation. Valid range for top parameter + * is 1 to 100. If not specified, the default number of results to be returned is 20 items per + * page. + */ + top?: number; +} + /** * An interface representing EventGridManagementClientOptions. */ diff --git a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts index 468c72e67071..78ad47ba69bc 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts index 73a6f0e22003..5f9a81de2d49 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts b/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts index 377771904a1b..66e94ed0ae32 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts index 1cd7557c6ae2..9da66e5701d2 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts index 6924d859de8c..ff4a4549faff 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts index 521d7fbead01..bf094eca8485 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts index c8bc4d81a7cd..16352d6e7c77 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts index b1bcf79aca70..cf39abb48fd9 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -174,7 +173,7 @@ export class DomainTopics { * @param [options] The optional parameters * @returns Promise */ - listByDomainNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByDomainNext(nextPageLink: string, options?: Models.DomainTopicsListByDomainNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -185,8 +184,8 @@ export class DomainTopics { * @param options The optional parameters * @param callback The callback */ - listByDomainNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDomainNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDomainNext(nextPageLink: string, options: Models.DomainTopicsListByDomainNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDomainNext(nextPageLink: string, options?: Models.DomainTopicsListByDomainNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -310,6 +309,11 @@ const listByDomainNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts index 24c56da98dc3..643757adfeca 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -293,7 +292,7 @@ export class Domains { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.DomainsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -304,8 +303,8 @@ export class Domains { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.DomainsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.DomainsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -322,7 +321,7 @@ export class Domains { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.DomainsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -333,8 +332,8 @@ export class Domains { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.DomainsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.DomainsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -576,6 +575,11 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -597,6 +601,11 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/eventSubscriptions.ts b/sdk/eventgrid/arm-eventgrid/src/operations/eventSubscriptions.ts index 715e24921409..9a64f2eb3259 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/eventSubscriptions.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/eventSubscriptions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -624,7 +623,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listGlobalBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listGlobalBySubscriptionNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -635,8 +634,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listGlobalBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listGlobalBySubscriptionNext(nextPageLink: string, options: Models.EventSubscriptionsListGlobalBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listGlobalBySubscriptionNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -653,7 +652,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -664,8 +663,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams, callback: msRest.ServiceCallback): void; + listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -682,7 +681,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listGlobalByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listGlobalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -693,8 +692,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listGlobalByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listGlobalByResourceGroupNext(nextPageLink: string, options: Models.EventSubscriptionsListGlobalByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listGlobalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -711,7 +710,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -722,8 +721,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options: Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams, callback: msRest.ServiceCallback): void; + listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -740,7 +739,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listRegionalBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRegionalBySubscriptionNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -751,8 +750,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listRegionalBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRegionalBySubscriptionNext(nextPageLink: string, options: Models.EventSubscriptionsListRegionalBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listRegionalBySubscriptionNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -770,7 +769,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listRegionalByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRegionalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -781,8 +780,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listRegionalByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRegionalByResourceGroupNext(nextPageLink: string, options: Models.EventSubscriptionsListRegionalByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listRegionalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -800,7 +799,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -811,8 +810,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options: Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams, callback: msRest.ServiceCallback): void; + listRegionalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -831,7 +830,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -842,8 +841,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options: Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams, callback: msRest.ServiceCallback): void; + listRegionalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -860,7 +859,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceNext(nextPageLink: string, options?: Models.EventSubscriptionsListByResourceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -871,8 +870,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listByResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceNext(nextPageLink: string, options: Models.EventSubscriptionsListByResourceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceNext(nextPageLink: string, options?: Models.EventSubscriptionsListByResourceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -889,7 +888,7 @@ export class EventSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listByDomainTopicNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByDomainTopicNext(nextPageLink: string, options?: Models.EventSubscriptionsListByDomainTopicNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -900,8 +899,8 @@ export class EventSubscriptions { * @param options The optional parameters * @param callback The callback */ - listByDomainTopicNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDomainTopicNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDomainTopicNext(nextPageLink: string, options: Models.EventSubscriptionsListByDomainTopicNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDomainTopicNext(nextPageLink: string, options?: Models.EventSubscriptionsListByDomainTopicNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1324,6 +1323,11 @@ const listGlobalBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1345,6 +1349,11 @@ const listGlobalBySubscriptionForTopicTypeNextOperationSpec: msRest.OperationSpe urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1366,6 +1375,11 @@ const listGlobalByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1387,6 +1401,11 @@ const listGlobalByResourceGroupForTopicTypeNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1408,6 +1427,11 @@ const listRegionalBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1429,6 +1453,11 @@ const listRegionalByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1450,6 +1479,11 @@ const listRegionalBySubscriptionForTopicTypeNextOperationSpec: msRest.OperationS urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1471,6 +1505,11 @@ const listRegionalByResourceGroupForTopicTypeNextOperationSpec: msRest.Operation urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1492,6 +1531,11 @@ const listByResourceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1513,6 +1557,11 @@ const listByDomainTopicNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/index.ts b/sdk/eventgrid/arm-eventgrid/src/operations/index.ts index 45156665bc0a..7eaf8810056c 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/index.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/operations.ts b/sdk/eventgrid/arm-eventgrid/src/operations/operations.ts index d231b2693a30..6b51a6645dbb 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/operations.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts b/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts index a31f3267dc45..4a35ad9c8679 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -211,7 +210,7 @@ export class PrivateEndpointConnections { * @param [options] The optional parameters * @returns Promise */ - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceNext(nextPageLink: string, options?: Models.PrivateEndpointConnectionsListByResourceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -222,8 +221,8 @@ export class PrivateEndpointConnections { * @param options The optional parameters * @param callback The callback */ - listByResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceNext(nextPageLink: string, options: Models.PrivateEndpointConnectionsListByResourceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceNext(nextPageLink: string, options?: Models.PrivateEndpointConnectionsListByResourceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -361,6 +360,11 @@ const listByResourceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts b/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts index 136e50fee0be..eb9e8318d193 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -117,7 +116,7 @@ export class PrivateLinkResources { * @param [options] The optional parameters * @returns Promise */ - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceNext(nextPageLink: string, options?: Models.PrivateLinkResourcesListByResourceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -128,8 +127,8 @@ export class PrivateLinkResources { * @param options The optional parameters * @param callback The callback */ - listByResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceNext(nextPageLink: string, options: Models.PrivateLinkResourcesListByResourceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceNext(nextPageLink: string, options?: Models.PrivateLinkResourcesListByResourceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -204,6 +203,11 @@ const listByResourceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/topicTypes.ts b/sdk/eventgrid/arm-eventgrid/src/operations/topicTypes.ts index f39e25895e38..085dacf7666b 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/topicTypes.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/topicTypes.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/topics.ts b/sdk/eventgrid/arm-eventgrid/src/operations/topics.ts index 0035293116b9..74c04e6e48aa 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/topics.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/topics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -334,7 +333,7 @@ export class Topics { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.TopicsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -345,8 +344,8 @@ export class Topics { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.TopicsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.TopicsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -363,7 +362,7 @@ export class Topics { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.TopicsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -374,8 +373,8 @@ export class Topics { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.TopicsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.TopicsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -644,6 +643,11 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], @@ -665,6 +669,11 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ],