@azure/arm-dns 4.1.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -87
- package/dist/index.js +2060 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/dnsManagementClient.d.ts +21 -0
- package/dist-esm/src/dnsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dnsManagementClient.js +54 -0
- package/dist-esm/src/dnsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +415 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +353 -334
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +21 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +92 -68
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts +19 -0
- package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dnsResourceReferenceOperations.js +49 -0
- package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/recordSets.d.ts +129 -0
- package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
- package/dist-esm/src/operations/recordSets.js +571 -0
- package/dist-esm/src/operations/recordSets.js.map +1 -0
- package/dist-esm/src/operations/zones.d.ts +93 -0
- package/dist-esm/src/operations/zones.d.ts.map +1 -0
- package/dist-esm/src/operations/zones.js +414 -0
- package/dist-esm/src/operations/zones.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recordSets.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/zones.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/zones.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/zones.js +9 -0
- package/dist-esm/src/operationsInterfaces/zones.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-dns.api.md +393 -0
- package/rollup.config.js +181 -30
- package/src/dnsManagementClient.ts +78 -41
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +344 -774
- package/src/models/mappers.ts +360 -338
- package/src/models/parameters.ts +120 -69
- package/src/operations/dnsResourceReferenceOperations.ts +37 -56
- package/src/operations/index.ts +3 -5
- package/src/operations/recordSets.ts +508 -411
- package/src/operations/zones.ts +348 -317
- package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +26 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/recordSets.ts +129 -0
- package/src/operationsInterfaces/zones.ts +103 -0
- package/tsconfig.json +3 -3
- package/types/arm-dns.d.ts +629 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-dns.js +0 -1857
- package/dist/arm-dns.js.map +0 -1
- package/dist/arm-dns.min.js +0 -1
- package/dist/arm-dns.min.js.map +0 -1
- package/esm/dnsManagementClient.d.ts +0 -27
- package/esm/dnsManagementClient.d.ts.map +0 -1
- package/esm/dnsManagementClient.js +0 -41
- package/esm/dnsManagementClient.js.map +0 -1
- package/esm/dnsManagementClientContext.d.ts +0 -23
- package/esm/dnsManagementClientContext.d.ts.map +0 -1
- package/esm/dnsManagementClientContext.js +0 -62
- package/esm/dnsManagementClientContext.js.map +0 -1
- package/esm/models/dnsResourceReferenceOperationsMappers.d.ts +0 -2
- package/esm/models/dnsResourceReferenceOperationsMappers.d.ts.map +0 -1
- package/esm/models/dnsResourceReferenceOperationsMappers.js +0 -9
- package/esm/models/dnsResourceReferenceOperationsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -857
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -25
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/recordSetsMappers.d.ts +0 -2
- package/esm/models/recordSetsMappers.d.ts.map +0 -1
- package/esm/models/recordSetsMappers.js +0 -9
- package/esm/models/recordSetsMappers.js.map +0 -1
- package/esm/models/zonesMappers.d.ts +0 -2
- package/esm/models/zonesMappers.d.ts.map +0 -1
- package/esm/models/zonesMappers.js +0 -9
- package/esm/models/zonesMappers.js.map +0 -1
- package/esm/operations/dnsResourceReferenceOperations.d.ts +0 -31
- package/esm/operations/dnsResourceReferenceOperations.d.ts.map +0 -1
- package/esm/operations/dnsResourceReferenceOperations.js +0 -60
- package/esm/operations/dnsResourceReferenceOperations.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/recordSets.d.ts +0 -268
- package/esm/operations/recordSets.d.ts.map +0 -1
- package/esm/operations/recordSets.js +0 -363
- package/esm/operations/recordSets.js.map +0 -1
- package/esm/operations/zones.d.ts +0 -170
- package/esm/operations/zones.d.ts.map +0 -1
- package/esm/operations/zones.js +0 -299
- package/esm/operations/zones.js.map +0 -1
- package/src/dnsManagementClientContext.ts +0 -69
- package/src/models/dnsResourceReferenceOperationsMappers.ts +0 -15
- package/src/models/recordSetsMappers.ts +0 -27
- package/src/models/zonesMappers.ts +0 -28
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing RecordSets operations. */
|
|
14
|
+
export class RecordSetsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class RecordSets class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists the record sets of a specified type in a DNS zone.
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
26
|
+
* @param recordType The type of record sets to enumerate.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByType(resourceGroupName, zoneName, recordType, options) {
|
|
30
|
+
const iter = this.listByTypePagingAll(resourceGroupName, zoneName, recordType, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listByTypePagingPage(resourceGroupName, zoneName, recordType, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listByTypePagingPage_1() {
|
|
45
|
+
let result = yield __await(this._listByType(resourceGroupName, zoneName, recordType, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listByTypeNext(resourceGroupName, zoneName, recordType, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listByTypePagingAll(resourceGroupName, zoneName, recordType, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listByTypePagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Lists all record sets in a DNS zone.
|
|
75
|
+
* @param resourceGroupName The name of the resource group.
|
|
76
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
listByDnsZone(resourceGroupName, zoneName, options) {
|
|
80
|
+
const iter = this.listByDnsZonePagingAll(resourceGroupName, zoneName, options);
|
|
81
|
+
return {
|
|
82
|
+
next() {
|
|
83
|
+
return iter.next();
|
|
84
|
+
},
|
|
85
|
+
[Symbol.asyncIterator]() {
|
|
86
|
+
return this;
|
|
87
|
+
},
|
|
88
|
+
byPage: () => {
|
|
89
|
+
return this.listByDnsZonePagingPage(resourceGroupName, zoneName, options);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
listByDnsZonePagingPage(resourceGroupName, zoneName, options) {
|
|
94
|
+
return __asyncGenerator(this, arguments, function* listByDnsZonePagingPage_1() {
|
|
95
|
+
let result = yield __await(this._listByDnsZone(resourceGroupName, zoneName, options));
|
|
96
|
+
yield yield __await(result.value || []);
|
|
97
|
+
let continuationToken = result.nextLink;
|
|
98
|
+
while (continuationToken) {
|
|
99
|
+
result = yield __await(this._listByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options));
|
|
100
|
+
continuationToken = result.nextLink;
|
|
101
|
+
yield yield __await(result.value || []);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
106
|
+
return __asyncGenerator(this, arguments, function* listByDnsZonePagingAll_1() {
|
|
107
|
+
var e_2, _a;
|
|
108
|
+
try {
|
|
109
|
+
for (var _b = __asyncValues(this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
110
|
+
const page = _c.value;
|
|
111
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
115
|
+
finally {
|
|
116
|
+
try {
|
|
117
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
118
|
+
}
|
|
119
|
+
finally { if (e_2) throw e_2.error; }
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Lists all record sets in a DNS zone.
|
|
125
|
+
* @param resourceGroupName The name of the resource group.
|
|
126
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
listAllByDnsZone(resourceGroupName, zoneName, options) {
|
|
130
|
+
const iter = this.listAllByDnsZonePagingAll(resourceGroupName, zoneName, options);
|
|
131
|
+
return {
|
|
132
|
+
next() {
|
|
133
|
+
return iter.next();
|
|
134
|
+
},
|
|
135
|
+
[Symbol.asyncIterator]() {
|
|
136
|
+
return this;
|
|
137
|
+
},
|
|
138
|
+
byPage: () => {
|
|
139
|
+
return this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options);
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
listAllByDnsZonePagingPage(resourceGroupName, zoneName, options) {
|
|
144
|
+
return __asyncGenerator(this, arguments, function* listAllByDnsZonePagingPage_1() {
|
|
145
|
+
let result = yield __await(this._listAllByDnsZone(resourceGroupName, zoneName, options));
|
|
146
|
+
yield yield __await(result.value || []);
|
|
147
|
+
let continuationToken = result.nextLink;
|
|
148
|
+
while (continuationToken) {
|
|
149
|
+
result = yield __await(this._listAllByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options));
|
|
150
|
+
continuationToken = result.nextLink;
|
|
151
|
+
yield yield __await(result.value || []);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
listAllByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
156
|
+
return __asyncGenerator(this, arguments, function* listAllByDnsZonePagingAll_1() {
|
|
157
|
+
var e_3, _a;
|
|
158
|
+
try {
|
|
159
|
+
for (var _b = __asyncValues(this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
160
|
+
const page = _c.value;
|
|
161
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
165
|
+
finally {
|
|
166
|
+
try {
|
|
167
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
168
|
+
}
|
|
169
|
+
finally { if (e_3) throw e_3.error; }
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Updates a record set within a DNS zone.
|
|
175
|
+
* @param resourceGroupName The name of the resource group.
|
|
176
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
177
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
178
|
+
* @param recordType The type of DNS record in this record set.
|
|
179
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
180
|
+
* @param options The options parameters.
|
|
181
|
+
*/
|
|
182
|
+
update(resourceGroupName, zoneName, relativeRecordSetName, recordType, parameters, options) {
|
|
183
|
+
return this.client.sendOperationRequest({
|
|
184
|
+
resourceGroupName,
|
|
185
|
+
zoneName,
|
|
186
|
+
relativeRecordSetName,
|
|
187
|
+
recordType,
|
|
188
|
+
parameters,
|
|
189
|
+
options
|
|
190
|
+
}, updateOperationSpec);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Creates or updates a record set within a DNS zone.
|
|
194
|
+
* @param resourceGroupName The name of the resource group.
|
|
195
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
196
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
197
|
+
* @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated
|
|
198
|
+
* but not created (they are created when the DNS zone is created).
|
|
199
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
createOrUpdate(resourceGroupName, zoneName, relativeRecordSetName, recordType, parameters, options) {
|
|
203
|
+
return this.client.sendOperationRequest({
|
|
204
|
+
resourceGroupName,
|
|
205
|
+
zoneName,
|
|
206
|
+
relativeRecordSetName,
|
|
207
|
+
recordType,
|
|
208
|
+
parameters,
|
|
209
|
+
options
|
|
210
|
+
}, createOrUpdateOperationSpec);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Deletes a record set from a DNS zone. This operation cannot be undone.
|
|
214
|
+
* @param resourceGroupName The name of the resource group.
|
|
215
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
216
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
217
|
+
* @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
|
|
218
|
+
* deleted (they are deleted when the DNS zone is deleted).
|
|
219
|
+
* @param options The options parameters.
|
|
220
|
+
*/
|
|
221
|
+
delete(resourceGroupName, zoneName, relativeRecordSetName, recordType, options) {
|
|
222
|
+
return this.client.sendOperationRequest({
|
|
223
|
+
resourceGroupName,
|
|
224
|
+
zoneName,
|
|
225
|
+
relativeRecordSetName,
|
|
226
|
+
recordType,
|
|
227
|
+
options
|
|
228
|
+
}, deleteOperationSpec);
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Gets a record set.
|
|
232
|
+
* @param resourceGroupName The name of the resource group.
|
|
233
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
234
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
235
|
+
* @param recordType The type of DNS record in this record set.
|
|
236
|
+
* @param options The options parameters.
|
|
237
|
+
*/
|
|
238
|
+
get(resourceGroupName, zoneName, relativeRecordSetName, recordType, options) {
|
|
239
|
+
return this.client.sendOperationRequest({
|
|
240
|
+
resourceGroupName,
|
|
241
|
+
zoneName,
|
|
242
|
+
relativeRecordSetName,
|
|
243
|
+
recordType,
|
|
244
|
+
options
|
|
245
|
+
}, getOperationSpec);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Lists the record sets of a specified type in a DNS zone.
|
|
249
|
+
* @param resourceGroupName The name of the resource group.
|
|
250
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
251
|
+
* @param recordType The type of record sets to enumerate.
|
|
252
|
+
* @param options The options parameters.
|
|
253
|
+
*/
|
|
254
|
+
_listByType(resourceGroupName, zoneName, recordType, options) {
|
|
255
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, recordType, options }, listByTypeOperationSpec);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Lists all record sets in a DNS zone.
|
|
259
|
+
* @param resourceGroupName The name of the resource group.
|
|
260
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
261
|
+
* @param options The options parameters.
|
|
262
|
+
*/
|
|
263
|
+
_listByDnsZone(resourceGroupName, zoneName, options) {
|
|
264
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, listByDnsZoneOperationSpec);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Lists all record sets in a DNS zone.
|
|
268
|
+
* @param resourceGroupName The name of the resource group.
|
|
269
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
270
|
+
* @param options The options parameters.
|
|
271
|
+
*/
|
|
272
|
+
_listAllByDnsZone(resourceGroupName, zoneName, options) {
|
|
273
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, listAllByDnsZoneOperationSpec);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* ListByTypeNext
|
|
277
|
+
* @param resourceGroupName The name of the resource group.
|
|
278
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
279
|
+
* @param recordType The type of record sets to enumerate.
|
|
280
|
+
* @param nextLink The nextLink from the previous successful call to the ListByType method.
|
|
281
|
+
* @param options The options parameters.
|
|
282
|
+
*/
|
|
283
|
+
_listByTypeNext(resourceGroupName, zoneName, recordType, nextLink, options) {
|
|
284
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, recordType, nextLink, options }, listByTypeNextOperationSpec);
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* ListByDnsZoneNext
|
|
288
|
+
* @param resourceGroupName The name of the resource group.
|
|
289
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
290
|
+
* @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.
|
|
291
|
+
* @param options The options parameters.
|
|
292
|
+
*/
|
|
293
|
+
_listByDnsZoneNext(resourceGroupName, zoneName, nextLink, options) {
|
|
294
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, nextLink, options }, listByDnsZoneNextOperationSpec);
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* ListAllByDnsZoneNext
|
|
298
|
+
* @param resourceGroupName The name of the resource group.
|
|
299
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
300
|
+
* @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method.
|
|
301
|
+
* @param options The options parameters.
|
|
302
|
+
*/
|
|
303
|
+
_listAllByDnsZoneNext(resourceGroupName, zoneName, nextLink, options) {
|
|
304
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, nextLink, options }, listAllByDnsZoneNextOperationSpec);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
// Operation Specifications
|
|
308
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
309
|
+
const updateOperationSpec = {
|
|
310
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
311
|
+
httpMethod: "PATCH",
|
|
312
|
+
responses: {
|
|
313
|
+
200: {
|
|
314
|
+
bodyMapper: Mappers.RecordSet
|
|
315
|
+
},
|
|
316
|
+
default: {
|
|
317
|
+
bodyMapper: Mappers.CloudError
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
requestBody: Parameters.parameters,
|
|
321
|
+
queryParameters: [Parameters.apiVersion],
|
|
322
|
+
urlParameters: [
|
|
323
|
+
Parameters.$host,
|
|
324
|
+
Parameters.resourceGroupName,
|
|
325
|
+
Parameters.zoneName,
|
|
326
|
+
Parameters.relativeRecordSetName,
|
|
327
|
+
Parameters.recordType,
|
|
328
|
+
Parameters.subscriptionId
|
|
329
|
+
],
|
|
330
|
+
headerParameters: [
|
|
331
|
+
Parameters.contentType,
|
|
332
|
+
Parameters.accept,
|
|
333
|
+
Parameters.ifMatch
|
|
334
|
+
],
|
|
335
|
+
mediaType: "json",
|
|
336
|
+
serializer
|
|
337
|
+
};
|
|
338
|
+
const createOrUpdateOperationSpec = {
|
|
339
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
340
|
+
httpMethod: "PUT",
|
|
341
|
+
responses: {
|
|
342
|
+
200: {
|
|
343
|
+
bodyMapper: Mappers.RecordSet
|
|
344
|
+
},
|
|
345
|
+
201: {
|
|
346
|
+
bodyMapper: Mappers.RecordSet
|
|
347
|
+
},
|
|
348
|
+
default: {
|
|
349
|
+
bodyMapper: Mappers.CloudError
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
requestBody: Parameters.parameters,
|
|
353
|
+
queryParameters: [Parameters.apiVersion],
|
|
354
|
+
urlParameters: [
|
|
355
|
+
Parameters.$host,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.zoneName,
|
|
358
|
+
Parameters.relativeRecordSetName,
|
|
359
|
+
Parameters.recordType,
|
|
360
|
+
Parameters.subscriptionId
|
|
361
|
+
],
|
|
362
|
+
headerParameters: [
|
|
363
|
+
Parameters.contentType,
|
|
364
|
+
Parameters.accept,
|
|
365
|
+
Parameters.ifMatch,
|
|
366
|
+
Parameters.ifNoneMatch
|
|
367
|
+
],
|
|
368
|
+
mediaType: "json",
|
|
369
|
+
serializer
|
|
370
|
+
};
|
|
371
|
+
const deleteOperationSpec = {
|
|
372
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
373
|
+
httpMethod: "DELETE",
|
|
374
|
+
responses: {
|
|
375
|
+
200: {},
|
|
376
|
+
204: {},
|
|
377
|
+
default: {
|
|
378
|
+
bodyMapper: Mappers.CloudError
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
queryParameters: [Parameters.apiVersion],
|
|
382
|
+
urlParameters: [
|
|
383
|
+
Parameters.$host,
|
|
384
|
+
Parameters.resourceGroupName,
|
|
385
|
+
Parameters.zoneName,
|
|
386
|
+
Parameters.relativeRecordSetName,
|
|
387
|
+
Parameters.recordType,
|
|
388
|
+
Parameters.subscriptionId
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
391
|
+
serializer
|
|
392
|
+
};
|
|
393
|
+
const getOperationSpec = {
|
|
394
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
395
|
+
httpMethod: "GET",
|
|
396
|
+
responses: {
|
|
397
|
+
200: {
|
|
398
|
+
bodyMapper: Mappers.RecordSet
|
|
399
|
+
},
|
|
400
|
+
default: {
|
|
401
|
+
bodyMapper: Mappers.CloudError
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
queryParameters: [Parameters.apiVersion],
|
|
405
|
+
urlParameters: [
|
|
406
|
+
Parameters.$host,
|
|
407
|
+
Parameters.resourceGroupName,
|
|
408
|
+
Parameters.zoneName,
|
|
409
|
+
Parameters.relativeRecordSetName,
|
|
410
|
+
Parameters.recordType,
|
|
411
|
+
Parameters.subscriptionId
|
|
412
|
+
],
|
|
413
|
+
headerParameters: [Parameters.accept],
|
|
414
|
+
serializer
|
|
415
|
+
};
|
|
416
|
+
const listByTypeOperationSpec = {
|
|
417
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}",
|
|
418
|
+
httpMethod: "GET",
|
|
419
|
+
responses: {
|
|
420
|
+
200: {
|
|
421
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
422
|
+
},
|
|
423
|
+
default: {
|
|
424
|
+
bodyMapper: Mappers.CloudError
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
queryParameters: [
|
|
428
|
+
Parameters.apiVersion,
|
|
429
|
+
Parameters.top,
|
|
430
|
+
Parameters.recordsetnamesuffix
|
|
431
|
+
],
|
|
432
|
+
urlParameters: [
|
|
433
|
+
Parameters.$host,
|
|
434
|
+
Parameters.resourceGroupName,
|
|
435
|
+
Parameters.zoneName,
|
|
436
|
+
Parameters.recordType,
|
|
437
|
+
Parameters.subscriptionId
|
|
438
|
+
],
|
|
439
|
+
headerParameters: [Parameters.accept],
|
|
440
|
+
serializer
|
|
441
|
+
};
|
|
442
|
+
const listByDnsZoneOperationSpec = {
|
|
443
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets",
|
|
444
|
+
httpMethod: "GET",
|
|
445
|
+
responses: {
|
|
446
|
+
200: {
|
|
447
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
448
|
+
},
|
|
449
|
+
default: {
|
|
450
|
+
bodyMapper: Mappers.CloudError
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
queryParameters: [
|
|
454
|
+
Parameters.apiVersion,
|
|
455
|
+
Parameters.top,
|
|
456
|
+
Parameters.recordsetnamesuffix
|
|
457
|
+
],
|
|
458
|
+
urlParameters: [
|
|
459
|
+
Parameters.$host,
|
|
460
|
+
Parameters.resourceGroupName,
|
|
461
|
+
Parameters.zoneName,
|
|
462
|
+
Parameters.subscriptionId
|
|
463
|
+
],
|
|
464
|
+
headerParameters: [Parameters.accept],
|
|
465
|
+
serializer
|
|
466
|
+
};
|
|
467
|
+
const listAllByDnsZoneOperationSpec = {
|
|
468
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all",
|
|
469
|
+
httpMethod: "GET",
|
|
470
|
+
responses: {
|
|
471
|
+
200: {
|
|
472
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
473
|
+
},
|
|
474
|
+
default: {
|
|
475
|
+
bodyMapper: Mappers.CloudError
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
queryParameters: [
|
|
479
|
+
Parameters.apiVersion,
|
|
480
|
+
Parameters.top,
|
|
481
|
+
Parameters.recordSetNameSuffix
|
|
482
|
+
],
|
|
483
|
+
urlParameters: [
|
|
484
|
+
Parameters.$host,
|
|
485
|
+
Parameters.resourceGroupName,
|
|
486
|
+
Parameters.zoneName,
|
|
487
|
+
Parameters.subscriptionId
|
|
488
|
+
],
|
|
489
|
+
headerParameters: [Parameters.accept],
|
|
490
|
+
serializer
|
|
491
|
+
};
|
|
492
|
+
const listByTypeNextOperationSpec = {
|
|
493
|
+
path: "{nextLink}",
|
|
494
|
+
httpMethod: "GET",
|
|
495
|
+
responses: {
|
|
496
|
+
200: {
|
|
497
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
498
|
+
},
|
|
499
|
+
default: {
|
|
500
|
+
bodyMapper: Mappers.CloudError
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
queryParameters: [
|
|
504
|
+
Parameters.apiVersion,
|
|
505
|
+
Parameters.top,
|
|
506
|
+
Parameters.recordsetnamesuffix
|
|
507
|
+
],
|
|
508
|
+
urlParameters: [
|
|
509
|
+
Parameters.$host,
|
|
510
|
+
Parameters.resourceGroupName,
|
|
511
|
+
Parameters.zoneName,
|
|
512
|
+
Parameters.recordType,
|
|
513
|
+
Parameters.subscriptionId,
|
|
514
|
+
Parameters.nextLink
|
|
515
|
+
],
|
|
516
|
+
headerParameters: [Parameters.accept],
|
|
517
|
+
serializer
|
|
518
|
+
};
|
|
519
|
+
const listByDnsZoneNextOperationSpec = {
|
|
520
|
+
path: "{nextLink}",
|
|
521
|
+
httpMethod: "GET",
|
|
522
|
+
responses: {
|
|
523
|
+
200: {
|
|
524
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
525
|
+
},
|
|
526
|
+
default: {
|
|
527
|
+
bodyMapper: Mappers.CloudError
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
queryParameters: [
|
|
531
|
+
Parameters.apiVersion,
|
|
532
|
+
Parameters.top,
|
|
533
|
+
Parameters.recordsetnamesuffix
|
|
534
|
+
],
|
|
535
|
+
urlParameters: [
|
|
536
|
+
Parameters.$host,
|
|
537
|
+
Parameters.resourceGroupName,
|
|
538
|
+
Parameters.zoneName,
|
|
539
|
+
Parameters.subscriptionId,
|
|
540
|
+
Parameters.nextLink
|
|
541
|
+
],
|
|
542
|
+
headerParameters: [Parameters.accept],
|
|
543
|
+
serializer
|
|
544
|
+
};
|
|
545
|
+
const listAllByDnsZoneNextOperationSpec = {
|
|
546
|
+
path: "{nextLink}",
|
|
547
|
+
httpMethod: "GET",
|
|
548
|
+
responses: {
|
|
549
|
+
200: {
|
|
550
|
+
bodyMapper: Mappers.RecordSetListResult
|
|
551
|
+
},
|
|
552
|
+
default: {
|
|
553
|
+
bodyMapper: Mappers.CloudError
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
queryParameters: [
|
|
557
|
+
Parameters.apiVersion,
|
|
558
|
+
Parameters.top,
|
|
559
|
+
Parameters.recordSetNameSuffix
|
|
560
|
+
],
|
|
561
|
+
urlParameters: [
|
|
562
|
+
Parameters.$host,
|
|
563
|
+
Parameters.resourceGroupName,
|
|
564
|
+
Parameters.zoneName,
|
|
565
|
+
Parameters.subscriptionId,
|
|
566
|
+
Parameters.nextLink
|
|
567
|
+
],
|
|
568
|
+
headerParameters: [Parameters.accept],
|
|
569
|
+
serializer
|
|
570
|
+
};
|
|
571
|
+
//# sourceMappingURL=recordSets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA0BnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,UAAU,CACf,iBAAyB,EACzB,QAAgB,EAChB,UAAsB,EACtB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CAC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AC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,mBAAmB;KAC/B;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,mBAAmB;KAC/B;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Zones } from "../operationsInterfaces";
|
|
3
|
+
import { DnsManagementClient } from "../dnsManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models";
|
|
6
|
+
/** Class containing Zones operations. */
|
|
7
|
+
export declare class ZonesImpl implements Zones {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Zones class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: DnsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists the DNS zones within a resource group.
|
|
16
|
+
* @param resourceGroupName The name of the resource group.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: ZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Zone>;
|
|
20
|
+
private listByResourceGroupPagingPage;
|
|
21
|
+
private listByResourceGroupPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options?: ZonesListOptionalParams): PagedAsyncIterableIterator<Zone>;
|
|
27
|
+
private listPagingPage;
|
|
28
|
+
private listPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
|
31
|
+
* @param resourceGroupName The name of the resource group.
|
|
32
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
33
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: ZonesCreateOrUpdateOptionalParams): Promise<ZonesCreateOrUpdateResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
39
|
+
* be undone.
|
|
40
|
+
* @param resourceGroupName The name of the resource group.
|
|
41
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
47
|
+
* be undone.
|
|
48
|
+
* @param resourceGroupName The name of the resource group.
|
|
49
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
|
|
55
|
+
* @param resourceGroupName The name of the resource group.
|
|
56
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
get(resourceGroupName: string, zoneName: string, options?: ZonesGetOptionalParams): Promise<ZonesGetResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Updates a DNS zone. Does not modify DNS records within the zone.
|
|
62
|
+
* @param resourceGroupName The name of the resource group.
|
|
63
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
64
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
update(resourceGroupName: string, zoneName: string, parameters: ZoneUpdate, options?: ZonesUpdateOptionalParams): Promise<ZonesUpdateResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Lists the DNS zones within a resource group.
|
|
70
|
+
* @param resourceGroupName The name of the resource group.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
private _listByResourceGroup;
|
|
74
|
+
/**
|
|
75
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
private _list;
|
|
79
|
+
/**
|
|
80
|
+
* ListByResourceGroupNext
|
|
81
|
+
* @param resourceGroupName The name of the resource group.
|
|
82
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
private _listByResourceGroupNext;
|
|
86
|
+
/**
|
|
87
|
+
* ListNext
|
|
88
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
private _listNext;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=zones.d.ts.map
|