@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,147 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ OutboundEndpoint,
13
+ OutboundEndpointsListOptionalParams,
14
+ OutboundEndpointsCreateOrUpdateOptionalParams,
15
+ OutboundEndpointsCreateOrUpdateResponse,
16
+ OutboundEndpointPatch,
17
+ OutboundEndpointsUpdateOptionalParams,
18
+ OutboundEndpointsUpdateResponse,
19
+ OutboundEndpointsDeleteOptionalParams,
20
+ OutboundEndpointsGetOptionalParams,
21
+ OutboundEndpointsGetResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a OutboundEndpoints. */
26
+ export interface OutboundEndpoints {
27
+ /**
28
+ * Lists outbound endpoints for a DNS resolver.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param dnsResolverName The name of the DNS resolver.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ dnsResolverName: string,
36
+ options?: OutboundEndpointsListOptionalParams
37
+ ): PagedAsyncIterableIterator<OutboundEndpoint>;
38
+ /**
39
+ * Creates or updates an outbound endpoint for a DNS resolver.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param dnsResolverName The name of the DNS resolver.
42
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
43
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateOrUpdate(
47
+ resourceGroupName: string,
48
+ dnsResolverName: string,
49
+ outboundEndpointName: string,
50
+ parameters: OutboundEndpoint,
51
+ options?: OutboundEndpointsCreateOrUpdateOptionalParams
52
+ ): Promise<
53
+ PollerLike<
54
+ PollOperationState<OutboundEndpointsCreateOrUpdateResponse>,
55
+ OutboundEndpointsCreateOrUpdateResponse
56
+ >
57
+ >;
58
+ /**
59
+ * Creates or updates an outbound endpoint for a DNS resolver.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param dnsResolverName The name of the DNS resolver.
62
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
63
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
64
+ * @param options The options parameters.
65
+ */
66
+ beginCreateOrUpdateAndWait(
67
+ resourceGroupName: string,
68
+ dnsResolverName: string,
69
+ outboundEndpointName: string,
70
+ parameters: OutboundEndpoint,
71
+ options?: OutboundEndpointsCreateOrUpdateOptionalParams
72
+ ): Promise<OutboundEndpointsCreateOrUpdateResponse>;
73
+ /**
74
+ * Updates an outbound endpoint for a DNS resolver.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param dnsResolverName The name of the DNS resolver.
77
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
78
+ * @param parameters Parameters supplied to the Update operation.
79
+ * @param options The options parameters.
80
+ */
81
+ beginUpdate(
82
+ resourceGroupName: string,
83
+ dnsResolverName: string,
84
+ outboundEndpointName: string,
85
+ parameters: OutboundEndpointPatch,
86
+ options?: OutboundEndpointsUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<OutboundEndpointsUpdateResponse>,
90
+ OutboundEndpointsUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * Updates an outbound endpoint for a DNS resolver.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param dnsResolverName The name of the DNS resolver.
97
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
98
+ * @param parameters Parameters supplied to the Update operation.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(
102
+ resourceGroupName: string,
103
+ dnsResolverName: string,
104
+ outboundEndpointName: string,
105
+ parameters: OutboundEndpointPatch,
106
+ options?: OutboundEndpointsUpdateOptionalParams
107
+ ): Promise<OutboundEndpointsUpdateResponse>;
108
+ /**
109
+ * Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param dnsResolverName The name of the DNS resolver.
112
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
113
+ * @param options The options parameters.
114
+ */
115
+ beginDelete(
116
+ resourceGroupName: string,
117
+ dnsResolverName: string,
118
+ outboundEndpointName: string,
119
+ options?: OutboundEndpointsDeleteOptionalParams
120
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
121
+ /**
122
+ * Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param dnsResolverName The name of the DNS resolver.
125
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
126
+ * @param options The options parameters.
127
+ */
128
+ beginDeleteAndWait(
129
+ resourceGroupName: string,
130
+ dnsResolverName: string,
131
+ outboundEndpointName: string,
132
+ options?: OutboundEndpointsDeleteOptionalParams
133
+ ): Promise<void>;
134
+ /**
135
+ * Gets properties of an outbound endpoint for a DNS resolver.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param dnsResolverName The name of the DNS resolver.
138
+ * @param outboundEndpointName The name of the outbound endpoint for the DNS resolver.
139
+ * @param options The options parameters.
140
+ */
141
+ get(
142
+ resourceGroupName: string,
143
+ dnsResolverName: string,
144
+ outboundEndpointName: string,
145
+ options?: OutboundEndpointsGetOptionalParams
146
+ ): Promise<OutboundEndpointsGetResponse>;
147
+ }
@@ -0,0 +1,149 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ VirtualNetworkLink,
13
+ VirtualNetworkLinksListOptionalParams,
14
+ VirtualNetworkLinksCreateOrUpdateOptionalParams,
15
+ VirtualNetworkLinksCreateOrUpdateResponse,
16
+ VirtualNetworkLinkPatch,
17
+ VirtualNetworkLinksUpdateOptionalParams,
18
+ VirtualNetworkLinksUpdateResponse,
19
+ VirtualNetworkLinksDeleteOptionalParams,
20
+ VirtualNetworkLinksGetOptionalParams,
21
+ VirtualNetworkLinksGetResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a VirtualNetworkLinks. */
26
+ export interface VirtualNetworkLinks {
27
+ /**
28
+ * Lists virtual network links to a DNS forwarding ruleset.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ dnsForwardingRulesetName: string,
36
+ options?: VirtualNetworkLinksListOptionalParams
37
+ ): PagedAsyncIterableIterator<VirtualNetworkLink>;
38
+ /**
39
+ * Creates or updates a virtual network link to a DNS forwarding ruleset.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
42
+ * @param virtualNetworkLinkName The name of the virtual network link.
43
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateOrUpdate(
47
+ resourceGroupName: string,
48
+ dnsForwardingRulesetName: string,
49
+ virtualNetworkLinkName: string,
50
+ parameters: VirtualNetworkLink,
51
+ options?: VirtualNetworkLinksCreateOrUpdateOptionalParams
52
+ ): Promise<
53
+ PollerLike<
54
+ PollOperationState<VirtualNetworkLinksCreateOrUpdateResponse>,
55
+ VirtualNetworkLinksCreateOrUpdateResponse
56
+ >
57
+ >;
58
+ /**
59
+ * Creates or updates a virtual network link to a DNS forwarding ruleset.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
62
+ * @param virtualNetworkLinkName The name of the virtual network link.
63
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
64
+ * @param options The options parameters.
65
+ */
66
+ beginCreateOrUpdateAndWait(
67
+ resourceGroupName: string,
68
+ dnsForwardingRulesetName: string,
69
+ virtualNetworkLinkName: string,
70
+ parameters: VirtualNetworkLink,
71
+ options?: VirtualNetworkLinksCreateOrUpdateOptionalParams
72
+ ): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
73
+ /**
74
+ * Updates a virtual network link to a DNS forwarding ruleset.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
77
+ * @param virtualNetworkLinkName The name of the virtual network link.
78
+ * @param parameters Parameters supplied to the Update operation.
79
+ * @param options The options parameters.
80
+ */
81
+ beginUpdate(
82
+ resourceGroupName: string,
83
+ dnsForwardingRulesetName: string,
84
+ virtualNetworkLinkName: string,
85
+ parameters: VirtualNetworkLinkPatch,
86
+ options?: VirtualNetworkLinksUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<VirtualNetworkLinksUpdateResponse>,
90
+ VirtualNetworkLinksUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * Updates a virtual network link to a DNS forwarding ruleset.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
97
+ * @param virtualNetworkLinkName The name of the virtual network link.
98
+ * @param parameters Parameters supplied to the Update operation.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(
102
+ resourceGroupName: string,
103
+ dnsForwardingRulesetName: string,
104
+ virtualNetworkLinkName: string,
105
+ parameters: VirtualNetworkLinkPatch,
106
+ options?: VirtualNetworkLinksUpdateOptionalParams
107
+ ): Promise<VirtualNetworkLinksUpdateResponse>;
108
+ /**
109
+ * Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be
110
+ * undone.
111
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
112
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
113
+ * @param virtualNetworkLinkName The name of the virtual network link.
114
+ * @param options The options parameters.
115
+ */
116
+ beginDelete(
117
+ resourceGroupName: string,
118
+ dnsForwardingRulesetName: string,
119
+ virtualNetworkLinkName: string,
120
+ options?: VirtualNetworkLinksDeleteOptionalParams
121
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
122
+ /**
123
+ * Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be
124
+ * undone.
125
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
126
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
127
+ * @param virtualNetworkLinkName The name of the virtual network link.
128
+ * @param options The options parameters.
129
+ */
130
+ beginDeleteAndWait(
131
+ resourceGroupName: string,
132
+ dnsForwardingRulesetName: string,
133
+ virtualNetworkLinkName: string,
134
+ options?: VirtualNetworkLinksDeleteOptionalParams
135
+ ): Promise<void>;
136
+ /**
137
+ * Gets properties of a virtual network link to a DNS forwarding ruleset.
138
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
139
+ * @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
140
+ * @param virtualNetworkLinkName The name of the virtual network link.
141
+ * @param options The options parameters.
142
+ */
143
+ get(
144
+ resourceGroupName: string,
145
+ dnsForwardingRulesetName: string,
146
+ virtualNetworkLinkName: string,
147
+ options?: VirtualNetworkLinksGetOptionalParams
148
+ ): Promise<VirtualNetworkLinksGetResponse>;
149
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "es6",
4
+ "moduleResolution": "node",
5
+ "strict": true,
6
+ "target": "es6",
7
+ "sourceMap": true,
8
+ "declarationMap": true,
9
+ "esModuleInterop": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "lib": [
13
+ "es6",
14
+ "dom"
15
+ ],
16
+ "declaration": true,
17
+ "outDir": "./dist-esm",
18
+ "importHelpers": true,
19
+ "paths": {
20
+ "@azure/arm-dnsresolver": [
21
+ "./src/index"
22
+ ]
23
+ }
24
+ },
25
+ "include": [
26
+ "./src/**/*.ts",
27
+ "./test/**/*.ts"
28
+ ],
29
+ "exclude": [
30
+ "node_modules"
31
+ ]
32
+ }