Skip to content

Commit 9e172f2

Browse files
author
SDK Automation
committed
Generated from 23bcbdbab81104a92f2f24b59e03438bee900144
1 parent dc39579 commit 9e172f2

14 files changed

+130
-53
lines changed

sdk/privatedns/arm-privatedns/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-privatedns
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and get privateZones as an example written in TypeScript.
18+
#### nodejs - client creation and get privateZones as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
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
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { PrivateDnsManagementClient, PrivateDnsManagementModels, PrivateDnsManagementMappers } from "@azure/arm-privatedns";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { PrivateDnsManagementClient } = require("@azure/arm-privatedns");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/privatedns/arm-privatedns/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/privatedns/arm-privatedns/src/models/index.ts

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -429,6 +429,26 @@ export interface PrivateZonesBeginDeleteMethodOptionalParams extends msRest.Requ
429429
ifMatch?: string;
430430
}
431431

432+
/**
433+
* Optional Parameters.
434+
*/
435+
export interface PrivateZonesListNextOptionalParams extends msRest.RequestOptionsBase {
436+
/**
437+
* The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones.
438+
*/
439+
top?: number;
440+
}
441+
442+
/**
443+
* Optional Parameters.
444+
*/
445+
export interface PrivateZonesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
446+
/**
447+
* The maximum number of record sets to return. If not specified, returns up to 100 record sets.
448+
*/
449+
top?: number;
450+
}
451+
432452
/**
433453
* Optional Parameters.
434454
*/
@@ -522,6 +542,17 @@ export interface VirtualNetworkLinksBeginDeleteMethodOptionalParams extends msRe
522542
ifMatch?: string;
523543
}
524544

545+
/**
546+
* Optional Parameters.
547+
*/
548+
export interface VirtualNetworkLinksListNextOptionalParams extends msRest.RequestOptionsBase {
549+
/**
550+
* The maximum number of virtual network links to return. If not specified, returns up to 100
551+
* virtual network links.
552+
*/
553+
top?: number;
554+
}
555+
525556
/**
526557
* Optional Parameters.
527558
*/
@@ -592,6 +623,38 @@ export interface RecordSetsListOptionalParams extends msRest.RequestOptionsBase
592623
recordsetnamesuffix?: string;
593624
}
594625

626+
/**
627+
* Optional Parameters.
628+
*/
629+
export interface RecordSetsListByTypeNextOptionalParams extends msRest.RequestOptionsBase {
630+
/**
631+
* The maximum number of record sets to return. If not specified, returns up to 100 record sets.
632+
*/
633+
top?: number;
634+
/**
635+
* The suffix label of the record set name to be used to filter the record set enumeration. If
636+
* this parameter is specified, the returned enumeration will only contain records that end with
637+
* ".<recordsetnamesuffix>".
638+
*/
639+
recordsetnamesuffix?: string;
640+
}
641+
642+
/**
643+
* Optional Parameters.
644+
*/
645+
export interface RecordSetsListNextOptionalParams extends msRest.RequestOptionsBase {
646+
/**
647+
* The maximum number of record sets to return. If not specified, returns up to 100 record sets.
648+
*/
649+
top?: number;
650+
/**
651+
* The suffix label of the record set name to be used to filter the record set enumeration. If
652+
* this parameter is specified, the returned enumeration will only contain records that end with
653+
* ".<recordsetnamesuffix>".
654+
*/
655+
recordsetnamesuffix?: string;
656+
}
657+
595658
/**
596659
* An interface representing PrivateDnsManagementClientOptions.
597660
*/

sdk/privatedns/arm-privatedns/src/models/mappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/privatedns/arm-privatedns/src/models/parameters.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/privatedns/arm-privatedns/src/models/privateZonesMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/privatedns/arm-privatedns/src/models/recordSetsMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/privatedns/arm-privatedns/src/models/virtualNetworkLinksMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/privatedns/arm-privatedns/src/operations/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/privatedns/arm-privatedns/src/operations/privateZones.ts

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is
@@ -222,7 +221,7 @@ export class PrivateZones {
222221
* @param [options] The optional parameters
223222
* @returns Promise<Models.PrivateZonesListNextResponse>
224223
*/
225-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateZonesListNextResponse>;
224+
listNext(nextPageLink: string, options?: Models.PrivateZonesListNextOptionalParams): Promise<Models.PrivateZonesListNextResponse>;
226225
/**
227226
* @param nextPageLink The NextLink from the previous successful call to List operation.
228227
* @param callback The callback
@@ -233,8 +232,8 @@ export class PrivateZones {
233232
* @param options The optional parameters
234233
* @param callback The callback
235234
*/
236-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateZoneListResult>): void;
237-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateZoneListResult>, callback?: msRest.ServiceCallback<Models.PrivateZoneListResult>): Promise<Models.PrivateZonesListNextResponse> {
235+
listNext(nextPageLink: string, options: Models.PrivateZonesListNextOptionalParams, callback: msRest.ServiceCallback<Models.PrivateZoneListResult>): void;
236+
listNext(nextPageLink: string, options?: Models.PrivateZonesListNextOptionalParams | msRest.ServiceCallback<Models.PrivateZoneListResult>, callback?: msRest.ServiceCallback<Models.PrivateZoneListResult>): Promise<Models.PrivateZonesListNextResponse> {
238237
return this.client.sendOperationRequest(
239238
{
240239
nextPageLink,
@@ -250,7 +249,7 @@ export class PrivateZones {
250249
* @param [options] The optional parameters
251250
* @returns Promise<Models.PrivateZonesListByResourceGroupNextResponse>
252251
*/
253-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateZonesListByResourceGroupNextResponse>;
252+
listByResourceGroupNext(nextPageLink: string, options?: Models.PrivateZonesListByResourceGroupNextOptionalParams): Promise<Models.PrivateZonesListByResourceGroupNextResponse>;
254253
/**
255254
* @param nextPageLink The NextLink from the previous successful call to List operation.
256255
* @param callback The callback
@@ -261,8 +260,8 @@ export class PrivateZones {
261260
* @param options The optional parameters
262261
* @param callback The callback
263262
*/
264-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateZoneListResult>): void;
265-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateZoneListResult>, callback?: msRest.ServiceCallback<Models.PrivateZoneListResult>): Promise<Models.PrivateZonesListByResourceGroupNextResponse> {
263+
listByResourceGroupNext(nextPageLink: string, options: Models.PrivateZonesListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback<Models.PrivateZoneListResult>): void;
264+
listByResourceGroupNext(nextPageLink: string, options?: Models.PrivateZonesListByResourceGroupNextOptionalParams | msRest.ServiceCallback<Models.PrivateZoneListResult>, callback?: msRest.ServiceCallback<Models.PrivateZoneListResult>): Promise<Models.PrivateZonesListByResourceGroupNextResponse> {
266265
return this.client.sendOperationRequest(
267266
{
268267
nextPageLink,
@@ -454,6 +453,10 @@ const listNextOperationSpec: msRest.OperationSpec = {
454453
urlParameters: [
455454
Parameters.nextPageLink
456455
],
456+
queryParameters: [
457+
Parameters.top,
458+
Parameters.apiVersion
459+
],
457460
headerParameters: [
458461
Parameters.acceptLanguage
459462
],
@@ -475,6 +478,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
475478
urlParameters: [
476479
Parameters.nextPageLink
477480
],
481+
queryParameters: [
482+
Parameters.top,
483+
Parameters.apiVersion
484+
],
478485
headerParameters: [
479486
Parameters.acceptLanguage
480487
],

0 commit comments

Comments
 (0)