@azure/arm-privatedns 2.1.1 → 3.0.0-alpha.20220124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +2295 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +470 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +24 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +22 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +234 -205
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +20 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +91 -77
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/operations/index.js +3 -5
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/privateZones.d.ts +114 -0
  33. package/dist-esm/src/operations/privateZones.d.ts.map +1 -0
  34. package/dist-esm/src/operations/privateZones.js +516 -0
  35. package/dist-esm/src/operations/privateZones.js.map +1 -0
  36. package/dist-esm/src/operations/recordSets.d.ts +105 -0
  37. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  38. package/dist-esm/src/operations/recordSets.js +451 -0
  39. package/dist-esm/src/operations/recordSets.js.map +1 -0
  40. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +103 -0
  41. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  42. package/dist-esm/src/operations/virtualNetworkLinks.js +442 -0
  43. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  47. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/privateZones.d.ts +78 -0
  49. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/privateZones.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/privateZones.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +61 -0
  53. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  57. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  60. package/dist-esm/src/privateDnsManagementClient.d.ts +21 -0
  61. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -0
  62. package/dist-esm/src/privateDnsManagementClient.js +54 -0
  63. package/dist-esm/src/privateDnsManagementClient.js.map +1 -0
  64. package/dist-esm/test/sampleTest.d.ts +2 -0
  65. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  66. package/dist-esm/test/sampleTest.js +40 -0
  67. package/dist-esm/test/sampleTest.js.map +1 -0
  68. package/package.json +82 -23
  69. package/review/arm-privatedns.api.md +435 -0
  70. package/rollup.config.js +181 -30
  71. package/src/index.ts +12 -0
  72. package/src/lroImpl.ts +34 -0
  73. package/src/models/index.ts +400 -956
  74. package/src/models/mappers.ts +248 -214
  75. package/src/models/parameters.ts +117 -78
  76. package/src/operations/index.ts +3 -5
  77. package/src/operations/privateZones.ts +521 -325
  78. package/src/operations/recordSets.ts +382 -348
  79. package/src/operations/virtualNetworkLinks.ts +475 -261
  80. package/src/operationsInterfaces/index.ts +11 -0
  81. package/src/operationsInterfaces/privateZones.ts +145 -0
  82. package/src/operationsInterfaces/recordSets.ts +117 -0
  83. package/src/operationsInterfaces/virtualNetworkLinks.ts +150 -0
  84. package/src/privateDnsManagementClient.ts +75 -40
  85. package/tsconfig.json +20 -7
  86. package/types/arm-privatedns.d.ts +768 -0
  87. package/types/tsdoc-metadata.json +11 -0
  88. package/dist/arm-privatedns.js +0 -1948
  89. package/dist/arm-privatedns.js.map +0 -1
  90. package/dist/arm-privatedns.min.js +0 -1
  91. package/dist/arm-privatedns.min.js.map +0 -1
  92. package/esm/models/index.d.ts +0 -1031
  93. package/esm/models/index.d.ts.map +0 -1
  94. package/esm/models/index.js +0 -8
  95. package/esm/models/index.js.map +0 -1
  96. package/esm/models/mappers.d.ts +0 -22
  97. package/esm/models/mappers.d.ts.map +0 -1
  98. package/esm/models/mappers.js.map +0 -1
  99. package/esm/models/parameters.d.ts +0 -15
  100. package/esm/models/parameters.d.ts.map +0 -1
  101. package/esm/models/parameters.js.map +0 -1
  102. package/esm/models/privateZonesMappers.d.ts +0 -2
  103. package/esm/models/privateZonesMappers.d.ts.map +0 -1
  104. package/esm/models/privateZonesMappers.js +0 -9
  105. package/esm/models/privateZonesMappers.js.map +0 -1
  106. package/esm/models/recordSetsMappers.d.ts +0 -2
  107. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  108. package/esm/models/recordSetsMappers.js +0 -9
  109. package/esm/models/recordSetsMappers.js.map +0 -1
  110. package/esm/models/virtualNetworkLinksMappers.d.ts +0 -2
  111. package/esm/models/virtualNetworkLinksMappers.d.ts.map +0 -1
  112. package/esm/models/virtualNetworkLinksMappers.js +0 -9
  113. package/esm/models/virtualNetworkLinksMappers.js.map +0 -1
  114. package/esm/operations/index.d.ts.map +0 -1
  115. package/esm/operations/index.js.map +0 -1
  116. package/esm/operations/privateZones.d.ts +0 -165
  117. package/esm/operations/privateZones.d.ts.map +0 -1
  118. package/esm/operations/privateZones.js +0 -347
  119. package/esm/operations/privateZones.js.map +0 -1
  120. package/esm/operations/recordSets.d.ts +0 -229
  121. package/esm/operations/recordSets.d.ts.map +0 -1
  122. package/esm/operations/recordSets.js +0 -304
  123. package/esm/operations/recordSets.js.map +0 -1
  124. package/esm/operations/virtualNetworkLinks.d.ts +0 -139
  125. package/esm/operations/virtualNetworkLinks.d.ts.map +0 -1
  126. package/esm/operations/virtualNetworkLinks.js +0 -305
  127. package/esm/operations/virtualNetworkLinks.js.map +0 -1
  128. package/esm/privateDnsManagementClient.d.ts +0 -27
  129. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  130. package/esm/privateDnsManagementClient.js +0 -41
  131. package/esm/privateDnsManagementClient.js.map +0 -1
  132. package/esm/privateDnsManagementClientContext.d.ts +0 -23
  133. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  134. package/esm/privateDnsManagementClientContext.js +0 -62
  135. package/esm/privateDnsManagementClientContext.js.map +0 -1
  136. package/src/models/privateZonesMappers.ts +0 -28
  137. package/src/models/recordSetsMappers.ts +0 -28
  138. package/src/models/virtualNetworkLinksMappers.ts +0 -28
  139. package/src/privateDnsManagementClientContext.ts +0 -69
@@ -1,1123 +1,567 @@
1
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.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * The core properties of ARM resources
16
- */
17
- export interface Resource extends BaseResource {
11
+ /** The core properties of ARM resources */
12
+ export interface Resource {
18
13
  /**
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.**
14
+ * Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
16
  */
23
17
  readonly id?: string;
24
18
  /**
25
19
  * The name of the resource
26
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
27
21
  */
28
22
  readonly name?: string;
29
23
  /**
30
24
  * 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.**
25
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
26
  */
33
27
  readonly type?: string;
34
28
  }
35
29
 
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;
30
+ /** An error response from the service. */
31
+ export interface CloudError {
32
+ /** Cloud error body. */
33
+ error?: CloudErrorBody;
48
34
  }
49
35
 
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;
36
+ /** An error response from the service. */
37
+ export interface CloudErrorBody {
38
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
39
+ code?: string;
40
+ /** A message describing the error, intended to be suitable for display in a user interface. */
41
+ message?: string;
42
+ /** The target of the particular error. For example, the name of the property in error. */
43
+ target?: string;
44
+ /** A list of additional details about the error. */
45
+ details?: CloudErrorBody[];
103
46
  }
104
47
 
105
- /**
106
- * Reference to another subresource.
107
- */
108
- export interface SubResource extends BaseResource {
48
+ /** The response to a Private DNS zone list operation. */
49
+ export interface PrivateZoneListResult {
50
+ /** Information about the Private DNS zones. */
51
+ value?: PrivateZone[];
109
52
  /**
110
- * Resource ID.
53
+ * The continuation token for the next page of results.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
55
  */
56
+ readonly nextLink?: string;
57
+ }
58
+
59
+ /** Reference to another subresource. */
60
+ export interface SubResource {
61
+ /** Resource ID. */
112
62
  id?: string;
113
63
  }
114
64
 
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;
65
+ /** The response to a list virtual network link to Private DNS zone operation. */
66
+ export interface VirtualNetworkLinkListResult {
67
+ /** Information about the virtual network links to the Private DNS zones. */
68
+ value?: VirtualNetworkLink[];
127
69
  /**
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.**
70
+ * The continuation token for the next page of results.
71
+ * NOTE: This property will not be serialized. It can only be populated by the server.
144
72
  */
145
- readonly provisioningState?: ProvisioningState;
73
+ readonly nextLink?: string;
146
74
  }
147
75
 
148
- /**
149
- * An A record.
150
- */
76
+ /** An A record. */
151
77
  export interface ARecord {
152
- /**
153
- * The IPv4 address of this A record.
154
- */
78
+ /** The IPv4 address of this A record. */
155
79
  ipv4Address?: string;
156
80
  }
157
81
 
158
- /**
159
- * An AAAA record.
160
- */
82
+ /** An AAAA record. */
161
83
  export interface AaaaRecord {
162
- /**
163
- * The IPv6 address of this AAAA record.
164
- */
84
+ /** The IPv6 address of this AAAA record. */
165
85
  ipv6Address?: string;
166
86
  }
167
87
 
168
- /**
169
- * A CNAME record.
170
- */
88
+ /** A CNAME record. */
171
89
  export interface CnameRecord {
172
- /**
173
- * The canonical name for this CNAME record.
174
- */
90
+ /** The canonical name for this CNAME record. */
175
91
  cname?: string;
176
92
  }
177
93
 
178
- /**
179
- * An MX record.
180
- */
94
+ /** An MX record. */
181
95
  export interface MxRecord {
182
- /**
183
- * The preference value for this MX record.
184
- */
96
+ /** The preference value for this MX record. */
185
97
  preference?: number;
186
- /**
187
- * The domain name of the mail host for this MX record.
188
- */
98
+ /** The domain name of the mail host for this MX record. */
189
99
  exchange?: string;
190
100
  }
191
101
 
192
- /**
193
- * A PTR record.
194
- */
102
+ /** A PTR record. */
195
103
  export interface PtrRecord {
196
- /**
197
- * The PTR target domain name for this PTR record.
198
- */
104
+ /** The PTR target domain name for this PTR record. */
199
105
  ptrdname?: string;
200
106
  }
201
107
 
202
- /**
203
- * An SOA record.
204
- */
108
+ /** An SOA record. */
205
109
  export interface SoaRecord {
206
- /**
207
- * The domain name of the authoritative name server for this SOA record.
208
- */
110
+ /** The domain name of the authoritative name server for this SOA record. */
209
111
  host?: string;
210
- /**
211
- * The email contact for this SOA record.
212
- */
112
+ /** The email contact for this SOA record. */
213
113
  email?: string;
214
- /**
215
- * The serial number for this SOA record.
216
- */
114
+ /** The serial number for this SOA record. */
217
115
  serialNumber?: number;
218
- /**
219
- * The refresh value for this SOA record.
220
- */
116
+ /** The refresh value for this SOA record. */
221
117
  refreshTime?: number;
222
- /**
223
- * The retry time for this SOA record.
224
- */
118
+ /** The retry time for this SOA record. */
225
119
  retryTime?: number;
226
- /**
227
- * The expire time for this SOA record.
228
- */
120
+ /** The expire time for this SOA record. */
229
121
  expireTime?: number;
230
- /**
231
- * The minimum value for this SOA record. By convention this is used to determine the negative
232
- * caching duration.
233
- */
122
+ /** The minimum value for this SOA record. By convention this is used to determine the negative caching duration. */
234
123
  minimumTtl?: number;
235
124
  }
236
125
 
237
- /**
238
- * An SRV record.
239
- */
126
+ /** An SRV record. */
240
127
  export interface SrvRecord {
241
- /**
242
- * The priority value for this SRV record.
243
- */
128
+ /** The priority value for this SRV record. */
244
129
  priority?: number;
245
- /**
246
- * The weight value for this SRV record.
247
- */
130
+ /** The weight value for this SRV record. */
248
131
  weight?: number;
249
- /**
250
- * The port value for this SRV record.
251
- */
132
+ /** The port value for this SRV record. */
252
133
  port?: number;
253
- /**
254
- * The target domain name for this SRV record.
255
- */
134
+ /** The target domain name for this SRV record. */
256
135
  target?: string;
257
136
  }
258
137
 
259
- /**
260
- * A TXT record.
261
- */
138
+ /** A TXT record. */
262
139
  export interface TxtRecord {
263
- /**
264
- * The text value of this TXT record.
265
- */
140
+ /** The text value of this TXT record. */
266
141
  value?: string[];
267
142
  }
268
143
 
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 {
144
+ /** The response to a record set list operation. */
145
+ export interface RecordSetListResult {
146
+ /** Information about the record sets in the response. */
147
+ value?: RecordSet[];
280
148
  /**
281
- * The ETag of the record set.
149
+ * The continuation token for the next page of results.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
282
151
  */
152
+ readonly nextLink?: string;
153
+ }
154
+
155
+ /** The resource model definition for a ARM tracked top level resource */
156
+ export type TrackedResource = Resource & {
157
+ /** Resource tags. */
158
+ tags?: { [propertyName: string]: string };
159
+ /** The Azure Region where the resource lives */
160
+ location?: string;
161
+ };
162
+
163
+ /** The resource model definition for an ARM proxy resource. */
164
+ export type ProxyResource = Resource & {};
165
+
166
+ /** Describes a Private DNS zone. */
167
+ export type PrivateZone = TrackedResource & {
168
+ /** The ETag of the zone. */
283
169
  etag?: string;
284
170
  /**
285
- * The metadata attached to the record set.
171
+ * The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
173
  */
287
- metadata?: { [propertyName: string]: string };
174
+ readonly maxNumberOfRecordSets?: number;
288
175
  /**
289
- * The TTL (time-to-live) of the records in the record set.
176
+ * The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
290
178
  */
291
- ttl?: number;
179
+ readonly numberOfRecordSets?: number;
292
180
  /**
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.**
181
+ * The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
295
183
  */
296
- readonly fqdn?: string;
184
+ readonly maxNumberOfVirtualNetworkLinks?: number;
297
185
  /**
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.**
186
+ * The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
300
188
  */
301
- readonly isAutoRegistered?: boolean;
189
+ readonly numberOfVirtualNetworkLinks?: number;
302
190
  /**
303
- * The list of A records in the record set.
191
+ * The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
304
193
  */
305
- aRecords?: ARecord[];
194
+ readonly maxNumberOfVirtualNetworkLinksWithRegistration?: number;
306
195
  /**
307
- * The list of AAAA records in the record set.
196
+ * The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
308
198
  */
309
- aaaaRecords?: AaaaRecord[];
199
+ readonly numberOfVirtualNetworkLinksWithRegistration?: number;
310
200
  /**
311
- * The CNAME record in the record set.
201
+ * The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
312
203
  */
313
- cnameRecord?: CnameRecord;
204
+ readonly provisioningState?: ProvisioningState;
314
205
  /**
315
- * The list of MX records in the record set.
206
+ * Private zone internal Id
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
208
  */
317
- mxRecords?: MxRecord[];
209
+ readonly internalId?: string;
210
+ };
211
+
212
+ /** Describes a link to virtual network for a Private DNS zone. */
213
+ export type VirtualNetworkLink = TrackedResource & {
214
+ /** The ETag of the virtual network link. */
215
+ etag?: string;
216
+ /** The reference of the virtual network. */
217
+ virtualNetwork?: SubResource;
218
+ /** Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? */
219
+ registrationEnabled?: boolean;
318
220
  /**
319
- * The list of PTR records in the record set.
221
+ * The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
223
  */
321
- ptrRecords?: PtrRecord[];
224
+ readonly virtualNetworkLinkState?: VirtualNetworkLinkState;
322
225
  /**
323
- * The SOA record in the record set.
226
+ * The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
324
228
  */
325
- soaRecord?: SoaRecord;
229
+ readonly provisioningState?: ProvisioningState;
230
+ };
231
+
232
+ /** Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone. */
233
+ export type RecordSet = ProxyResource & {
234
+ /** The ETag of the record set. */
235
+ etag?: string;
236
+ /** The metadata attached to the record set. */
237
+ metadata?: { [propertyName: string]: string };
238
+ /** The TTL (time-to-live) of the records in the record set. */
239
+ ttl?: number;
326
240
  /**
327
- * The list of SRV records in the record set.
241
+ * Fully qualified domain name of the record set.
242
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
243
  */
329
- srvRecords?: SrvRecord[];
244
+ readonly fqdn?: string;
330
245
  /**
331
- * The list of TXT records in the record set.
246
+ * Is the record set auto-registered in the Private DNS zone through a virtual network link?
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
248
  */
249
+ readonly isAutoRegistered?: boolean;
250
+ /** The list of A records in the record set. */
251
+ aRecords?: ARecord[];
252
+ /** The list of AAAA records in the record set. */
253
+ aaaaRecords?: AaaaRecord[];
254
+ /** The CNAME record in the record set. */
255
+ cnameRecord?: CnameRecord;
256
+ /** The list of MX records in the record set. */
257
+ mxRecords?: MxRecord[];
258
+ /** The list of PTR records in the record set. */
259
+ ptrRecords?: PtrRecord[];
260
+ /** The SOA record in the record set. */
261
+ soaRecord?: SoaRecord;
262
+ /** The list of SRV records in the record set. */
263
+ srvRecords?: SrvRecord[];
264
+ /** The list of TXT records in the record set. */
333
265
  txtRecords?: TxtRecord[];
334
- }
266
+ };
335
267
 
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
- */
268
+ /** Known values of {@link ProvisioningState} that the service accepts. */
269
+ export enum KnownProvisioningState {
270
+ Creating = "Creating",
271
+ Updating = "Updating",
272
+ Deleting = "Deleting",
273
+ Succeeded = "Succeeded",
274
+ Failed = "Failed",
275
+ Canceled = "Canceled"
276
+ }
277
+
278
+ /**
279
+ * Defines values for ProvisioningState. \
280
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
281
+ * this enum contains the known values that the service supports.
282
+ * ### Known values supported by the service
283
+ * **Creating** \
284
+ * **Updating** \
285
+ * **Deleting** \
286
+ * **Succeeded** \
287
+ * **Failed** \
288
+ * **Canceled**
289
+ */
290
+ export type ProvisioningState = string;
291
+
292
+ /** Known values of {@link VirtualNetworkLinkState} that the service accepts. */
293
+ export enum KnownVirtualNetworkLinkState {
294
+ InProgress = "InProgress",
295
+ Completed = "Completed"
296
+ }
297
+
298
+ /**
299
+ * Defines values for VirtualNetworkLinkState. \
300
+ * {@link KnownVirtualNetworkLinkState} can be used interchangeably with VirtualNetworkLinkState,
301
+ * this enum contains the known values that the service supports.
302
+ * ### Known values supported by the service
303
+ * **InProgress** \
304
+ * **Completed**
305
+ */
306
+ export type VirtualNetworkLinkState = string;
307
+ /** Defines values for RecordType. */
308
+ export type RecordType =
309
+ | "A"
310
+ | "AAAA"
311
+ | "CNAME"
312
+ | "MX"
313
+ | "PTR"
314
+ | "SOA"
315
+ | "SRV"
316
+ | "TXT";
317
+
318
+ /** Optional parameters. */
319
+ export interface PrivateZonesCreateOrUpdateOptionalParams
320
+ extends coreClient.OperationOptions {
321
+ /** The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
344
322
  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
- */
323
+ /** Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. */
349
324
  ifNoneMatch?: string;
325
+ /** Delay to wait until next poll, in milliseconds. */
326
+ updateIntervalInMs?: number;
327
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
328
+ resumeFrom?: string;
350
329
  }
351
330
 
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
- */
331
+ /** Contains response data for the createOrUpdate operation. */
332
+ export type PrivateZonesCreateOrUpdateResponse = PrivateZone;
333
+
334
+ /** Optional parameters. */
335
+ export interface PrivateZonesUpdateOptionalParams
336
+ extends coreClient.OperationOptions {
337
+ /** The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
360
338
  ifMatch?: string;
339
+ /** Delay to wait until next poll, in milliseconds. */
340
+ updateIntervalInMs?: number;
341
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
342
+ resumeFrom?: string;
361
343
  }
362
344
 
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
- */
345
+ /** Contains response data for the update operation. */
346
+ export type PrivateZonesUpdateResponse = PrivateZone;
347
+
348
+ /** Optional parameters. */
349
+ export interface PrivateZonesDeleteOptionalParams
350
+ extends coreClient.OperationOptions {
351
+ /** The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */
371
352
  ifMatch?: string;
353
+ /** Delay to wait until next poll, in milliseconds. */
354
+ updateIntervalInMs?: number;
355
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
356
+ resumeFrom?: string;
372
357
  }
373
358
 
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
- */
359
+ /** Optional parameters. */
360
+ export interface PrivateZonesGetOptionalParams
361
+ extends coreClient.OperationOptions {}
362
+
363
+ /** Contains response data for the get operation. */
364
+ export type PrivateZonesGetResponse = PrivateZone;
365
+
366
+ /** Optional parameters. */
367
+ export interface PrivateZonesListOptionalParams
368
+ extends coreClient.OperationOptions {
369
+ /** The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones. */
381
370
  top?: number;
382
371
  }
383
372
 
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
- */
373
+ /** Contains response data for the list operation. */
374
+ export type PrivateZonesListResponse = PrivateZoneListResult;
375
+
376
+ /** Optional parameters. */
377
+ export interface PrivateZonesListByResourceGroupOptionalParams
378
+ extends coreClient.OperationOptions {
379
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
391
380
  top?: number;
392
381
  }
393
382
 
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
- }
383
+ /** Contains response data for the listByResourceGroup operation. */
384
+ export type PrivateZonesListByResourceGroupResponse = PrivateZoneListResult;
409
385
 
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;
386
+ /** Optional parameters. */
387
+ export interface PrivateZonesListNextOptionalParams
388
+ extends coreClient.OperationOptions {
389
+ /** The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones. */
390
+ top?: number;
419
391
  }
420
392
 
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;
393
+ /** Contains response data for the listNext operation. */
394
+ export type PrivateZonesListNextResponse = PrivateZoneListResult;
395
+
396
+ /** Optional parameters. */
397
+ export interface PrivateZonesListByResourceGroupNextOptionalParams
398
+ extends coreClient.OperationOptions {
399
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
400
+ top?: number;
430
401
  }
431
402
 
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
- */
403
+ /** Contains response data for the listByResourceGroupNext operation. */
404
+ export type PrivateZonesListByResourceGroupNextResponse = PrivateZoneListResult;
405
+
406
+ /** Optional parameters. */
407
+ export interface VirtualNetworkLinksCreateOrUpdateOptionalParams
408
+ extends coreClient.OperationOptions {
409
+ /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
441
410
  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
- */
411
+ /** Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored. */
446
412
  ifNoneMatch?: string;
413
+ /** Delay to wait until next poll, in milliseconds. */
414
+ updateIntervalInMs?: number;
415
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
416
+ resumeFrom?: string;
447
417
  }
448
418
 
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
- */
419
+ /** Contains response data for the createOrUpdate operation. */
420
+ export type VirtualNetworkLinksCreateOrUpdateResponse = VirtualNetworkLink;
421
+
422
+ /** Optional parameters. */
423
+ export interface VirtualNetworkLinksUpdateOptionalParams
424
+ extends coreClient.OperationOptions {
425
+ /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
458
426
  ifMatch?: string;
427
+ /** Delay to wait until next poll, in milliseconds. */
428
+ updateIntervalInMs?: number;
429
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
430
+ resumeFrom?: string;
459
431
  }
460
432
 
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
- */
433
+ /** Contains response data for the update operation. */
434
+ export type VirtualNetworkLinksUpdateResponse = VirtualNetworkLink;
435
+
436
+ /** Optional parameters. */
437
+ export interface VirtualNetworkLinksDeleteOptionalParams
438
+ extends coreClient.OperationOptions {
439
+ /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */
470
440
  ifMatch?: string;
441
+ /** Delay to wait until next poll, in milliseconds. */
442
+ updateIntervalInMs?: number;
443
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
444
+ resumeFrom?: string;
471
445
  }
472
446
 
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
- */
447
+ /** Optional parameters. */
448
+ export interface VirtualNetworkLinksGetOptionalParams
449
+ extends coreClient.OperationOptions {}
450
+
451
+ /** Contains response data for the get operation. */
452
+ export type VirtualNetworkLinksGetResponse = VirtualNetworkLink;
453
+
454
+ /** Optional parameters. */
455
+ export interface VirtualNetworkLinksListOptionalParams
456
+ extends coreClient.OperationOptions {
457
+ /** The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links. */
481
458
  top?: number;
482
459
  }
483
460
 
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
- }
461
+ /** Contains response data for the list operation. */
462
+ export type VirtualNetworkLinksListResponse = VirtualNetworkLinkListResult;
500
463
 
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;
464
+ /** Optional parameters. */
465
+ export interface VirtualNetworkLinksListNextOptionalParams
466
+ extends coreClient.OperationOptions {
467
+ /** The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links. */
468
+ top?: number;
511
469
  }
512
470
 
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
- }
471
+ /** Contains response data for the listNext operation. */
472
+ export type VirtualNetworkLinksListNextResponse = VirtualNetworkLinkListResult;
524
473
 
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
- */
474
+ /** Optional parameters. */
475
+ export interface RecordSetsCreateOrUpdateOptionalParams
476
+ extends coreClient.OperationOptions {
477
+ /** The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
533
478
  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
- */
479
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored. */
538
480
  ifNoneMatch?: string;
539
481
  }
540
482
 
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
- */
483
+ /** Contains response data for the createOrUpdate operation. */
484
+ export type RecordSetsCreateOrUpdateResponse = RecordSet;
485
+
486
+ /** Optional parameters. */
487
+ export interface RecordSetsUpdateOptionalParams
488
+ extends coreClient.OperationOptions {
489
+ /** The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
549
490
  ifMatch?: string;
550
491
  }
551
492
 
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
- */
493
+ /** Contains response data for the update operation. */
494
+ export type RecordSetsUpdateResponse = RecordSet;
495
+
496
+ /** Optional parameters. */
497
+ export interface RecordSetsDeleteOptionalParams
498
+ extends coreClient.OperationOptions {
499
+ /** The ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */
560
500
  ifMatch?: string;
561
501
  }
562
502
 
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
- */
503
+ /** Optional parameters. */
504
+ export interface RecordSetsGetOptionalParams
505
+ extends coreClient.OperationOptions {}
506
+
507
+ /** Contains response data for the get operation. */
508
+ export type RecordSetsGetResponse = RecordSet;
509
+
510
+ /** Optional parameters. */
511
+ export interface RecordSetsListByTypeOptionalParams
512
+ extends coreClient.OperationOptions {
513
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
570
514
  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
- */
515
+ /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>". */
576
516
  recordsetnamesuffix?: string;
577
517
  }
578
518
 
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
- */
519
+ /** Contains response data for the listByType operation. */
520
+ export type RecordSetsListByTypeResponse = RecordSetListResult;
521
+
522
+ /** Optional parameters. */
523
+ export interface RecordSetsListOptionalParams
524
+ extends coreClient.OperationOptions {
525
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
586
526
  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
- */
527
+ /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>". */
592
528
  recordsetnamesuffix?: string;
593
529
  }
594
530
 
595
- /**
596
- * An interface representing PrivateDnsManagementClientOptions.
597
- */
598
- export interface PrivateDnsManagementClientOptions extends AzureServiceClientOptions {
599
- baseUri?: string;
600
- }
531
+ /** Contains response data for the list operation. */
532
+ export type RecordSetsListResponse = RecordSetListResult;
601
533
 
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;
534
+ /** Optional parameters. */
535
+ export interface RecordSetsListByTypeNextOptionalParams
536
+ extends coreClient.OperationOptions {
537
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
538
+ top?: number;
539
+ /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>". */
540
+ recordsetnamesuffix?: string;
613
541
  }
614
542
 
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
- }
543
+ /** Contains response data for the listByTypeNext operation. */
544
+ export type RecordSetsListByTypeNextResponse = RecordSetListResult;
627
545
 
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;
546
+ /** Optional parameters. */
547
+ export interface RecordSetsListNextOptionalParams
548
+ extends coreClient.OperationOptions {
549
+ /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */
550
+ top?: number;
551
+ /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>". */
552
+ recordsetnamesuffix?: string;
639
553
  }
640
554
 
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
- };
555
+ /** Contains response data for the listNext operation. */
556
+ export type RecordSetsListNextResponse = RecordSetListResult;
804
557
 
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
- };
558
+ /** Optional parameters. */
559
+ export interface PrivateDnsManagementClientOptionalParams
560
+ extends coreClient.ServiceClientOptions {
561
+ /** server parameter */
562
+ $host?: string;
563
+ /** Api Version */
564
+ apiVersion?: string;
565
+ /** Overrides client endpoint. */
566
+ endpoint?: string;
567
+ }