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