@azure/arm-privatedns 1.0.0 → 3.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 (146) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -100
  5. package/dist/index.js +2295 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +470 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +24 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +22 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/{esm → dist-esm/src}/models/mappers.js +234 -205
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +20 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/parameters.js +91 -77
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  30. package/dist-esm/src/operations/index.d.ts.map +1 -0
  31. package/{esm → dist-esm/src}/operations/index.js +3 -5
  32. package/dist-esm/src/operations/index.js.map +1 -0
  33. package/dist-esm/src/operations/privateZones.d.ts +114 -0
  34. package/dist-esm/src/operations/privateZones.d.ts.map +1 -0
  35. package/dist-esm/src/operations/privateZones.js +516 -0
  36. package/dist-esm/src/operations/privateZones.js.map +1 -0
  37. package/dist-esm/src/operations/recordSets.d.ts +105 -0
  38. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  39. package/dist-esm/src/operations/recordSets.js +451 -0
  40. package/dist-esm/src/operations/recordSets.js.map +1 -0
  41. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +103 -0
  42. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  43. package/dist-esm/src/operations/virtualNetworkLinks.js +442 -0
  44. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  46. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  47. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  48. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/privateZones.d.ts +78 -0
  50. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/privateZones.js +9 -0
  52. package/dist-esm/src/operationsInterfaces/privateZones.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +61 -0
  54. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  58. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  61. package/dist-esm/src/privateDnsManagementClient.d.ts +21 -0
  62. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -0
  63. package/dist-esm/src/privateDnsManagementClient.js +54 -0
  64. package/dist-esm/src/privateDnsManagementClient.js.map +1 -0
  65. package/dist-esm/test/sampleTest.d.ts +2 -0
  66. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  67. package/dist-esm/test/sampleTest.js +40 -0
  68. package/dist-esm/test/sampleTest.js.map +1 -0
  69. package/package.json +86 -26
  70. package/review/arm-privatedns.api.md +435 -0
  71. package/rollup.config.js +181 -30
  72. package/src/index.ts +12 -0
  73. package/src/lroImpl.ts +34 -0
  74. package/src/models/index.ts +567 -0
  75. package/{lib → src}/models/mappers.ts +248 -214
  76. package/src/models/parameters.ts +201 -0
  77. package/{lib → src}/operations/index.ts +3 -5
  78. package/src/operations/privateZones.ts +686 -0
  79. package/src/operations/recordSets.ts +602 -0
  80. package/src/operations/virtualNetworkLinks.ts +624 -0
  81. package/src/operationsInterfaces/index.ts +11 -0
  82. package/src/operationsInterfaces/privateZones.ts +145 -0
  83. package/src/operationsInterfaces/recordSets.ts +117 -0
  84. package/src/operationsInterfaces/virtualNetworkLinks.ts +150 -0
  85. package/src/privateDnsManagementClient.ts +88 -0
  86. package/tsconfig.json +20 -7
  87. package/types/arm-privatedns.d.ts +768 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-privatedns.js +0 -1944
  90. package/dist/arm-privatedns.js.map +0 -1
  91. package/dist/arm-privatedns.min.js +0 -1
  92. package/dist/arm-privatedns.min.js.map +0 -1
  93. package/esm/models/index.d.ts +0 -1031
  94. package/esm/models/index.d.ts.map +0 -1
  95. package/esm/models/index.js +0 -8
  96. package/esm/models/index.js.map +0 -1
  97. package/esm/models/mappers.d.ts +0 -22
  98. package/esm/models/mappers.d.ts.map +0 -1
  99. package/esm/models/mappers.js.map +0 -1
  100. package/esm/models/parameters.d.ts +0 -15
  101. package/esm/models/parameters.d.ts.map +0 -1
  102. package/esm/models/parameters.js.map +0 -1
  103. package/esm/models/privateZonesMappers.d.ts +0 -2
  104. package/esm/models/privateZonesMappers.d.ts.map +0 -1
  105. package/esm/models/privateZonesMappers.js +0 -9
  106. package/esm/models/privateZonesMappers.js.map +0 -1
  107. package/esm/models/recordSetsMappers.d.ts +0 -2
  108. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  109. package/esm/models/recordSetsMappers.js +0 -9
  110. package/esm/models/recordSetsMappers.js.map +0 -1
  111. package/esm/models/virtualNetworkLinksMappers.d.ts +0 -2
  112. package/esm/models/virtualNetworkLinksMappers.d.ts.map +0 -1
  113. package/esm/models/virtualNetworkLinksMappers.js +0 -9
  114. package/esm/models/virtualNetworkLinksMappers.js.map +0 -1
  115. package/esm/operations/index.d.ts.map +0 -1
  116. package/esm/operations/index.js.map +0 -1
  117. package/esm/operations/privateZones.d.ts +0 -165
  118. package/esm/operations/privateZones.d.ts.map +0 -1
  119. package/esm/operations/privateZones.js +0 -347
  120. package/esm/operations/privateZones.js.map +0 -1
  121. package/esm/operations/recordSets.d.ts +0 -229
  122. package/esm/operations/recordSets.d.ts.map +0 -1
  123. package/esm/operations/recordSets.js +0 -304
  124. package/esm/operations/recordSets.js.map +0 -1
  125. package/esm/operations/virtualNetworkLinks.d.ts +0 -139
  126. package/esm/operations/virtualNetworkLinks.d.ts.map +0 -1
  127. package/esm/operations/virtualNetworkLinks.js +0 -305
  128. package/esm/operations/virtualNetworkLinks.js.map +0 -1
  129. package/esm/privateDnsManagementClient.d.ts +0 -21
  130. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  131. package/esm/privateDnsManagementClient.js +0 -36
  132. package/esm/privateDnsManagementClient.js.map +0 -1
  133. package/esm/privateDnsManagementClientContext.d.ts +0 -17
  134. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  135. package/esm/privateDnsManagementClientContext.js +0 -57
  136. package/esm/privateDnsManagementClientContext.js.map +0 -1
  137. package/lib/models/index.ts +0 -1123
  138. package/lib/models/parameters.ts +0 -162
  139. package/lib/models/privateZonesMappers.ts +0 -28
  140. package/lib/models/recordSetsMappers.ts +0 -28
  141. package/lib/models/virtualNetworkLinksMappers.ts +0 -28
  142. package/lib/operations/privateZones.ts +0 -490
  143. package/lib/operations/recordSets.ts +0 -568
  144. package/lib/operations/virtualNetworkLinks.ts +0 -410
  145. package/lib/privateDnsManagementClient.ts +0 -47
  146. package/lib/privateDnsManagementClientContext.ts +0 -63
@@ -1,1031 +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
- * The core properties of ARM resources
6
- */
7
- export interface Resource extends BaseResource {
8
- /**
9
- * Fully qualified resource Id for the resource. Example -
10
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
11
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
12
- */
13
- readonly id?: string;
14
- /**
15
- * The name of the resource
16
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
17
- */
18
- readonly name?: string;
19
- /**
20
- * The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
21
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
22
- */
23
- readonly type?: string;
24
- }
25
- /**
26
- * The resource model definition for a ARM tracked top level resource
27
- */
28
- export interface TrackedResource extends Resource {
29
- /**
30
- * Resource tags.
31
- */
32
- tags?: {
33
- [propertyName: string]: string;
34
- };
35
- /**
36
- * The Azure Region where the resource lives
37
- */
38
- location?: string;
39
- }
40
- /**
41
- * Describes a Private DNS zone.
42
- */
43
- export interface PrivateZone extends TrackedResource {
44
- /**
45
- * The ETag of the zone.
46
- */
47
- etag?: string;
48
- /**
49
- * The maximum number of record sets that can be created in this Private DNS zone. This is a
50
- * read-only property and any attempt to set this value will be ignored.
51
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
52
- */
53
- readonly maxNumberOfRecordSets?: number;
54
- /**
55
- * The current number of record sets in this Private DNS zone. This is a read-only property and
56
- * any attempt to set this value will be ignored.
57
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
58
- */
59
- readonly numberOfRecordSets?: number;
60
- /**
61
- * The maximum number of virtual networks that can be linked to this Private DNS zone. This is a
62
- * read-only property and any attempt to set this value will be ignored.
63
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
64
- */
65
- readonly maxNumberOfVirtualNetworkLinks?: number;
66
- /**
67
- * The current number of virtual networks that are linked to this Private DNS zone. This is a
68
- * read-only property and any attempt to set this value will be ignored.
69
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
70
- */
71
- readonly numberOfVirtualNetworkLinks?: number;
72
- /**
73
- * The maximum number of virtual networks that can be linked to this Private DNS zone with
74
- * registration enabled. This is a read-only property and any attempt to set this value will be
75
- * ignored.
76
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
77
- */
78
- readonly maxNumberOfVirtualNetworkLinksWithRegistration?: number;
79
- /**
80
- * The current number of virtual networks that are linked to this Private DNS zone with
81
- * registration enabled. This is a read-only property and any attempt to set this value will be
82
- * ignored.
83
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
84
- */
85
- readonly numberOfVirtualNetworkLinksWithRegistration?: number;
86
- /**
87
- * The provisioning state of the resource. This is a read-only property and any attempt to set
88
- * this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting',
89
- * 'Succeeded', 'Failed', 'Canceled'
90
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
91
- */
92
- readonly provisioningState?: ProvisioningState;
93
- }
94
- /**
95
- * Reference to another subresource.
96
- */
97
- export interface SubResource extends BaseResource {
98
- /**
99
- * Resource ID.
100
- */
101
- id?: string;
102
- }
103
- /**
104
- * Describes a link to virtual network for a Private DNS zone.
105
- */
106
- export interface VirtualNetworkLink extends TrackedResource {
107
- /**
108
- * The ETag of the virtual network link.
109
- */
110
- etag?: string;
111
- /**
112
- * The reference of the virtual network.
113
- */
114
- virtualNetwork?: SubResource;
115
- /**
116
- * Is auto-registration of virtual machine records in the virtual network in the Private DNS zone
117
- * enabled?
118
- */
119
- registrationEnabled?: boolean;
120
- /**
121
- * The status of the virtual network link to the Private DNS zone. Possible values are
122
- * 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will
123
- * be ignored. Possible values include: 'InProgress', 'Completed'
124
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
125
- */
126
- readonly virtualNetworkLinkState?: VirtualNetworkLinkState;
127
- /**
128
- * The provisioning state of the resource. This is a read-only property and any attempt to set
129
- * this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting',
130
- * 'Succeeded', 'Failed', 'Canceled'
131
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
132
- */
133
- readonly provisioningState?: ProvisioningState;
134
- }
135
- /**
136
- * An A record.
137
- */
138
- export interface ARecord {
139
- /**
140
- * The IPv4 address of this A record.
141
- */
142
- ipv4Address?: string;
143
- }
144
- /**
145
- * An AAAA record.
146
- */
147
- export interface AaaaRecord {
148
- /**
149
- * The IPv6 address of this AAAA record.
150
- */
151
- ipv6Address?: string;
152
- }
153
- /**
154
- * A CNAME record.
155
- */
156
- export interface CnameRecord {
157
- /**
158
- * The canonical name for this CNAME record.
159
- */
160
- cname?: string;
161
- }
162
- /**
163
- * An MX record.
164
- */
165
- export interface MxRecord {
166
- /**
167
- * The preference value for this MX record.
168
- */
169
- preference?: number;
170
- /**
171
- * The domain name of the mail host for this MX record.
172
- */
173
- exchange?: string;
174
- }
175
- /**
176
- * A PTR record.
177
- */
178
- export interface PtrRecord {
179
- /**
180
- * The PTR target domain name for this PTR record.
181
- */
182
- ptrdname?: string;
183
- }
184
- /**
185
- * An SOA record.
186
- */
187
- export interface SoaRecord {
188
- /**
189
- * The domain name of the authoritative name server for this SOA record.
190
- */
191
- host?: string;
192
- /**
193
- * The email contact for this SOA record.
194
- */
195
- email?: string;
196
- /**
197
- * The serial number for this SOA record.
198
- */
199
- serialNumber?: number;
200
- /**
201
- * The refresh value for this SOA record.
202
- */
203
- refreshTime?: number;
204
- /**
205
- * The retry time for this SOA record.
206
- */
207
- retryTime?: number;
208
- /**
209
- * The expire time for this SOA record.
210
- */
211
- expireTime?: number;
212
- /**
213
- * The minimum value for this SOA record. By convention this is used to determine the negative
214
- * caching duration.
215
- */
216
- minimumTtl?: number;
217
- }
218
- /**
219
- * An SRV record.
220
- */
221
- export interface SrvRecord {
222
- /**
223
- * The priority value for this SRV record.
224
- */
225
- priority?: number;
226
- /**
227
- * The weight value for this SRV record.
228
- */
229
- weight?: number;
230
- /**
231
- * The port value for this SRV record.
232
- */
233
- port?: number;
234
- /**
235
- * The target domain name for this SRV record.
236
- */
237
- target?: string;
238
- }
239
- /**
240
- * A TXT record.
241
- */
242
- export interface TxtRecord {
243
- /**
244
- * The text value of this TXT record.
245
- */
246
- value?: string[];
247
- }
248
- /**
249
- * The resource model definition for an ARM proxy resource.
250
- */
251
- export interface ProxyResource extends Resource {
252
- }
253
- /**
254
- * Describes a DNS record set (a collection of DNS records with the same name and type) in a
255
- * Private DNS zone.
256
- */
257
- export interface RecordSet extends ProxyResource {
258
- /**
259
- * The ETag of the record set.
260
- */
261
- etag?: string;
262
- /**
263
- * The metadata attached to the record set.
264
- */
265
- metadata?: {
266
- [propertyName: string]: string;
267
- };
268
- /**
269
- * The TTL (time-to-live) of the records in the record set.
270
- */
271
- ttl?: number;
272
- /**
273
- * Fully qualified domain name of the record set.
274
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
275
- */
276
- readonly fqdn?: string;
277
- /**
278
- * Is the record set auto-registered in the Private DNS zone through a virtual network link?
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
280
- */
281
- readonly isAutoRegistered?: boolean;
282
- /**
283
- * The list of A records in the record set.
284
- */
285
- aRecords?: ARecord[];
286
- /**
287
- * The list of AAAA records in the record set.
288
- */
289
- aaaaRecords?: AaaaRecord[];
290
- /**
291
- * The CNAME record in the record set.
292
- */
293
- cnameRecord?: CnameRecord;
294
- /**
295
- * The list of MX records in the record set.
296
- */
297
- mxRecords?: MxRecord[];
298
- /**
299
- * The list of PTR records in the record set.
300
- */
301
- ptrRecords?: PtrRecord[];
302
- /**
303
- * The SOA record in the record set.
304
- */
305
- soaRecord?: SoaRecord;
306
- /**
307
- * The list of SRV records in the record set.
308
- */
309
- srvRecords?: SrvRecord[];
310
- /**
311
- * The list of TXT records in the record set.
312
- */
313
- txtRecords?: TxtRecord[];
314
- }
315
- /**
316
- * Optional Parameters.
317
- */
318
- export interface PrivateZonesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
319
- /**
320
- * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone.
321
- * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
322
- */
323
- ifMatch?: string;
324
- /**
325
- * Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing
326
- * zone. Other values will be ignored.
327
- */
328
- ifNoneMatch?: string;
329
- }
330
- /**
331
- * Optional Parameters.
332
- */
333
- export interface PrivateZonesUpdateOptionalParams extends msRest.RequestOptionsBase {
334
- /**
335
- * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone.
336
- * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
337
- */
338
- ifMatch?: string;
339
- }
340
- /**
341
- * Optional Parameters.
342
- */
343
- export interface PrivateZonesDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
344
- /**
345
- * The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify
346
- * the last-seen ETag value to prevent accidentally deleting any concurrent changes.
347
- */
348
- ifMatch?: string;
349
- }
350
- /**
351
- * Optional Parameters.
352
- */
353
- export interface PrivateZonesListOptionalParams extends msRest.RequestOptionsBase {
354
- /**
355
- * The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones.
356
- */
357
- top?: number;
358
- }
359
- /**
360
- * Optional Parameters.
361
- */
362
- export interface PrivateZonesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
363
- /**
364
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
365
- */
366
- top?: number;
367
- }
368
- /**
369
- * Optional Parameters.
370
- */
371
- export interface PrivateZonesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
372
- /**
373
- * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone.
374
- * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
375
- */
376
- ifMatch?: string;
377
- /**
378
- * Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing
379
- * zone. Other values will be ignored.
380
- */
381
- ifNoneMatch?: string;
382
- }
383
- /**
384
- * Optional Parameters.
385
- */
386
- export interface PrivateZonesBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
387
- /**
388
- * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone.
389
- * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
390
- */
391
- ifMatch?: string;
392
- }
393
- /**
394
- * Optional Parameters.
395
- */
396
- export interface PrivateZonesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
397
- /**
398
- * The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify
399
- * the last-seen ETag value to prevent accidentally deleting any concurrent changes.
400
- */
401
- ifMatch?: string;
402
- }
403
- /**
404
- * Optional Parameters.
405
- */
406
- export interface VirtualNetworkLinksCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
407
- /**
408
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always
409
- * overwrite the current virtual network link. Specify the last-seen ETag value to prevent
410
- * accidentally overwriting any concurrent changes.
411
- */
412
- ifMatch?: string;
413
- /**
414
- * Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to
415
- * prevent updating an existing link. Other values will be ignored.
416
- */
417
- ifNoneMatch?: string;
418
- }
419
- /**
420
- * Optional Parameters.
421
- */
422
- export interface VirtualNetworkLinksUpdateOptionalParams extends msRest.RequestOptionsBase {
423
- /**
424
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always
425
- * overwrite the current virtual network link. Specify the last-seen ETag value to prevent
426
- * accidentally overwriting any concurrent changes.
427
- */
428
- ifMatch?: string;
429
- }
430
- /**
431
- * Optional Parameters.
432
- */
433
- export interface VirtualNetworkLinksDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
434
- /**
435
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete
436
- * the current zone. Specify the last-seen ETag value to prevent accidentally deleting any
437
- * concurrent changes.
438
- */
439
- ifMatch?: string;
440
- }
441
- /**
442
- * Optional Parameters.
443
- */
444
- export interface VirtualNetworkLinksListOptionalParams extends msRest.RequestOptionsBase {
445
- /**
446
- * The maximum number of virtual network links to return. If not specified, returns up to 100
447
- * virtual network links.
448
- */
449
- top?: number;
450
- }
451
- /**
452
- * Optional Parameters.
453
- */
454
- export interface VirtualNetworkLinksBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
455
- /**
456
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always
457
- * overwrite the current virtual network link. Specify the last-seen ETag value to prevent
458
- * accidentally overwriting any concurrent changes.
459
- */
460
- ifMatch?: string;
461
- /**
462
- * Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to
463
- * prevent updating an existing link. Other values will be ignored.
464
- */
465
- ifNoneMatch?: string;
466
- }
467
- /**
468
- * Optional Parameters.
469
- */
470
- export interface VirtualNetworkLinksBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
471
- /**
472
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always
473
- * overwrite the current virtual network link. Specify the last-seen ETag value to prevent
474
- * accidentally overwriting any concurrent changes.
475
- */
476
- ifMatch?: string;
477
- }
478
- /**
479
- * Optional Parameters.
480
- */
481
- export interface VirtualNetworkLinksBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
482
- /**
483
- * The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete
484
- * the current zone. Specify the last-seen ETag value to prevent accidentally deleting any
485
- * concurrent changes.
486
- */
487
- ifMatch?: string;
488
- }
489
- /**
490
- * Optional Parameters.
491
- */
492
- export interface RecordSetsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
493
- /**
494
- * The ETag of the record set. Omit this value to always overwrite the current record set.
495
- * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
496
- */
497
- ifMatch?: string;
498
- /**
499
- * Set to '*' to allow a new record set to be created, but to prevent updating an existing record
500
- * set. Other values will be ignored.
501
- */
502
- ifNoneMatch?: string;
503
- }
504
- /**
505
- * Optional Parameters.
506
- */
507
- export interface RecordSetsUpdateOptionalParams extends msRest.RequestOptionsBase {
508
- /**
509
- * The ETag of the record set. Omit this value to always overwrite the current record set.
510
- * Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
511
- */
512
- ifMatch?: string;
513
- }
514
- /**
515
- * Optional Parameters.
516
- */
517
- export interface RecordSetsDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
518
- /**
519
- * The ETag of the record set. Omit this value to always delete the current record set. Specify
520
- * the last-seen ETag value to prevent accidentally deleting any concurrent changes.
521
- */
522
- ifMatch?: string;
523
- }
524
- /**
525
- * Optional Parameters.
526
- */
527
- export interface RecordSetsListByTypeOptionalParams extends msRest.RequestOptionsBase {
528
- /**
529
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
530
- */
531
- top?: number;
532
- /**
533
- * The suffix label of the record set name to be used to filter the record set enumeration. If
534
- * this parameter is specified, the returned enumeration will only contain records that end with
535
- * ".<recordsetnamesuffix>".
536
- */
537
- recordsetnamesuffix?: string;
538
- }
539
- /**
540
- * Optional Parameters.
541
- */
542
- export interface RecordSetsListOptionalParams extends msRest.RequestOptionsBase {
543
- /**
544
- * The maximum number of record sets to return. If not specified, returns up to 100 record sets.
545
- */
546
- top?: number;
547
- /**
548
- * The suffix label of the record set name to be used to filter the record set enumeration. If
549
- * this parameter is specified, the returned enumeration will only contain records that end with
550
- * ".<recordsetnamesuffix>".
551
- */
552
- recordsetnamesuffix?: string;
553
- }
554
- /**
555
- * An interface representing PrivateDnsManagementClientOptions.
556
- */
557
- export interface PrivateDnsManagementClientOptions extends AzureServiceClientOptions {
558
- baseUri?: string;
559
- }
560
- /**
561
- * @interface
562
- * The response to a Private DNS zone list operation.
563
- * @extends Array<PrivateZone>
564
- */
565
- export interface PrivateZoneListResult extends Array<PrivateZone> {
566
- /**
567
- * The continuation token for the next page of results.
568
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
569
- */
570
- readonly nextLink?: string;
571
- }
572
- /**
573
- * @interface
574
- * The response to a list virtual network link to Private DNS zone operation.
575
- * @extends Array<VirtualNetworkLink>
576
- */
577
- export interface VirtualNetworkLinkListResult extends Array<VirtualNetworkLink> {
578
- /**
579
- * The continuation token for the next page of results.
580
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
581
- */
582
- readonly nextLink?: string;
583
- }
584
- /**
585
- * @interface
586
- * The response to a record set list operation.
587
- * @extends Array<RecordSet>
588
- */
589
- export interface RecordSetListResult extends Array<RecordSet> {
590
- /**
591
- * The continuation token for the next page of results.
592
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
593
- */
594
- readonly nextLink?: string;
595
- }
596
- /**
597
- * Defines values for ProvisioningState.
598
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
599
- * @readonly
600
- * @enum {string}
601
- */
602
- export declare type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
603
- /**
604
- * Defines values for VirtualNetworkLinkState.
605
- * Possible values include: 'InProgress', 'Completed'
606
- * @readonly
607
- * @enum {string}
608
- */
609
- export declare type VirtualNetworkLinkState = 'InProgress' | 'Completed';
610
- /**
611
- * Defines values for RecordType.
612
- * Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV', 'TXT'
613
- * @readonly
614
- * @enum {string}
615
- */
616
- export declare type RecordType = 'A' | 'AAAA' | 'CNAME' | 'MX' | 'PTR' | 'SOA' | 'SRV' | 'TXT';
617
- /**
618
- * Contains response data for the createOrUpdate operation.
619
- */
620
- export declare type PrivateZonesCreateOrUpdateResponse = PrivateZone & {
621
- /**
622
- * The underlying HTTP response.
623
- */
624
- _response: msRest.HttpResponse & {
625
- /**
626
- * The response body as text (string format)
627
- */
628
- bodyAsText: string;
629
- /**
630
- * The response body as parsed JSON or XML
631
- */
632
- parsedBody: PrivateZone;
633
- };
634
- };
635
- /**
636
- * Contains response data for the update operation.
637
- */
638
- export declare type PrivateZonesUpdateResponse = PrivateZone & {
639
- /**
640
- * The underlying HTTP response.
641
- */
642
- _response: msRest.HttpResponse & {
643
- /**
644
- * The response body as text (string format)
645
- */
646
- bodyAsText: string;
647
- /**
648
- * The response body as parsed JSON or XML
649
- */
650
- parsedBody: PrivateZone;
651
- };
652
- };
653
- /**
654
- * Contains response data for the get operation.
655
- */
656
- export declare type PrivateZonesGetResponse = PrivateZone & {
657
- /**
658
- * The underlying HTTP response.
659
- */
660
- _response: msRest.HttpResponse & {
661
- /**
662
- * The response body as text (string format)
663
- */
664
- bodyAsText: string;
665
- /**
666
- * The response body as parsed JSON or XML
667
- */
668
- parsedBody: PrivateZone;
669
- };
670
- };
671
- /**
672
- * Contains response data for the list operation.
673
- */
674
- export declare type PrivateZonesListResponse = PrivateZoneListResult & {
675
- /**
676
- * The underlying HTTP response.
677
- */
678
- _response: msRest.HttpResponse & {
679
- /**
680
- * The response body as text (string format)
681
- */
682
- bodyAsText: string;
683
- /**
684
- * The response body as parsed JSON or XML
685
- */
686
- parsedBody: PrivateZoneListResult;
687
- };
688
- };
689
- /**
690
- * Contains response data for the listByResourceGroup operation.
691
- */
692
- export declare type PrivateZonesListByResourceGroupResponse = PrivateZoneListResult & {
693
- /**
694
- * The underlying HTTP response.
695
- */
696
- _response: msRest.HttpResponse & {
697
- /**
698
- * The response body as text (string format)
699
- */
700
- bodyAsText: string;
701
- /**
702
- * The response body as parsed JSON or XML
703
- */
704
- parsedBody: PrivateZoneListResult;
705
- };
706
- };
707
- /**
708
- * Contains response data for the beginCreateOrUpdate operation.
709
- */
710
- export declare type PrivateZonesBeginCreateOrUpdateResponse = PrivateZone & {
711
- /**
712
- * The underlying HTTP response.
713
- */
714
- _response: msRest.HttpResponse & {
715
- /**
716
- * The response body as text (string format)
717
- */
718
- bodyAsText: string;
719
- /**
720
- * The response body as parsed JSON or XML
721
- */
722
- parsedBody: PrivateZone;
723
- };
724
- };
725
- /**
726
- * Contains response data for the beginUpdate operation.
727
- */
728
- export declare type PrivateZonesBeginUpdateResponse = PrivateZone & {
729
- /**
730
- * The underlying HTTP response.
731
- */
732
- _response: msRest.HttpResponse & {
733
- /**
734
- * The response body as text (string format)
735
- */
736
- bodyAsText: string;
737
- /**
738
- * The response body as parsed JSON or XML
739
- */
740
- parsedBody: PrivateZone;
741
- };
742
- };
743
- /**
744
- * Contains response data for the listNext operation.
745
- */
746
- export declare type PrivateZonesListNextResponse = PrivateZoneListResult & {
747
- /**
748
- * The underlying HTTP response.
749
- */
750
- _response: msRest.HttpResponse & {
751
- /**
752
- * The response body as text (string format)
753
- */
754
- bodyAsText: string;
755
- /**
756
- * The response body as parsed JSON or XML
757
- */
758
- parsedBody: PrivateZoneListResult;
759
- };
760
- };
761
- /**
762
- * Contains response data for the listByResourceGroupNext operation.
763
- */
764
- export declare type PrivateZonesListByResourceGroupNextResponse = PrivateZoneListResult & {
765
- /**
766
- * The underlying HTTP response.
767
- */
768
- _response: msRest.HttpResponse & {
769
- /**
770
- * The response body as text (string format)
771
- */
772
- bodyAsText: string;
773
- /**
774
- * The response body as parsed JSON or XML
775
- */
776
- parsedBody: PrivateZoneListResult;
777
- };
778
- };
779
- /**
780
- * Contains response data for the createOrUpdate operation.
781
- */
782
- export declare type VirtualNetworkLinksCreateOrUpdateResponse = VirtualNetworkLink & {
783
- /**
784
- * The underlying HTTP response.
785
- */
786
- _response: msRest.HttpResponse & {
787
- /**
788
- * The response body as text (string format)
789
- */
790
- bodyAsText: string;
791
- /**
792
- * The response body as parsed JSON or XML
793
- */
794
- parsedBody: VirtualNetworkLink;
795
- };
796
- };
797
- /**
798
- * Contains response data for the update operation.
799
- */
800
- export declare type VirtualNetworkLinksUpdateResponse = VirtualNetworkLink & {
801
- /**
802
- * The underlying HTTP response.
803
- */
804
- _response: msRest.HttpResponse & {
805
- /**
806
- * The response body as text (string format)
807
- */
808
- bodyAsText: string;
809
- /**
810
- * The response body as parsed JSON or XML
811
- */
812
- parsedBody: VirtualNetworkLink;
813
- };
814
- };
815
- /**
816
- * Contains response data for the get operation.
817
- */
818
- export declare type VirtualNetworkLinksGetResponse = VirtualNetworkLink & {
819
- /**
820
- * The underlying HTTP response.
821
- */
822
- _response: msRest.HttpResponse & {
823
- /**
824
- * The response body as text (string format)
825
- */
826
- bodyAsText: string;
827
- /**
828
- * The response body as parsed JSON or XML
829
- */
830
- parsedBody: VirtualNetworkLink;
831
- };
832
- };
833
- /**
834
- * Contains response data for the list operation.
835
- */
836
- export declare type VirtualNetworkLinksListResponse = VirtualNetworkLinkListResult & {
837
- /**
838
- * The underlying HTTP response.
839
- */
840
- _response: msRest.HttpResponse & {
841
- /**
842
- * The response body as text (string format)
843
- */
844
- bodyAsText: string;
845
- /**
846
- * The response body as parsed JSON or XML
847
- */
848
- parsedBody: VirtualNetworkLinkListResult;
849
- };
850
- };
851
- /**
852
- * Contains response data for the beginCreateOrUpdate operation.
853
- */
854
- export declare type VirtualNetworkLinksBeginCreateOrUpdateResponse = VirtualNetworkLink & {
855
- /**
856
- * The underlying HTTP response.
857
- */
858
- _response: msRest.HttpResponse & {
859
- /**
860
- * The response body as text (string format)
861
- */
862
- bodyAsText: string;
863
- /**
864
- * The response body as parsed JSON or XML
865
- */
866
- parsedBody: VirtualNetworkLink;
867
- };
868
- };
869
- /**
870
- * Contains response data for the beginUpdate operation.
871
- */
872
- export declare type VirtualNetworkLinksBeginUpdateResponse = VirtualNetworkLink & {
873
- /**
874
- * The underlying HTTP response.
875
- */
876
- _response: msRest.HttpResponse & {
877
- /**
878
- * The response body as text (string format)
879
- */
880
- bodyAsText: string;
881
- /**
882
- * The response body as parsed JSON or XML
883
- */
884
- parsedBody: VirtualNetworkLink;
885
- };
886
- };
887
- /**
888
- * Contains response data for the listNext operation.
889
- */
890
- export declare type VirtualNetworkLinksListNextResponse = VirtualNetworkLinkListResult & {
891
- /**
892
- * The underlying HTTP response.
893
- */
894
- _response: msRest.HttpResponse & {
895
- /**
896
- * The response body as text (string format)
897
- */
898
- bodyAsText: string;
899
- /**
900
- * The response body as parsed JSON or XML
901
- */
902
- parsedBody: VirtualNetworkLinkListResult;
903
- };
904
- };
905
- /**
906
- * Contains response data for the createOrUpdate operation.
907
- */
908
- export declare type RecordSetsCreateOrUpdateResponse = RecordSet & {
909
- /**
910
- * The underlying HTTP response.
911
- */
912
- _response: msRest.HttpResponse & {
913
- /**
914
- * The response body as text (string format)
915
- */
916
- bodyAsText: string;
917
- /**
918
- * The response body as parsed JSON or XML
919
- */
920
- parsedBody: RecordSet;
921
- };
922
- };
923
- /**
924
- * Contains response data for the update operation.
925
- */
926
- export declare type RecordSetsUpdateResponse = RecordSet & {
927
- /**
928
- * The underlying HTTP response.
929
- */
930
- _response: msRest.HttpResponse & {
931
- /**
932
- * The response body as text (string format)
933
- */
934
- bodyAsText: string;
935
- /**
936
- * The response body as parsed JSON or XML
937
- */
938
- parsedBody: RecordSet;
939
- };
940
- };
941
- /**
942
- * Contains response data for the get operation.
943
- */
944
- export declare type RecordSetsGetResponse = RecordSet & {
945
- /**
946
- * The underlying HTTP response.
947
- */
948
- _response: msRest.HttpResponse & {
949
- /**
950
- * The response body as text (string format)
951
- */
952
- bodyAsText: string;
953
- /**
954
- * The response body as parsed JSON or XML
955
- */
956
- parsedBody: RecordSet;
957
- };
958
- };
959
- /**
960
- * Contains response data for the listByType operation.
961
- */
962
- export declare type RecordSetsListByTypeResponse = RecordSetListResult & {
963
- /**
964
- * The underlying HTTP response.
965
- */
966
- _response: msRest.HttpResponse & {
967
- /**
968
- * The response body as text (string format)
969
- */
970
- bodyAsText: string;
971
- /**
972
- * The response body as parsed JSON or XML
973
- */
974
- parsedBody: RecordSetListResult;
975
- };
976
- };
977
- /**
978
- * Contains response data for the list operation.
979
- */
980
- export declare type RecordSetsListResponse = RecordSetListResult & {
981
- /**
982
- * The underlying HTTP response.
983
- */
984
- _response: msRest.HttpResponse & {
985
- /**
986
- * The response body as text (string format)
987
- */
988
- bodyAsText: string;
989
- /**
990
- * The response body as parsed JSON or XML
991
- */
992
- parsedBody: RecordSetListResult;
993
- };
994
- };
995
- /**
996
- * Contains response data for the listByTypeNext operation.
997
- */
998
- export declare type RecordSetsListByTypeNextResponse = RecordSetListResult & {
999
- /**
1000
- * The underlying HTTP response.
1001
- */
1002
- _response: msRest.HttpResponse & {
1003
- /**
1004
- * The response body as text (string format)
1005
- */
1006
- bodyAsText: string;
1007
- /**
1008
- * The response body as parsed JSON or XML
1009
- */
1010
- parsedBody: RecordSetListResult;
1011
- };
1012
- };
1013
- /**
1014
- * Contains response data for the listNext operation.
1015
- */
1016
- export declare type RecordSetsListNextResponse = RecordSetListResult & {
1017
- /**
1018
- * The underlying HTTP response.
1019
- */
1020
- _response: msRest.HttpResponse & {
1021
- /**
1022
- * The response body as text (string format)
1023
- */
1024
- bodyAsText: string;
1025
- /**
1026
- * The response body as parsed JSON or XML
1027
- */
1028
- parsedBody: RecordSetListResult;
1029
- };
1030
- };
1031
- //# sourceMappingURL=index.d.ts.map