@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
@@ -1,857 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * An A record.
6
- */
7
- export interface ARecord {
8
- /**
9
- * The IPv4 address of this A record.
10
- */
11
- ipv4Address?: string;
12
- }
13
- /**
14
- * An AAAA record.
15
- */
16
- export interface AaaaRecord {
17
- /**
18
- * The IPv6 address of this AAAA record.
19
- */
20
- ipv6Address?: string;
21
- }
22
- /**
23
- * An MX record.
24
- */
25
- export interface MxRecord {
26
- /**
27
- * The preference value for this MX record.
28
- */
29
- preference?: number;
30
- /**
31
- * The domain name of the mail host for this MX record.
32
- */
33
- exchange?: string;
34
- }
35
- /**
36
- * An NS record.
37
- */
38
- export interface NsRecord {
39
- /**
40
- * The name server name for this NS record.
41
- */
42
- nsdname?: string;
43
- }
44
- /**
45
- * A PTR record.
46
- */
47
- export interface PtrRecord {
48
- /**
49
- * The PTR target domain name for this PTR record.
50
- */
51
- ptrdname?: string;
52
- }
53
- /**
54
- * An SRV record.
55
- */
56
- export interface SrvRecord {
57
- /**
58
- * The priority value for this SRV record.
59
- */
60
- priority?: number;
61
- /**
62
- * The weight value for this SRV record.
63
- */
64
- weight?: number;
65
- /**
66
- * The port value for this SRV record.
67
- */
68
- port?: number;
69
- /**
70
- * The target domain name for this SRV record.
71
- */
72
- target?: string;
73
- }
74
- /**
75
- * A TXT record.
76
- */
77
- export interface TxtRecord {
78
- /**
79
- * The text value of this TXT record.
80
- */
81
- value?: string[];
82
- }
83
- /**
84
- * A CNAME record.
85
- */
86
- export interface CnameRecord {
87
- /**
88
- * The canonical name for this CNAME record.
89
- */
90
- cname?: string;
91
- }
92
- /**
93
- * An SOA record.
94
- */
95
- export interface SoaRecord {
96
- /**
97
- * The domain name of the authoritative name server for this SOA record.
98
- */
99
- host?: string;
100
- /**
101
- * The email contact for this SOA record.
102
- */
103
- email?: string;
104
- /**
105
- * The serial number for this SOA record.
106
- */
107
- serialNumber?: number;
108
- /**
109
- * The refresh value for this SOA record.
110
- */
111
- refreshTime?: number;
112
- /**
113
- * The retry time for this SOA record.
114
- */
115
- retryTime?: number;
116
- /**
117
- * The expire time for this SOA record.
118
- */
119
- expireTime?: number;
120
- /**
121
- * The minimum value for this SOA record. By convention this is used to determine the negative
122
- * caching duration.
123
- */
124
- minimumTtl?: number;
125
- }
126
- /**
127
- * A CAA record.
128
- */
129
- export interface CaaRecord {
130
- /**
131
- * The flags for this CAA record as an integer between 0 and 255.
132
- */
133
- flags?: number;
134
- /**
135
- * The tag for this CAA record.
136
- */
137
- tag?: string;
138
- /**
139
- * The value for this CAA record.
140
- */
141
- value?: string;
142
- }
143
- /**
144
- * A reference to a another resource
145
- */
146
- export interface SubResource {
147
- /**
148
- * Resource Id.
149
- */
150
- id?: string;
151
- }
152
- /**
153
- * Describes a DNS record set (a collection of DNS records with the same name and type).
154
- */
155
- export interface RecordSet extends BaseResource {
156
- /**
157
- * The ID of the record set.
158
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
159
- */
160
- readonly id?: string;
161
- /**
162
- * The name of the record set.
163
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
164
- */
165
- readonly name?: string;
166
- /**
167
- * The type of the record set.
168
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
169
- */
170
- readonly type?: string;
171
- /**
172
- * The etag of the record set.
173
- */
174
- etag?: string;
175
- /**
176
- * The metadata attached to the record set.
177
- */
178
- metadata?: {
179
- [propertyName: string]: string;
180
- };
181
- /**
182
- * The TTL (time-to-live) of the records in the record set.
183
- */
184
- tTL?: number;
185
- /**
186
- * Fully qualified domain name of the record set.
187
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
188
- */
189
- readonly fqdn?: string;
190
- /**
191
- * provisioning State of the record set.
192
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
193
- */
194
- readonly provisioningState?: string;
195
- /**
196
- * A reference to an azure resource from where the dns resource value is taken.
197
- */
198
- targetResource?: SubResource;
199
- /**
200
- * The list of A records in the record set.
201
- */
202
- aRecords?: ARecord[];
203
- /**
204
- * The list of AAAA records in the record set.
205
- */
206
- aaaaRecords?: AaaaRecord[];
207
- /**
208
- * The list of MX records in the record set.
209
- */
210
- mxRecords?: MxRecord[];
211
- /**
212
- * The list of NS records in the record set.
213
- */
214
- nsRecords?: NsRecord[];
215
- /**
216
- * The list of PTR records in the record set.
217
- */
218
- ptrRecords?: PtrRecord[];
219
- /**
220
- * The list of SRV records in the record set.
221
- */
222
- srvRecords?: SrvRecord[];
223
- /**
224
- * The list of TXT records in the record set.
225
- */
226
- txtRecords?: TxtRecord[];
227
- /**
228
- * The CNAME record in the record set.
229
- */
230
- cnameRecord?: CnameRecord;
231
- /**
232
- * The SOA record in the record set.
233
- */
234
- soaRecord?: SoaRecord;
235
- /**
236
- * The list of CAA records in the record set.
237
- */
238
- caaRecords?: CaaRecord[];
239
- }
240
- /**
241
- * Parameters supplied to update a record set.
242
- */
243
- export interface RecordSetUpdateParameters {
244
- /**
245
- * Specifies information about the record set being updated.
246
- */
247
- recordSet?: RecordSet;
248
- }
249
- /**
250
- * Common properties of an Azure Resource Manager resource
251
- */
252
- export interface Resource extends BaseResource {
253
- /**
254
- * Resource ID.
255
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
256
- */
257
- readonly id?: string;
258
- /**
259
- * Resource name.
260
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
261
- */
262
- readonly name?: string;
263
- /**
264
- * Resource type.
265
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
- */
267
- readonly type?: string;
268
- /**
269
- * Resource location.
270
- */
271
- location: string;
272
- /**
273
- * Resource tags.
274
- */
275
- tags?: {
276
- [propertyName: string]: string;
277
- };
278
- }
279
- /**
280
- * Describes a DNS zone.
281
- */
282
- export interface Zone extends Resource {
283
- /**
284
- * The etag of the zone.
285
- */
286
- etag?: string;
287
- /**
288
- * The maximum number of record sets that can be created in this DNS zone. This is a read-only
289
- * property and any attempt to set this value will be ignored.
290
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
291
- */
292
- readonly maxNumberOfRecordSets?: number;
293
- /**
294
- * The current number of record sets in this DNS zone. This is a read-only property and any
295
- * attempt to set this value will be ignored.
296
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
297
- */
298
- readonly numberOfRecordSets?: number;
299
- /**
300
- * The name servers for this DNS zone. This is a read-only property and any attempt to set this
301
- * value will be ignored.
302
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
303
- */
304
- readonly nameServers?: string[];
305
- /**
306
- * The type of this DNS zone (Public or Private). Possible values include: 'Public', 'Private'.
307
- * Default value: 'Public'.
308
- */
309
- zoneType?: ZoneType;
310
- /**
311
- * A list of references to virtual networks that register hostnames in this DNS zone. This is a
312
- * only when ZoneType is Private.
313
- */
314
- registrationVirtualNetworks?: SubResource[];
315
- /**
316
- * A list of references to virtual networks that resolve records in this DNS zone. This is a only
317
- * when ZoneType is Private.
318
- */
319
- resolutionVirtualNetworks?: SubResource[];
320
- }
321
- /**
322
- * Describes a request to update a DNS zone.
323
- */
324
- export interface ZoneUpdate {
325
- /**
326
- * Resource tags.
327
- */
328
- tags?: {
329
- [propertyName: string]: string;
330
- };
331
- }
332
- /**
333
- * Represents the properties of the Dns Resource Reference Request.
334
- */
335
- export interface DnsResourceReferenceRequest {
336
- /**
337
- * A list of references to azure resources for which referencing dns records need to be queried.
338
- */
339
- targetResources?: SubResource[];
340
- }
341
- /**
342
- * Represents a single Azure resource and its referencing DNS records.
343
- */
344
- export interface DnsResourceReference {
345
- /**
346
- * A list of dns Records
347
- */
348
- dnsResources?: SubResource[];
349
- /**
350
- * A reference to an azure resource from where the dns resource value is taken.
351
- */
352
- targetResource?: SubResource;
353
- }
354
- /**
355
- * Represents the properties of the Dns Resource Reference Result.
356
- */
357
- export interface DnsResourceReferenceResult {
358
- /**
359
- * The result of dns resource reference request. A list of dns resource references for each of
360
- * the azure resource in the request
361
- */
362
- dnsResourceReferences?: DnsResourceReference[];
363
- }
364
- /**
365
- * Optional Parameters.
366
- */
367
- export interface RecordSetsUpdateOptionalParams extends msRest.RequestOptionsBase {
368
- /**
369
- * The etag of the record set. Omit this value to always overwrite the current record set.
370
- * Specify the last-seen etag value to prevent accidentally overwriting concurrent changes.
371
- */
372
- ifMatch?: string;
373
- }
374
- /**
375
- * Optional Parameters.
376
- */
377
- export interface RecordSetsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
378
- /**
379
- * The etag of the record set. Omit this value to always overwrite the current record set.
380
- * Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
381
- */
382
- ifMatch?: string;
383
- /**
384
- * Set to '*' to allow a new record set to be created, but to prevent updating an existing record
385
- * set. Other values will be ignored.
386
- */
387
- ifNoneMatch?: string;
388
- }
389
- /**
390
- * Optional Parameters.
391
- */
392
- export interface RecordSetsDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
393
- /**
394
- * The etag of the record set. Omit this value to always delete the current record set. Specify
395
- * the last-seen etag value to prevent accidentally deleting any concurrent changes.
396
- */
397
- ifMatch?: string;
398
- }
399
- /**
400
- * Optional Parameters.
401
- */
402
- export interface RecordSetsListByTypeOptionalParams extends msRest.RequestOptionsBase {
403
- /**
404
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
405
- */
406
- top?: number;
407
- /**
408
- * The suffix label of the record set name that has to be used to filter the record set
409
- * enumerations. If this parameter is specified, Enumeration will return only records that end
410
- * with .<recordSetNameSuffix>
411
- */
412
- recordsetnamesuffix?: string;
413
- }
414
- /**
415
- * Optional Parameters.
416
- */
417
- export interface RecordSetsListByDnsZoneOptionalParams extends msRest.RequestOptionsBase {
418
- /**
419
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
420
- */
421
- top?: number;
422
- /**
423
- * The suffix label of the record set name that has to be used to filter the record set
424
- * enumerations. If this parameter is specified, Enumeration will return only records that end
425
- * with .<recordSetNameSuffix>
426
- */
427
- recordsetnamesuffix?: string;
428
- }
429
- /**
430
- * Optional Parameters.
431
- */
432
- export interface RecordSetsListAllByDnsZoneOptionalParams extends msRest.RequestOptionsBase {
433
- /**
434
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
435
- */
436
- top?: number;
437
- /**
438
- * The suffix label of the record set name that has to be used to filter the record set
439
- * enumerations. If this parameter is specified, Enumeration will return only records that end
440
- * with .<recordSetNameSuffix>
441
- */
442
- recordSetNameSuffix?: string;
443
- }
444
- /**
445
- * Optional Parameters.
446
- */
447
- export interface ZonesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
448
- /**
449
- * The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the
450
- * last-seen etag value to prevent accidentally overwriting any concurrent changes.
451
- */
452
- ifMatch?: string;
453
- /**
454
- * Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone.
455
- * Other values will be ignored.
456
- */
457
- ifNoneMatch?: string;
458
- }
459
- /**
460
- * Optional Parameters.
461
- */
462
- export interface ZonesDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
463
- /**
464
- * The etag of the DNS zone. Omit this value to always delete the current zone. Specify the
465
- * last-seen etag value to prevent accidentally deleting any concurrent changes.
466
- */
467
- ifMatch?: string;
468
- }
469
- /**
470
- * Optional Parameters.
471
- */
472
- export interface ZonesUpdateOptionalParams extends msRest.RequestOptionsBase {
473
- /**
474
- * The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the
475
- * last-seen etag value to prevent accidentally overwriting any concurrent changes.
476
- */
477
- ifMatch?: string;
478
- }
479
- /**
480
- * Optional Parameters.
481
- */
482
- export interface ZonesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
483
- /**
484
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
485
- */
486
- top?: number;
487
- }
488
- /**
489
- * Optional Parameters.
490
- */
491
- export interface ZonesListOptionalParams extends msRest.RequestOptionsBase {
492
- /**
493
- * The maximum number of DNS zones to return. If not specified, returns up to 100 zones.
494
- */
495
- top?: number;
496
- }
497
- /**
498
- * Optional Parameters.
499
- */
500
- export interface ZonesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
501
- /**
502
- * The etag of the DNS zone. Omit this value to always delete the current zone. Specify the
503
- * last-seen etag value to prevent accidentally deleting any concurrent changes.
504
- */
505
- ifMatch?: string;
506
- }
507
- /**
508
- * An interface representing DnsManagementClientOptions.
509
- */
510
- export interface DnsManagementClientOptions extends AzureServiceClientOptions {
511
- baseUri?: string;
512
- }
513
- /**
514
- * @interface
515
- * The response to a record set List operation.
516
- * @extends Array<RecordSet>
517
- */
518
- export interface RecordSetListResult extends Array<RecordSet> {
519
- /**
520
- * The continuation token for the next page of results.
521
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
522
- */
523
- readonly nextLink?: string;
524
- }
525
- /**
526
- * @interface
527
- * The response to a Zone List or ListAll operation.
528
- * @extends Array<Zone>
529
- */
530
- export interface ZoneListResult extends Array<Zone> {
531
- /**
532
- * The continuation token for the next page of results.
533
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
534
- */
535
- readonly nextLink?: string;
536
- }
537
- /**
538
- * Defines values for ZoneType.
539
- * Possible values include: 'Public', 'Private'
540
- * @readonly
541
- * @enum {string}
542
- */
543
- export declare type ZoneType = 'Public' | 'Private';
544
- /**
545
- * Defines values for RecordType.
546
- * Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT'
547
- * @readonly
548
- * @enum {string}
549
- */
550
- export declare type RecordType = 'A' | 'AAAA' | 'CAA' | 'CNAME' | 'MX' | 'NS' | 'PTR' | 'SOA' | 'SRV' | 'TXT';
551
- /**
552
- * Contains response data for the update operation.
553
- */
554
- export declare type RecordSetsUpdateResponse = RecordSet & {
555
- /**
556
- * The underlying HTTP response.
557
- */
558
- _response: msRest.HttpResponse & {
559
- /**
560
- * The response body as text (string format)
561
- */
562
- bodyAsText: string;
563
- /**
564
- * The response body as parsed JSON or XML
565
- */
566
- parsedBody: RecordSet;
567
- };
568
- };
569
- /**
570
- * Contains response data for the createOrUpdate operation.
571
- */
572
- export declare type RecordSetsCreateOrUpdateResponse = RecordSet & {
573
- /**
574
- * The underlying HTTP response.
575
- */
576
- _response: msRest.HttpResponse & {
577
- /**
578
- * The response body as text (string format)
579
- */
580
- bodyAsText: string;
581
- /**
582
- * The response body as parsed JSON or XML
583
- */
584
- parsedBody: RecordSet;
585
- };
586
- };
587
- /**
588
- * Contains response data for the get operation.
589
- */
590
- export declare type RecordSetsGetResponse = RecordSet & {
591
- /**
592
- * The underlying HTTP response.
593
- */
594
- _response: msRest.HttpResponse & {
595
- /**
596
- * The response body as text (string format)
597
- */
598
- bodyAsText: string;
599
- /**
600
- * The response body as parsed JSON or XML
601
- */
602
- parsedBody: RecordSet;
603
- };
604
- };
605
- /**
606
- * Contains response data for the listByType operation.
607
- */
608
- export declare type RecordSetsListByTypeResponse = RecordSetListResult & {
609
- /**
610
- * The underlying HTTP response.
611
- */
612
- _response: msRest.HttpResponse & {
613
- /**
614
- * The response body as text (string format)
615
- */
616
- bodyAsText: string;
617
- /**
618
- * The response body as parsed JSON or XML
619
- */
620
- parsedBody: RecordSetListResult;
621
- };
622
- };
623
- /**
624
- * Contains response data for the listByDnsZone operation.
625
- */
626
- export declare type RecordSetsListByDnsZoneResponse = RecordSetListResult & {
627
- /**
628
- * The underlying HTTP response.
629
- */
630
- _response: msRest.HttpResponse & {
631
- /**
632
- * The response body as text (string format)
633
- */
634
- bodyAsText: string;
635
- /**
636
- * The response body as parsed JSON or XML
637
- */
638
- parsedBody: RecordSetListResult;
639
- };
640
- };
641
- /**
642
- * Contains response data for the listAllByDnsZone operation.
643
- */
644
- export declare type RecordSetsListAllByDnsZoneResponse = RecordSetListResult & {
645
- /**
646
- * The underlying HTTP response.
647
- */
648
- _response: msRest.HttpResponse & {
649
- /**
650
- * The response body as text (string format)
651
- */
652
- bodyAsText: string;
653
- /**
654
- * The response body as parsed JSON or XML
655
- */
656
- parsedBody: RecordSetListResult;
657
- };
658
- };
659
- /**
660
- * Contains response data for the listByTypeNext operation.
661
- */
662
- export declare type RecordSetsListByTypeNextResponse = RecordSetListResult & {
663
- /**
664
- * The underlying HTTP response.
665
- */
666
- _response: msRest.HttpResponse & {
667
- /**
668
- * The response body as text (string format)
669
- */
670
- bodyAsText: string;
671
- /**
672
- * The response body as parsed JSON or XML
673
- */
674
- parsedBody: RecordSetListResult;
675
- };
676
- };
677
- /**
678
- * Contains response data for the listByDnsZoneNext operation.
679
- */
680
- export declare type RecordSetsListByDnsZoneNextResponse = RecordSetListResult & {
681
- /**
682
- * The underlying HTTP response.
683
- */
684
- _response: msRest.HttpResponse & {
685
- /**
686
- * The response body as text (string format)
687
- */
688
- bodyAsText: string;
689
- /**
690
- * The response body as parsed JSON or XML
691
- */
692
- parsedBody: RecordSetListResult;
693
- };
694
- };
695
- /**
696
- * Contains response data for the listAllByDnsZoneNext operation.
697
- */
698
- export declare type RecordSetsListAllByDnsZoneNextResponse = RecordSetListResult & {
699
- /**
700
- * The underlying HTTP response.
701
- */
702
- _response: msRest.HttpResponse & {
703
- /**
704
- * The response body as text (string format)
705
- */
706
- bodyAsText: string;
707
- /**
708
- * The response body as parsed JSON or XML
709
- */
710
- parsedBody: RecordSetListResult;
711
- };
712
- };
713
- /**
714
- * Contains response data for the createOrUpdate operation.
715
- */
716
- export declare type ZonesCreateOrUpdateResponse = Zone & {
717
- /**
718
- * The underlying HTTP response.
719
- */
720
- _response: msRest.HttpResponse & {
721
- /**
722
- * The response body as text (string format)
723
- */
724
- bodyAsText: string;
725
- /**
726
- * The response body as parsed JSON or XML
727
- */
728
- parsedBody: Zone;
729
- };
730
- };
731
- /**
732
- * Contains response data for the get operation.
733
- */
734
- export declare type ZonesGetResponse = Zone & {
735
- /**
736
- * The underlying HTTP response.
737
- */
738
- _response: msRest.HttpResponse & {
739
- /**
740
- * The response body as text (string format)
741
- */
742
- bodyAsText: string;
743
- /**
744
- * The response body as parsed JSON or XML
745
- */
746
- parsedBody: Zone;
747
- };
748
- };
749
- /**
750
- * Contains response data for the update operation.
751
- */
752
- export declare type ZonesUpdateResponse = Zone & {
753
- /**
754
- * The underlying HTTP response.
755
- */
756
- _response: msRest.HttpResponse & {
757
- /**
758
- * The response body as text (string format)
759
- */
760
- bodyAsText: string;
761
- /**
762
- * The response body as parsed JSON or XML
763
- */
764
- parsedBody: Zone;
765
- };
766
- };
767
- /**
768
- * Contains response data for the listByResourceGroup operation.
769
- */
770
- export declare type ZonesListByResourceGroupResponse = ZoneListResult & {
771
- /**
772
- * The underlying HTTP response.
773
- */
774
- _response: msRest.HttpResponse & {
775
- /**
776
- * The response body as text (string format)
777
- */
778
- bodyAsText: string;
779
- /**
780
- * The response body as parsed JSON or XML
781
- */
782
- parsedBody: ZoneListResult;
783
- };
784
- };
785
- /**
786
- * Contains response data for the list operation.
787
- */
788
- export declare type ZonesListResponse = ZoneListResult & {
789
- /**
790
- * The underlying HTTP response.
791
- */
792
- _response: msRest.HttpResponse & {
793
- /**
794
- * The response body as text (string format)
795
- */
796
- bodyAsText: string;
797
- /**
798
- * The response body as parsed JSON or XML
799
- */
800
- parsedBody: ZoneListResult;
801
- };
802
- };
803
- /**
804
- * Contains response data for the listByResourceGroupNext operation.
805
- */
806
- export declare type ZonesListByResourceGroupNextResponse = ZoneListResult & {
807
- /**
808
- * The underlying HTTP response.
809
- */
810
- _response: msRest.HttpResponse & {
811
- /**
812
- * The response body as text (string format)
813
- */
814
- bodyAsText: string;
815
- /**
816
- * The response body as parsed JSON or XML
817
- */
818
- parsedBody: ZoneListResult;
819
- };
820
- };
821
- /**
822
- * Contains response data for the listNext operation.
823
- */
824
- export declare type ZonesListNextResponse = ZoneListResult & {
825
- /**
826
- * The underlying HTTP response.
827
- */
828
- _response: msRest.HttpResponse & {
829
- /**
830
- * The response body as text (string format)
831
- */
832
- bodyAsText: string;
833
- /**
834
- * The response body as parsed JSON or XML
835
- */
836
- parsedBody: ZoneListResult;
837
- };
838
- };
839
- /**
840
- * Contains response data for the getByTargetResources operation.
841
- */
842
- export declare type DnsResourceReferenceGetByTargetResourcesResponse = DnsResourceReferenceResult & {
843
- /**
844
- * The underlying HTTP response.
845
- */
846
- _response: msRest.HttpResponse & {
847
- /**
848
- * The response body as text (string format)
849
- */
850
- bodyAsText: string;
851
- /**
852
- * The response body as parsed JSON or XML
853
- */
854
- parsedBody: DnsResourceReferenceResult;
855
- };
856
- };
857
- //# sourceMappingURL=index.d.ts.map