@azure/arm-dnsresolver 1.0.0-beta.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 (117) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +98 -0
  4. package/dist/index.js +4086 -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/dnsResolverManagementClient.d.ts +23 -0
  9. package/dist-esm/src/dnsResolverManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dnsResolverManagementClient.js +56 -0
  11. package/dist-esm/src/dnsResolverManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +820 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +44 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +32 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +821 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +31 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +236 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/dnsForwardingRulesets.d.ts +133 -0
  33. package/dist-esm/src/operations/dnsForwardingRulesets.d.ts.map +1 -0
  34. package/dist-esm/src/operations/dnsForwardingRulesets.js +623 -0
  35. package/dist-esm/src/operations/dnsForwardingRulesets.js.map +1 -0
  36. package/dist-esm/src/operations/dnsResolvers.d.ts +131 -0
  37. package/dist-esm/src/operations/dnsResolvers.d.ts.map +1 -0
  38. package/dist-esm/src/operations/dnsResolvers.js +621 -0
  39. package/dist-esm/src/operations/dnsResolvers.js.map +1 -0
  40. package/dist-esm/src/operations/forwardingRules.d.ts +72 -0
  41. package/dist-esm/src/operations/forwardingRules.d.ts.map +1 -0
  42. package/dist-esm/src/operations/forwardingRules.js +304 -0
  43. package/dist-esm/src/operations/forwardingRules.js.map +1 -0
  44. package/dist-esm/src/operations/inboundEndpoints.d.ts +99 -0
  45. package/dist-esm/src/operations/inboundEndpoints.d.ts.map +1 -0
  46. package/dist-esm/src/operations/inboundEndpoints.js +438 -0
  47. package/dist-esm/src/operations/inboundEndpoints.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +7 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +14 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/outboundEndpoints.d.ts +99 -0
  53. package/dist-esm/src/operations/outboundEndpoints.d.ts.map +1 -0
  54. package/dist-esm/src/operations/outboundEndpoints.js +438 -0
  55. package/dist-esm/src/operations/outboundEndpoints.js.map +1 -0
  56. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +101 -0
  57. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  58. package/dist-esm/src/operations/virtualNetworkLinks.js +450 -0
  59. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.d.ts +80 -0
  61. package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/dnsResolvers.d.ts +78 -0
  65. package/dist-esm/src/operationsInterfaces/dnsResolvers.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/dnsResolvers.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/dnsResolvers.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/forwardingRules.d.ts +47 -0
  69. package/dist-esm/src/operationsInterfaces/forwardingRules.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/forwardingRules.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/forwardingRules.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/inboundEndpoints.d.ts +74 -0
  73. package/dist-esm/src/operationsInterfaces/inboundEndpoints.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/inboundEndpoints.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/inboundEndpoints.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  77. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  79. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/outboundEndpoints.d.ts +74 -0
  81. package/dist-esm/src/operationsInterfaces/outboundEndpoints.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/outboundEndpoints.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/outboundEndpoints.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +76 -0
  85. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  88. package/dist-esm/test/sampleTest.d.ts +2 -0
  89. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  90. package/dist-esm/test/sampleTest.js +40 -0
  91. package/dist-esm/test/sampleTest.js.map +1 -0
  92. package/package.json +118 -0
  93. package/review/arm-dnsresolver.api.md +767 -0
  94. package/rollup.config.js +122 -0
  95. package/src/dnsResolverManagementClient.ts +99 -0
  96. package/src/index.ts +12 -0
  97. package/src/lroImpl.ts +34 -0
  98. package/src/models/index.ts +971 -0
  99. package/src/models/mappers.ts +903 -0
  100. package/src/models/parameters.ts +283 -0
  101. package/src/operations/dnsForwardingRulesets.ts +838 -0
  102. package/src/operations/dnsResolvers.ts +836 -0
  103. package/src/operations/forwardingRules.ts +406 -0
  104. package/src/operations/inboundEndpoints.ts +621 -0
  105. package/src/operations/index.ts +14 -0
  106. package/src/operations/outboundEndpoints.ts +621 -0
  107. package/src/operations/virtualNetworkLinks.ts +641 -0
  108. package/src/operationsInterfaces/dnsForwardingRulesets.ts +154 -0
  109. package/src/operationsInterfaces/dnsResolvers.ts +152 -0
  110. package/src/operationsInterfaces/forwardingRules.ts +93 -0
  111. package/src/operationsInterfaces/inboundEndpoints.ts +147 -0
  112. package/src/operationsInterfaces/index.ts +14 -0
  113. package/src/operationsInterfaces/outboundEndpoints.ts +147 -0
  114. package/src/operationsInterfaces/virtualNetworkLinks.ts +149 -0
  115. package/tsconfig.json +32 -0
  116. package/types/arm-dnsresolver.d.ts +1379 -0
  117. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1379 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** An error message */
8
+ export declare interface CloudError {
9
+ /** The error message body */
10
+ error?: CloudErrorBody;
11
+ }
12
+
13
+ /** The body of an error message */
14
+ export declare interface CloudErrorBody {
15
+ /** The error code */
16
+ code?: string;
17
+ /** A description of what caused the error */
18
+ message?: string;
19
+ /** The target resource of the error message */
20
+ target?: string;
21
+ /** Extra error information */
22
+ details?: CloudErrorBody[];
23
+ }
24
+
25
+ /**
26
+ * Defines values for CreatedByType. \
27
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
28
+ * this enum contains the known values that the service supports.
29
+ * ### Known values supported by the service
30
+ * **User** \
31
+ * **Application** \
32
+ * **ManagedIdentity** \
33
+ * **Key**
34
+ */
35
+ export declare type CreatedByType = string;
36
+
37
+ /** Describes a DNS forwarding ruleset. */
38
+ export declare type DnsForwardingRuleset = TrackedResource & {
39
+ /**
40
+ * ETag of the DNS forwarding ruleset.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly etag?: string;
44
+ /**
45
+ * Metadata pertaining to creation and last modification of the resource.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly systemData?: SystemData;
49
+ /** The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers. */
50
+ dnsResolverOutboundEndpoints?: SubResource[];
51
+ /**
52
+ * The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.
53
+ * NOTE: This property will not be serialized. It can only be populated by the server.
54
+ */
55
+ readonly provisioningState?: ProvisioningState;
56
+ /**
57
+ * The resourceGuid for the DNS forwarding ruleset.
58
+ * NOTE: This property will not be serialized. It can only be populated by the server.
59
+ */
60
+ readonly resourceGuid?: string;
61
+ };
62
+
63
+ /** The response to an enumeration operation on DNS forwarding rulesets. */
64
+ export declare interface DnsForwardingRulesetListResult {
65
+ /** Enumeration of the DNS forwarding rulesets. */
66
+ value?: DnsForwardingRuleset[];
67
+ /**
68
+ * The continuation token for the next page of results.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly nextLink?: string;
72
+ }
73
+
74
+ /** Describes a DNS forwarding ruleset PATCH operation. */
75
+ export declare interface DnsForwardingRulesetPatch {
76
+ /** Tags for DNS Resolver. */
77
+ tags?: {
78
+ [propertyName: string]: string;
79
+ };
80
+ }
81
+
82
+ /** Interface representing a DnsForwardingRulesets. */
83
+ export declare interface DnsForwardingRulesets {
84
+ /**
85
+ * Lists DNS forwarding rulesets within a resource group.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param options The options parameters.
88
+ */
89
+ listByResourceGroup(resourceGroupName: string, options?: DnsForwardingRulesetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DnsForwardingRuleset>;
90
+ /**
91
+ * Lists DNS forwarding rulesets in all resource groups of a subscription.
92
+ * @param options The options parameters.
93
+ */
94
+ list(options?: DnsForwardingRulesetsListOptionalParams): PagedAsyncIterableIterator<DnsForwardingRuleset>;
95
+ /**
96
+ * Lists DNS forwarding ruleset resource IDs attached to a virtual network.
97
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
98
+ * @param virtualNetworkName The name of the virtual network.
99
+ * @param options The options parameters.
100
+ */
101
+ listByVirtualNetwork(resourceGroupName: string, virtualNetworkName: string, options?: DnsForwardingRulesetsListByVirtualNetworkOptionalParams): PagedAsyncIterableIterator<VirtualNetworkDnsForwardingRuleset>;
102
+ /**
103
+ * Creates or updates a DNS forwarding ruleset.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
106
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
107
+ * @param options The options parameters.
108
+ */
109
+ beginCreateOrUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, parameters: DnsForwardingRuleset, options?: DnsForwardingRulesetsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsForwardingRulesetsCreateOrUpdateResponse>, DnsForwardingRulesetsCreateOrUpdateResponse>>;
110
+ /**
111
+ * Creates or updates a DNS forwarding ruleset.
112
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
113
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
114
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
115
+ * @param options The options parameters.
116
+ */
117
+ beginCreateOrUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, parameters: DnsForwardingRuleset, options?: DnsForwardingRulesetsCreateOrUpdateOptionalParams): Promise<DnsForwardingRulesetsCreateOrUpdateResponse>;
118
+ /**
119
+ * Updates a DNS forwarding ruleset.
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
122
+ * @param parameters Parameters supplied to the Update operation.
123
+ * @param options The options parameters.
124
+ */
125
+ beginUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, parameters: DnsForwardingRulesetPatch, options?: DnsForwardingRulesetsUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsForwardingRulesetsUpdateResponse>, DnsForwardingRulesetsUpdateResponse>>;
126
+ /**
127
+ * Updates a DNS forwarding ruleset.
128
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
130
+ * @param parameters Parameters supplied to the Update operation.
131
+ * @param options The options parameters.
132
+ */
133
+ beginUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, parameters: DnsForwardingRulesetPatch, options?: DnsForwardingRulesetsUpdateOptionalParams): Promise<DnsForwardingRulesetsUpdateResponse>;
134
+ /**
135
+ * Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules
136
+ * within the ruleset will be deleted.
137
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
139
+ * @param options The options parameters.
140
+ */
141
+ beginDelete(resourceGroupName: string, dnsForwardingRulesetName: string, options?: DnsForwardingRulesetsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
142
+ /**
143
+ * Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules
144
+ * within the ruleset will be deleted.
145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
146
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
147
+ * @param options The options parameters.
148
+ */
149
+ beginDeleteAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, options?: DnsForwardingRulesetsDeleteOptionalParams): Promise<void>;
150
+ /**
151
+ * Gets a DNS forwarding ruleset properties.
152
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
153
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
154
+ * @param options The options parameters.
155
+ */
156
+ get(resourceGroupName: string, dnsForwardingRulesetName: string, options?: DnsForwardingRulesetsGetOptionalParams): Promise<DnsForwardingRulesetsGetResponse>;
157
+ }
158
+
159
+ /** Optional parameters. */
160
+ export declare interface DnsForwardingRulesetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
161
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
162
+ ifMatch?: string;
163
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
164
+ ifNoneMatch?: string;
165
+ /** Delay to wait until next poll, in milliseconds. */
166
+ updateIntervalInMs?: number;
167
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
168
+ resumeFrom?: string;
169
+ }
170
+
171
+ /** Contains response data for the createOrUpdate operation. */
172
+ export declare type DnsForwardingRulesetsCreateOrUpdateResponse = DnsForwardingRuleset;
173
+
174
+ /** Optional parameters. */
175
+ export declare interface DnsForwardingRulesetsDeleteOptionalParams extends coreClient.OperationOptions {
176
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
177
+ ifMatch?: string;
178
+ /** Delay to wait until next poll, in milliseconds. */
179
+ updateIntervalInMs?: number;
180
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
181
+ resumeFrom?: string;
182
+ }
183
+
184
+ /** Optional parameters. */
185
+ export declare interface DnsForwardingRulesetsGetOptionalParams extends coreClient.OperationOptions {
186
+ }
187
+
188
+ /** Contains response data for the get operation. */
189
+ export declare type DnsForwardingRulesetsGetResponse = DnsForwardingRuleset;
190
+
191
+ /** Optional parameters. */
192
+ export declare interface DnsForwardingRulesetsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
193
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
194
+ top?: number;
195
+ }
196
+
197
+ /** Contains response data for the listByResourceGroupNext operation. */
198
+ export declare type DnsForwardingRulesetsListByResourceGroupNextResponse = DnsForwardingRulesetListResult;
199
+
200
+ /** Optional parameters. */
201
+ export declare interface DnsForwardingRulesetsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
202
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
203
+ top?: number;
204
+ }
205
+
206
+ /** Contains response data for the listByResourceGroup operation. */
207
+ export declare type DnsForwardingRulesetsListByResourceGroupResponse = DnsForwardingRulesetListResult;
208
+
209
+ /** Optional parameters. */
210
+ export declare interface DnsForwardingRulesetsListByVirtualNetworkNextOptionalParams extends coreClient.OperationOptions {
211
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
212
+ top?: number;
213
+ }
214
+
215
+ /** Contains response data for the listByVirtualNetworkNext operation. */
216
+ export declare type DnsForwardingRulesetsListByVirtualNetworkNextResponse = VirtualNetworkDnsForwardingRulesetListResult;
217
+
218
+ /** Optional parameters. */
219
+ export declare interface DnsForwardingRulesetsListByVirtualNetworkOptionalParams extends coreClient.OperationOptions {
220
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
221
+ top?: number;
222
+ }
223
+
224
+ /** Contains response data for the listByVirtualNetwork operation. */
225
+ export declare type DnsForwardingRulesetsListByVirtualNetworkResponse = VirtualNetworkDnsForwardingRulesetListResult;
226
+
227
+ /** Optional parameters. */
228
+ export declare interface DnsForwardingRulesetsListNextOptionalParams extends coreClient.OperationOptions {
229
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
230
+ top?: number;
231
+ }
232
+
233
+ /** Contains response data for the listNext operation. */
234
+ export declare type DnsForwardingRulesetsListNextResponse = DnsForwardingRulesetListResult;
235
+
236
+ /** Optional parameters. */
237
+ export declare interface DnsForwardingRulesetsListOptionalParams extends coreClient.OperationOptions {
238
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
239
+ top?: number;
240
+ }
241
+
242
+ /** Contains response data for the list operation. */
243
+ export declare type DnsForwardingRulesetsListResponse = DnsForwardingRulesetListResult;
244
+
245
+ /** Optional parameters. */
246
+ export declare interface DnsForwardingRulesetsUpdateOptionalParams extends coreClient.OperationOptions {
247
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
248
+ ifMatch?: string;
249
+ /** Delay to wait until next poll, in milliseconds. */
250
+ updateIntervalInMs?: number;
251
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
252
+ resumeFrom?: string;
253
+ }
254
+
255
+ /** Contains response data for the update operation. */
256
+ export declare type DnsForwardingRulesetsUpdateResponse = DnsForwardingRuleset;
257
+
258
+ /** Describes a DNS resolver. */
259
+ export declare type DnsResolver = TrackedResource & {
260
+ /**
261
+ * ETag of the DNS resolver.
262
+ * NOTE: This property will not be serialized. It can only be populated by the server.
263
+ */
264
+ readonly etag?: string;
265
+ /**
266
+ * Metadata pertaining to creation and last modification of the resource.
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
268
+ */
269
+ readonly systemData?: SystemData;
270
+ /** The reference to the virtual network. This cannot be changed after creation. */
271
+ virtualNetwork?: SubResource;
272
+ /**
273
+ * The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.
274
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
+ */
276
+ readonly dnsResolverState?: DnsResolverState;
277
+ /**
278
+ * The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.
279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
+ */
281
+ readonly provisioningState?: ProvisioningState;
282
+ /**
283
+ * The resourceGuid property of the DNS resolver resource.
284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
+ */
286
+ readonly resourceGuid?: string;
287
+ };
288
+
289
+ /** The response to an enumeration operation on DNS resolvers. */
290
+ export declare interface DnsResolverListResult {
291
+ /** Enumeration of the DNS resolvers. */
292
+ value?: DnsResolver[];
293
+ /**
294
+ * The continuation token for the next page of results.
295
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
+ */
297
+ readonly nextLink?: string;
298
+ }
299
+
300
+ export declare class DnsResolverManagementClient extends coreClient.ServiceClient {
301
+ $host: string;
302
+ subscriptionId: string;
303
+ apiVersion: string;
304
+ /**
305
+ * Initializes a new instance of the DnsResolverManagementClient class.
306
+ * @param credentials Subscription credentials which uniquely identify client subscription.
307
+ * @param subscriptionId The ID of the target subscription.
308
+ * @param options The parameter options
309
+ */
310
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DnsResolverManagementClientOptionalParams);
311
+ dnsResolvers: DnsResolvers;
312
+ inboundEndpoints: InboundEndpoints;
313
+ outboundEndpoints: OutboundEndpoints;
314
+ dnsForwardingRulesets: DnsForwardingRulesets;
315
+ forwardingRules: ForwardingRules;
316
+ virtualNetworkLinks: VirtualNetworkLinks;
317
+ }
318
+
319
+ /** Optional parameters. */
320
+ export declare interface DnsResolverManagementClientOptionalParams extends coreClient.ServiceClientOptions {
321
+ /** server parameter */
322
+ $host?: string;
323
+ /** Api Version */
324
+ apiVersion?: string;
325
+ /** Overrides client endpoint. */
326
+ endpoint?: string;
327
+ }
328
+
329
+ /** Describes a DNS resolver for PATCH operation. */
330
+ export declare interface DnsResolverPatch {
331
+ /** Tags for DNS Resolver. */
332
+ tags?: {
333
+ [propertyName: string]: string;
334
+ };
335
+ }
336
+
337
+ /** Interface representing a DnsResolvers. */
338
+ export declare interface DnsResolvers {
339
+ /**
340
+ * Lists DNS resolvers within a resource group.
341
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
342
+ * @param options The options parameters.
343
+ */
344
+ listByResourceGroup(resourceGroupName: string, options?: DnsResolversListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DnsResolver>;
345
+ /**
346
+ * Lists DNS resolvers in all resource groups of a subscription.
347
+ * @param options The options parameters.
348
+ */
349
+ list(options?: DnsResolversListOptionalParams): PagedAsyncIterableIterator<DnsResolver>;
350
+ /**
351
+ * Lists DNS resolver resource IDs linked to a virtual network.
352
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
353
+ * @param virtualNetworkName The name of the virtual network.
354
+ * @param options The options parameters.
355
+ */
356
+ listByVirtualNetwork(resourceGroupName: string, virtualNetworkName: string, options?: DnsResolversListByVirtualNetworkOptionalParams): PagedAsyncIterableIterator<SubResource>;
357
+ /**
358
+ * Creates or updates a DNS resolver.
359
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
360
+ * @param dnsResolverName The name of the DNS resolver.
361
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
362
+ * @param options The options parameters.
363
+ */
364
+ beginCreateOrUpdate(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolver, options?: DnsResolversCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsResolversCreateOrUpdateResponse>, DnsResolversCreateOrUpdateResponse>>;
365
+ /**
366
+ * Creates or updates a DNS resolver.
367
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
368
+ * @param dnsResolverName The name of the DNS resolver.
369
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
370
+ * @param options The options parameters.
371
+ */
372
+ beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolver, options?: DnsResolversCreateOrUpdateOptionalParams): Promise<DnsResolversCreateOrUpdateResponse>;
373
+ /**
374
+ * Updates a DNS resolver.
375
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
376
+ * @param dnsResolverName The name of the DNS resolver.
377
+ * @param parameters Parameters supplied to the Update operation.
378
+ * @param options The options parameters.
379
+ */
380
+ beginUpdate(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolverPatch, options?: DnsResolversUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsResolversUpdateResponse>, DnsResolversUpdateResponse>>;
381
+ /**
382
+ * Updates a DNS resolver.
383
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
384
+ * @param dnsResolverName The name of the DNS resolver.
385
+ * @param parameters Parameters supplied to the Update operation.
386
+ * @param options The options parameters.
387
+ */
388
+ beginUpdateAndWait(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolverPatch, options?: DnsResolversUpdateOptionalParams): Promise<DnsResolversUpdateResponse>;
389
+ /**
390
+ * Deletes a DNS resolver. WARNING: This operation cannot be undone.
391
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
392
+ * @param dnsResolverName The name of the DNS resolver.
393
+ * @param options The options parameters.
394
+ */
395
+ beginDelete(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
396
+ /**
397
+ * Deletes a DNS resolver. WARNING: This operation cannot be undone.
398
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
399
+ * @param dnsResolverName The name of the DNS resolver.
400
+ * @param options The options parameters.
401
+ */
402
+ beginDeleteAndWait(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversDeleteOptionalParams): Promise<void>;
403
+ /**
404
+ * Gets properties of a DNS resolver.
405
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
406
+ * @param dnsResolverName The name of the DNS resolver.
407
+ * @param options The options parameters.
408
+ */
409
+ get(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversGetOptionalParams): Promise<DnsResolversGetResponse>;
410
+ }
411
+
412
+ /** Optional parameters. */
413
+ export declare interface DnsResolversCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
414
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
415
+ ifMatch?: string;
416
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
417
+ ifNoneMatch?: string;
418
+ /** Delay to wait until next poll, in milliseconds. */
419
+ updateIntervalInMs?: number;
420
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
421
+ resumeFrom?: string;
422
+ }
423
+
424
+ /** Contains response data for the createOrUpdate operation. */
425
+ export declare type DnsResolversCreateOrUpdateResponse = DnsResolver;
426
+
427
+ /** Optional parameters. */
428
+ export declare interface DnsResolversDeleteOptionalParams extends coreClient.OperationOptions {
429
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
430
+ ifMatch?: string;
431
+ /** Delay to wait until next poll, in milliseconds. */
432
+ updateIntervalInMs?: number;
433
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
434
+ resumeFrom?: string;
435
+ }
436
+
437
+ /** Optional parameters. */
438
+ export declare interface DnsResolversGetOptionalParams extends coreClient.OperationOptions {
439
+ }
440
+
441
+ /** Contains response data for the get operation. */
442
+ export declare type DnsResolversGetResponse = DnsResolver;
443
+
444
+ /** Optional parameters. */
445
+ export declare interface DnsResolversListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
446
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
447
+ top?: number;
448
+ }
449
+
450
+ /** Contains response data for the listByResourceGroupNext operation. */
451
+ export declare type DnsResolversListByResourceGroupNextResponse = DnsResolverListResult;
452
+
453
+ /** Optional parameters. */
454
+ export declare interface DnsResolversListByResourceGroupOptionalParams extends coreClient.OperationOptions {
455
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
456
+ top?: number;
457
+ }
458
+
459
+ /** Contains response data for the listByResourceGroup operation. */
460
+ export declare type DnsResolversListByResourceGroupResponse = DnsResolverListResult;
461
+
462
+ /** Optional parameters. */
463
+ export declare interface DnsResolversListByVirtualNetworkNextOptionalParams extends coreClient.OperationOptions {
464
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
465
+ top?: number;
466
+ }
467
+
468
+ /** Contains response data for the listByVirtualNetworkNext operation. */
469
+ export declare type DnsResolversListByVirtualNetworkNextResponse = SubResourceListResult;
470
+
471
+ /** Optional parameters. */
472
+ export declare interface DnsResolversListByVirtualNetworkOptionalParams extends coreClient.OperationOptions {
473
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
474
+ top?: number;
475
+ }
476
+
477
+ /** Contains response data for the listByVirtualNetwork operation. */
478
+ export declare type DnsResolversListByVirtualNetworkResponse = SubResourceListResult;
479
+
480
+ /** Optional parameters. */
481
+ export declare interface DnsResolversListNextOptionalParams extends coreClient.OperationOptions {
482
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
483
+ top?: number;
484
+ }
485
+
486
+ /** Contains response data for the listNext operation. */
487
+ export declare type DnsResolversListNextResponse = DnsResolverListResult;
488
+
489
+ /** Optional parameters. */
490
+ export declare interface DnsResolversListOptionalParams extends coreClient.OperationOptions {
491
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
492
+ top?: number;
493
+ }
494
+
495
+ /** Contains response data for the list operation. */
496
+ export declare type DnsResolversListResponse = DnsResolverListResult;
497
+
498
+ /**
499
+ * Defines values for DnsResolverState. \
500
+ * {@link KnownDnsResolverState} can be used interchangeably with DnsResolverState,
501
+ * this enum contains the known values that the service supports.
502
+ * ### Known values supported by the service
503
+ * **Connected** \
504
+ * **Disconnected**
505
+ */
506
+ export declare type DnsResolverState = string;
507
+
508
+ /** Optional parameters. */
509
+ export declare interface DnsResolversUpdateOptionalParams extends coreClient.OperationOptions {
510
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
511
+ ifMatch?: string;
512
+ /** Delay to wait until next poll, in milliseconds. */
513
+ updateIntervalInMs?: number;
514
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
515
+ resumeFrom?: string;
516
+ }
517
+
518
+ /** Contains response data for the update operation. */
519
+ export declare type DnsResolversUpdateResponse = DnsResolver;
520
+
521
+ /** Describes a forwarding rule within a DNS forwarding ruleset. */
522
+ export declare type ForwardingRule = ProxyResource & {
523
+ /**
524
+ * ETag of the forwarding rule.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly etag?: string;
528
+ /**
529
+ * Metadata pertaining to creation and last modification of the resource.
530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
+ */
532
+ readonly systemData?: SystemData;
533
+ /** The domain name for the forwarding rule. */
534
+ domainName?: string;
535
+ /** DNS servers to forward the DNS query to. */
536
+ targetDnsServers?: TargetDnsServer[];
537
+ /** Metadata attached to the forwarding rule. */
538
+ metadata?: {
539
+ [propertyName: string]: string;
540
+ };
541
+ /** The state of forwarding rule. */
542
+ forwardingRuleState?: ForwardingRuleState;
543
+ /**
544
+ * The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
+ */
547
+ readonly provisioningState?: ProvisioningState;
548
+ };
549
+
550
+ /** The response to an enumeration operation on forwarding rules within a DNS forwarding ruleset. */
551
+ export declare interface ForwardingRuleListResult {
552
+ /** Enumeration of the forwarding rules. */
553
+ value?: ForwardingRule[];
554
+ /**
555
+ * The continuation token for the next page of results.
556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
557
+ */
558
+ readonly nextLink?: string;
559
+ }
560
+
561
+ /** Describes a forwarding rule for PATCH operation. */
562
+ export declare interface ForwardingRulePatch {
563
+ /** DNS servers to forward the DNS query to. */
564
+ targetDnsServers?: TargetDnsServer[];
565
+ /** Metadata attached to the forwarding rule. */
566
+ metadata?: {
567
+ [propertyName: string]: string;
568
+ };
569
+ /** The state of forwarding rule. */
570
+ forwardingRuleState?: ForwardingRuleState;
571
+ }
572
+
573
+ /** Interface representing a ForwardingRules. */
574
+ export declare interface ForwardingRules {
575
+ /**
576
+ * Lists forwarding rules in a DNS forwarding ruleset.
577
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
578
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
579
+ * @param options The options parameters.
580
+ */
581
+ list(resourceGroupName: string, dnsForwardingRulesetName: string, options?: ForwardingRulesListOptionalParams): PagedAsyncIterableIterator<ForwardingRule>;
582
+ /**
583
+ * Creates or updates a forwarding rule in a DNS forwarding ruleset.
584
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
585
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
586
+ * @param forwardingRuleName The name of the forwarding rule.
587
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
588
+ * @param options The options parameters.
589
+ */
590
+ createOrUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, parameters: ForwardingRule, options?: ForwardingRulesCreateOrUpdateOptionalParams): Promise<ForwardingRulesCreateOrUpdateResponse>;
591
+ /**
592
+ * Updates a forwarding rule in a DNS forwarding ruleset.
593
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
594
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
595
+ * @param forwardingRuleName The name of the forwarding rule.
596
+ * @param parameters Parameters supplied to the Update operation.
597
+ * @param options The options parameters.
598
+ */
599
+ update(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, parameters: ForwardingRulePatch, options?: ForwardingRulesUpdateOptionalParams): Promise<ForwardingRulesUpdateResponse>;
600
+ /**
601
+ * Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.
602
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
603
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
604
+ * @param forwardingRuleName The name of the forwarding rule.
605
+ * @param options The options parameters.
606
+ */
607
+ delete(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, options?: ForwardingRulesDeleteOptionalParams): Promise<void>;
608
+ /**
609
+ * Gets properties of a forwarding rule in a DNS forwarding ruleset.
610
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
611
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
612
+ * @param forwardingRuleName The name of the forwarding rule.
613
+ * @param options The options parameters.
614
+ */
615
+ get(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, options?: ForwardingRulesGetOptionalParams): Promise<ForwardingRulesGetResponse>;
616
+ }
617
+
618
+ /** Optional parameters. */
619
+ export declare interface ForwardingRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
620
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
621
+ ifMatch?: string;
622
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
623
+ ifNoneMatch?: string;
624
+ }
625
+
626
+ /** Contains response data for the createOrUpdate operation. */
627
+ export declare type ForwardingRulesCreateOrUpdateResponse = ForwardingRule;
628
+
629
+ /** Optional parameters. */
630
+ export declare interface ForwardingRulesDeleteOptionalParams extends coreClient.OperationOptions {
631
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
632
+ ifMatch?: string;
633
+ }
634
+
635
+ /** Optional parameters. */
636
+ export declare interface ForwardingRulesGetOptionalParams extends coreClient.OperationOptions {
637
+ }
638
+
639
+ /** Contains response data for the get operation. */
640
+ export declare type ForwardingRulesGetResponse = ForwardingRule;
641
+
642
+ /** Optional parameters. */
643
+ export declare interface ForwardingRulesListNextOptionalParams extends coreClient.OperationOptions {
644
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
645
+ top?: number;
646
+ }
647
+
648
+ /** Contains response data for the listNext operation. */
649
+ export declare type ForwardingRulesListNextResponse = ForwardingRuleListResult;
650
+
651
+ /** Optional parameters. */
652
+ export declare interface ForwardingRulesListOptionalParams extends coreClient.OperationOptions {
653
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
654
+ top?: number;
655
+ }
656
+
657
+ /** Contains response data for the list operation. */
658
+ export declare type ForwardingRulesListResponse = ForwardingRuleListResult;
659
+
660
+ /**
661
+ * Defines values for ForwardingRuleState. \
662
+ * {@link KnownForwardingRuleState} can be used interchangeably with ForwardingRuleState,
663
+ * this enum contains the known values that the service supports.
664
+ * ### Known values supported by the service
665
+ * **Enabled** \
666
+ * **Disabled**
667
+ */
668
+ export declare type ForwardingRuleState = string;
669
+
670
+ /** Optional parameters. */
671
+ export declare interface ForwardingRulesUpdateOptionalParams extends coreClient.OperationOptions {
672
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
673
+ ifMatch?: string;
674
+ }
675
+
676
+ /** Contains response data for the update operation. */
677
+ export declare type ForwardingRulesUpdateResponse = ForwardingRule;
678
+
679
+ /** Describes an inbound endpoint for a DNS resolver. */
680
+ export declare type InboundEndpoint = TrackedResource & {
681
+ /**
682
+ * ETag of the inbound endpoint.
683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
684
+ */
685
+ readonly etag?: string;
686
+ /**
687
+ * Metadata pertaining to creation and last modification of the resource.
688
+ * NOTE: This property will not be serialized. It can only be populated by the server.
689
+ */
690
+ readonly systemData?: SystemData;
691
+ /** IP configurations for the inbound endpoint. */
692
+ ipConfigurations?: IpConfiguration[];
693
+ /**
694
+ * The current provisioning state of the inbound endpoint. This is a read-only property and any attempt to set this value will be ignored.
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
696
+ */
697
+ readonly provisioningState?: ProvisioningState;
698
+ /**
699
+ * The resourceGuid property of the inbound endpoint resource.
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
701
+ */
702
+ readonly resourceGuid?: string;
703
+ };
704
+
705
+ /** The response to an enumeration operation on inbound endpoints for a DNS resolver. */
706
+ export declare interface InboundEndpointListResult {
707
+ /** Enumeration of the inbound endpoints for a DNS resolver. */
708
+ value?: InboundEndpoint[];
709
+ /**
710
+ * The continuation token for the next page of results.
711
+ * NOTE: This property will not be serialized. It can only be populated by the server.
712
+ */
713
+ readonly nextLink?: string;
714
+ }
715
+
716
+ /** Describes an inbound endpoint for a DNS resolver for PATCH operation. */
717
+ export declare interface InboundEndpointPatch {
718
+ /** Tags for inbound endpoint. */
719
+ tags?: {
720
+ [propertyName: string]: string;
721
+ };
722
+ }
723
+
724
+ /** Interface representing a InboundEndpoints. */
725
+ export declare interface InboundEndpoints {
726
+ /**
727
+ * Lists inbound endpoints for a DNS resolver.
728
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
729
+ * @param dnsResolverName The name of the DNS resolver.
730
+ * @param options The options parameters.
731
+ */
732
+ list(resourceGroupName: string, dnsResolverName: string, options?: InboundEndpointsListOptionalParams): PagedAsyncIterableIterator<InboundEndpoint>;
733
+ /**
734
+ * Creates or updates an inbound endpoint for a DNS resolver.
735
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
736
+ * @param dnsResolverName The name of the DNS resolver.
737
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
738
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
739
+ * @param options The options parameters.
740
+ */
741
+ beginCreateOrUpdate(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpoint, options?: InboundEndpointsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundEndpointsCreateOrUpdateResponse>, InboundEndpointsCreateOrUpdateResponse>>;
742
+ /**
743
+ * Creates or updates an inbound endpoint for a DNS resolver.
744
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
745
+ * @param dnsResolverName The name of the DNS resolver.
746
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
747
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
748
+ * @param options The options parameters.
749
+ */
750
+ beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpoint, options?: InboundEndpointsCreateOrUpdateOptionalParams): Promise<InboundEndpointsCreateOrUpdateResponse>;
751
+ /**
752
+ * Updates an inbound endpoint for a DNS resolver.
753
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
754
+ * @param dnsResolverName The name of the DNS resolver.
755
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
756
+ * @param parameters Parameters supplied to the Update operation.
757
+ * @param options The options parameters.
758
+ */
759
+ beginUpdate(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpointPatch, options?: InboundEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundEndpointsUpdateResponse>, InboundEndpointsUpdateResponse>>;
760
+ /**
761
+ * Updates an inbound endpoint for a DNS resolver.
762
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
763
+ * @param dnsResolverName The name of the DNS resolver.
764
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
765
+ * @param parameters Parameters supplied to the Update operation.
766
+ * @param options The options parameters.
767
+ */
768
+ beginUpdateAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpointPatch, options?: InboundEndpointsUpdateOptionalParams): Promise<InboundEndpointsUpdateResponse>;
769
+ /**
770
+ * Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
771
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
772
+ * @param dnsResolverName The name of the DNS resolver.
773
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
774
+ * @param options The options parameters.
775
+ */
776
+ beginDelete(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
777
+ /**
778
+ * Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
779
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
780
+ * @param dnsResolverName The name of the DNS resolver.
781
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
782
+ * @param options The options parameters.
783
+ */
784
+ beginDeleteAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsDeleteOptionalParams): Promise<void>;
785
+ /**
786
+ * Gets properties of an inbound endpoint for a DNS resolver.
787
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
788
+ * @param dnsResolverName The name of the DNS resolver.
789
+ * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
790
+ * @param options The options parameters.
791
+ */
792
+ get(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsGetOptionalParams): Promise<InboundEndpointsGetResponse>;
793
+ }
794
+
795
+ /** Optional parameters. */
796
+ export declare interface InboundEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
797
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
798
+ ifMatch?: string;
799
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
800
+ ifNoneMatch?: string;
801
+ /** Delay to wait until next poll, in milliseconds. */
802
+ updateIntervalInMs?: number;
803
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
804
+ resumeFrom?: string;
805
+ }
806
+
807
+ /** Contains response data for the createOrUpdate operation. */
808
+ export declare type InboundEndpointsCreateOrUpdateResponse = InboundEndpoint;
809
+
810
+ /** Optional parameters. */
811
+ export declare interface InboundEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
812
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
813
+ ifMatch?: string;
814
+ /** Delay to wait until next poll, in milliseconds. */
815
+ updateIntervalInMs?: number;
816
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
817
+ resumeFrom?: string;
818
+ }
819
+
820
+ /** Optional parameters. */
821
+ export declare interface InboundEndpointsGetOptionalParams extends coreClient.OperationOptions {
822
+ }
823
+
824
+ /** Contains response data for the get operation. */
825
+ export declare type InboundEndpointsGetResponse = InboundEndpoint;
826
+
827
+ /** Optional parameters. */
828
+ export declare interface InboundEndpointsListNextOptionalParams extends coreClient.OperationOptions {
829
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
830
+ top?: number;
831
+ }
832
+
833
+ /** Contains response data for the listNext operation. */
834
+ export declare type InboundEndpointsListNextResponse = InboundEndpointListResult;
835
+
836
+ /** Optional parameters. */
837
+ export declare interface InboundEndpointsListOptionalParams extends coreClient.OperationOptions {
838
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
839
+ top?: number;
840
+ }
841
+
842
+ /** Contains response data for the list operation. */
843
+ export declare type InboundEndpointsListResponse = InboundEndpointListResult;
844
+
845
+ /** Optional parameters. */
846
+ export declare interface InboundEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
847
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
848
+ ifMatch?: string;
849
+ /** Delay to wait until next poll, in milliseconds. */
850
+ updateIntervalInMs?: number;
851
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
852
+ resumeFrom?: string;
853
+ }
854
+
855
+ /** Contains response data for the update operation. */
856
+ export declare type InboundEndpointsUpdateResponse = InboundEndpoint;
857
+
858
+ /**
859
+ * Defines values for IpAllocationMethod. \
860
+ * {@link KnownIpAllocationMethod} can be used interchangeably with IpAllocationMethod,
861
+ * this enum contains the known values that the service supports.
862
+ * ### Known values supported by the service
863
+ * **Static** \
864
+ * **Dynamic**
865
+ */
866
+ export declare type IpAllocationMethod = string;
867
+
868
+ /** IP configuration. */
869
+ export declare interface IpConfiguration {
870
+ /** The reference to the subnet bound to the IP configuration. */
871
+ subnet?: SubResource;
872
+ /** Private IP address of the IP configuration. */
873
+ privateIpAddress?: string;
874
+ /** Private IP address allocation method. */
875
+ privateIpAllocationMethod?: IpAllocationMethod;
876
+ }
877
+
878
+ /** Known values of {@link CreatedByType} that the service accepts. */
879
+ export declare enum KnownCreatedByType {
880
+ User = "User",
881
+ Application = "Application",
882
+ ManagedIdentity = "ManagedIdentity",
883
+ Key = "Key"
884
+ }
885
+
886
+ /** Known values of {@link DnsResolverState} that the service accepts. */
887
+ export declare enum KnownDnsResolverState {
888
+ Connected = "Connected",
889
+ Disconnected = "Disconnected"
890
+ }
891
+
892
+ /** Known values of {@link ForwardingRuleState} that the service accepts. */
893
+ export declare enum KnownForwardingRuleState {
894
+ Enabled = "Enabled",
895
+ Disabled = "Disabled"
896
+ }
897
+
898
+ /** Known values of {@link IpAllocationMethod} that the service accepts. */
899
+ export declare enum KnownIpAllocationMethod {
900
+ Static = "Static",
901
+ Dynamic = "Dynamic"
902
+ }
903
+
904
+ /** Known values of {@link ProvisioningState} that the service accepts. */
905
+ export declare enum KnownProvisioningState {
906
+ Creating = "Creating",
907
+ Updating = "Updating",
908
+ Deleting = "Deleting",
909
+ Succeeded = "Succeeded",
910
+ Failed = "Failed",
911
+ Canceled = "Canceled"
912
+ }
913
+
914
+ /** Describes an outbound endpoint for a DNS resolver. */
915
+ export declare type OutboundEndpoint = TrackedResource & {
916
+ /**
917
+ * ETag of the outbound endpoint.
918
+ * NOTE: This property will not be serialized. It can only be populated by the server.
919
+ */
920
+ readonly etag?: string;
921
+ /**
922
+ * Metadata pertaining to creation and last modification of the resource.
923
+ * NOTE: This property will not be serialized. It can only be populated by the server.
924
+ */
925
+ readonly systemData?: SystemData;
926
+ /** The reference to the subnet used for the outbound endpoint. */
927
+ subnet?: SubResource;
928
+ /**
929
+ * The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.
930
+ * NOTE: This property will not be serialized. It can only be populated by the server.
931
+ */
932
+ readonly provisioningState?: ProvisioningState;
933
+ /**
934
+ * The resourceGuid property of the outbound endpoint resource.
935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
936
+ */
937
+ readonly resourceGuid?: string;
938
+ };
939
+
940
+ /** The response to an enumeration operation on outbound endpoints for a DNS resolver. */
941
+ export declare interface OutboundEndpointListResult {
942
+ /** Enumeration of the outbound endpoints for a DNS resolver. */
943
+ value?: OutboundEndpoint[];
944
+ /**
945
+ * The continuation token for the next page of results.
946
+ * NOTE: This property will not be serialized. It can only be populated by the server.
947
+ */
948
+ readonly nextLink?: string;
949
+ }
950
+
951
+ /** Describes an outbound endpoint for a DNS resolver for PATCH operation. */
952
+ export declare interface OutboundEndpointPatch {
953
+ /** Tags for outbound endpoint. */
954
+ tags?: {
955
+ [propertyName: string]: string;
956
+ };
957
+ }
958
+
959
+ /** Interface representing a OutboundEndpoints. */
960
+ export declare interface OutboundEndpoints {
961
+ /**
962
+ * Lists outbound endpoints for a DNS resolver.
963
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
964
+ * @param dnsResolverName The name of the DNS resolver.
965
+ * @param options The options parameters.
966
+ */
967
+ list(resourceGroupName: string, dnsResolverName: string, options?: OutboundEndpointsListOptionalParams): PagedAsyncIterableIterator<OutboundEndpoint>;
968
+ /**
969
+ * Creates or updates an outbound endpoint for a DNS resolver.
970
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
971
+ * @param dnsResolverName The name of the DNS resolver.
972
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
973
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
974
+ * @param options The options parameters.
975
+ */
976
+ beginCreateOrUpdate(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, parameters: OutboundEndpoint, options?: OutboundEndpointsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<OutboundEndpointsCreateOrUpdateResponse>, OutboundEndpointsCreateOrUpdateResponse>>;
977
+ /**
978
+ * Creates or updates an outbound endpoint for a DNS resolver.
979
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
980
+ * @param dnsResolverName The name of the DNS resolver.
981
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
982
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
983
+ * @param options The options parameters.
984
+ */
985
+ beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, parameters: OutboundEndpoint, options?: OutboundEndpointsCreateOrUpdateOptionalParams): Promise<OutboundEndpointsCreateOrUpdateResponse>;
986
+ /**
987
+ * Updates an outbound endpoint for a DNS resolver.
988
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
989
+ * @param dnsResolverName The name of the DNS resolver.
990
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
991
+ * @param parameters Parameters supplied to the Update operation.
992
+ * @param options The options parameters.
993
+ */
994
+ beginUpdate(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, parameters: OutboundEndpointPatch, options?: OutboundEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<OutboundEndpointsUpdateResponse>, OutboundEndpointsUpdateResponse>>;
995
+ /**
996
+ * Updates an outbound endpoint for a DNS resolver.
997
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
998
+ * @param dnsResolverName The name of the DNS resolver.
999
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
1000
+ * @param parameters Parameters supplied to the Update operation.
1001
+ * @param options The options parameters.
1002
+ */
1003
+ beginUpdateAndWait(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, parameters: OutboundEndpointPatch, options?: OutboundEndpointsUpdateOptionalParams): Promise<OutboundEndpointsUpdateResponse>;
1004
+ /**
1005
+ * Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
1006
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1007
+ * @param dnsResolverName The name of the DNS resolver.
1008
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
1009
+ * @param options The options parameters.
1010
+ */
1011
+ beginDelete(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, options?: OutboundEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1012
+ /**
1013
+ * Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
1014
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1015
+ * @param dnsResolverName The name of the DNS resolver.
1016
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
1017
+ * @param options The options parameters.
1018
+ */
1019
+ beginDeleteAndWait(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, options?: OutboundEndpointsDeleteOptionalParams): Promise<void>;
1020
+ /**
1021
+ * Gets properties of an outbound endpoint for a DNS resolver.
1022
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1023
+ * @param dnsResolverName The name of the DNS resolver.
1024
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
1025
+ * @param options The options parameters.
1026
+ */
1027
+ get(resourceGroupName: string, dnsResolverName: string, outboundEndpointName: string, options?: OutboundEndpointsGetOptionalParams): Promise<OutboundEndpointsGetResponse>;
1028
+ }
1029
+
1030
+ /** Optional parameters. */
1031
+ export declare interface OutboundEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1032
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1033
+ ifMatch?: string;
1034
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
1035
+ ifNoneMatch?: string;
1036
+ /** Delay to wait until next poll, in milliseconds. */
1037
+ updateIntervalInMs?: number;
1038
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1039
+ resumeFrom?: string;
1040
+ }
1041
+
1042
+ /** Contains response data for the createOrUpdate operation. */
1043
+ export declare type OutboundEndpointsCreateOrUpdateResponse = OutboundEndpoint;
1044
+
1045
+ /** Optional parameters. */
1046
+ export declare interface OutboundEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
1047
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1048
+ ifMatch?: string;
1049
+ /** Delay to wait until next poll, in milliseconds. */
1050
+ updateIntervalInMs?: number;
1051
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1052
+ resumeFrom?: string;
1053
+ }
1054
+
1055
+ /** Optional parameters. */
1056
+ export declare interface OutboundEndpointsGetOptionalParams extends coreClient.OperationOptions {
1057
+ }
1058
+
1059
+ /** Contains response data for the get operation. */
1060
+ export declare type OutboundEndpointsGetResponse = OutboundEndpoint;
1061
+
1062
+ /** Optional parameters. */
1063
+ export declare interface OutboundEndpointsListNextOptionalParams extends coreClient.OperationOptions {
1064
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
1065
+ top?: number;
1066
+ }
1067
+
1068
+ /** Contains response data for the listNext operation. */
1069
+ export declare type OutboundEndpointsListNextResponse = OutboundEndpointListResult;
1070
+
1071
+ /** Optional parameters. */
1072
+ export declare interface OutboundEndpointsListOptionalParams extends coreClient.OperationOptions {
1073
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
1074
+ top?: number;
1075
+ }
1076
+
1077
+ /** Contains response data for the list operation. */
1078
+ export declare type OutboundEndpointsListResponse = OutboundEndpointListResult;
1079
+
1080
+ /** Optional parameters. */
1081
+ export declare interface OutboundEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
1082
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1083
+ ifMatch?: string;
1084
+ /** Delay to wait until next poll, in milliseconds. */
1085
+ updateIntervalInMs?: number;
1086
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1087
+ resumeFrom?: string;
1088
+ }
1089
+
1090
+ /** Contains response data for the update operation. */
1091
+ export declare type OutboundEndpointsUpdateResponse = OutboundEndpoint;
1092
+
1093
+ /**
1094
+ * Defines values for ProvisioningState. \
1095
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1096
+ * this enum contains the known values that the service supports.
1097
+ * ### Known values supported by the service
1098
+ * **Creating** \
1099
+ * **Updating** \
1100
+ * **Deleting** \
1101
+ * **Succeeded** \
1102
+ * **Failed** \
1103
+ * **Canceled**
1104
+ */
1105
+ export declare type ProvisioningState = string;
1106
+
1107
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1108
+ export declare type ProxyResource = Resource & {};
1109
+
1110
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1111
+ export declare interface Resource {
1112
+ /**
1113
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1115
+ */
1116
+ readonly id?: string;
1117
+ /**
1118
+ * The name of the resource
1119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1120
+ */
1121
+ readonly name?: string;
1122
+ /**
1123
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1125
+ */
1126
+ readonly type?: string;
1127
+ }
1128
+
1129
+ /** Reference to another ARM resource. */
1130
+ export declare interface SubResource {
1131
+ /** Resource ID. */
1132
+ id?: string;
1133
+ }
1134
+
1135
+ /** The response to an enumeration operation on sub-resources. */
1136
+ export declare interface SubResourceListResult {
1137
+ /** Enumeration of the sub-resources. */
1138
+ value?: SubResource[];
1139
+ /**
1140
+ * The continuation token for the next page of results.
1141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1142
+ */
1143
+ readonly nextLink?: string;
1144
+ }
1145
+
1146
+ /** Metadata pertaining to creation and last modification of the resource. */
1147
+ export declare interface SystemData {
1148
+ /** The identity that created the resource. */
1149
+ createdBy?: string;
1150
+ /** The type of identity that created the resource. */
1151
+ createdByType?: CreatedByType;
1152
+ /** The timestamp of resource creation (UTC). */
1153
+ createdAt?: Date;
1154
+ /** The identity that last modified the resource. */
1155
+ lastModifiedBy?: string;
1156
+ /** The type of identity that last modified the resource. */
1157
+ lastModifiedByType?: CreatedByType;
1158
+ /** The timestamp of resource last modification (UTC) */
1159
+ lastModifiedAt?: Date;
1160
+ }
1161
+
1162
+ /** Describes a server to forward the DNS queries to. */
1163
+ export declare interface TargetDnsServer {
1164
+ /** DNS server IP address. */
1165
+ ipAddress?: string;
1166
+ /** DNS server port. */
1167
+ port?: number;
1168
+ }
1169
+
1170
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1171
+ export declare type TrackedResource = Resource & {
1172
+ /** Resource tags. */
1173
+ tags?: {
1174
+ [propertyName: string]: string;
1175
+ };
1176
+ /** The geo-location where the resource lives */
1177
+ location: string;
1178
+ };
1179
+
1180
+ /** Reference to DNS forwarding ruleset and associated virtual network link. */
1181
+ export declare interface VirtualNetworkDnsForwardingRuleset {
1182
+ /** DNS Forwarding Ruleset Resource ID. */
1183
+ id?: string;
1184
+ /** The reference to the virtual network link. */
1185
+ virtualNetworkLink?: SubResource;
1186
+ }
1187
+
1188
+ /** The response to an enumeration operation on Virtual Network DNS Forwarding Ruleset. */
1189
+ export declare interface VirtualNetworkDnsForwardingRulesetListResult {
1190
+ /** Enumeration of the Virtual Network DNS Forwarding Ruleset. */
1191
+ value?: VirtualNetworkDnsForwardingRuleset[];
1192
+ /**
1193
+ * The continuation token for the next page of results.
1194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1195
+ */
1196
+ readonly nextLink?: string;
1197
+ }
1198
+
1199
+ /** Describes a virtual network link. */
1200
+ export declare type VirtualNetworkLink = ProxyResource & {
1201
+ /**
1202
+ * ETag of the virtual network link.
1203
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1204
+ */
1205
+ readonly etag?: string;
1206
+ /**
1207
+ * Metadata pertaining to creation and last modification of the resource.
1208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1209
+ */
1210
+ readonly systemData?: SystemData;
1211
+ /** The reference to the virtual network. This cannot be changed after creation. */
1212
+ virtualNetwork?: SubResource;
1213
+ /** Metadata attached to the virtual network link. */
1214
+ metadata?: {
1215
+ [propertyName: string]: string;
1216
+ };
1217
+ /**
1218
+ * The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.
1219
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1220
+ */
1221
+ readonly provisioningState?: ProvisioningState;
1222
+ };
1223
+
1224
+ /** The response to an enumeration operation on virtual network links. */
1225
+ export declare interface VirtualNetworkLinkListResult {
1226
+ /** Enumeration of the virtual network links. */
1227
+ value?: VirtualNetworkLink[];
1228
+ /**
1229
+ * The continuation token for the next page of results.
1230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1231
+ */
1232
+ readonly nextLink?: string;
1233
+ }
1234
+
1235
+ /** Describes a virtual network link for PATCH operation. */
1236
+ export declare interface VirtualNetworkLinkPatch {
1237
+ /** Metadata attached to the virtual network link. */
1238
+ metadata?: {
1239
+ [propertyName: string]: string;
1240
+ };
1241
+ }
1242
+
1243
+ /** Interface representing a VirtualNetworkLinks. */
1244
+ export declare interface VirtualNetworkLinks {
1245
+ /**
1246
+ * Lists virtual network links to a DNS forwarding ruleset.
1247
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1248
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1249
+ * @param options The options parameters.
1250
+ */
1251
+ list(resourceGroupName: string, dnsForwardingRulesetName: string, options?: VirtualNetworkLinksListOptionalParams): PagedAsyncIterableIterator<VirtualNetworkLink>;
1252
+ /**
1253
+ * Creates or updates a virtual network link to a DNS forwarding ruleset.
1254
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1255
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1256
+ * @param virtualNetworkLinkName The name of the virtual network link.
1257
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
1258
+ * @param options The options parameters.
1259
+ */
1260
+ beginCreateOrUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLinksCreateOrUpdateResponse>, VirtualNetworkLinksCreateOrUpdateResponse>>;
1261
+ /**
1262
+ * Creates or updates a virtual network link to a DNS forwarding ruleset.
1263
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1264
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1265
+ * @param virtualNetworkLinkName The name of the virtual network link.
1266
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
1267
+ * @param options The options parameters.
1268
+ */
1269
+ beginCreateOrUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
1270
+ /**
1271
+ * Updates a virtual network link to a DNS forwarding ruleset.
1272
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1273
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1274
+ * @param virtualNetworkLinkName The name of the virtual network link.
1275
+ * @param parameters Parameters supplied to the Update operation.
1276
+ * @param options The options parameters.
1277
+ */
1278
+ beginUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLinkPatch, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLinksUpdateResponse>, VirtualNetworkLinksUpdateResponse>>;
1279
+ /**
1280
+ * Updates a virtual network link to a DNS forwarding ruleset.
1281
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1282
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1283
+ * @param virtualNetworkLinkName The name of the virtual network link.
1284
+ * @param parameters Parameters supplied to the Update operation.
1285
+ * @param options The options parameters.
1286
+ */
1287
+ beginUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLinkPatch, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<VirtualNetworkLinksUpdateResponse>;
1288
+ /**
1289
+ * Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be
1290
+ * undone.
1291
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1292
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1293
+ * @param virtualNetworkLinkName The name of the virtual network link.
1294
+ * @param options The options parameters.
1295
+ */
1296
+ beginDelete(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1297
+ /**
1298
+ * Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be
1299
+ * undone.
1300
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1301
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1302
+ * @param virtualNetworkLinkName The name of the virtual network link.
1303
+ * @param options The options parameters.
1304
+ */
1305
+ beginDeleteAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<void>;
1306
+ /**
1307
+ * Gets properties of a virtual network link to a DNS forwarding ruleset.
1308
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1309
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
1310
+ * @param virtualNetworkLinkName The name of the virtual network link.
1311
+ * @param options The options parameters.
1312
+ */
1313
+ get(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksGetOptionalParams): Promise<VirtualNetworkLinksGetResponse>;
1314
+ }
1315
+
1316
+ /** Optional parameters. */
1317
+ export declare interface VirtualNetworkLinksCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1318
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1319
+ ifMatch?: string;
1320
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. */
1321
+ ifNoneMatch?: string;
1322
+ /** Delay to wait until next poll, in milliseconds. */
1323
+ updateIntervalInMs?: number;
1324
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1325
+ resumeFrom?: string;
1326
+ }
1327
+
1328
+ /** Contains response data for the createOrUpdate operation. */
1329
+ export declare type VirtualNetworkLinksCreateOrUpdateResponse = VirtualNetworkLink;
1330
+
1331
+ /** Optional parameters. */
1332
+ export declare interface VirtualNetworkLinksDeleteOptionalParams extends coreClient.OperationOptions {
1333
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1334
+ ifMatch?: string;
1335
+ /** Delay to wait until next poll, in milliseconds. */
1336
+ updateIntervalInMs?: number;
1337
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1338
+ resumeFrom?: string;
1339
+ }
1340
+
1341
+ /** Optional parameters. */
1342
+ export declare interface VirtualNetworkLinksGetOptionalParams extends coreClient.OperationOptions {
1343
+ }
1344
+
1345
+ /** Contains response data for the get operation. */
1346
+ export declare type VirtualNetworkLinksGetResponse = VirtualNetworkLink;
1347
+
1348
+ /** Optional parameters. */
1349
+ export declare interface VirtualNetworkLinksListNextOptionalParams extends coreClient.OperationOptions {
1350
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
1351
+ top?: number;
1352
+ }
1353
+
1354
+ /** Contains response data for the listNext operation. */
1355
+ export declare type VirtualNetworkLinksListNextResponse = VirtualNetworkLinkListResult;
1356
+
1357
+ /** Optional parameters. */
1358
+ export declare interface VirtualNetworkLinksListOptionalParams extends coreClient.OperationOptions {
1359
+ /** The maximum number of results to return. If not specified, returns up to 100 results. */
1360
+ top?: number;
1361
+ }
1362
+
1363
+ /** Contains response data for the list operation. */
1364
+ export declare type VirtualNetworkLinksListResponse = VirtualNetworkLinkListResult;
1365
+
1366
+ /** Optional parameters. */
1367
+ export declare interface VirtualNetworkLinksUpdateOptionalParams extends coreClient.OperationOptions {
1368
+ /** ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */
1369
+ ifMatch?: string;
1370
+ /** Delay to wait until next poll, in milliseconds. */
1371
+ updateIntervalInMs?: number;
1372
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1373
+ resumeFrom?: string;
1374
+ }
1375
+
1376
+ /** Contains response data for the update operation. */
1377
+ export declare type VirtualNetworkLinksUpdateResponse = VirtualNetworkLink;
1378
+
1379
+ export { }