@azure/arm-privatedns 2.1.1 → 3.0.0-alpha.20220124.1

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.
Files changed (139) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2295 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +470 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +24 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +22 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +234 -205
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +20 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +91 -77
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/operations/index.js +3 -5
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/privateZones.d.ts +114 -0
  33. package/dist-esm/src/operations/privateZones.d.ts.map +1 -0
  34. package/dist-esm/src/operations/privateZones.js +516 -0
  35. package/dist-esm/src/operations/privateZones.js.map +1 -0
  36. package/dist-esm/src/operations/recordSets.d.ts +105 -0
  37. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  38. package/dist-esm/src/operations/recordSets.js +451 -0
  39. package/dist-esm/src/operations/recordSets.js.map +1 -0
  40. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +103 -0
  41. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  42. package/dist-esm/src/operations/virtualNetworkLinks.js +442 -0
  43. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  47. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/privateZones.d.ts +78 -0
  49. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/privateZones.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/privateZones.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +61 -0
  53. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  57. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  60. package/dist-esm/src/privateDnsManagementClient.d.ts +21 -0
  61. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -0
  62. package/dist-esm/src/privateDnsManagementClient.js +54 -0
  63. package/dist-esm/src/privateDnsManagementClient.js.map +1 -0
  64. package/dist-esm/test/sampleTest.d.ts +2 -0
  65. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  66. package/dist-esm/test/sampleTest.js +40 -0
  67. package/dist-esm/test/sampleTest.js.map +1 -0
  68. package/package.json +82 -23
  69. package/review/arm-privatedns.api.md +435 -0
  70. package/rollup.config.js +181 -30
  71. package/src/index.ts +12 -0
  72. package/src/lroImpl.ts +34 -0
  73. package/src/models/index.ts +400 -956
  74. package/src/models/mappers.ts +248 -214
  75. package/src/models/parameters.ts +117 -78
  76. package/src/operations/index.ts +3 -5
  77. package/src/operations/privateZones.ts +521 -325
  78. package/src/operations/recordSets.ts +382 -348
  79. package/src/operations/virtualNetworkLinks.ts +475 -261
  80. package/src/operationsInterfaces/index.ts +11 -0
  81. package/src/operationsInterfaces/privateZones.ts +145 -0
  82. package/src/operationsInterfaces/recordSets.ts +117 -0
  83. package/src/operationsInterfaces/virtualNetworkLinks.ts +150 -0
  84. package/src/privateDnsManagementClient.ts +75 -40
  85. package/tsconfig.json +20 -7
  86. package/types/arm-privatedns.d.ts +768 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-privatedns.js +0 -1948
  89. package/dist/arm-privatedns.js.map +0 -1
  90. package/dist/arm-privatedns.min.js +0 -1
  91. package/dist/arm-privatedns.min.js.map +0 -1
  92. package/esm/models/index.d.ts +0 -1031
  93. package/esm/models/index.d.ts.map +0 -1
  94. package/esm/models/index.js +0 -8
  95. package/esm/models/index.js.map +0 -1
  96. package/esm/models/mappers.d.ts +0 -22
  97. package/esm/models/mappers.d.ts.map +0 -1
  98. package/esm/models/mappers.js.map +0 -1
  99. package/esm/models/parameters.d.ts +0 -15
  100. package/esm/models/parameters.d.ts.map +0 -1
  101. package/esm/models/parameters.js.map +0 -1
  102. package/esm/models/privateZonesMappers.d.ts +0 -2
  103. package/esm/models/privateZonesMappers.d.ts.map +0 -1
  104. package/esm/models/privateZonesMappers.js +0 -9
  105. package/esm/models/privateZonesMappers.js.map +0 -1
  106. package/esm/models/recordSetsMappers.d.ts +0 -2
  107. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  108. package/esm/models/recordSetsMappers.js +0 -9
  109. package/esm/models/recordSetsMappers.js.map +0 -1
  110. package/esm/models/virtualNetworkLinksMappers.d.ts +0 -2
  111. package/esm/models/virtualNetworkLinksMappers.d.ts.map +0 -1
  112. package/esm/models/virtualNetworkLinksMappers.js +0 -9
  113. package/esm/models/virtualNetworkLinksMappers.js.map +0 -1
  114. package/esm/operations/index.d.ts.map +0 -1
  115. package/esm/operations/index.js.map +0 -1
  116. package/esm/operations/privateZones.d.ts +0 -165
  117. package/esm/operations/privateZones.d.ts.map +0 -1
  118. package/esm/operations/privateZones.js +0 -347
  119. package/esm/operations/privateZones.js.map +0 -1
  120. package/esm/operations/recordSets.d.ts +0 -229
  121. package/esm/operations/recordSets.d.ts.map +0 -1
  122. package/esm/operations/recordSets.js +0 -304
  123. package/esm/operations/recordSets.js.map +0 -1
  124. package/esm/operations/virtualNetworkLinks.d.ts +0 -139
  125. package/esm/operations/virtualNetworkLinks.d.ts.map +0 -1
  126. package/esm/operations/virtualNetworkLinks.js +0 -305
  127. package/esm/operations/virtualNetworkLinks.js.map +0 -1
  128. package/esm/privateDnsManagementClient.d.ts +0 -27
  129. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  130. package/esm/privateDnsManagementClient.js +0 -41
  131. package/esm/privateDnsManagementClient.js.map +0 -1
  132. package/esm/privateDnsManagementClientContext.d.ts +0 -23
  133. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  134. package/esm/privateDnsManagementClientContext.js +0 -62
  135. package/esm/privateDnsManagementClientContext.js.map +0 -1
  136. package/src/models/privateZonesMappers.ts +0 -28
  137. package/src/models/recordSetsMappers.ts +0 -28
  138. package/src/models/virtualNetworkLinksMappers.ts +0 -28
  139. package/src/privateDnsManagementClientContext.ts +0 -69
@@ -0,0 +1,451 @@
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 Private DNS zone.
24
+ * @param resourceGroupName The name of the resource group.
25
+ * @param privateZoneName The name of the Private 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, privateZoneName, recordType, options) {
30
+ const iter = this.listByTypePagingAll(resourceGroupName, privateZoneName, 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, privateZoneName, recordType, options);
40
+ }
41
+ };
42
+ }
43
+ listByTypePagingPage(resourceGroupName, privateZoneName, recordType, options) {
44
+ return __asyncGenerator(this, arguments, function* listByTypePagingPage_1() {
45
+ let result = yield __await(this._listByType(resourceGroupName, privateZoneName, recordType, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listByTypeNext(resourceGroupName, privateZoneName, recordType, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listByTypePagingAll(resourceGroupName, privateZoneName, 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, privateZoneName, 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 Private DNS zone.
75
+ * @param resourceGroupName The name of the resource group.
76
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
77
+ * @param options The options parameters.
78
+ */
79
+ list(resourceGroupName, privateZoneName, options) {
80
+ const iter = this.listPagingAll(resourceGroupName, privateZoneName, options);
81
+ return {
82
+ next() {
83
+ return iter.next();
84
+ },
85
+ [Symbol.asyncIterator]() {
86
+ return this;
87
+ },
88
+ byPage: () => {
89
+ return this.listPagingPage(resourceGroupName, privateZoneName, options);
90
+ }
91
+ };
92
+ }
93
+ listPagingPage(resourceGroupName, privateZoneName, options) {
94
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
95
+ let result = yield __await(this._list(resourceGroupName, privateZoneName, options));
96
+ yield yield __await(result.value || []);
97
+ let continuationToken = result.nextLink;
98
+ while (continuationToken) {
99
+ result = yield __await(this._listNext(resourceGroupName, privateZoneName, continuationToken, options));
100
+ continuationToken = result.nextLink;
101
+ yield yield __await(result.value || []);
102
+ }
103
+ });
104
+ }
105
+ listPagingAll(resourceGroupName, privateZoneName, options) {
106
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
107
+ var e_2, _a;
108
+ try {
109
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, privateZoneName, 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
+ * Creates or updates a record set within a Private DNS zone.
125
+ * @param resourceGroupName The name of the resource group.
126
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
127
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated
128
+ * but not created (they are created when the Private DNS zone is created).
129
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
130
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
131
+ * @param options The options parameters.
132
+ */
133
+ createOrUpdate(resourceGroupName, privateZoneName, recordType, relativeRecordSetName, parameters, options) {
134
+ return this.client.sendOperationRequest({
135
+ resourceGroupName,
136
+ privateZoneName,
137
+ recordType,
138
+ relativeRecordSetName,
139
+ parameters,
140
+ options
141
+ }, createOrUpdateOperationSpec);
142
+ }
143
+ /**
144
+ * Updates a record set within a Private DNS zone.
145
+ * @param resourceGroupName The name of the resource group.
146
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
147
+ * @param recordType The type of DNS record in this record set.
148
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
149
+ * @param parameters Parameters supplied to the Update operation.
150
+ * @param options The options parameters.
151
+ */
152
+ update(resourceGroupName, privateZoneName, recordType, relativeRecordSetName, parameters, options) {
153
+ return this.client.sendOperationRequest({
154
+ resourceGroupName,
155
+ privateZoneName,
156
+ recordType,
157
+ relativeRecordSetName,
158
+ parameters,
159
+ options
160
+ }, updateOperationSpec);
161
+ }
162
+ /**
163
+ * Deletes a record set from a Private DNS zone. This operation cannot be undone.
164
+ * @param resourceGroupName The name of the resource group.
165
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
166
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
167
+ * deleted (they are deleted when the Private DNS zone is deleted).
168
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
169
+ * @param options The options parameters.
170
+ */
171
+ delete(resourceGroupName, privateZoneName, recordType, relativeRecordSetName, options) {
172
+ return this.client.sendOperationRequest({
173
+ resourceGroupName,
174
+ privateZoneName,
175
+ recordType,
176
+ relativeRecordSetName,
177
+ options
178
+ }, deleteOperationSpec);
179
+ }
180
+ /**
181
+ * Gets a record set.
182
+ * @param resourceGroupName The name of the resource group.
183
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
184
+ * @param recordType The type of DNS record in this record set.
185
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
186
+ * @param options The options parameters.
187
+ */
188
+ get(resourceGroupName, privateZoneName, recordType, relativeRecordSetName, options) {
189
+ return this.client.sendOperationRequest({
190
+ resourceGroupName,
191
+ privateZoneName,
192
+ recordType,
193
+ relativeRecordSetName,
194
+ options
195
+ }, getOperationSpec);
196
+ }
197
+ /**
198
+ * Lists the record sets of a specified type in a Private DNS zone.
199
+ * @param resourceGroupName The name of the resource group.
200
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
201
+ * @param recordType The type of record sets to enumerate.
202
+ * @param options The options parameters.
203
+ */
204
+ _listByType(resourceGroupName, privateZoneName, recordType, options) {
205
+ return this.client.sendOperationRequest({ resourceGroupName, privateZoneName, recordType, options }, listByTypeOperationSpec);
206
+ }
207
+ /**
208
+ * Lists all record sets in a Private DNS zone.
209
+ * @param resourceGroupName The name of the resource group.
210
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
211
+ * @param options The options parameters.
212
+ */
213
+ _list(resourceGroupName, privateZoneName, options) {
214
+ return this.client.sendOperationRequest({ resourceGroupName, privateZoneName, options }, listOperationSpec);
215
+ }
216
+ /**
217
+ * ListByTypeNext
218
+ * @param resourceGroupName The name of the resource group.
219
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
220
+ * @param recordType The type of record sets to enumerate.
221
+ * @param nextLink The nextLink from the previous successful call to the ListByType method.
222
+ * @param options The options parameters.
223
+ */
224
+ _listByTypeNext(resourceGroupName, privateZoneName, recordType, nextLink, options) {
225
+ return this.client.sendOperationRequest({ resourceGroupName, privateZoneName, recordType, nextLink, options }, listByTypeNextOperationSpec);
226
+ }
227
+ /**
228
+ * ListNext
229
+ * @param resourceGroupName The name of the resource group.
230
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
231
+ * @param nextLink The nextLink from the previous successful call to the List method.
232
+ * @param options The options parameters.
233
+ */
234
+ _listNext(resourceGroupName, privateZoneName, nextLink, options) {
235
+ return this.client.sendOperationRequest({ resourceGroupName, privateZoneName, nextLink, options }, listNextOperationSpec);
236
+ }
237
+ }
238
+ // Operation Specifications
239
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
240
+ const createOrUpdateOperationSpec = {
241
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
242
+ httpMethod: "PUT",
243
+ responses: {
244
+ 200: {
245
+ bodyMapper: Mappers.RecordSet
246
+ },
247
+ 201: {
248
+ bodyMapper: Mappers.RecordSet
249
+ },
250
+ default: {
251
+ bodyMapper: Mappers.CloudError
252
+ }
253
+ },
254
+ requestBody: Parameters.parameters2,
255
+ queryParameters: [Parameters.apiVersion],
256
+ urlParameters: [
257
+ Parameters.$host,
258
+ Parameters.resourceGroupName,
259
+ Parameters.privateZoneName,
260
+ Parameters.subscriptionId,
261
+ Parameters.recordType,
262
+ Parameters.relativeRecordSetName
263
+ ],
264
+ headerParameters: [
265
+ Parameters.contentType,
266
+ Parameters.accept,
267
+ Parameters.ifMatch,
268
+ Parameters.ifNoneMatch
269
+ ],
270
+ mediaType: "json",
271
+ serializer
272
+ };
273
+ const updateOperationSpec = {
274
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
275
+ httpMethod: "PATCH",
276
+ responses: {
277
+ 200: {
278
+ bodyMapper: Mappers.RecordSet
279
+ },
280
+ default: {
281
+ bodyMapper: Mappers.CloudError
282
+ }
283
+ },
284
+ requestBody: Parameters.parameters2,
285
+ queryParameters: [Parameters.apiVersion],
286
+ urlParameters: [
287
+ Parameters.$host,
288
+ Parameters.resourceGroupName,
289
+ Parameters.privateZoneName,
290
+ Parameters.subscriptionId,
291
+ Parameters.recordType,
292
+ Parameters.relativeRecordSetName
293
+ ],
294
+ headerParameters: [
295
+ Parameters.contentType,
296
+ Parameters.accept,
297
+ Parameters.ifMatch
298
+ ],
299
+ mediaType: "json",
300
+ serializer
301
+ };
302
+ const deleteOperationSpec = {
303
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
304
+ httpMethod: "DELETE",
305
+ responses: {
306
+ 200: {},
307
+ 204: {},
308
+ default: {
309
+ bodyMapper: Mappers.CloudError
310
+ }
311
+ },
312
+ queryParameters: [Parameters.apiVersion],
313
+ urlParameters: [
314
+ Parameters.$host,
315
+ Parameters.resourceGroupName,
316
+ Parameters.privateZoneName,
317
+ Parameters.subscriptionId,
318
+ Parameters.recordType,
319
+ Parameters.relativeRecordSetName
320
+ ],
321
+ headerParameters: [Parameters.accept, Parameters.ifMatch],
322
+ serializer
323
+ };
324
+ const getOperationSpec = {
325
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
326
+ httpMethod: "GET",
327
+ responses: {
328
+ 200: {
329
+ bodyMapper: Mappers.RecordSet
330
+ },
331
+ default: {
332
+ bodyMapper: Mappers.CloudError
333
+ }
334
+ },
335
+ queryParameters: [Parameters.apiVersion],
336
+ urlParameters: [
337
+ Parameters.$host,
338
+ Parameters.resourceGroupName,
339
+ Parameters.privateZoneName,
340
+ Parameters.subscriptionId,
341
+ Parameters.recordType,
342
+ Parameters.relativeRecordSetName
343
+ ],
344
+ headerParameters: [Parameters.accept],
345
+ serializer
346
+ };
347
+ const listByTypeOperationSpec = {
348
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}",
349
+ httpMethod: "GET",
350
+ responses: {
351
+ 200: {
352
+ bodyMapper: Mappers.RecordSetListResult
353
+ },
354
+ default: {
355
+ bodyMapper: Mappers.CloudError
356
+ }
357
+ },
358
+ queryParameters: [
359
+ Parameters.apiVersion,
360
+ Parameters.top,
361
+ Parameters.recordsetnamesuffix
362
+ ],
363
+ urlParameters: [
364
+ Parameters.$host,
365
+ Parameters.resourceGroupName,
366
+ Parameters.privateZoneName,
367
+ Parameters.subscriptionId,
368
+ Parameters.recordType
369
+ ],
370
+ headerParameters: [Parameters.accept],
371
+ serializer
372
+ };
373
+ const listOperationSpec = {
374
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/ALL",
375
+ httpMethod: "GET",
376
+ responses: {
377
+ 200: {
378
+ bodyMapper: Mappers.RecordSetListResult
379
+ },
380
+ default: {
381
+ bodyMapper: Mappers.CloudError
382
+ }
383
+ },
384
+ queryParameters: [
385
+ Parameters.apiVersion,
386
+ Parameters.top,
387
+ Parameters.recordsetnamesuffix
388
+ ],
389
+ urlParameters: [
390
+ Parameters.$host,
391
+ Parameters.resourceGroupName,
392
+ Parameters.privateZoneName,
393
+ Parameters.subscriptionId
394
+ ],
395
+ headerParameters: [Parameters.accept],
396
+ serializer
397
+ };
398
+ const listByTypeNextOperationSpec = {
399
+ path: "{nextLink}",
400
+ httpMethod: "GET",
401
+ responses: {
402
+ 200: {
403
+ bodyMapper: Mappers.RecordSetListResult
404
+ },
405
+ default: {
406
+ bodyMapper: Mappers.CloudError
407
+ }
408
+ },
409
+ queryParameters: [
410
+ Parameters.apiVersion,
411
+ Parameters.top,
412
+ Parameters.recordsetnamesuffix
413
+ ],
414
+ urlParameters: [
415
+ Parameters.$host,
416
+ Parameters.resourceGroupName,
417
+ Parameters.privateZoneName,
418
+ Parameters.subscriptionId,
419
+ Parameters.nextLink,
420
+ Parameters.recordType
421
+ ],
422
+ headerParameters: [Parameters.accept],
423
+ serializer
424
+ };
425
+ const listNextOperationSpec = {
426
+ path: "{nextLink}",
427
+ httpMethod: "GET",
428
+ responses: {
429
+ 200: {
430
+ bodyMapper: Mappers.RecordSetListResult
431
+ },
432
+ default: {
433
+ bodyMapper: Mappers.CloudError
434
+ }
435
+ },
436
+ queryParameters: [
437
+ Parameters.apiVersion,
438
+ Parameters.top,
439
+ Parameters.recordsetnamesuffix
440
+ ],
441
+ urlParameters: [
442
+ Parameters.$host,
443
+ Parameters.resourceGroupName,
444
+ Parameters.privateZoneName,
445
+ Parameters.subscriptionId,
446
+ Parameters.nextLink
447
+ ],
448
+ headerParameters: [Parameters.accept],
449
+ serializer
450
+ };
451
+ //# 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;AAsBnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,UAAU,CACf,iBAAyB,EACzB,eAAuB,EACvB,UAAsB,EACtB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CACnC,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR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B,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,eAAe;QAC1B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,103 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { VirtualNetworkLinks } from "../operationsInterfaces";
3
+ import { PrivateDnsManagementClient } from "../privateDnsManagementClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { VirtualNetworkLink, VirtualNetworkLinksListOptionalParams, VirtualNetworkLinksCreateOrUpdateOptionalParams, VirtualNetworkLinksCreateOrUpdateResponse, VirtualNetworkLinksUpdateOptionalParams, VirtualNetworkLinksUpdateResponse, VirtualNetworkLinksDeleteOptionalParams, VirtualNetworkLinksGetOptionalParams, VirtualNetworkLinksGetResponse } from "../models";
6
+ /** Class containing VirtualNetworkLinks operations. */
7
+ export declare class VirtualNetworkLinksImpl implements VirtualNetworkLinks {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class VirtualNetworkLinks class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: PrivateDnsManagementClient);
14
+ /**
15
+ * Lists the virtual network links to the specified Private DNS zone.
16
+ * @param resourceGroupName The name of the resource group.
17
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
18
+ * @param options The options parameters.
19
+ */
20
+ list(resourceGroupName: string, privateZoneName: string, options?: VirtualNetworkLinksListOptionalParams): PagedAsyncIterableIterator<VirtualNetworkLink>;
21
+ private listPagingPage;
22
+ private listPagingAll;
23
+ /**
24
+ * Creates or updates a virtual network link to the specified Private DNS zone.
25
+ * @param resourceGroupName The name of the resource group.
26
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
27
+ * @param virtualNetworkLinkName The name of the virtual network link.
28
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
29
+ * @param options The options parameters.
30
+ */
31
+ beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLinksCreateOrUpdateResponse>, VirtualNetworkLinksCreateOrUpdateResponse>>;
32
+ /**
33
+ * Creates or updates a virtual network link to the specified Private DNS zone.
34
+ * @param resourceGroupName The name of the resource group.
35
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
36
+ * @param virtualNetworkLinkName The name of the virtual network link.
37
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
38
+ * @param options The options parameters.
39
+ */
40
+ beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
41
+ /**
42
+ * Updates a virtual network link to the specified Private DNS zone.
43
+ * @param resourceGroupName The name of the resource group.
44
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
45
+ * @param virtualNetworkLinkName The name of the virtual network link.
46
+ * @param parameters Parameters supplied to the Update operation.
47
+ * @param options The options parameters.
48
+ */
49
+ beginUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLinksUpdateResponse>, VirtualNetworkLinksUpdateResponse>>;
50
+ /**
51
+ * Updates a virtual network link to the specified Private DNS zone.
52
+ * @param resourceGroupName The name of the resource group.
53
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
54
+ * @param virtualNetworkLinkName The name of the virtual network link.
55
+ * @param parameters Parameters supplied to the Update operation.
56
+ * @param options The options parameters.
57
+ */
58
+ beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<VirtualNetworkLinksUpdateResponse>;
59
+ /**
60
+ * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
61
+ * virtual network, all auto-registered DNS records in the zone for the virtual network will also be
62
+ * deleted. This operation cannot be undone.
63
+ * @param resourceGroupName The name of the resource group.
64
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
65
+ * @param virtualNetworkLinkName The name of the virtual network link.
66
+ * @param options The options parameters.
67
+ */
68
+ beginDelete(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
69
+ /**
70
+ * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
71
+ * virtual network, all auto-registered DNS records in the zone for the virtual network will also be
72
+ * deleted. This operation cannot be undone.
73
+ * @param resourceGroupName The name of the resource group.
74
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
75
+ * @param virtualNetworkLinkName The name of the virtual network link.
76
+ * @param options The options parameters.
77
+ */
78
+ beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<void>;
79
+ /**
80
+ * Gets a virtual network link to the specified Private DNS zone.
81
+ * @param resourceGroupName The name of the resource group.
82
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
83
+ * @param virtualNetworkLinkName The name of the virtual network link.
84
+ * @param options The options parameters.
85
+ */
86
+ get(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksGetOptionalParams): Promise<VirtualNetworkLinksGetResponse>;
87
+ /**
88
+ * Lists the virtual network links to the specified Private DNS zone.
89
+ * @param resourceGroupName The name of the resource group.
90
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
91
+ * @param options The options parameters.
92
+ */
93
+ private _list;
94
+ /**
95
+ * ListNext
96
+ * @param resourceGroupName The name of the resource group.
97
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
98
+ * @param nextLink The nextLink from the previous successful call to the List method.
99
+ * @param options The options parameters.
100
+ */
101
+ private _listNext;
102
+ }
103
+ //# sourceMappingURL=virtualNetworkLinks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualNetworkLinks.d.ts","sourceRoot":"","sources":["../../../src/operations/virtualNetworkLinks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,kBAAkB,EAElB,qCAAqC,EACrC,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EACvC,oCAAoC,EACpC,8BAA8B,EAG/B,MAAM,WAAW,CAAC;AAGnB,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,kBAAkB,CAAC;YAmBlC,cAAc;YA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