@azure/arm-avs 1.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +11681 -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/azureVMwareSolutionAPI.d.ts +33 -0
  9. package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -0
  10. package/dist-esm/src/azureVMwareSolutionAPI.js +66 -0
  11. package/dist-esm/src/azureVMwareSolutionAPI.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 +2962 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +363 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +115 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +3114 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +53 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +409 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/addons.d.ts +81 -0
  33. package/dist-esm/src/operations/addons.d.ts.map +1 -0
  34. package/dist-esm/src/operations/addons.js +331 -0
  35. package/dist-esm/src/operations/addons.js.map +1 -0
  36. package/dist-esm/src/operations/authorizations.d.ts +81 -0
  37. package/dist-esm/src/operations/authorizations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/authorizations.js +337 -0
  39. package/dist-esm/src/operations/authorizations.js.map +1 -0
  40. package/dist-esm/src/operations/cloudLinks.d.ts +81 -0
  41. package/dist-esm/src/operations/cloudLinks.d.ts.map +1 -0
  42. package/dist-esm/src/operations/cloudLinks.js +337 -0
  43. package/dist-esm/src/operations/cloudLinks.js.map +1 -0
  44. package/dist-esm/src/operations/clusters.d.ts +99 -0
  45. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  46. package/dist-esm/src/operations/clusters.js +423 -0
  47. package/dist-esm/src/operations/clusters.js.map +1 -0
  48. package/dist-esm/src/operations/datastores.d.ts +89 -0
  49. package/dist-esm/src/operations/datastores.d.ts.map +1 -0
  50. package/dist-esm/src/operations/datastores.js +363 -0
  51. package/dist-esm/src/operations/datastores.js.map +1 -0
  52. package/dist-esm/src/operations/globalReachConnections.d.ts +81 -0
  53. package/dist-esm/src/operations/globalReachConnections.d.ts.map +1 -0
  54. package/dist-esm/src/operations/globalReachConnections.js +347 -0
  55. package/dist-esm/src/operations/globalReachConnections.js.map +1 -0
  56. package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +63 -0
  57. package/dist-esm/src/operations/hcxEnterpriseSites.d.ts.map +1 -0
  58. package/dist-esm/src/operations/hcxEnterpriseSites.js +244 -0
  59. package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -0
  60. package/dist-esm/src/operations/index.d.ts +17 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -0
  62. package/dist-esm/src/operations/index.js +24 -0
  63. package/dist-esm/src/operations/index.js.map +1 -0
  64. package/dist-esm/src/operations/locations.d.ts +25 -0
  65. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/locations.js +79 -0
  67. package/dist-esm/src/operations/locations.js.map +1 -0
  68. package/dist-esm/src/operations/operations.d.ts +32 -0
  69. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/operations.js +120 -0
  71. package/dist-esm/src/operations/operations.js.map +1 -0
  72. package/dist-esm/src/operations/placementPolicies.d.ts +116 -0
  73. package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -0
  74. package/dist-esm/src/operations/placementPolicies.js +466 -0
  75. package/dist-esm/src/operations/placementPolicies.js.map +1 -0
  76. package/dist-esm/src/operations/privateClouds.d.ts +142 -0
  77. package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
  78. package/dist-esm/src/operations/privateClouds.js +672 -0
  79. package/dist-esm/src/operations/privateClouds.js.map +1 -0
  80. package/dist-esm/src/operations/scriptCmdlets.d.ts +53 -0
  81. package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -0
  82. package/dist-esm/src/operations/scriptCmdlets.js +191 -0
  83. package/dist-esm/src/operations/scriptCmdlets.js.map +1 -0
  84. package/dist-esm/src/operations/scriptExecutions.d.ts +89 -0
  85. package/dist-esm/src/operations/scriptExecutions.d.ts.map +1 -0
  86. package/dist-esm/src/operations/scriptExecutions.js +371 -0
  87. package/dist-esm/src/operations/scriptExecutions.js.map +1 -0
  88. package/dist-esm/src/operations/scriptPackages.d.ts +46 -0
  89. package/dist-esm/src/operations/scriptPackages.d.ts.map +1 -0
  90. package/dist-esm/src/operations/scriptPackages.js +169 -0
  91. package/dist-esm/src/operations/scriptPackages.js.map +1 -0
  92. package/dist-esm/src/operations/virtualMachines.d.ts +71 -0
  93. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  94. package/dist-esm/src/operations/virtualMachines.js +272 -0
  95. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  96. package/dist-esm/src/operations/workloadNetworks.d.ts +661 -0
  97. package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -0
  98. package/dist-esm/src/operations/workloadNetworks.js +3049 -0
  99. package/dist-esm/src/operations/workloadNetworks.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/addons.d.ts +56 -0
  101. package/dist-esm/src/operationsInterfaces/addons.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/addons.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/addons.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/authorizations.d.ts +56 -0
  105. package/dist-esm/src/operationsInterfaces/authorizations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/authorizations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/authorizations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/cloudLinks.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/cloudLinks.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/clusters.d.ts +74 -0
  113. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/datastores.d.ts +62 -0
  117. package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/datastores.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/datastores.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +56 -0
  121. package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/globalReachConnections.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/globalReachConnections.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +38 -0
  125. package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
  129. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/index.js +24 -0
  131. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/locations.d.ts +17 -0
  133. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  137. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +89 -0
  141. package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/placementPolicies.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/placementPolicies.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +106 -0
  145. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +25 -0
  149. package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/scriptCmdlets.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/scriptCmdlets.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +64 -0
  153. package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/scriptExecutions.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/scriptExecutions.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +21 -0
  157. package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/scriptPackages.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/scriptPackages.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +44 -0
  161. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +500 -0
  165. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/workloadNetworks.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/workloadNetworks.js.map +1 -0
  168. package/dist-esm/test/sampleTest.d.ts +2 -0
  169. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  170. package/dist-esm/test/sampleTest.js +40 -0
  171. package/dist-esm/test/sampleTest.js.map +1 -0
  172. package/package.json +65 -31
  173. package/review/arm-avs.api.md +2534 -0
  174. package/rollup.config.js +181 -30
  175. package/src/azureVMwareSolutionAPI.ts +139 -0
  176. package/src/index.ts +12 -0
  177. package/src/lroImpl.ts +34 -0
  178. package/src/models/index.ts +3101 -931
  179. package/src/models/mappers.ts +2874 -387
  180. package/src/models/parameters.ts +407 -44
  181. package/src/operations/addons.ts +472 -0
  182. package/src/operations/authorizations.ts +341 -196
  183. package/src/operations/cloudLinks.ts +478 -0
  184. package/src/operations/clusters.ts +444 -238
  185. package/src/operations/datastores.ts +525 -0
  186. package/src/operations/globalReachConnections.ts +488 -0
  187. package/src/operations/hcxEnterpriseSites.ts +200 -210
  188. package/src/operations/index.ts +13 -5
  189. package/src/operations/locations.ts +56 -83
  190. package/src/operations/operations.ts +87 -73
  191. package/src/operations/placementPolicies.ts +677 -0
  192. package/src/operations/privateClouds.ts +705 -319
  193. package/src/operations/scriptCmdlets.ts +266 -0
  194. package/src/operations/scriptExecutions.ts +524 -0
  195. package/src/operations/scriptPackages.ts +229 -0
  196. package/src/operations/virtualMachines.ts +390 -0
  197. package/src/operations/workloadNetworks.ts +4398 -0
  198. package/src/operationsInterfaces/addons.ts +109 -0
  199. package/src/operationsInterfaces/authorizations.ts +109 -0
  200. package/src/operationsInterfaces/cloudLinks.ts +109 -0
  201. package/src/operationsInterfaces/clusters.ts +147 -0
  202. package/src/operationsInterfaces/datastores.ts +121 -0
  203. package/src/operationsInterfaces/globalReachConnections.ts +109 -0
  204. package/src/operationsInterfaces/hcxEnterpriseSites.ts +75 -0
  205. package/src/operationsInterfaces/index.ts +24 -0
  206. package/src/operationsInterfaces/locations.ts +36 -0
  207. package/src/operationsInterfaces/operations.ts +22 -0
  208. package/src/operationsInterfaces/placementPolicies.ts +170 -0
  209. package/src/operationsInterfaces/privateClouds.ts +198 -0
  210. package/src/operationsInterfaces/scriptCmdlets.ts +50 -0
  211. package/src/operationsInterfaces/scriptExecutions.ts +124 -0
  212. package/src/operationsInterfaces/scriptPackages.ts +44 -0
  213. package/src/operationsInterfaces/virtualMachines.ts +85 -0
  214. package/src/operationsInterfaces/workloadNetworks.ts +951 -0
  215. package/tsconfig.json +3 -3
  216. package/types/arm-avs.d.ts +4645 -0
  217. package/types/tsdoc-metadata.json +11 -0
  218. package/dist/arm-avs.js +0 -2585
  219. package/dist/arm-avs.js.map +0 -1
  220. package/dist/arm-avs.min.js +0 -1
  221. package/dist/arm-avs.min.js.map +0 -1
  222. package/esm/avsClient.d.ts +0 -23
  223. package/esm/avsClient.d.ts.map +0 -1
  224. package/esm/avsClient.js +0 -38
  225. package/esm/avsClient.js.map +0 -1
  226. package/esm/avsClientContext.d.ts +0 -16
  227. package/esm/avsClientContext.d.ts.map +0 -1
  228. package/esm/avsClientContext.js +0 -56
  229. package/esm/avsClientContext.js.map +0 -1
  230. package/esm/models/authorizationsMappers.d.ts +0 -2
  231. package/esm/models/authorizationsMappers.d.ts.map +0 -1
  232. package/esm/models/authorizationsMappers.js +0 -9
  233. package/esm/models/authorizationsMappers.js.map +0 -1
  234. package/esm/models/clustersMappers.d.ts +0 -2
  235. package/esm/models/clustersMappers.d.ts.map +0 -1
  236. package/esm/models/clustersMappers.js +0 -9
  237. package/esm/models/clustersMappers.js.map +0 -1
  238. package/esm/models/hcxEnterpriseSitesMappers.d.ts +0 -2
  239. package/esm/models/hcxEnterpriseSitesMappers.d.ts.map +0 -1
  240. package/esm/models/hcxEnterpriseSitesMappers.js +0 -9
  241. package/esm/models/hcxEnterpriseSitesMappers.js.map +0 -1
  242. package/esm/models/index.d.ts +0 -1163
  243. package/esm/models/index.d.ts.map +0 -1
  244. package/esm/models/index.js +0 -8
  245. package/esm/models/index.js.map +0 -1
  246. package/esm/models/locationsMappers.d.ts +0 -2
  247. package/esm/models/locationsMappers.d.ts.map +0 -1
  248. package/esm/models/locationsMappers.js +0 -9
  249. package/esm/models/locationsMappers.js.map +0 -1
  250. package/esm/models/mappers.d.ts +0 -30
  251. package/esm/models/mappers.d.ts.map +0 -1
  252. package/esm/models/mappers.js +0 -881
  253. package/esm/models/mappers.js.map +0 -1
  254. package/esm/models/operationsMappers.d.ts +0 -2
  255. package/esm/models/operationsMappers.d.ts.map +0 -1
  256. package/esm/models/operationsMappers.js +0 -9
  257. package/esm/models/operationsMappers.js.map +0 -1
  258. package/esm/models/parameters.d.ts +0 -12
  259. package/esm/models/parameters.d.ts.map +0 -1
  260. package/esm/models/parameters.js +0 -122
  261. package/esm/models/parameters.js.map +0 -1
  262. package/esm/models/privateCloudsMappers.d.ts +0 -2
  263. package/esm/models/privateCloudsMappers.d.ts.map +0 -1
  264. package/esm/models/privateCloudsMappers.js +0 -9
  265. package/esm/models/privateCloudsMappers.js.map +0 -1
  266. package/esm/operations/authorizations.d.ts +0 -115
  267. package/esm/operations/authorizations.d.ts.map +0 -1
  268. package/esm/operations/authorizations.js +0 -239
  269. package/esm/operations/authorizations.js.map +0 -1
  270. package/esm/operations/clusters.d.ts +0 -133
  271. package/esm/operations/clusters.d.ts.map +0 -1
  272. package/esm/operations/clusters.js +0 -299
  273. package/esm/operations/clusters.js.map +0 -1
  274. package/esm/operations/hcxEnterpriseSites.d.ts +0 -127
  275. package/esm/operations/hcxEnterpriseSites.d.ts.map +0 -1
  276. package/esm/operations/hcxEnterpriseSites.js +0 -196
  277. package/esm/operations/hcxEnterpriseSites.js.map +0 -1
  278. package/esm/operations/index.d.ts +0 -7
  279. package/esm/operations/index.d.ts.map +0 -1
  280. package/esm/operations/index.js +0 -16
  281. package/esm/operations/index.js.map +0 -1
  282. package/esm/operations/locations.d.ts +0 -49
  283. package/esm/operations/locations.d.ts.map +0 -1
  284. package/esm/operations/locations.js +0 -85
  285. package/esm/operations/locations.js.map +0 -1
  286. package/esm/operations/operations.d.ts +0 -46
  287. package/esm/operations/operations.d.ts.map +0 -1
  288. package/esm/operations/operations.js +0 -77
  289. package/esm/operations/operations.js.map +0 -1
  290. package/esm/operations/privateClouds.d.ts +0 -177
  291. package/esm/operations/privateClouds.d.ts.map +0 -1
  292. package/esm/operations/privateClouds.js +0 -365
  293. package/esm/operations/privateClouds.js.map +0 -1
  294. package/src/avsClient.ts +0 -52
  295. package/src/avsClientContext.ts +0 -62
  296. package/src/models/authorizationsMappers.ts +0 -27
  297. package/src/models/clustersMappers.ts +0 -28
  298. package/src/models/hcxEnterpriseSitesMappers.ts +0 -27
  299. package/src/models/locationsMappers.ts +0 -15
  300. package/src/models/operationsMappers.ts +0 -16
  301. package/src/models/privateCloudsMappers.ts +0 -29
@@ -0,0 +1,109 @@
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
+ Addon,
13
+ AddonsListOptionalParams,
14
+ AddonsGetOptionalParams,
15
+ AddonsGetResponse,
16
+ AddonsCreateOrUpdateOptionalParams,
17
+ AddonsCreateOrUpdateResponse,
18
+ AddonsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Addons. */
23
+ export interface Addons {
24
+ /**
25
+ * List addons in a private cloud
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param privateCloudName Name of the private cloud
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ privateCloudName: string,
33
+ options?: AddonsListOptionalParams
34
+ ): PagedAsyncIterableIterator<Addon>;
35
+ /**
36
+ * Get an addon by name in a private cloud
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param privateCloudName Name of the private cloud
39
+ * @param addonName Name of the addon for the private cloud
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ privateCloudName: string,
45
+ addonName: string,
46
+ options?: AddonsGetOptionalParams
47
+ ): Promise<AddonsGetResponse>;
48
+ /**
49
+ * Create or update a addon in a private cloud
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param privateCloudName The name of the private cloud.
52
+ * @param addonName Name of the addon for the private cloud
53
+ * @param addon A addon in the private cloud
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ privateCloudName: string,
59
+ addonName: string,
60
+ addon: Addon,
61
+ options?: AddonsCreateOrUpdateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<AddonsCreateOrUpdateResponse>,
65
+ AddonsCreateOrUpdateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Create or update a addon in a private cloud
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param privateCloudName The name of the private cloud.
72
+ * @param addonName Name of the addon for the private cloud
73
+ * @param addon A addon in the private cloud
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateOrUpdateAndWait(
77
+ resourceGroupName: string,
78
+ privateCloudName: string,
79
+ addonName: string,
80
+ addon: Addon,
81
+ options?: AddonsCreateOrUpdateOptionalParams
82
+ ): Promise<AddonsCreateOrUpdateResponse>;
83
+ /**
84
+ * Delete a addon in a private cloud
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param privateCloudName Name of the private cloud
87
+ * @param addonName Name of the addon for the private cloud
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ privateCloudName: string,
93
+ addonName: string,
94
+ options?: AddonsDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Delete a addon in a private cloud
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param privateCloudName Name of the private cloud
100
+ * @param addonName Name of the addon for the private cloud
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ privateCloudName: string,
106
+ addonName: string,
107
+ options?: AddonsDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -0,0 +1,109 @@
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
+ ExpressRouteAuthorization,
13
+ AuthorizationsListOptionalParams,
14
+ AuthorizationsGetOptionalParams,
15
+ AuthorizationsGetResponse,
16
+ AuthorizationsCreateOrUpdateOptionalParams,
17
+ AuthorizationsCreateOrUpdateResponse,
18
+ AuthorizationsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Authorizations. */
23
+ export interface Authorizations {
24
+ /**
25
+ * List ExpressRoute Circuit Authorizations in a private cloud
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param privateCloudName Name of the private cloud
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ privateCloudName: string,
33
+ options?: AuthorizationsListOptionalParams
34
+ ): PagedAsyncIterableIterator<ExpressRouteAuthorization>;
35
+ /**
36
+ * Get an ExpressRoute Circuit Authorization by name in a private cloud
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param privateCloudName Name of the private cloud
39
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ privateCloudName: string,
45
+ authorizationName: string,
46
+ options?: AuthorizationsGetOptionalParams
47
+ ): Promise<AuthorizationsGetResponse>;
48
+ /**
49
+ * Create or update an ExpressRoute Circuit Authorization in a private cloud
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param privateCloudName The name of the private cloud.
52
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
53
+ * @param authorization An ExpressRoute Circuit Authorization
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ privateCloudName: string,
59
+ authorizationName: string,
60
+ authorization: ExpressRouteAuthorization,
61
+ options?: AuthorizationsCreateOrUpdateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<AuthorizationsCreateOrUpdateResponse>,
65
+ AuthorizationsCreateOrUpdateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Create or update an ExpressRoute Circuit Authorization in a private cloud
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param privateCloudName The name of the private cloud.
72
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
73
+ * @param authorization An ExpressRoute Circuit Authorization
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateOrUpdateAndWait(
77
+ resourceGroupName: string,
78
+ privateCloudName: string,
79
+ authorizationName: string,
80
+ authorization: ExpressRouteAuthorization,
81
+ options?: AuthorizationsCreateOrUpdateOptionalParams
82
+ ): Promise<AuthorizationsCreateOrUpdateResponse>;
83
+ /**
84
+ * Delete an ExpressRoute Circuit Authorization in a private cloud
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param privateCloudName Name of the private cloud
87
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ privateCloudName: string,
93
+ authorizationName: string,
94
+ options?: AuthorizationsDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Delete an ExpressRoute Circuit Authorization in a private cloud
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param privateCloudName Name of the private cloud
100
+ * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ privateCloudName: string,
106
+ authorizationName: string,
107
+ options?: AuthorizationsDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -0,0 +1,109 @@
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
+ CloudLink,
13
+ CloudLinksListOptionalParams,
14
+ CloudLinksGetOptionalParams,
15
+ CloudLinksGetResponse,
16
+ CloudLinksCreateOrUpdateOptionalParams,
17
+ CloudLinksCreateOrUpdateResponse,
18
+ CloudLinksDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a CloudLinks. */
23
+ export interface CloudLinks {
24
+ /**
25
+ * List cloud link in a private cloud
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param privateCloudName Name of the private cloud
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ privateCloudName: string,
33
+ options?: CloudLinksListOptionalParams
34
+ ): PagedAsyncIterableIterator<CloudLink>;
35
+ /**
36
+ * Get an cloud link by name in a private cloud
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param privateCloudName Name of the private cloud
39
+ * @param cloudLinkName Name of the cloud link resource
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ privateCloudName: string,
45
+ cloudLinkName: string,
46
+ options?: CloudLinksGetOptionalParams
47
+ ): Promise<CloudLinksGetResponse>;
48
+ /**
49
+ * Create or update a cloud link in a private cloud
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param privateCloudName The name of the private cloud.
52
+ * @param cloudLinkName Name of the cloud link resource
53
+ * @param cloudLink A cloud link in the private cloud
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ privateCloudName: string,
59
+ cloudLinkName: string,
60
+ cloudLink: CloudLink,
61
+ options?: CloudLinksCreateOrUpdateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<CloudLinksCreateOrUpdateResponse>,
65
+ CloudLinksCreateOrUpdateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Create or update a cloud link in a private cloud
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param privateCloudName The name of the private cloud.
72
+ * @param cloudLinkName Name of the cloud link resource
73
+ * @param cloudLink A cloud link in the private cloud
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateOrUpdateAndWait(
77
+ resourceGroupName: string,
78
+ privateCloudName: string,
79
+ cloudLinkName: string,
80
+ cloudLink: CloudLink,
81
+ options?: CloudLinksCreateOrUpdateOptionalParams
82
+ ): Promise<CloudLinksCreateOrUpdateResponse>;
83
+ /**
84
+ * Delete a cloud link in a private cloud
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param privateCloudName Name of the private cloud
87
+ * @param cloudLinkName Name of the cloud link resource
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ privateCloudName: string,
93
+ cloudLinkName: string,
94
+ options?: CloudLinksDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Delete a cloud link in a private cloud
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param privateCloudName Name of the private cloud
100
+ * @param cloudLinkName Name of the cloud link resource
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ privateCloudName: string,
106
+ cloudLinkName: string,
107
+ options?: CloudLinksDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -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
+ Cluster,
13
+ ClustersListOptionalParams,
14
+ ClustersGetOptionalParams,
15
+ ClustersGetResponse,
16
+ ClustersCreateOrUpdateOptionalParams,
17
+ ClustersCreateOrUpdateResponse,
18
+ ClusterUpdate,
19
+ ClustersUpdateOptionalParams,
20
+ ClustersUpdateResponse,
21
+ ClustersDeleteOptionalParams
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a Clusters. */
26
+ export interface Clusters {
27
+ /**
28
+ * List clusters in a private cloud
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param privateCloudName Name of the private cloud
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ privateCloudName: string,
36
+ options?: ClustersListOptionalParams
37
+ ): PagedAsyncIterableIterator<Cluster>;
38
+ /**
39
+ * Get a cluster by name in a private cloud
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param privateCloudName Name of the private cloud
42
+ * @param clusterName Name of the cluster in the private cloud
43
+ * @param options The options parameters.
44
+ */
45
+ get(
46
+ resourceGroupName: string,
47
+ privateCloudName: string,
48
+ clusterName: string,
49
+ options?: ClustersGetOptionalParams
50
+ ): Promise<ClustersGetResponse>;
51
+ /**
52
+ * Create or update a cluster in a private cloud
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param privateCloudName The name of the private cloud.
55
+ * @param clusterName Name of the cluster in the private cloud
56
+ * @param cluster A cluster in the private cloud
57
+ * @param options The options parameters.
58
+ */
59
+ beginCreateOrUpdate(
60
+ resourceGroupName: string,
61
+ privateCloudName: string,
62
+ clusterName: string,
63
+ cluster: Cluster,
64
+ options?: ClustersCreateOrUpdateOptionalParams
65
+ ): Promise<
66
+ PollerLike<
67
+ PollOperationState<ClustersCreateOrUpdateResponse>,
68
+ ClustersCreateOrUpdateResponse
69
+ >
70
+ >;
71
+ /**
72
+ * Create or update a cluster in a private cloud
73
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
+ * @param privateCloudName The name of the private cloud.
75
+ * @param clusterName Name of the cluster in the private cloud
76
+ * @param cluster A cluster in the private cloud
77
+ * @param options The options parameters.
78
+ */
79
+ beginCreateOrUpdateAndWait(
80
+ resourceGroupName: string,
81
+ privateCloudName: string,
82
+ clusterName: string,
83
+ cluster: Cluster,
84
+ options?: ClustersCreateOrUpdateOptionalParams
85
+ ): Promise<ClustersCreateOrUpdateResponse>;
86
+ /**
87
+ * Update a cluster in a private cloud
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param privateCloudName Name of the private cloud
90
+ * @param clusterName Name of the cluster in the private cloud
91
+ * @param clusterUpdate The cluster properties to be updated
92
+ * @param options The options parameters.
93
+ */
94
+ beginUpdate(
95
+ resourceGroupName: string,
96
+ privateCloudName: string,
97
+ clusterName: string,
98
+ clusterUpdate: ClusterUpdate,
99
+ options?: ClustersUpdateOptionalParams
100
+ ): Promise<
101
+ PollerLike<
102
+ PollOperationState<ClustersUpdateResponse>,
103
+ ClustersUpdateResponse
104
+ >
105
+ >;
106
+ /**
107
+ * Update a cluster in a private cloud
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param privateCloudName Name of the private cloud
110
+ * @param clusterName Name of the cluster in the private cloud
111
+ * @param clusterUpdate The cluster properties to be updated
112
+ * @param options The options parameters.
113
+ */
114
+ beginUpdateAndWait(
115
+ resourceGroupName: string,
116
+ privateCloudName: string,
117
+ clusterName: string,
118
+ clusterUpdate: ClusterUpdate,
119
+ options?: ClustersUpdateOptionalParams
120
+ ): Promise<ClustersUpdateResponse>;
121
+ /**
122
+ * Delete a cluster in a private cloud
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param privateCloudName Name of the private cloud
125
+ * @param clusterName Name of the cluster in the private cloud
126
+ * @param options The options parameters.
127
+ */
128
+ beginDelete(
129
+ resourceGroupName: string,
130
+ privateCloudName: string,
131
+ clusterName: string,
132
+ options?: ClustersDeleteOptionalParams
133
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
134
+ /**
135
+ * Delete a cluster in a private cloud
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param privateCloudName Name of the private cloud
138
+ * @param clusterName Name of the cluster in the private cloud
139
+ * @param options The options parameters.
140
+ */
141
+ beginDeleteAndWait(
142
+ resourceGroupName: string,
143
+ privateCloudName: string,
144
+ clusterName: string,
145
+ options?: ClustersDeleteOptionalParams
146
+ ): Promise<void>;
147
+ }
@@ -0,0 +1,121 @@
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
+ Datastore,
13
+ DatastoresListOptionalParams,
14
+ DatastoresGetOptionalParams,
15
+ DatastoresGetResponse,
16
+ DatastoresCreateOrUpdateOptionalParams,
17
+ DatastoresCreateOrUpdateResponse,
18
+ DatastoresDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Datastores. */
23
+ export interface Datastores {
24
+ /**
25
+ * List datastores in a private cloud cluster
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param privateCloudName Name of the private cloud
28
+ * @param clusterName Name of the cluster in the private cloud
29
+ * @param options The options parameters.
30
+ */
31
+ list(
32
+ resourceGroupName: string,
33
+ privateCloudName: string,
34
+ clusterName: string,
35
+ options?: DatastoresListOptionalParams
36
+ ): PagedAsyncIterableIterator<Datastore>;
37
+ /**
38
+ * Get a datastore in a private cloud cluster
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param privateCloudName Name of the private cloud
41
+ * @param clusterName Name of the cluster in the private cloud
42
+ * @param datastoreName Name of the datastore in the private cloud cluster
43
+ * @param options The options parameters.
44
+ */
45
+ get(
46
+ resourceGroupName: string,
47
+ privateCloudName: string,
48
+ clusterName: string,
49
+ datastoreName: string,
50
+ options?: DatastoresGetOptionalParams
51
+ ): Promise<DatastoresGetResponse>;
52
+ /**
53
+ * Create or update a datastore in a private cloud cluster
54
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
+ * @param privateCloudName Name of the private cloud
56
+ * @param clusterName Name of the cluster in the private cloud
57
+ * @param datastoreName Name of the datastore in the private cloud cluster
58
+ * @param datastore A datastore in a private cloud cluster
59
+ * @param options The options parameters.
60
+ */
61
+ beginCreateOrUpdate(
62
+ resourceGroupName: string,
63
+ privateCloudName: string,
64
+ clusterName: string,
65
+ datastoreName: string,
66
+ datastore: Datastore,
67
+ options?: DatastoresCreateOrUpdateOptionalParams
68
+ ): Promise<
69
+ PollerLike<
70
+ PollOperationState<DatastoresCreateOrUpdateResponse>,
71
+ DatastoresCreateOrUpdateResponse
72
+ >
73
+ >;
74
+ /**
75
+ * Create or update a datastore in a private cloud cluster
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param privateCloudName Name of the private cloud
78
+ * @param clusterName Name of the cluster in the private cloud
79
+ * @param datastoreName Name of the datastore in the private cloud cluster
80
+ * @param datastore A datastore in a private cloud cluster
81
+ * @param options The options parameters.
82
+ */
83
+ beginCreateOrUpdateAndWait(
84
+ resourceGroupName: string,
85
+ privateCloudName: string,
86
+ clusterName: string,
87
+ datastoreName: string,
88
+ datastore: Datastore,
89
+ options?: DatastoresCreateOrUpdateOptionalParams
90
+ ): Promise<DatastoresCreateOrUpdateResponse>;
91
+ /**
92
+ * Delete a datastore in a private cloud cluster
93
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
94
+ * @param privateCloudName Name of the private cloud
95
+ * @param clusterName Name of the cluster in the private cloud
96
+ * @param datastoreName Name of the datastore in the private cloud cluster
97
+ * @param options The options parameters.
98
+ */
99
+ beginDelete(
100
+ resourceGroupName: string,
101
+ privateCloudName: string,
102
+ clusterName: string,
103
+ datastoreName: string,
104
+ options?: DatastoresDeleteOptionalParams
105
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
106
+ /**
107
+ * Delete a datastore in a private cloud cluster
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param privateCloudName Name of the private cloud
110
+ * @param clusterName Name of the cluster in the private cloud
111
+ * @param datastoreName Name of the datastore in the private cloud cluster
112
+ * @param options The options parameters.
113
+ */
114
+ beginDeleteAndWait(
115
+ resourceGroupName: string,
116
+ privateCloudName: string,
117
+ clusterName: string,
118
+ datastoreName: string,
119
+ options?: DatastoresDeleteOptionalParams
120
+ ): Promise<void>;
121
+ }