@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.
Files changed (139) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -87
  4. package/dist/index.js +2060 -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/dnsManagementClient.d.ts +21 -0
  9. package/dist-esm/src/dnsManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dnsManagementClient.js +54 -0
  11. package/dist-esm/src/dnsManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +415 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +9 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +25 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +353 -334
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +21 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +92 -68
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts +19 -0
  33. package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/dnsResourceReferenceOperations.js +49 -0
  35. package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +3 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/recordSets.d.ts +129 -0
  41. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  42. package/dist-esm/src/operations/recordSets.js +571 -0
  43. package/dist-esm/src/operations/recordSets.js.map +1 -0
  44. package/dist-esm/src/operations/zones.d.ts +93 -0
  45. package/dist-esm/src/operations/zones.d.ts.map +1 -0
  46. package/dist-esm/src/operations/zones.js +414 -0
  47. package/dist-esm/src/operations/zones.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  49. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  55. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +68 -0
  57. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/zones.d.ts +57 -0
  61. package/dist-esm/src/operationsInterfaces/zones.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/zones.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/zones.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 +65 -32
  69. package/review/arm-dns.api.md +393 -0
  70. package/rollup.config.js +181 -30
  71. package/src/dnsManagementClient.ts +78 -41
  72. package/src/index.ts +12 -0
  73. package/src/lroImpl.ts +34 -0
  74. package/src/models/index.ts +344 -774
  75. package/src/models/mappers.ts +360 -338
  76. package/src/models/parameters.ts +120 -69
  77. package/src/operations/dnsResourceReferenceOperations.ts +37 -56
  78. package/src/operations/index.ts +3 -5
  79. package/src/operations/recordSets.ts +508 -411
  80. package/src/operations/zones.ts +348 -317
  81. package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +26 -0
  82. package/src/operationsInterfaces/index.ts +11 -0
  83. package/src/operationsInterfaces/recordSets.ts +129 -0
  84. package/src/operationsInterfaces/zones.ts +103 -0
  85. package/tsconfig.json +3 -3
  86. package/types/arm-dns.d.ts +629 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-dns.js +0 -1857
  89. package/dist/arm-dns.js.map +0 -1
  90. package/dist/arm-dns.min.js +0 -1
  91. package/dist/arm-dns.min.js.map +0 -1
  92. package/esm/dnsManagementClient.d.ts +0 -27
  93. package/esm/dnsManagementClient.d.ts.map +0 -1
  94. package/esm/dnsManagementClient.js +0 -41
  95. package/esm/dnsManagementClient.js.map +0 -1
  96. package/esm/dnsManagementClientContext.d.ts +0 -23
  97. package/esm/dnsManagementClientContext.d.ts.map +0 -1
  98. package/esm/dnsManagementClientContext.js +0 -62
  99. package/esm/dnsManagementClientContext.js.map +0 -1
  100. package/esm/models/dnsResourceReferenceOperationsMappers.d.ts +0 -2
  101. package/esm/models/dnsResourceReferenceOperationsMappers.d.ts.map +0 -1
  102. package/esm/models/dnsResourceReferenceOperationsMappers.js +0 -9
  103. package/esm/models/dnsResourceReferenceOperationsMappers.js.map +0 -1
  104. package/esm/models/index.d.ts +0 -857
  105. package/esm/models/index.d.ts.map +0 -1
  106. package/esm/models/index.js +0 -8
  107. package/esm/models/index.js.map +0 -1
  108. package/esm/models/mappers.d.ts +0 -25
  109. package/esm/models/mappers.d.ts.map +0 -1
  110. package/esm/models/mappers.js.map +0 -1
  111. package/esm/models/parameters.d.ts +0 -15
  112. package/esm/models/parameters.d.ts.map +0 -1
  113. package/esm/models/parameters.js.map +0 -1
  114. package/esm/models/recordSetsMappers.d.ts +0 -2
  115. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  116. package/esm/models/recordSetsMappers.js +0 -9
  117. package/esm/models/recordSetsMappers.js.map +0 -1
  118. package/esm/models/zonesMappers.d.ts +0 -2
  119. package/esm/models/zonesMappers.d.ts.map +0 -1
  120. package/esm/models/zonesMappers.js +0 -9
  121. package/esm/models/zonesMappers.js.map +0 -1
  122. package/esm/operations/dnsResourceReferenceOperations.d.ts +0 -31
  123. package/esm/operations/dnsResourceReferenceOperations.d.ts.map +0 -1
  124. package/esm/operations/dnsResourceReferenceOperations.js +0 -60
  125. package/esm/operations/dnsResourceReferenceOperations.js.map +0 -1
  126. package/esm/operations/index.d.ts.map +0 -1
  127. package/esm/operations/index.js.map +0 -1
  128. package/esm/operations/recordSets.d.ts +0 -268
  129. package/esm/operations/recordSets.d.ts.map +0 -1
  130. package/esm/operations/recordSets.js +0 -363
  131. package/esm/operations/recordSets.js.map +0 -1
  132. package/esm/operations/zones.d.ts +0 -170
  133. package/esm/operations/zones.d.ts.map +0 -1
  134. package/esm/operations/zones.js +0 -299
  135. package/esm/operations/zones.js.map +0 -1
  136. package/src/dnsManagementClientContext.ts +0 -69
  137. package/src/models/dnsResourceReferenceOperationsMappers.ts +0 -15
  138. package/src/models/recordSetsMappers.ts +0 -27
  139. package/src/models/zonesMappers.ts +0 -28
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,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,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAO5B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,414 @@
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, __awaiter } 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
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing Zones operations. */
16
+ export class ZonesImpl {
17
+ /**
18
+ * Initialize a new instance of the class Zones class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists the DNS zones within a resource group.
26
+ * @param resourceGroupName The name of the resource group.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName, options) {
30
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
40
+ }
41
+ };
42
+ }
43
+ listByResourceGroupPagingPage(resourceGroupName, options) {
44
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
45
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listByResourceGroupPagingAll(resourceGroupName, options) {
56
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, 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 the DNS zones in all resource groups in a subscription.
75
+ * @param options The options parameters.
76
+ */
77
+ list(options) {
78
+ const iter = this.listPagingAll(options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listPagingPage(options);
88
+ }
89
+ };
90
+ }
91
+ listPagingPage(options) {
92
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
93
+ let result = yield __await(this._list(options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listNext(continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listPagingAll(options) {
104
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
108
+ const page = _c.value;
109
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
110
+ }
111
+ }
112
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
113
+ finally {
114
+ try {
115
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
116
+ }
117
+ finally { if (e_2) throw e_2.error; }
118
+ }
119
+ });
120
+ }
121
+ /**
122
+ * Creates or updates a DNS zone. Does not modify DNS records within the zone.
123
+ * @param resourceGroupName The name of the resource group.
124
+ * @param zoneName The name of the DNS zone (without a terminating dot).
125
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
126
+ * @param options The options parameters.
127
+ */
128
+ createOrUpdate(resourceGroupName, zoneName, parameters, options) {
129
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, createOrUpdateOperationSpec);
130
+ }
131
+ /**
132
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
133
+ * be undone.
134
+ * @param resourceGroupName The name of the resource group.
135
+ * @param zoneName The name of the DNS zone (without a terminating dot).
136
+ * @param options The options parameters.
137
+ */
138
+ beginDelete(resourceGroupName, zoneName, options) {
139
+ return __awaiter(this, void 0, void 0, function* () {
140
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
141
+ return this.client.sendOperationRequest(args, spec);
142
+ });
143
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
144
+ var _a;
145
+ let currentRawResponse = undefined;
146
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
147
+ const callback = (rawResponse, flatResponse) => {
148
+ currentRawResponse = rawResponse;
149
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
150
+ };
151
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
152
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
153
+ return {
154
+ flatResponse,
155
+ rawResponse: {
156
+ statusCode: currentRawResponse.status,
157
+ body: currentRawResponse.parsedBody,
158
+ headers: currentRawResponse.headers.toJSON()
159
+ }
160
+ };
161
+ });
162
+ const lro = new LroImpl(sendOperation, { resourceGroupName, zoneName, options }, deleteOperationSpec);
163
+ return new LroEngine(lro, {
164
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
165
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
166
+ });
167
+ });
168
+ }
169
+ /**
170
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
171
+ * be undone.
172
+ * @param resourceGroupName The name of the resource group.
173
+ * @param zoneName The name of the DNS zone (without a terminating dot).
174
+ * @param options The options parameters.
175
+ */
176
+ beginDeleteAndWait(resourceGroupName, zoneName, options) {
177
+ return __awaiter(this, void 0, void 0, function* () {
178
+ const poller = yield this.beginDelete(resourceGroupName, zoneName, options);
179
+ return poller.pollUntilDone();
180
+ });
181
+ }
182
+ /**
183
+ * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
184
+ * @param resourceGroupName The name of the resource group.
185
+ * @param zoneName The name of the DNS zone (without a terminating dot).
186
+ * @param options The options parameters.
187
+ */
188
+ get(resourceGroupName, zoneName, options) {
189
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, getOperationSpec);
190
+ }
191
+ /**
192
+ * Updates a DNS zone. Does not modify DNS records within the zone.
193
+ * @param resourceGroupName The name of the resource group.
194
+ * @param zoneName The name of the DNS zone (without a terminating dot).
195
+ * @param parameters Parameters supplied to the Update operation.
196
+ * @param options The options parameters.
197
+ */
198
+ update(resourceGroupName, zoneName, parameters, options) {
199
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, updateOperationSpec);
200
+ }
201
+ /**
202
+ * Lists the DNS zones within a resource group.
203
+ * @param resourceGroupName The name of the resource group.
204
+ * @param options The options parameters.
205
+ */
206
+ _listByResourceGroup(resourceGroupName, options) {
207
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
208
+ }
209
+ /**
210
+ * Lists the DNS zones in all resource groups in a subscription.
211
+ * @param options The options parameters.
212
+ */
213
+ _list(options) {
214
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
215
+ }
216
+ /**
217
+ * ListByResourceGroupNext
218
+ * @param resourceGroupName The name of the resource group.
219
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
220
+ * @param options The options parameters.
221
+ */
222
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
223
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
224
+ }
225
+ /**
226
+ * ListNext
227
+ * @param nextLink The nextLink from the previous successful call to the List method.
228
+ * @param options The options parameters.
229
+ */
230
+ _listNext(nextLink, options) {
231
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
232
+ }
233
+ }
234
+ // Operation Specifications
235
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
236
+ const createOrUpdateOperationSpec = {
237
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
238
+ httpMethod: "PUT",
239
+ responses: {
240
+ 200: {
241
+ bodyMapper: Mappers.Zone
242
+ },
243
+ 201: {
244
+ bodyMapper: Mappers.Zone
245
+ },
246
+ default: {
247
+ bodyMapper: Mappers.CloudError
248
+ }
249
+ },
250
+ requestBody: Parameters.parameters1,
251
+ queryParameters: [Parameters.apiVersion],
252
+ urlParameters: [
253
+ Parameters.$host,
254
+ Parameters.resourceGroupName,
255
+ Parameters.zoneName,
256
+ Parameters.subscriptionId
257
+ ],
258
+ headerParameters: [
259
+ Parameters.contentType,
260
+ Parameters.accept,
261
+ Parameters.ifMatch,
262
+ Parameters.ifNoneMatch
263
+ ],
264
+ mediaType: "json",
265
+ serializer
266
+ };
267
+ const deleteOperationSpec = {
268
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
269
+ httpMethod: "DELETE",
270
+ responses: {
271
+ 200: {},
272
+ 201: {},
273
+ 202: {},
274
+ 204: {},
275
+ default: {
276
+ bodyMapper: Mappers.CloudError
277
+ }
278
+ },
279
+ queryParameters: [Parameters.apiVersion],
280
+ urlParameters: [
281
+ Parameters.$host,
282
+ Parameters.resourceGroupName,
283
+ Parameters.zoneName,
284
+ Parameters.subscriptionId
285
+ ],
286
+ headerParameters: [Parameters.accept, Parameters.ifMatch],
287
+ serializer
288
+ };
289
+ const getOperationSpec = {
290
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
291
+ httpMethod: "GET",
292
+ responses: {
293
+ 200: {
294
+ bodyMapper: Mappers.Zone
295
+ },
296
+ default: {
297
+ bodyMapper: Mappers.CloudError
298
+ }
299
+ },
300
+ queryParameters: [Parameters.apiVersion],
301
+ urlParameters: [
302
+ Parameters.$host,
303
+ Parameters.resourceGroupName,
304
+ Parameters.zoneName,
305
+ Parameters.subscriptionId
306
+ ],
307
+ headerParameters: [Parameters.accept],
308
+ serializer
309
+ };
310
+ const updateOperationSpec = {
311
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
312
+ httpMethod: "PATCH",
313
+ responses: {
314
+ 200: {
315
+ bodyMapper: Mappers.Zone
316
+ },
317
+ default: {
318
+ bodyMapper: Mappers.CloudError
319
+ }
320
+ },
321
+ requestBody: Parameters.parameters2,
322
+ queryParameters: [Parameters.apiVersion],
323
+ urlParameters: [
324
+ Parameters.$host,
325
+ Parameters.resourceGroupName,
326
+ Parameters.zoneName,
327
+ Parameters.subscriptionId
328
+ ],
329
+ headerParameters: [
330
+ Parameters.contentType,
331
+ Parameters.accept,
332
+ Parameters.ifMatch
333
+ ],
334
+ mediaType: "json",
335
+ serializer
336
+ };
337
+ const listByResourceGroupOperationSpec = {
338
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones",
339
+ httpMethod: "GET",
340
+ responses: {
341
+ 200: {
342
+ bodyMapper: Mappers.ZoneListResult
343
+ },
344
+ default: {
345
+ bodyMapper: Mappers.CloudError
346
+ }
347
+ },
348
+ queryParameters: [Parameters.apiVersion, Parameters.top],
349
+ urlParameters: [
350
+ Parameters.$host,
351
+ Parameters.resourceGroupName,
352
+ Parameters.subscriptionId
353
+ ],
354
+ headerParameters: [Parameters.accept],
355
+ serializer
356
+ };
357
+ const listOperationSpec = {
358
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones",
359
+ httpMethod: "GET",
360
+ responses: {
361
+ 200: {
362
+ bodyMapper: Mappers.ZoneListResult
363
+ },
364
+ default: {
365
+ bodyMapper: Mappers.CloudError
366
+ }
367
+ },
368
+ queryParameters: [Parameters.apiVersion, Parameters.top],
369
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
370
+ headerParameters: [Parameters.accept],
371
+ serializer
372
+ };
373
+ const listByResourceGroupNextOperationSpec = {
374
+ path: "{nextLink}",
375
+ httpMethod: "GET",
376
+ responses: {
377
+ 200: {
378
+ bodyMapper: Mappers.ZoneListResult
379
+ },
380
+ default: {
381
+ bodyMapper: Mappers.CloudError
382
+ }
383
+ },
384
+ queryParameters: [Parameters.apiVersion, Parameters.top],
385
+ urlParameters: [
386
+ Parameters.$host,
387
+ Parameters.resourceGroupName,
388
+ Parameters.subscriptionId,
389
+ Parameters.nextLink
390
+ ],
391
+ headerParameters: [Parameters.accept],
392
+ serializer
393
+ };
394
+ const listNextOperationSpec = {
395
+ path: "{nextLink}",
396
+ httpMethod: "GET",
397
+ responses: {
398
+ 200: {
399
+ bodyMapper: Mappers.ZoneListResult
400
+ },
401
+ default: {
402
+ bodyMapper: Mappers.CloudError
403
+ }
404
+ },
405
+ queryParameters: [Parameters.apiVersion, Parameters.top],
406
+ urlParameters: [
407
+ Parameters.$host,
408
+ Parameters.subscriptionId,
409
+ Parameters.nextLink
410
+ ],
411
+ headerParameters: [Parameters.accept],
412
+ serializer
413
+ };
414
+ //# sourceMappingURL=zones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.js","sourceRoot":"","sources":["../../../src/operations/zones.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;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAgD;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,6BAA6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E,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;IACxD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { DnsResourceReferenceRequest, DnsResourceReferenceGetByTargetResourcesOptionalParams, DnsResourceReferenceGetByTargetResourcesResponse } from "../models";
2
+ /** Interface representing a DnsResourceReferenceOperations. */
3
+ export interface DnsResourceReferenceOperations {
4
+ /**
5
+ * Returns the DNS records specified by the referencing targetResourceIds.
6
+ * @param parameters Properties for dns resource reference request.
7
+ * @param options The options parameters.
8
+ */
9
+ getByTargetResources(parameters: DnsResourceReferenceRequest, options?: DnsResourceReferenceGetByTargetResourcesOptionalParams): Promise<DnsResourceReferenceGetByTargetResourcesResponse>;
10
+ }
11
+ //# sourceMappingURL=dnsResourceReferenceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsResourceReferenceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,WAAW,CAAC;AAEnB,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,oBAAoB,CAClB,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;CAC9D"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=dnsResourceReferenceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsResourceReferenceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,4 @@
1
+ export * from "./recordSets";
2
+ export * from "./zones";
3
+ export * from "./dnsResourceReferenceOperations";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,kCAAkC,CAAC"}
@@ -0,0 +1,11 @@
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
+ export * from "./recordSets";
9
+ export * from "./zones";
10
+ export * from "./dnsResourceReferenceOperations";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,kCAAkC,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsListAllByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models";
3
+ /** Interface representing a RecordSets. */
4
+ export interface RecordSets {
5
+ /**
6
+ * Lists the record sets of a specified type in a DNS zone.
7
+ * @param resourceGroupName The name of the resource group.
8
+ * @param zoneName The name of the DNS zone (without a terminating dot).
9
+ * @param recordType The type of record sets to enumerate.
10
+ * @param options The options parameters.
11
+ */
12
+ listByType(resourceGroupName: string, zoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator<RecordSet>;
13
+ /**
14
+ * Lists all record sets in a DNS zone.
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param zoneName The name of the DNS zone (without a terminating dot).
17
+ * @param options The options parameters.
18
+ */
19
+ listByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListByDnsZoneOptionalParams): PagedAsyncIterableIterator<RecordSet>;
20
+ /**
21
+ * Lists all record sets in a DNS zone.
22
+ * @param resourceGroupName The name of the resource group.
23
+ * @param zoneName The name of the DNS zone (without a terminating dot).
24
+ * @param options The options parameters.
25
+ */
26
+ listAllByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListAllByDnsZoneOptionalParams): PagedAsyncIterableIterator<RecordSet>;
27
+ /**
28
+ * Updates a record set within a DNS zone.
29
+ * @param resourceGroupName The name of the resource group.
30
+ * @param zoneName The name of the DNS zone (without a terminating dot).
31
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
32
+ * @param recordType The type of DNS record in this record set.
33
+ * @param parameters Parameters supplied to the Update operation.
34
+ * @param options The options parameters.
35
+ */
36
+ update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise<RecordSetsUpdateResponse>;
37
+ /**
38
+ * Creates or updates a record set within a DNS zone.
39
+ * @param resourceGroupName The name of the resource group.
40
+ * @param zoneName The name of the DNS zone (without a terminating dot).
41
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
42
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated
43
+ * but not created (they are created when the DNS zone is created).
44
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
45
+ * @param options The options parameters.
46
+ */
47
+ createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise<RecordSetsCreateOrUpdateResponse>;
48
+ /**
49
+ * Deletes a record set from a DNS zone. This operation cannot be undone.
50
+ * @param resourceGroupName The name of the resource group.
51
+ * @param zoneName The name of the DNS zone (without a terminating dot).
52
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
53
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
54
+ * deleted (they are deleted when the DNS zone is deleted).
55
+ * @param options The options parameters.
56
+ */
57
+ delete(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsDeleteOptionalParams): Promise<void>;
58
+ /**
59
+ * Gets a record set.
60
+ * @param resourceGroupName The name of the resource group.
61
+ * @param zoneName The name of the DNS zone (without a terminating dot).
62
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
63
+ * @param recordType The type of DNS record in this record set.
64
+ * @param options The options parameters.
65
+ */
66
+ get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsGetOptionalParams): Promise<RecordSetsGetResponse>;
67
+ }
68
+ //# sourceMappingURL=recordSets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,UAAU,EACV,kCAAkC,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qB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACnC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=recordSets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,57 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models";
4
+ /** Interface representing a Zones. */
5
+ export interface Zones {
6
+ /**
7
+ * Lists the DNS zones within a resource group.
8
+ * @param resourceGroupName The name of the resource group.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: ZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Zone>;
12
+ /**
13
+ * Lists the DNS zones in all resource groups in a subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: ZonesListOptionalParams): PagedAsyncIterableIterator<Zone>;
17
+ /**
18
+ * Creates or updates a DNS zone. Does not modify DNS records within the zone.
19
+ * @param resourceGroupName The name of the resource group.
20
+ * @param zoneName The name of the DNS zone (without a terminating dot).
21
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
22
+ * @param options The options parameters.
23
+ */
24
+ createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: ZonesCreateOrUpdateOptionalParams): Promise<ZonesCreateOrUpdateResponse>;
25
+ /**
26
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
27
+ * be undone.
28
+ * @param resourceGroupName The name of the resource group.
29
+ * @param zoneName The name of the DNS zone (without a terminating dot).
30
+ * @param options The options parameters.
31
+ */
32
+ beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
33
+ /**
34
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
35
+ * be undone.
36
+ * @param resourceGroupName The name of the resource group.
37
+ * @param zoneName The name of the DNS zone (without a terminating dot).
38
+ * @param options The options parameters.
39
+ */
40
+ beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<void>;
41
+ /**
42
+ * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
43
+ * @param resourceGroupName The name of the resource group.
44
+ * @param zoneName The name of the DNS zone (without a terminating dot).
45
+ * @param options The options parameters.
46
+ */
47
+ get(resourceGroupName: string, zoneName: string, options?: ZonesGetOptionalParams): Promise<ZonesGetResponse>;
48
+ /**
49
+ * Updates a DNS zone. Does not modify DNS records within the zone.
50
+ * @param resourceGroupName The name of the resource group.
51
+ * @param zoneName The name of the DNS zone (without a terminating dot).
52
+ * @param parameters Parameters supplied to the Update operation.
53
+ * @param options The options parameters.
54
+ */
55
+ update(resourceGroupName: string, zoneName: string, parameters: ZoneUpdate, options?: ZonesUpdateOptionalParams): Promise<ZonesUpdateResponse>;
56
+ }
57
+ //# sourceMappingURL=zones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,IAAI,EACJ,sCAAsC,EACtC,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAGnB,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC;IAC1E;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,IAAI,EAChB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACjC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=zones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/zones.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}