@azure/arm-privatedns 2.0.0 → 3.0.0-alpha.20220131.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 +72 -77
  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 -22
  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 -34
  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 -1938
  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 -21
  129. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  130. package/esm/privateDnsManagementClient.js +0 -36
  131. package/esm/privateDnsManagementClient.js.map +0 -1
  132. package/esm/privateDnsManagementClientContext.d.ts +0 -17
  133. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  134. package/esm/privateDnsManagementClientContext.js +0 -57
  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 -63
@@ -0,0 +1,516 @@
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 PrivateZones operations. */
16
+ export class PrivateZonesImpl {
17
+ /**
18
+ * Initialize a new instance of the class PrivateZones class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists the Private DNS zones in all resource groups in a subscription.
26
+ * @param options The options parameters.
27
+ */
28
+ list(options) {
29
+ const iter = this.listPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listNext(continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listPagingAll(options) {
55
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Lists the Private DNS zones within a resource group.
74
+ * @param resourceGroupName The name of the resource group.
75
+ * @param options The options parameters.
76
+ */
77
+ listByResourceGroup(resourceGroupName, options) {
78
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
88
+ }
89
+ };
90
+ }
91
+ listByResourceGroupPagingPage(resourceGroupName, options) {
92
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
93
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listByResourceGroupPagingAll(resourceGroupName, options) {
104
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, 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 Private DNS zone. Does not modify Links to virtual networks or DNS records
123
+ * within the zone.
124
+ * @param resourceGroupName The name of the resource group.
125
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
126
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
127
+ * @param options The options parameters.
128
+ */
129
+ beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options) {
130
+ return __awaiter(this, void 0, void 0, function* () {
131
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
132
+ return this.client.sendOperationRequest(args, spec);
133
+ });
134
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
135
+ var _a;
136
+ let currentRawResponse = undefined;
137
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
138
+ const callback = (rawResponse, flatResponse) => {
139
+ currentRawResponse = rawResponse;
140
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
141
+ };
142
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
143
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
144
+ return {
145
+ flatResponse,
146
+ rawResponse: {
147
+ statusCode: currentRawResponse.status,
148
+ body: currentRawResponse.parsedBody,
149
+ headers: currentRawResponse.headers.toJSON()
150
+ }
151
+ };
152
+ });
153
+ const lro = new LroImpl(sendOperation, { resourceGroupName, privateZoneName, parameters, options }, createOrUpdateOperationSpec);
154
+ return new LroEngine(lro, {
155
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
156
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
157
+ });
158
+ });
159
+ }
160
+ /**
161
+ * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
162
+ * within the zone.
163
+ * @param resourceGroupName The name of the resource group.
164
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
165
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
166
+ * @param options The options parameters.
167
+ */
168
+ beginCreateOrUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
169
+ return __awaiter(this, void 0, void 0, function* () {
170
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options);
171
+ return poller.pollUntilDone();
172
+ });
173
+ }
174
+ /**
175
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
176
+ * @param resourceGroupName The name of the resource group.
177
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
178
+ * @param parameters Parameters supplied to the Update operation.
179
+ * @param options The options parameters.
180
+ */
181
+ beginUpdate(resourceGroupName, privateZoneName, parameters, options) {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
184
+ return this.client.sendOperationRequest(args, spec);
185
+ });
186
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
187
+ var _a;
188
+ let currentRawResponse = undefined;
189
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
190
+ const callback = (rawResponse, flatResponse) => {
191
+ currentRawResponse = rawResponse;
192
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
193
+ };
194
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
195
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
196
+ return {
197
+ flatResponse,
198
+ rawResponse: {
199
+ statusCode: currentRawResponse.status,
200
+ body: currentRawResponse.parsedBody,
201
+ headers: currentRawResponse.headers.toJSON()
202
+ }
203
+ };
204
+ });
205
+ const lro = new LroImpl(sendOperation, { resourceGroupName, privateZoneName, parameters, options }, updateOperationSpec);
206
+ return new LroEngine(lro, {
207
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
208
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
209
+ });
210
+ });
211
+ }
212
+ /**
213
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
214
+ * @param resourceGroupName The name of the resource group.
215
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
216
+ * @param parameters Parameters supplied to the Update operation.
217
+ * @param options The options parameters.
218
+ */
219
+ beginUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
220
+ return __awaiter(this, void 0, void 0, function* () {
221
+ const poller = yield this.beginUpdate(resourceGroupName, privateZoneName, parameters, options);
222
+ return poller.pollUntilDone();
223
+ });
224
+ }
225
+ /**
226
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
227
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
228
+ * it are removed.
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 options The options parameters.
232
+ */
233
+ beginDelete(resourceGroupName, privateZoneName, options) {
234
+ return __awaiter(this, void 0, void 0, function* () {
235
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
236
+ return this.client.sendOperationRequest(args, spec);
237
+ });
238
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
239
+ var _a;
240
+ let currentRawResponse = undefined;
241
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
242
+ const callback = (rawResponse, flatResponse) => {
243
+ currentRawResponse = rawResponse;
244
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
245
+ };
246
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
247
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
248
+ return {
249
+ flatResponse,
250
+ rawResponse: {
251
+ statusCode: currentRawResponse.status,
252
+ body: currentRawResponse.parsedBody,
253
+ headers: currentRawResponse.headers.toJSON()
254
+ }
255
+ };
256
+ });
257
+ const lro = new LroImpl(sendOperation, { resourceGroupName, privateZoneName, options }, deleteOperationSpec);
258
+ return new LroEngine(lro, {
259
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
260
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
261
+ });
262
+ });
263
+ }
264
+ /**
265
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
266
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
267
+ * it are removed.
268
+ * @param resourceGroupName The name of the resource group.
269
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
270
+ * @param options The options parameters.
271
+ */
272
+ beginDeleteAndWait(resourceGroupName, privateZoneName, options) {
273
+ return __awaiter(this, void 0, void 0, function* () {
274
+ const poller = yield this.beginDelete(resourceGroupName, privateZoneName, options);
275
+ return poller.pollUntilDone();
276
+ });
277
+ }
278
+ /**
279
+ * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
280
+ * record sets within the zone.
281
+ * @param resourceGroupName The name of the resource group.
282
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
283
+ * @param options The options parameters.
284
+ */
285
+ get(resourceGroupName, privateZoneName, options) {
286
+ return this.client.sendOperationRequest({ resourceGroupName, privateZoneName, options }, getOperationSpec);
287
+ }
288
+ /**
289
+ * Lists the Private DNS zones in all resource groups in a subscription.
290
+ * @param options The options parameters.
291
+ */
292
+ _list(options) {
293
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
294
+ }
295
+ /**
296
+ * Lists the Private DNS zones within a resource group.
297
+ * @param resourceGroupName The name of the resource group.
298
+ * @param options The options parameters.
299
+ */
300
+ _listByResourceGroup(resourceGroupName, options) {
301
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
302
+ }
303
+ /**
304
+ * ListNext
305
+ * @param nextLink The nextLink from the previous successful call to the List method.
306
+ * @param options The options parameters.
307
+ */
308
+ _listNext(nextLink, options) {
309
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
310
+ }
311
+ /**
312
+ * ListByResourceGroupNext
313
+ * @param resourceGroupName The name of the resource group.
314
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
315
+ * @param options The options parameters.
316
+ */
317
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
318
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
319
+ }
320
+ }
321
+ // Operation Specifications
322
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
323
+ const createOrUpdateOperationSpec = {
324
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
325
+ httpMethod: "PUT",
326
+ responses: {
327
+ 200: {
328
+ bodyMapper: Mappers.PrivateZone
329
+ },
330
+ 201: {
331
+ bodyMapper: Mappers.PrivateZone
332
+ },
333
+ 202: {
334
+ bodyMapper: Mappers.PrivateZone
335
+ },
336
+ 204: {
337
+ bodyMapper: Mappers.PrivateZone
338
+ },
339
+ default: {
340
+ bodyMapper: Mappers.CloudError
341
+ }
342
+ },
343
+ requestBody: Parameters.parameters,
344
+ queryParameters: [Parameters.apiVersion],
345
+ urlParameters: [
346
+ Parameters.$host,
347
+ Parameters.resourceGroupName,
348
+ Parameters.privateZoneName,
349
+ Parameters.subscriptionId
350
+ ],
351
+ headerParameters: [
352
+ Parameters.contentType,
353
+ Parameters.accept,
354
+ Parameters.ifMatch,
355
+ Parameters.ifNoneMatch
356
+ ],
357
+ mediaType: "json",
358
+ serializer
359
+ };
360
+ const updateOperationSpec = {
361
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
362
+ httpMethod: "PATCH",
363
+ responses: {
364
+ 200: {
365
+ bodyMapper: Mappers.PrivateZone
366
+ },
367
+ 201: {
368
+ bodyMapper: Mappers.PrivateZone
369
+ },
370
+ 202: {
371
+ bodyMapper: Mappers.PrivateZone
372
+ },
373
+ 204: {
374
+ bodyMapper: Mappers.PrivateZone
375
+ },
376
+ default: {
377
+ bodyMapper: Mappers.CloudError
378
+ }
379
+ },
380
+ requestBody: Parameters.parameters,
381
+ queryParameters: [Parameters.apiVersion],
382
+ urlParameters: [
383
+ Parameters.$host,
384
+ Parameters.resourceGroupName,
385
+ Parameters.privateZoneName,
386
+ Parameters.subscriptionId
387
+ ],
388
+ headerParameters: [
389
+ Parameters.contentType,
390
+ Parameters.accept,
391
+ Parameters.ifMatch
392
+ ],
393
+ mediaType: "json",
394
+ serializer
395
+ };
396
+ const deleteOperationSpec = {
397
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
398
+ httpMethod: "DELETE",
399
+ responses: {
400
+ 200: {},
401
+ 201: {},
402
+ 202: {},
403
+ 204: {},
404
+ default: {
405
+ bodyMapper: Mappers.CloudError
406
+ }
407
+ },
408
+ queryParameters: [Parameters.apiVersion],
409
+ urlParameters: [
410
+ Parameters.$host,
411
+ Parameters.resourceGroupName,
412
+ Parameters.privateZoneName,
413
+ Parameters.subscriptionId
414
+ ],
415
+ headerParameters: [Parameters.accept, Parameters.ifMatch],
416
+ serializer
417
+ };
418
+ const getOperationSpec = {
419
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
420
+ httpMethod: "GET",
421
+ responses: {
422
+ 200: {
423
+ bodyMapper: Mappers.PrivateZone
424
+ },
425
+ default: {
426
+ bodyMapper: Mappers.CloudError
427
+ }
428
+ },
429
+ queryParameters: [Parameters.apiVersion],
430
+ urlParameters: [
431
+ Parameters.$host,
432
+ Parameters.resourceGroupName,
433
+ Parameters.privateZoneName,
434
+ Parameters.subscriptionId
435
+ ],
436
+ headerParameters: [Parameters.accept],
437
+ serializer
438
+ };
439
+ const listOperationSpec = {
440
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones",
441
+ httpMethod: "GET",
442
+ responses: {
443
+ 200: {
444
+ bodyMapper: Mappers.PrivateZoneListResult
445
+ },
446
+ default: {
447
+ bodyMapper: Mappers.CloudError
448
+ }
449
+ },
450
+ queryParameters: [Parameters.apiVersion, Parameters.top],
451
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
452
+ headerParameters: [Parameters.accept],
453
+ serializer
454
+ };
455
+ const listByResourceGroupOperationSpec = {
456
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones",
457
+ httpMethod: "GET",
458
+ responses: {
459
+ 200: {
460
+ bodyMapper: Mappers.PrivateZoneListResult
461
+ },
462
+ default: {
463
+ bodyMapper: Mappers.CloudError
464
+ }
465
+ },
466
+ queryParameters: [Parameters.apiVersion, Parameters.top],
467
+ urlParameters: [
468
+ Parameters.$host,
469
+ Parameters.resourceGroupName,
470
+ Parameters.subscriptionId
471
+ ],
472
+ headerParameters: [Parameters.accept],
473
+ serializer
474
+ };
475
+ const listNextOperationSpec = {
476
+ path: "{nextLink}",
477
+ httpMethod: "GET",
478
+ responses: {
479
+ 200: {
480
+ bodyMapper: Mappers.PrivateZoneListResult
481
+ },
482
+ default: {
483
+ bodyMapper: Mappers.CloudError
484
+ }
485
+ },
486
+ queryParameters: [Parameters.apiVersion, Parameters.top],
487
+ urlParameters: [
488
+ Parameters.$host,
489
+ Parameters.subscriptionId,
490
+ Parameters.nextLink
491
+ ],
492
+ headerParameters: [Parameters.accept],
493
+ serializer
494
+ };
495
+ const listByResourceGroupNextOperationSpec = {
496
+ path: "{nextLink}",
497
+ httpMethod: "GET",
498
+ responses: {
499
+ 200: {
500
+ bodyMapper: Mappers.PrivateZoneListResult
501
+ },
502
+ default: {
503
+ bodyMapper: Mappers.CloudError
504
+ }
505
+ },
506
+ queryParameters: [Parameters.apiVersion, Parameters.top],
507
+ urlParameters: [
508
+ Parameters.$host,
509
+ Parameters.resourceGroupName,
510
+ Parameters.subscriptionId,
511
+ Parameters.nextLink
512
+ ],
513
+ headerParameters: [Parameters.accept],
514
+ serializer
515
+ };
516
+ //# sourceMappingURL=privateZones.js.map
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,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;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,105 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { RecordSets } from "../operationsInterfaces";
3
+ import { PrivateDnsManagementClient } from "../privateDnsManagementClient";
4
+ import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListOptionalParams, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models";
5
+ /** Class containing RecordSets operations. */
6
+ export declare class RecordSetsImpl implements RecordSets {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class RecordSets class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: PrivateDnsManagementClient);
13
+ /**
14
+ * Lists the record sets of a specified type in a Private DNS zone.
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
17
+ * @param recordType The type of record sets to enumerate.
18
+ * @param options The options parameters.
19
+ */
20
+ listByType(resourceGroupName: string, privateZoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator<RecordSet>;
21
+ private listByTypePagingPage;
22
+ private listByTypePagingAll;
23
+ /**
24
+ * Lists all record sets in a 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 options The options parameters.
28
+ */
29
+ list(resourceGroupName: string, privateZoneName: string, options?: RecordSetsListOptionalParams): PagedAsyncIterableIterator<RecordSet>;
30
+ private listPagingPage;
31
+ private listPagingAll;
32
+ /**
33
+ * Creates or updates a record set within a 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 recordType The type of DNS record in this record set. Record sets of type SOA can be updated
37
+ * but not created (they are created when the Private DNS zone is created).
38
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
39
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
40
+ * @param options The options parameters.
41
+ */
42
+ createOrUpdate(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise<RecordSetsCreateOrUpdateResponse>;
43
+ /**
44
+ * Updates a record set within a Private DNS zone.
45
+ * @param resourceGroupName The name of the resource group.
46
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
47
+ * @param recordType The type of DNS record in this record set.
48
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
49
+ * @param parameters Parameters supplied to the Update operation.
50
+ * @param options The options parameters.
51
+ */
52
+ update(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise<RecordSetsUpdateResponse>;
53
+ /**
54
+ * Deletes a record set from a Private DNS zone. This operation cannot be undone.
55
+ * @param resourceGroupName The name of the resource group.
56
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
57
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
58
+ * deleted (they are deleted when the Private DNS zone is deleted).
59
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
60
+ * @param options The options parameters.
61
+ */
62
+ delete(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsDeleteOptionalParams): Promise<void>;
63
+ /**
64
+ * Gets a record set.
65
+ * @param resourceGroupName The name of the resource group.
66
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
67
+ * @param recordType The type of DNS record in this record set.
68
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
69
+ * @param options The options parameters.
70
+ */
71
+ get(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsGetOptionalParams): Promise<RecordSetsGetResponse>;
72
+ /**
73
+ * Lists the record sets of a specified type in a Private DNS zone.
74
+ * @param resourceGroupName The name of the resource group.
75
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
76
+ * @param recordType The type of record sets to enumerate.
77
+ * @param options The options parameters.
78
+ */
79
+ private _listByType;
80
+ /**
81
+ * Lists all record sets in a Private DNS zone.
82
+ * @param resourceGroupName The name of the resource group.
83
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
84
+ * @param options The options parameters.
85
+ */
86
+ private _list;
87
+ /**
88
+ * ListByTypeNext
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 recordType The type of record sets to enumerate.
92
+ * @param nextLink The nextLink from the previous successful call to the ListByType method.
93
+ * @param options The options parameters.
94
+ */
95
+ private _listByTypeNext;
96
+ /**
97
+ * ListNext
98
+ * @param resourceGroupName The name of the resource group.
99
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
100
+ * @param nextLink The nextLink from the previous successful call to the List method.
101
+ * @param options The options parameters.
102
+ */
103
+ private _listNext;
104
+ }
105
+ //# sourceMappingURL=recordSets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EACL,SAAS,EACT,UAAU,EAEV,kCAAkC,EAElC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EAKtB,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;;;OAMG;IACI,UAAU,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,SAAS,CAAC;YAyBzB,oBAAoB;YA2BpB,mBAAmB;IAgBlC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAmBzB,cAAc;YAoBd,aAAa;IAc5B;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,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