@azure/arm-vmwarecloudsimple 1.1.1 → 2.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 (283) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +5683 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1328 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +44 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +59 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1185 -834
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +35 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +157 -106
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/customizationPolicies.d.ts +46 -0
  29. package/dist-esm/src/operations/customizationPolicies.d.ts.map +1 -0
  30. package/dist-esm/src/operations/customizationPolicies.js +169 -0
  31. package/dist-esm/src/operations/customizationPolicies.js.map +1 -0
  32. package/dist-esm/src/operations/dedicatedCloudNodes.d.ts +92 -0
  33. package/dist-esm/src/operations/dedicatedCloudNodes.d.ts.map +1 -0
  34. package/dist-esm/src/operations/dedicatedCloudNodes.js +446 -0
  35. package/dist-esm/src/operations/dedicatedCloudNodes.js.map +1 -0
  36. package/dist-esm/src/operations/dedicatedCloudServices.d.ts +91 -0
  37. package/dist-esm/src/operations/dedicatedCloudServices.d.ts.map +1 -0
  38. package/dist-esm/src/operations/dedicatedCloudServices.js +431 -0
  39. package/dist-esm/src/operations/dedicatedCloudServices.js.map +1 -0
  40. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/{esm → dist-esm/src}/operations/index.js +4 -5
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +39 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +155 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/privateClouds.d.ts +42 -0
  49. package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
  50. package/dist-esm/src/operations/privateClouds.js +162 -0
  51. package/dist-esm/src/operations/privateClouds.js.map +1 -0
  52. package/dist-esm/src/operations/resourcePools.d.ts +46 -0
  53. package/dist-esm/src/operations/resourcePools.d.ts.map +1 -0
  54. package/dist-esm/src/operations/resourcePools.js +169 -0
  55. package/dist-esm/src/operations/resourcePools.js.map +1 -0
  56. package/dist-esm/src/operations/skusAvailability.d.ts +35 -0
  57. package/dist-esm/src/operations/skusAvailability.d.ts.map +1 -0
  58. package/dist-esm/src/operations/skusAvailability.js +132 -0
  59. package/dist-esm/src/operations/skusAvailability.js.map +1 -0
  60. package/dist-esm/src/operations/usages.d.ts +35 -0
  61. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  62. package/dist-esm/src/operations/usages.js +132 -0
  63. package/dist-esm/src/operations/usages.js.map +1 -0
  64. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +49 -0
  65. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -0
  66. package/dist-esm/src/operations/virtualMachineTemplates.js +172 -0
  67. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -0
  68. package/dist-esm/src/operations/virtualMachines.d.ts +135 -0
  69. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  70. package/dist-esm/src/operations/virtualMachines.js +687 -0
  71. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  72. package/dist-esm/src/operations/virtualNetworks.d.ts +49 -0
  73. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -0
  74. package/dist-esm/src/operations/virtualNetworks.js +172 -0
  75. package/dist-esm/src/operations/virtualNetworks.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts +21 -0
  77. package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/customizationPolicies.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/customizationPolicies.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts +56 -0
  81. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts +55 -0
  85. package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  89. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  91. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
  93. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +19 -0
  97. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +21 -0
  101. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/resourcePools.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/resourcePools.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/skusAvailability.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/skusAvailability.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  109. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +22 -0
  113. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +99 -0
  117. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +22 -0
  121. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/virtualNetworks.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/virtualNetworks.js.map +1 -0
  124. package/dist-esm/src/vMwareCloudSimple.d.ts +30 -0
  125. package/dist-esm/src/vMwareCloudSimple.d.ts.map +1 -0
  126. package/dist-esm/src/vMwareCloudSimple.js +66 -0
  127. package/dist-esm/src/vMwareCloudSimple.js.map +1 -0
  128. package/dist-esm/test/sampleTest.d.ts +2 -0
  129. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  130. package/dist-esm/test/sampleTest.js +40 -0
  131. package/dist-esm/test/sampleTest.js.map +1 -0
  132. package/package.json +70 -32
  133. package/review/arm-vmwarecloudsimple.api.md +1140 -0
  134. package/rollup.config.js +181 -30
  135. package/src/index.ts +12 -0
  136. package/src/lroImpl.ts +34 -0
  137. package/src/models/index.ts +1155 -1956
  138. package/src/models/mappers.ts +1229 -846
  139. package/src/models/parameters.ts +200 -107
  140. package/src/operations/customizationPolicies.ts +217 -0
  141. package/src/operations/dedicatedCloudNodes.ts +391 -317
  142. package/src/operations/dedicatedCloudServices.ts +372 -319
  143. package/src/operations/index.ts +4 -5
  144. package/src/operations/operations.ts +117 -125
  145. package/src/operations/privateClouds.ts +131 -123
  146. package/src/operations/resourcePools.ts +145 -129
  147. package/src/operations/skusAvailability.ts +109 -85
  148. package/src/operations/usages.ts +109 -85
  149. package/src/operations/virtualMachineTemplates.ts +162 -132
  150. package/src/operations/virtualMachines.ts +705 -403
  151. package/src/operations/virtualNetworks.ts +163 -136
  152. package/src/operationsInterfaces/customizationPolicies.ts +44 -0
  153. package/src/operationsInterfaces/dedicatedCloudNodes.ts +110 -0
  154. package/src/operationsInterfaces/dedicatedCloudServices.ts +103 -0
  155. package/src/operationsInterfaces/index.ts +19 -0
  156. package/src/operationsInterfaces/operations.ts +38 -0
  157. package/src/operationsInterfaces/privateClouds.ts +40 -0
  158. package/src/operationsInterfaces/resourcePools.ts +44 -0
  159. package/src/operationsInterfaces/skusAvailability.ts +24 -0
  160. package/src/operationsInterfaces/usages.ts +24 -0
  161. package/src/operationsInterfaces/virtualMachineTemplates.ts +46 -0
  162. package/src/operationsInterfaces/virtualMachines.ts +191 -0
  163. package/src/operationsInterfaces/virtualNetworks.ts +46 -0
  164. package/src/vMwareCloudSimple.ts +126 -0
  165. package/tsconfig.json +3 -3
  166. package/types/arm-vmwarecloudsimple.d.ts +1861 -0
  167. package/types/tsdoc-metadata.json +11 -0
  168. package/dist/arm-vmwarecloudsimple.js +0 -4540
  169. package/dist/arm-vmwarecloudsimple.js.map +0 -1
  170. package/dist/arm-vmwarecloudsimple.min.js +0 -1
  171. package/dist/arm-vmwarecloudsimple.min.js.map +0 -1
  172. package/esm/models/dedicatedCloudNodesMappers.d.ts +0 -2
  173. package/esm/models/dedicatedCloudNodesMappers.d.ts.map +0 -1
  174. package/esm/models/dedicatedCloudNodesMappers.js +0 -9
  175. package/esm/models/dedicatedCloudNodesMappers.js.map +0 -1
  176. package/esm/models/dedicatedCloudServicesMappers.d.ts +0 -2
  177. package/esm/models/dedicatedCloudServicesMappers.d.ts.map +0 -1
  178. package/esm/models/dedicatedCloudServicesMappers.js +0 -9
  179. package/esm/models/dedicatedCloudServicesMappers.js.map +0 -1
  180. package/esm/models/index.d.ts +0 -2190
  181. package/esm/models/index.d.ts.map +0 -1
  182. package/esm/models/index.js +0 -8
  183. package/esm/models/index.js.map +0 -1
  184. package/esm/models/mappers.d.ts +0 -46
  185. package/esm/models/mappers.d.ts.map +0 -1
  186. package/esm/models/mappers.js.map +0 -1
  187. package/esm/models/operationsMappers.d.ts +0 -2
  188. package/esm/models/operationsMappers.d.ts.map +0 -1
  189. package/esm/models/operationsMappers.js +0 -9
  190. package/esm/models/operationsMappers.js.map +0 -1
  191. package/esm/models/parameters.d.ts +0 -24
  192. package/esm/models/parameters.d.ts.map +0 -1
  193. package/esm/models/parameters.js.map +0 -1
  194. package/esm/models/privateCloudsMappers.d.ts +0 -2
  195. package/esm/models/privateCloudsMappers.d.ts.map +0 -1
  196. package/esm/models/privateCloudsMappers.js +0 -9
  197. package/esm/models/privateCloudsMappers.js.map +0 -1
  198. package/esm/models/resourcePoolsMappers.d.ts +0 -2
  199. package/esm/models/resourcePoolsMappers.d.ts.map +0 -1
  200. package/esm/models/resourcePoolsMappers.js +0 -9
  201. package/esm/models/resourcePoolsMappers.js.map +0 -1
  202. package/esm/models/skusAvailabilityMappers.d.ts +0 -2
  203. package/esm/models/skusAvailabilityMappers.d.ts.map +0 -1
  204. package/esm/models/skusAvailabilityMappers.js +0 -9
  205. package/esm/models/skusAvailabilityMappers.js.map +0 -1
  206. package/esm/models/usagesMappers.d.ts +0 -2
  207. package/esm/models/usagesMappers.d.ts.map +0 -1
  208. package/esm/models/usagesMappers.js +0 -9
  209. package/esm/models/usagesMappers.js.map +0 -1
  210. package/esm/models/virtualMachineTemplatesMappers.d.ts +0 -2
  211. package/esm/models/virtualMachineTemplatesMappers.d.ts.map +0 -1
  212. package/esm/models/virtualMachineTemplatesMappers.js +0 -9
  213. package/esm/models/virtualMachineTemplatesMappers.js.map +0 -1
  214. package/esm/models/virtualMachinesMappers.d.ts +0 -2
  215. package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
  216. package/esm/models/virtualMachinesMappers.js +0 -9
  217. package/esm/models/virtualMachinesMappers.js.map +0 -1
  218. package/esm/models/virtualNetworksMappers.d.ts +0 -2
  219. package/esm/models/virtualNetworksMappers.d.ts.map +0 -1
  220. package/esm/models/virtualNetworksMappers.js +0 -9
  221. package/esm/models/virtualNetworksMappers.js.map +0 -1
  222. package/esm/operations/dedicatedCloudNodes.d.ts +0 -173
  223. package/esm/operations/dedicatedCloudNodes.d.ts.map +0 -1
  224. package/esm/operations/dedicatedCloudNodes.js +0 -304
  225. package/esm/operations/dedicatedCloudNodes.js.map +0 -1
  226. package/esm/operations/dedicatedCloudServices.d.ts +0 -174
  227. package/esm/operations/dedicatedCloudServices.d.ts.map +0 -1
  228. package/esm/operations/dedicatedCloudServices.js +0 -300
  229. package/esm/operations/dedicatedCloudServices.js.map +0 -1
  230. package/esm/operations/index.d.ts.map +0 -1
  231. package/esm/operations/index.js.map +0 -1
  232. package/esm/operations/operations.d.ts +0 -70
  233. package/esm/operations/operations.d.ts.map +0 -1
  234. package/esm/operations/operations.js +0 -116
  235. package/esm/operations/operations.js.map +0 -1
  236. package/esm/operations/privateClouds.d.ts +0 -73
  237. package/esm/operations/privateClouds.d.ts.map +0 -1
  238. package/esm/operations/privateClouds.js +0 -113
  239. package/esm/operations/privateClouds.js.map +0 -1
  240. package/esm/operations/resourcePools.d.ts +0 -79
  241. package/esm/operations/resourcePools.d.ts.map +0 -1
  242. package/esm/operations/resourcePools.js +0 -117
  243. package/esm/operations/resourcePools.js.map +0 -1
  244. package/esm/operations/skusAvailability.d.ts +0 -51
  245. package/esm/operations/skusAvailability.d.ts.map +0 -1
  246. package/esm/operations/skusAvailability.js +0 -83
  247. package/esm/operations/skusAvailability.js.map +0 -1
  248. package/esm/operations/usages.d.ts +0 -51
  249. package/esm/operations/usages.d.ts.map +0 -1
  250. package/esm/operations/usages.js +0 -83
  251. package/esm/operations/usages.js.map +0 -1
  252. package/esm/operations/virtualMachineTemplates.d.ts +0 -82
  253. package/esm/operations/virtualMachineTemplates.d.ts.map +0 -1
  254. package/esm/operations/virtualMachineTemplates.js +0 -119
  255. package/esm/operations/virtualMachineTemplates.js.map +0 -1
  256. package/esm/operations/virtualMachines.d.ts +0 -201
  257. package/esm/operations/virtualMachines.d.ts.map +0 -1
  258. package/esm/operations/virtualMachines.js +0 -472
  259. package/esm/operations/virtualMachines.js.map +0 -1
  260. package/esm/operations/virtualNetworks.d.ts +0 -85
  261. package/esm/operations/virtualNetworks.d.ts.map +0 -1
  262. package/esm/operations/virtualNetworks.js +0 -119
  263. package/esm/operations/virtualNetworks.js.map +0 -1
  264. package/esm/vMwareCloudSimpleClient.d.ts +0 -34
  265. package/esm/vMwareCloudSimpleClient.d.ts.map +0 -1
  266. package/esm/vMwareCloudSimpleClient.js +0 -48
  267. package/esm/vMwareCloudSimpleClient.js.map +0 -1
  268. package/esm/vMwareCloudSimpleClientContext.d.ts +0 -24
  269. package/esm/vMwareCloudSimpleClientContext.d.ts.map +0 -1
  270. package/esm/vMwareCloudSimpleClientContext.js +0 -66
  271. package/esm/vMwareCloudSimpleClientContext.js.map +0 -1
  272. package/src/models/dedicatedCloudNodesMappers.ts +0 -26
  273. package/src/models/dedicatedCloudServicesMappers.ts +0 -25
  274. package/src/models/operationsMappers.ts +0 -20
  275. package/src/models/privateCloudsMappers.ts +0 -20
  276. package/src/models/resourcePoolsMappers.ts +0 -14
  277. package/src/models/skusAvailabilityMappers.ts +0 -14
  278. package/src/models/usagesMappers.ts +0 -15
  279. package/src/models/virtualMachineTemplatesMappers.ts +0 -18
  280. package/src/models/virtualMachinesMappers.ts +0 -29
  281. package/src/models/virtualNetworksMappers.ts +0 -14
  282. package/src/vMwareCloudSimpleClient.ts +0 -67
  283. package/src/vMwareCloudSimpleClientContext.ts +0 -74
@@ -1,2340 +1,1539 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ /** List of available operations */
12
+ export interface AvailableOperationsListResponse {
13
+ /** Link for next list of available operations */
14
+ nextLink?: string;
15
+ /** Returns a list of available operations */
16
+ value?: AvailableOperation[];
17
+ }
13
18
 
14
- /**
15
- * Resource provider available operation display model
16
- */
19
+ /** Resource provider available operation model */
20
+ export interface AvailableOperation {
21
+ /** The list of operations */
22
+ display?: AvailableOperationDisplay;
23
+ /** Indicating whether the operation is a data action or not */
24
+ isDataAction?: boolean;
25
+ /** {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} */
26
+ name?: string;
27
+ /** The origin of operation */
28
+ origin?: OperationOrigin;
29
+ /** The list of specification's service metrics */
30
+ serviceSpecification?: AvailableOperationDisplayPropertyServiceSpecificationMetricsList;
31
+ }
32
+
33
+ /** Resource provider available operation display model */
17
34
  export interface AvailableOperationDisplay {
18
- /**
19
- * Description of the operation for display purposes
20
- */
35
+ /** Description of the operation for display purposes */
21
36
  description?: string;
22
- /**
23
- * Name of the operation for display purposes
24
- */
37
+ /** Name of the operation for display purposes */
25
38
  operation?: string;
26
- /**
27
- * Name of the provider for display purposes
28
- */
39
+ /** Name of the provider for display purposes */
29
40
  provider?: string;
30
- /**
31
- * Name of the resource type for display purposes
32
- */
41
+ /** Name of the resource type for display purposes */
33
42
  resource?: string;
34
43
  }
35
44
 
36
- /**
37
- * Available operation display property service specification metrics item
38
- */
45
+ /** List of available operation display property service specification metrics */
46
+ export interface AvailableOperationDisplayPropertyServiceSpecificationMetricsList {
47
+ /** Metric specifications of operation */
48
+ metricSpecifications?: AvailableOperationDisplayPropertyServiceSpecificationMetricsItem[];
49
+ }
50
+
51
+ /** Available operation display property service specification metrics item */
39
52
  export interface AvailableOperationDisplayPropertyServiceSpecificationMetricsItem {
40
- /**
41
- * Metric's aggregation type for e.g. (Average, Total). Possible values include: 'Average',
42
- * 'Total'
43
- */
53
+ /** Metric's aggregation type for e.g. (Average, Total) */
44
54
  aggregationType: AggregationType;
45
- /**
46
- * Metric's description
47
- */
55
+ /** Metric's description */
48
56
  displayDescription: string;
49
- /**
50
- * Human readable metric's name
51
- */
57
+ /** Human readable metric's name */
52
58
  displayName: string;
53
- /**
54
- * Metric's name/id
55
- */
59
+ /** Metric's name/id */
56
60
  name: string;
57
- /**
58
- * Metric's unit
59
- */
61
+ /** Metric's unit */
60
62
  unit: string;
61
63
  }
62
64
 
63
- /**
64
- * List of available operation display property service specification metrics
65
- */
66
- export interface AvailableOperationDisplayPropertyServiceSpecificationMetricsList {
67
- /**
68
- * Metric specifications of operation
69
- */
70
- metricSpecifications?: AvailableOperationDisplayPropertyServiceSpecificationMetricsItem[];
71
- }
72
-
73
- /**
74
- * Resource provider available operation model
75
- */
76
- export interface AvailableOperation {
77
- /**
78
- * The list of operations
79
- */
80
- display?: AvailableOperationDisplay;
81
- /**
82
- * Indicating whether the operation is a data action or not. Default value: false.
83
- */
84
- isDataAction?: boolean;
85
- /**
86
- * {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}
87
- */
88
- name?: string;
89
- /**
90
- * The origin of operation. Possible values include: 'user', 'system', 'user,system'
91
- */
92
- origin?: OperationOrigin;
93
- /**
94
- * The list of specification's service metrics
95
- */
96
- serviceSpecification?: AvailableOperationDisplayPropertyServiceSpecificationMetricsList;
65
+ /** General error model */
66
+ export interface CsrpError {
67
+ /** Error's body */
68
+ error?: CsrpErrorBody;
97
69
  }
98
70
 
99
- /**
100
- * Error properties
101
- */
102
- export interface CSRPErrorBody {
71
+ /** Error properties */
72
+ export interface CsrpErrorBody {
103
73
  /**
104
74
  * Error's code
105
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
75
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
76
  */
107
77
  readonly code?: string;
108
78
  /**
109
79
  * Error's details
110
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
80
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
81
  */
112
- readonly details?: CSRPErrorBody[];
82
+ readonly details?: CsrpErrorBody[];
113
83
  /**
114
84
  * Error's message
115
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
86
  */
117
87
  readonly message?: string;
118
- /**
119
- * Error's target
120
- */
88
+ /** Error's target */
121
89
  target?: string;
122
90
  }
123
91
 
124
- /**
125
- * General error model
126
- */
127
- export interface CSRPError {
128
- /**
129
- * Error's body
130
- */
131
- error?: CSRPErrorBody;
132
- }
133
-
134
- /**
135
- * The purchase SKU for CloudSimple paid resources
136
- */
137
- export interface Sku {
138
- /**
139
- * The capacity of the SKU
140
- */
141
- capacity?: string;
142
- /**
143
- * dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache
144
- * (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
145
- */
146
- description?: string;
147
- /**
148
- * If the service has different generations of hardware, for the same SKU, then that can be
149
- * captured here
150
- */
151
- family?: string;
152
- /**
153
- * The name of the SKU for VMWare CloudSimple Node
154
- */
155
- name: string;
156
- /**
157
- * The tier of the SKU
158
- */
159
- tier?: string;
92
+ /** List of dedicated nodes response model */
93
+ export interface DedicatedCloudNodeListResponse {
94
+ /** Link for next list of DedicatedCloudNode */
95
+ nextLink?: string;
96
+ /** Results of the DedicatedCloudNode list */
97
+ value?: DedicatedCloudNode[];
160
98
  }
161
99
 
162
- /**
163
- * Dedicated cloud node model
164
- */
165
- export interface DedicatedCloudNode extends BaseResource {
100
+ /** Dedicated cloud node model */
101
+ export interface DedicatedCloudNode {
166
102
  /**
167
103
  * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}
168
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
105
  */
170
106
  readonly id?: string;
171
- /**
172
- * Azure region
173
- */
107
+ /** Azure region */
174
108
  location: string;
175
109
  /**
176
110
  * {dedicatedCloudNodeName}
177
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
112
  */
179
113
  readonly name?: string;
114
+ /** Dedicated Cloud Nodes SKU */
115
+ sku?: Sku;
116
+ /** Dedicated Cloud Nodes tags */
117
+ tags?: { [propertyName: string]: string };
180
118
  /**
181
- * Availability Zone id, e.g. "az1"
119
+ * {resourceProviderNamespace}/{resourceType}
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
182
121
  */
183
- availabilityZoneId: string;
122
+ readonly type?: string;
123
+ /** Availability Zone id, e.g. "az1" */
124
+ availabilityZoneId?: string;
184
125
  /**
185
126
  * Availability Zone name, e.g. "Availability Zone 1"
186
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
187
128
  */
188
129
  readonly availabilityZoneName?: string;
189
130
  /**
190
131
  * VMWare Cloud Rack Name
191
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
192
133
  */
193
134
  readonly cloudRackName?: string;
194
135
  /**
195
136
  * date time the resource was created
196
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
197
- */
198
- readonly created?: any;
199
- /**
200
- * count of nodes to create
201
- */
202
- nodesCount: number;
203
- /**
204
- * Placement Group id, e.g. "n1"
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
138
  */
206
- placementGroupId: string;
139
+ readonly created?: Date;
140
+ /** count of nodes to create */
141
+ nodesCount?: number;
142
+ /** Placement Group id, e.g. "n1" */
143
+ placementGroupId?: string;
207
144
  /**
208
145
  * Placement Name, e.g. "Placement Group 1"
209
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
147
  */
211
148
  readonly placementGroupName?: string;
212
149
  /**
213
150
  * Private Cloud Id
214
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
215
152
  */
216
153
  readonly privateCloudId?: string;
217
154
  /**
218
155
  * Resource Pool Name
219
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
220
157
  */
221
158
  readonly privateCloudName?: string;
222
159
  /**
223
160
  * The provisioning status of the resource
224
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
162
  */
226
163
  readonly provisioningState?: string;
164
+ /** purchase id */
165
+ purchaseId?: string;
227
166
  /**
228
- * purchase id
229
- */
230
- purchaseId: string;
231
- /**
232
- * SKU's id
233
- */
234
- id1: string;
235
- /**
236
- * SKU's name
237
- */
238
- name1: string;
239
- /**
240
- * Node status, indicates is private cloud set up on this node or not. Possible values include:
241
- * 'unused', 'used'
242
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
167
+ * Node status, indicates is private cloud set up on this node or not
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
243
169
  */
244
170
  readonly status?: NodeStatus;
245
171
  /**
246
172
  * VMWare Cluster Name
247
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
248
174
  */
249
175
  readonly vmwareClusterName?: string;
250
- /**
251
- * Dedicated Cloud Nodes SKU
252
- */
253
- sku?: Sku;
254
- /**
255
- * Dedicated Cloud Nodes tags
256
- */
257
- tags?: { [propertyName: string]: string };
258
- /**
259
- * {resourceProviderNamespace}/{resourceType}
260
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
261
- */
262
- readonly type?: string;
176
+ /** SKU's id */
177
+ idPropertiesSkuDescriptionId?: string;
178
+ /** SKU's name */
179
+ namePropertiesSkuDescriptionName?: string;
263
180
  }
264
181
 
265
- /**
266
- * Dedicated cloud service model
267
- */
268
- export interface DedicatedCloudService extends BaseResource {
182
+ /** The purchase SKU for CloudSimple paid resources */
183
+ export interface Sku {
184
+ /** The capacity of the SKU */
185
+ capacity?: string;
186
+ /** dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ... */
187
+ description?: string;
188
+ /** If the service has different generations of hardware, for the same SKU, then that can be captured here */
189
+ family?: string;
190
+ /** The name of the SKU for VMWare CloudSimple Node */
191
+ name: string;
192
+ /** The tier of the SKU */
193
+ tier?: string;
194
+ }
195
+
196
+ /** List of dedicated cloud services */
197
+ export interface DedicatedCloudServiceListResponse {
198
+ /** Link for next list of DedicatedCloudNode */
199
+ nextLink?: string;
200
+ /** Results of the DedicatedCloudService list */
201
+ value?: DedicatedCloudService[];
202
+ }
203
+
204
+ /** Dedicated cloud service model */
205
+ export interface DedicatedCloudService {
269
206
  /**
270
207
  * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}
271
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
272
209
  */
273
210
  readonly id?: string;
274
- /**
275
- * Azure region
276
- */
211
+ /** Azure region */
277
212
  location: string;
278
213
  /**
279
214
  * {dedicatedCloudServiceName}
280
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
216
  */
282
217
  readonly name?: string;
218
+ /** The list of tags */
219
+ tags?: { [propertyName: string]: string };
283
220
  /**
284
- * gateway Subnet for the account. It will collect the subnet address and always treat it as /28
221
+ * {resourceProviderNamespace}/{resourceType}
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
223
  */
286
- gatewaySubnet: string;
224
+ readonly type?: string;
225
+ /** gateway Subnet for the account. It will collect the subnet address and always treat it as /28 */
226
+ gatewaySubnet?: string;
287
227
  /**
288
- * indicates whether account onboarded or not in a given region. Possible values include:
289
- * 'notOnBoarded', 'onBoarded', 'onBoardingFailed', 'onBoarding'
290
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
228
+ * indicates whether account onboarded or not in a given region
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
230
  */
292
231
  readonly isAccountOnboarded?: OnboardingStatus;
293
232
  /**
294
233
  * total nodes purchased
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
295
235
  */
296
- nodes?: number;
236
+ readonly nodes?: number;
297
237
  /**
298
238
  * link to a service management web portal
239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
299
240
  */
300
- serviceURL?: string;
301
- /**
302
- * The list of tags
303
- */
304
- tags?: { [propertyName: string]: string };
305
- /**
306
- * {resourceProviderNamespace}/{resourceType}
307
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
308
- */
309
- readonly type?: string;
241
+ readonly serviceURL?: string;
310
242
  }
311
243
 
312
- /**
313
- * Operation error model
314
- */
315
- export interface OperationError {
316
- /**
317
- * Error's code
318
- */
319
- code?: string;
320
- /**
321
- * Error's message
322
- */
323
- message?: string;
244
+ /** List of SKU availabilities */
245
+ export interface SkuAvailabilityListResponse {
246
+ /** Link for next list of DedicatedCloudNode */
247
+ nextLink?: string;
248
+ /** Results of the DedicatedPlacementGroupSkuAvailability list */
249
+ value?: SkuAvailability[];
324
250
  }
325
251
 
326
- /**
327
- * Operation status response
328
- */
252
+ /** SKU availability model */
253
+ export interface SkuAvailability {
254
+ /** CloudSimple Availability Zone id */
255
+ dedicatedAvailabilityZoneId?: string;
256
+ /** CloudSimple Availability Zone Name */
257
+ dedicatedAvailabilityZoneName?: string;
258
+ /** CloudSimple Placement Group Id */
259
+ dedicatedPlacementGroupId?: string;
260
+ /** CloudSimple Placement Group name */
261
+ dedicatedPlacementGroupName?: string;
262
+ /** indicates how many resources of a given SKU is available in a AZ->PG */
263
+ limit: number;
264
+ /** resource type e.g. DedicatedCloudNodes */
265
+ resourceType?: string;
266
+ /** sku id */
267
+ skuId?: string;
268
+ /** sku name */
269
+ skuName?: string;
270
+ }
271
+
272
+ /** Operation status response */
329
273
  export interface OperationResource {
330
274
  /**
331
275
  * End time of the operation
332
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
276
+ * NOTE: This property will not be serialized. It can only be populated by the server.
333
277
  */
334
278
  readonly endTime?: Date;
335
- /**
336
- * Error Message if operation failed
337
- */
279
+ /** Error Message if operation failed */
338
280
  error?: OperationError;
339
281
  /**
340
282
  * Operation Id
341
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
284
  */
343
285
  readonly id?: string;
344
286
  /**
345
287
  * Operation ID
346
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
288
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
289
  */
348
290
  readonly name?: string;
349
291
  /**
350
292
  * Start time of the operation
351
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
293
+ * NOTE: This property will not be serialized. It can only be populated by the server.
352
294
  */
353
295
  readonly startTime?: Date;
354
296
  /**
355
297
  * Operation status
356
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
298
+ * NOTE: This property will not be serialized. It can only be populated by the server.
357
299
  */
358
300
  readonly status?: string;
359
301
  }
360
302
 
361
- /**
362
- * General patch payload modal
363
- */
364
- export interface PatchPayload {
365
- /**
366
- * The tags key:value pairs
367
- */
368
- tags?: { [propertyName: string]: string };
303
+ /** Operation error model */
304
+ export interface OperationError {
305
+ /** Error's code */
306
+ code?: string;
307
+ /** Error's message */
308
+ message?: string;
369
309
  }
370
310
 
371
- /**
372
- * Resource pool model
373
- */
311
+ /** List of private clouds */
312
+ export interface PrivateCloudList {
313
+ /** Link for next list of Private Clouds */
314
+ nextLink?: string;
315
+ /** the list of private clouds */
316
+ value?: PrivateCloud[];
317
+ }
318
+
319
+ /** Private cloud model */
320
+ export interface PrivateCloud {
321
+ /** Azure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123" */
322
+ id?: string;
323
+ /** Location where private cloud created, e.g "westus" */
324
+ location?: string;
325
+ /** Private cloud name */
326
+ name?: string;
327
+ /** Azure Resource type */
328
+ type?: "Microsoft.VMwareCloudSimple/privateClouds";
329
+ /** Availability Zone id, e.g. "az1" */
330
+ availabilityZoneId?: string;
331
+ /** Availability Zone name, e.g. "Availability Zone 1" */
332
+ availabilityZoneName?: string;
333
+ /** Number of clusters */
334
+ clustersNumber?: number;
335
+ /** User's emails who created cloud */
336
+ createdBy?: string;
337
+ /** When private cloud was created */
338
+ createdOn?: Date;
339
+ /** Array of DNS servers */
340
+ dnsServers?: string[];
341
+ /** Expiration date of PC */
342
+ expires?: string;
343
+ /** Nsx Type, e.g. "Advanced" */
344
+ nsxType?: string;
345
+ /** Placement Group id, e.g. "n1" */
346
+ placementGroupId?: string;
347
+ /** Placement Group name */
348
+ placementGroupName?: string;
349
+ /** Id of a private cloud */
350
+ privateCloudId?: string;
351
+ /** The list of Resource Pools */
352
+ resourcePools?: ResourcePool[];
353
+ /** Private Cloud state, e.g. "operational" */
354
+ state?: string;
355
+ /** Number of cores */
356
+ totalCpuCores?: number;
357
+ /** Number of nodes */
358
+ totalNodes?: number;
359
+ /** Memory size */
360
+ totalRam?: number;
361
+ /** Disk space in TB */
362
+ totalStorage?: number;
363
+ /** Virtualization type e.g. "vSphere" */
364
+ typePropertiesType?: string;
365
+ /** e.g. "6.5u2" */
366
+ vSphereVersion?: string;
367
+ /** FQDN for vcenter access */
368
+ vcenterFqdn?: string;
369
+ /** Vcenter ip address */
370
+ vcenterRefid?: string;
371
+ /** The list of Virtual Machine Templates */
372
+ virtualMachineTemplates?: VirtualMachineTemplate[];
373
+ /** The list of Virtual Networks */
374
+ virtualNetworks?: VirtualNetwork[];
375
+ /** Is Vrops enabled/disabled */
376
+ vrOpsEnabled?: boolean;
377
+ }
378
+
379
+ /** Resource pool model */
374
380
  export interface ResourcePool {
375
- /**
376
- * resource pool id (privateCloudId:vsphereId)
377
- */
381
+ /** resource pool id (privateCloudId:vsphereId) */
378
382
  id: string;
379
383
  /**
380
384
  * Azure region
381
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
385
+ * NOTE: This property will not be serialized. It can only be populated by the server.
382
386
  */
383
387
  readonly location?: string;
384
388
  /**
385
389
  * {ResourcePoolName}
386
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
390
+ * NOTE: This property will not be serialized. It can only be populated by the server.
387
391
  */
388
392
  readonly name?: string;
389
393
  /**
390
394
  * The Private Cloud Id
391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
395
+ * NOTE: This property will not be serialized. It can only be populated by the server.
392
396
  */
393
397
  readonly privateCloudId?: string;
394
- /**
395
- * Hierarchical resource pool name
396
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
397
- */
398
- readonly fullName?: string;
399
398
  /**
400
399
  * {resourceProviderNamespace}/{resourceType}
401
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
402
401
  */
403
402
  readonly type?: string;
403
+ /**
404
+ * Hierarchical resource pool name
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly fullName?: string;
404
408
  }
405
409
 
406
- /**
407
- * Virtual disk controller model
408
- */
409
- export interface VirtualDiskController {
410
+ /** Virtual machine template model */
411
+ export interface VirtualMachineTemplate {
410
412
  /**
411
- * Controller's id
412
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
413
+ * virtual machine template id (privateCloudId:vsphereId)
414
+ * NOTE: This property will not be serialized. It can only be populated by the server.
413
415
  */
414
416
  readonly id?: string;
417
+ /** Azure region */
418
+ location?: string;
415
419
  /**
416
- * The display name of Controller
417
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
420
+ * {virtualMachineTemplateName}
421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
422
  */
419
423
  readonly name?: string;
420
424
  /**
421
- * dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
422
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
423
- */
424
- readonly subType?: string;
425
- /**
426
- * disk controller type (SCSI)
427
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
425
+ * {resourceProviderNamespace}/{resourceType}
426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
428
427
  */
429
428
  readonly type?: string;
430
- }
431
-
432
- /**
433
- * Virtual disk model
434
- */
435
- export interface VirtualDisk {
429
+ /** The amount of memory */
430
+ amountOfRam?: number;
431
+ /** The list of Virtual Disk Controllers */
432
+ controllers?: VirtualDiskController[];
433
+ /** The description of Virtual Machine Template */
434
+ description?: string;
435
+ /** The list of Virtual Disks */
436
+ disks?: VirtualDisk[];
437
+ /** Expose Guest OS or not */
438
+ exposeToGuestVM?: boolean;
436
439
  /**
437
- * Disk's Controller id
440
+ * The Guest OS
441
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
442
  */
439
- controllerId: string;
443
+ readonly guestOS?: string;
440
444
  /**
441
- * Disk's independence mode type. Possible values include: 'persistent',
442
- * 'independent_persistent', 'independent_nonpersistent'
443
- */
444
- independenceMode: DiskIndependenceMode;
445
- /**
446
- * Disk's total size
447
- */
448
- totalSize: number;
449
- /**
450
- * Disk's id
445
+ * The Guest OS types
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
451
447
  */
452
- virtualDiskId?: string;
448
+ readonly guestOSType?: string;
449
+ /** The list of Virtual NICs */
450
+ nics?: VirtualNic[];
451
+ /** The number of CPU cores */
452
+ numberOfCores?: number;
453
+ /** path to folder */
454
+ path?: string;
455
+ /** The Private Cloud Id */
456
+ privateCloudId?: string;
457
+ /** The list of VSphere networks */
458
+ vSphereNetworks?: string[];
459
+ /** The tags from VSphere */
460
+ vSphereTags?: string[];
453
461
  /**
454
- * Disk's display name
455
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
462
+ * The VMware tools version
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
456
464
  */
457
- readonly virtualDiskName?: string;
465
+ readonly vmwaretools?: string;
458
466
  }
459
467
 
460
- /**
461
- * Virtual network model
462
- */
463
- export interface VirtualNetwork {
464
- /**
465
- * can be used in vm creation/deletion
466
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
467
- */
468
- readonly assignable?: boolean;
469
- /**
470
- * virtual network id (privateCloudId:vsphereId)
471
- */
472
- id: string;
468
+ /** Virtual disk controller model */
469
+ export interface VirtualDiskController {
473
470
  /**
474
- * Azure region
475
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
471
+ * Controller's id
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
473
  */
477
- readonly location?: string;
474
+ readonly id?: string;
478
475
  /**
479
- * {VirtualNetworkName}
480
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
476
+ * The display name of Controller
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
478
  */
482
479
  readonly name?: string;
483
480
  /**
484
- * The Private Cloud id
485
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
481
+ * dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
482
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
483
  */
487
- readonly privateCloudId?: string;
484
+ readonly subType?: string;
488
485
  /**
489
- * {resourceProviderNamespace}/{resourceType}
490
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
486
+ * disk controller type (SCSI)
487
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
488
  */
492
489
  readonly type?: string;
493
490
  }
494
491
 
495
- /**
496
- * Virtual NIC model
497
- */
498
- export interface VirtualNic {
492
+ /** Virtual disk model */
493
+ export interface VirtualDisk {
494
+ /** Disk's Controller id */
495
+ controllerId: string;
496
+ /** Disk's independence mode type */
497
+ independenceMode: DiskIndependenceMode;
498
+ /** Disk's total size */
499
+ totalSize: number;
500
+ /** Disk's id */
501
+ virtualDiskId?: string;
499
502
  /**
500
- * NIC ip address
503
+ * Disk's display name
504
+ * NOTE: This property will not be serialized. It can only be populated by the server.
501
505
  */
506
+ readonly virtualDiskName?: string;
507
+ }
508
+
509
+ /** Virtual NIC model */
510
+ export interface VirtualNic {
511
+ /** guest OS customization for nic */
512
+ customization?: GuestOsnicCustomization;
513
+ /** NIC ip address */
502
514
  ipAddresses?: string[];
503
- /**
504
- * NIC MAC address
505
- */
515
+ /** NIC MAC address */
506
516
  macAddress?: string;
507
- /**
508
- * Virtual Network
509
- */
517
+ /** Virtual Network */
510
518
  network: VirtualNetwork;
511
- /**
512
- * NIC type. Possible values include: 'E1000', 'E1000E', 'PCNET32', 'VMXNET', 'VMXNET2',
513
- * 'VMXNET3'
514
- */
519
+ /** NIC type */
515
520
  nicType: NICType;
516
- /**
517
- * Is NIC powered on/off on boot
518
- */
521
+ /** Is NIC powered on/off on boot */
519
522
  powerOnBoot?: boolean;
520
- /**
521
- * NIC id
522
- */
523
+ /** NIC id */
523
524
  virtualNicId?: string;
524
525
  /**
525
526
  * NIC name
526
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
527
528
  */
528
529
  readonly virtualNicName?: string;
529
530
  }
530
531
 
531
- /**
532
- * Virtual machine template model
533
- */
534
- export interface VirtualMachineTemplate {
532
+ /** Guest OS nic customization */
533
+ export interface GuestOsnicCustomization {
534
+ /** IP address allocation method */
535
+ allocation?: GuestOsnicCustomizationAllocation;
536
+ /** List of dns servers to use */
537
+ dnsServers?: string[];
538
+ /** Gateway addresses assigned to nic */
539
+ gateway?: string[];
540
+ /** Static ip address for nic */
541
+ ipAddress?: string;
542
+ /** Network mask for nic */
543
+ mask?: string;
544
+ /** primary WINS server for Windows */
545
+ primaryWinsServer?: string;
546
+ /** secondary WINS server for Windows */
547
+ secondaryWinsServer?: string;
548
+ }
549
+
550
+ /** Virtual network model */
551
+ export interface VirtualNetwork {
535
552
  /**
536
- * virtual machine template id (privateCloudId:vsphereId)
537
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
553
+ * can be used in vm creation/deletion
554
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
555
  */
539
- readonly id?: string;
556
+ readonly assignable?: boolean;
557
+ /** virtual network id (privateCloudId:vsphereId) */
558
+ id: string;
540
559
  /**
541
560
  * Azure region
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
562
  */
543
- location?: string;
563
+ readonly location?: string;
544
564
  /**
545
- * {virtualMachineTemplateName}
546
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
565
+ * {VirtualNetworkName}
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
567
  */
548
568
  readonly name?: string;
549
- /**
550
- * The amount of memory
551
- */
552
- amountOfRam?: number;
553
- /**
554
- * The list of Virtual Disk Controllers
555
- */
556
- controllers?: VirtualDiskController[];
557
- /**
558
- * The description of Virtual Machine Template
559
- */
560
- description?: string;
561
- /**
562
- * The list of Virtual Disks
563
- */
564
- disks?: VirtualDisk[];
565
- /**
566
- * Expose Guest OS or not
567
- */
568
- exposeToGuestVM?: boolean;
569
- /**
570
- * The Guest OS
571
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
572
- */
573
- readonly guestOS?: string;
574
- /**
575
- * The Guest OS types
576
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
577
- */
578
- readonly guestOSType?: string;
579
- /**
580
- * The list of Virtual NICs
581
- */
582
- nics?: VirtualNic[];
583
- /**
584
- * The number of CPU cores
585
- */
586
- numberOfCores?: number;
587
- /**
588
- * path to folder
589
- */
590
- path?: string;
591
- /**
592
- * The Private Cloud Id
593
- */
594
- privateCloudId: string;
595
- /**
596
- * The list of VSphere networks
597
- */
598
- vSphereNetworks?: string[];
599
- /**
600
- * The tags from VSphere
601
- */
602
- vSphereTags?: string[];
603
- /**
604
- * The VMware tools version
605
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
606
- */
607
- readonly vmwaretools?: string;
608
569
  /**
609
570
  * {resourceProviderNamespace}/{resourceType}
610
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
611
572
  */
612
573
  readonly type?: string;
613
- }
614
-
615
- /**
616
- * Private cloud model
617
- */
618
- export interface PrivateCloud {
619
574
  /**
620
- * Azure Id, e.g.
621
- * "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123"
575
+ * The Private Cloud id
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
622
577
  */
578
+ readonly privateCloudId?: string;
579
+ }
580
+
581
+ /** List of customization polices response model */
582
+ export interface CustomizationPoliciesListResponse {
583
+ /** Link for next list of the Customization policy */
584
+ nextLink?: string;
585
+ /** List of the customization policies */
586
+ value?: CustomizationPolicy[];
587
+ }
588
+
589
+ /** The virtual machine customization policy */
590
+ export interface CustomizationPolicy {
591
+ /** Customization policy azure id */
623
592
  id?: string;
624
- /**
625
- * Location where private cloud created, e.g "westus"
626
- */
593
+ /** Azure region */
627
594
  location?: string;
628
595
  /**
629
- * Private cloud name
596
+ * Customization policy name
597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
598
  */
599
+ readonly name?: string;
600
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
601
+ readonly type?: string;
602
+ /** Policy description */
603
+ description?: string;
604
+ /** The Private cloud id */
605
+ privateCloudId?: string;
606
+ /** Detailed customization policy specification */
607
+ specification?: CustomizationSpecification;
608
+ /** The type of customization (Linux or Windows) */
609
+ typePropertiesType?: CustomizationPolicyPropertiesType;
610
+ /** Policy version */
611
+ version?: string;
612
+ }
613
+
614
+ /** The specification for Customization Policy */
615
+ export interface CustomizationSpecification {
616
+ /** Customization Identity. It contains data about user and hostname */
617
+ identity?: CustomizationIdentity;
618
+ /** Network interface settings */
619
+ nicSettings?: CustomizationNicSetting[];
620
+ }
621
+
622
+ export interface CustomizationIdentity {
623
+ /** Windows Text Identity. Prepared data */
624
+ data?: string;
625
+ /** Virtual machine host name settings */
626
+ hostName?: CustomizationHostName;
627
+ /** Identity type */
628
+ type?: CustomizationIdentityType;
629
+ /** Windows Identity. User data customization */
630
+ userData?: CustomizationIdentityUserData;
631
+ }
632
+
633
+ /** Host name model */
634
+ export interface CustomizationHostName {
635
+ /** Hostname */
631
636
  name?: string;
637
+ /** Type of host name */
638
+ type?: CustomizationHostNameType;
639
+ }
640
+
641
+ /** Windows Identity. User data customization */
642
+ export interface CustomizationIdentityUserData {
643
+ /** Is password predefined in customization policy */
644
+ isPasswordPredefined?: boolean;
645
+ }
646
+
647
+ export interface CustomizationNicSetting {
648
+ /** The list of adapters' settings */
649
+ adapter?: CustomizationIPSettings;
650
+ /** NIC mac address */
651
+ macAddress?: string;
652
+ }
653
+
654
+ export interface CustomizationIPSettings {
655
+ /** The list of gateways */
656
+ gateway?: string[];
657
+ /** Ip address customization settings */
658
+ ip?: CustomizationIPAddress;
659
+ /** Adapter subnet mask */
660
+ subnetMask?: string;
661
+ }
662
+
663
+ export interface CustomizationIPAddress {
664
+ /** Argument when Custom ip type is selected */
665
+ argument?: string;
666
+ /** Defined Ip Address when Fixed ip type is selected */
667
+ ipAddress?: string;
668
+ /** Customization Specification ip type */
669
+ type?: CustomizationIPAddressType;
670
+ }
671
+
672
+ /** List of resource pools response model */
673
+ export interface ResourcePoolsListResponse {
674
+ /** Link for next list of ResourcePoolsList */
675
+ nextLink?: string;
676
+ /** Results of the Resource pools list */
677
+ value?: ResourcePool[];
678
+ }
679
+
680
+ /** List of virtual machine templates */
681
+ export interface VirtualMachineTemplateListResponse {
682
+ /** Link for next list of VirtualMachineTemplate */
683
+ nextLink?: string;
684
+ /** Results of the VM template list */
685
+ value?: VirtualMachineTemplate[];
686
+ }
687
+
688
+ /** List of virtual networks */
689
+ export interface VirtualNetworkListResponse {
690
+ /** Link for next list of VirtualNetwork */
691
+ nextLink?: string;
692
+ /** Results of the VirtualNetwork list */
693
+ value?: VirtualNetwork[];
694
+ }
695
+
696
+ /** List of usages */
697
+ export interface UsageListResponse {
698
+ /** Link for next list of DedicatedCloudNode */
699
+ nextLink?: string;
632
700
  /**
633
- * Availability Zone id, e.g. "az1"
634
- */
635
- availabilityZoneId?: string;
636
- /**
637
- * Availability Zone name, e.g. "Availability Zone 1"
638
- */
639
- availabilityZoneName?: string;
640
- /**
641
- * Number of clusters
701
+ * The list of usages
702
+ * NOTE: This property will not be serialized. It can only be populated by the server.
642
703
  */
643
- clustersNumber?: number;
704
+ readonly value?: Usage[];
705
+ }
706
+
707
+ /** Usage model */
708
+ export interface Usage {
709
+ /** The current usage value */
710
+ currentValue: number;
711
+ /** limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1 */
712
+ limit: number;
713
+ /** Usage name value and localized name */
714
+ name?: UsageName;
715
+ /** The usages' unit */
716
+ unit?: UsageCount;
717
+ }
718
+
719
+ /** User name model */
720
+ export interface UsageName {
721
+ /** e.g. "Virtual Machines" */
722
+ localizedValue?: string;
723
+ /** resource type or resource type sku name, e.g. virtualMachines */
724
+ value?: string;
725
+ }
726
+
727
+ /** List of virtual machines */
728
+ export interface VirtualMachineListResponse {
729
+ /** Link for next list of VirtualMachines */
730
+ nextLink?: string;
731
+ /** Results of the VirtualMachine list */
732
+ value?: VirtualMachine[];
733
+ }
734
+
735
+ /** Virtual machine model */
736
+ export interface VirtualMachine {
644
737
  /**
645
- * User's emails who created cloud
738
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
739
+ * NOTE: This property will not be serialized. It can only be populated by the server.
646
740
  */
647
- createdBy?: string;
741
+ readonly id?: string;
742
+ /** Azure region */
743
+ location: string;
648
744
  /**
649
- * When private cloud was created
745
+ * {virtualMachineName}
746
+ * NOTE: This property will not be serialized. It can only be populated by the server.
650
747
  */
651
- createdOn?: Date;
748
+ readonly name?: string;
749
+ /** The list of tags */
750
+ tags?: { [propertyName: string]: string };
652
751
  /**
653
- * Array of DNS servers
752
+ * {resourceProviderNamespace}/{resourceType}
753
+ * NOTE: This property will not be serialized. It can only be populated by the server.
654
754
  */
655
- dnsServers?: string[];
755
+ readonly type?: string;
756
+ /** The amount of memory */
757
+ amountOfRam?: number;
656
758
  /**
657
- * Expiration date of PC
759
+ * The list of Virtual Disks' Controllers
760
+ * NOTE: This property will not be serialized. It can only be populated by the server.
658
761
  */
659
- expires?: string;
762
+ readonly controllers?: VirtualDiskController[];
763
+ /** Virtual machine properties */
764
+ customization?: GuestOSCustomization;
765
+ /** The list of Virtual Disks */
766
+ disks?: VirtualDisk[];
660
767
  /**
661
- * Nsx Type, e.g. "Advanced"
768
+ * The DNS name of Virtual Machine in VCenter
769
+ * NOTE: This property will not be serialized. It can only be populated by the server.
662
770
  */
663
- nsxType?: string;
771
+ readonly dnsname?: string;
772
+ /** Expose Guest OS or not */
773
+ exposeToGuestVM?: boolean;
664
774
  /**
665
- * Placement Group id, e.g. "n1"
775
+ * The path to virtual machine folder in VCenter
776
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
777
  */
667
- placementGroupId?: string;
778
+ readonly folder?: string;
668
779
  /**
669
- * Placement Group name
780
+ * The name of Guest OS
781
+ * NOTE: This property will not be serialized. It can only be populated by the server.
670
782
  */
671
- placementGroupName?: string;
783
+ readonly guestOS?: string;
672
784
  /**
673
- * Id of a private cloud
785
+ * The Guest OS type
786
+ * NOTE: This property will not be serialized. It can only be populated by the server.
674
787
  */
788
+ readonly guestOSType?: GuestOSType;
789
+ /** The list of Virtual NICs */
790
+ nics?: VirtualNic[];
791
+ /** The number of CPU cores */
792
+ numberOfCores?: number;
793
+ /** Password for login. Deprecated - use customization property */
794
+ password?: string;
795
+ /** Private Cloud Id */
675
796
  privateCloudId?: string;
676
797
  /**
677
- * The list of Resource Pools
678
- */
679
- resourcePools?: ResourcePool[];
680
- /**
681
- * Private Cloud state, e.g. "operational"
682
- */
683
- state?: string;
684
- /**
685
- * Number of cores
686
- */
687
- totalCpuCores?: number;
688
- /**
689
- * Number of nodes
690
- */
691
- totalNodes?: number;
692
- /**
693
- * Memory size
694
- */
695
- totalRam?: number;
696
- /**
697
- * Disk space in TB
798
+ * The provisioning status of the resource
799
+ * NOTE: This property will not be serialized. It can only be populated by the server.
698
800
  */
699
- totalStorage?: number;
801
+ readonly provisioningState?: string;
700
802
  /**
701
- * Virtualization type e.g. "vSphere"
803
+ * The public ip of Virtual Machine
804
+ * NOTE: This property will not be serialized. It can only be populated by the server.
702
805
  */
703
- privateCloudPropertiesType?: string;
806
+ readonly publicIP?: string;
807
+ /** Virtual Machines Resource Pool */
808
+ resourcePool?: ResourcePool;
704
809
  /**
705
- * e.g. "6.5u2"
810
+ * The status of Virtual machine
811
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
812
  */
707
- vSphereVersion?: string;
813
+ readonly status?: VirtualMachineStatus;
814
+ /** Virtual Machine Template Id */
815
+ templateId?: string;
816
+ /** Username for login. Deprecated - use customization property */
817
+ username?: string;
818
+ /** The list of Virtual VSphere Networks */
819
+ vSphereNetworks?: string[];
708
820
  /**
709
- * FQDN for vcenter access
821
+ * The internal id of Virtual Machine in VCenter
822
+ * NOTE: This property will not be serialized. It can only be populated by the server.
710
823
  */
711
- vcenterFqdn?: string;
824
+ readonly vmId?: string;
712
825
  /**
713
- * Vcenter ip address
826
+ * VMware tools version
827
+ * NOTE: This property will not be serialized. It can only be populated by the server.
714
828
  */
715
- vcenterRefid?: string;
716
- /**
717
- * The list of Virtual Machine Templates
718
- */
719
- virtualMachineTemplates?: VirtualMachineTemplate[];
720
- /**
721
- * The list of Virtual Networks
722
- */
723
- virtualNetworks?: VirtualNetwork[];
724
- /**
725
- * Is Vrops enabled/disabled
726
- */
727
- vrOpsEnabled?: boolean;
728
- /**
729
- * Azure Resource type. Possible values include: 'Microsoft.VMwareCloudSimple/privateClouds'
730
- */
731
- type?: PrivateCloudResourceType;
732
- }
733
-
734
- /**
735
- * SKU availability model
736
- */
737
- export interface SkuAvailability {
738
- /**
739
- * CloudSimple Availability Zone id
740
- */
741
- dedicatedAvailabilityZoneId?: string;
742
- /**
743
- * CloudSimple Availability Zone Name
744
- */
745
- dedicatedAvailabilityZoneName?: string;
746
- /**
747
- * CloudSimple Placement Group Id
748
- */
749
- dedicatedPlacementGroupId?: string;
750
- /**
751
- * CloudSimple Placement Group name
752
- */
753
- dedicatedPlacementGroupName?: string;
754
- /**
755
- * indicates how many resources of a given SKU is available in a AZ->PG
756
- */
757
- limit: number;
758
- /**
759
- * resource type e.g. DedicatedCloudNodes
760
- */
761
- resourceType?: string;
762
- /**
763
- * sku id
764
- */
765
- skuId?: string;
766
- /**
767
- * sku name
768
- */
769
- skuName?: string;
770
- }
771
-
772
- /**
773
- * User name model
774
- */
775
- export interface UsageName {
776
- /**
777
- * e.g. "Virtual Machines"
778
- */
779
- localizedValue?: string;
780
- /**
781
- * resource type or resource type sku name, e.g. virtualMachines
782
- */
783
- value?: string;
784
- }
785
-
786
- /**
787
- * Usage model
788
- */
789
- export interface Usage {
790
- /**
791
- * The current usage value. Default value: 0.
792
- */
793
- currentValue: number;
794
- /**
795
- * limit of a given sku in a region for a subscription. The maximum permitted value for the usage
796
- * quota. If there is no limit, this value will be -1. Default value: 0.
797
- */
798
- limit: number;
799
- /**
800
- * Usage name value and localized name
801
- */
802
- name?: UsageName;
803
- /**
804
- * The usages' unit. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
805
- * 'CountPerSecond', 'BytesPerSecond'
806
- */
807
- unit?: UsageCount;
829
+ readonly vmwaretools?: string;
808
830
  }
809
831
 
810
- /**
811
- * Virtual machine model
812
- */
813
- export interface VirtualMachine extends BaseResource {
814
- /**
815
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
816
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
817
- */
818
- readonly id?: string;
819
- /**
820
- * Azure region
821
- */
822
- location: string;
823
- /**
824
- * {virtualMachineName}
825
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
826
- */
827
- readonly name?: string;
828
- /**
829
- * The amount of memory
830
- */
831
- amountOfRam: number;
832
- /**
833
- * The list of Virtual Disks' Controllers
834
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
835
- */
836
- readonly controllers?: VirtualDiskController[];
837
- /**
838
- * The list of Virtual Disks
839
- */
840
- disks?: VirtualDisk[];
841
- /**
842
- * The DNS name of Virtual Machine in VCenter
843
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
844
- */
845
- readonly dnsname?: string;
846
- /**
847
- * Expose Guest OS or not
848
- */
849
- exposeToGuestVM?: boolean;
850
- /**
851
- * The path to virtual machine folder in VCenter
852
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
853
- */
854
- readonly folder?: string;
855
- /**
856
- * The name of Guest OS
857
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
858
- */
859
- readonly guestOS?: string;
860
- /**
861
- * The Guest OS type. Possible values include: 'linux', 'windows', 'other'
862
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
863
- */
864
- readonly guestOSType?: GuestOSType;
865
- /**
866
- * The list of Virtual NICs
867
- */
868
- nics?: VirtualNic[];
869
- /**
870
- * The number of CPU cores
871
- */
872
- numberOfCores: number;
873
- /**
874
- * Password for login
875
- */
832
+ /** Guest OS Customization properties */
833
+ export interface GuestOSCustomization {
834
+ /** List of dns servers to use */
835
+ dnsServers?: string[];
836
+ /** Virtual Machine hostname */
837
+ hostName?: string;
838
+ /** Password for login */
876
839
  password?: string;
877
- /**
878
- * Private Cloud Id
879
- */
880
- privateCloudId: string;
881
- /**
882
- * The provisioning status of the resource
883
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
884
- */
885
- readonly provisioningState?: string;
886
- /**
887
- * The public ip of Virtual Machine
888
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
889
- */
890
- readonly publicIP?: string;
891
- /**
892
- * Virtual Machines Resource Pool
893
- */
894
- resourcePool?: ResourcePool;
895
- /**
896
- * The status of Virtual machine. Possible values include: 'running', 'suspended', 'poweredoff',
897
- * 'updating', 'deallocating', 'deleting'
898
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
899
- */
900
- readonly status?: VirtualMachineStatus;
901
- /**
902
- * Virtual Machine Template Id
903
- */
904
- templateId?: string;
905
- /**
906
- * Username for login
907
- */
840
+ /** id of customization policy */
841
+ policyId?: string;
842
+ /** Username for login */
908
843
  username?: string;
909
- /**
910
- * The list of Virtual VSphere Networks
911
- */
912
- vSphereNetworks?: string[];
913
- /**
914
- * The internal id of Virtual Machine in VCenter
915
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
916
- */
917
- readonly vmId?: string;
918
- /**
919
- * VMware tools version
920
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
921
- */
922
- readonly vmwaretools?: string;
923
- /**
924
- * The list of tags
925
- */
844
+ }
845
+
846
+ /** General patch payload modal */
847
+ export interface PatchPayload {
848
+ /** The tags key:value pairs */
926
849
  tags?: { [propertyName: string]: string };
927
- /**
928
- * {resourceProviderNamespace}/{resourceType}
929
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
930
- */
931
- readonly type?: string;
932
850
  }
933
851
 
934
- /**
935
- * List of virtual machine stop modes
936
- */
852
+ /** List of virtual machine stop modes */
937
853
  export interface VirtualMachineStopMode {
938
- /**
939
- * mode indicates a type of stop operation - reboot, suspend, shutdown or power-off. Possible
940
- * values include: 'reboot', 'suspend', 'shutdown', 'poweroff'
941
- */
854
+ /** mode indicates a type of stop operation - reboot, suspend, shutdown or power-off */
942
855
  mode?: StopMode;
943
856
  }
944
857
 
945
- /**
946
- * Optional Parameters.
947
- */
948
- export interface DedicatedCloudNodesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
949
- /**
950
- * The filter to apply on the list operation
951
- */
952
- filter?: string;
953
- /**
954
- * The maximum number of record sets to return
955
- */
956
- top?: number;
957
- /**
958
- * to be used by nextLink implementation
959
- */
960
- skipToken?: string;
858
+ /** Defines headers for Operations_get operation. */
859
+ export interface OperationsGetHeaders {
860
+ location?: string;
861
+ retryAfter?: number;
961
862
  }
962
863
 
963
- /**
964
- * Optional Parameters.
965
- */
966
- export interface DedicatedCloudNodesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
967
- /**
968
- * The filter to apply on the list operation
969
- */
970
- filter?: string;
971
- /**
972
- * The maximum number of record sets to return
973
- */
974
- top?: number;
975
- /**
976
- * to be used by nextLink implementation
977
- */
978
- skipToken?: string;
864
+ /** Defines headers for Operations_get operation. */
865
+ export interface OperationsGetExceptionHeaders {
866
+ contentType?: string;
979
867
  }
980
868
 
981
- /**
982
- * Optional Parameters.
983
- */
984
- export interface DedicatedCloudNodesUpdateOptionalParams extends msRest.RequestOptionsBase {
985
- /**
986
- * The tags key:value pairs
987
- */
988
- tags?: { [propertyName: string]: string };
869
+ /** Defines headers for DedicatedCloudNodes_createOrUpdate operation. */
870
+ export interface DedicatedCloudNodesCreateOrUpdateHeaders {
871
+ azureAsyncOperation?: string;
872
+ location?: string;
873
+ retryAfter?: number;
989
874
  }
990
875
 
991
- /**
992
- * Optional Parameters.
993
- */
994
- export interface DedicatedCloudServicesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
995
- /**
996
- * The filter to apply on the list operation
997
- */
998
- filter?: string;
999
- /**
1000
- * The maximum number of record sets to return
1001
- */
1002
- top?: number;
1003
- /**
1004
- * to be used by nextLink implementation
1005
- */
1006
- skipToken?: string;
876
+ /** Defines headers for DedicatedCloudNodes_delete operation. */
877
+ export interface DedicatedCloudNodesDeleteExceptionHeaders {
878
+ contentType?: string;
1007
879
  }
1008
880
 
1009
- /**
1010
- * Optional Parameters.
1011
- */
1012
- export interface DedicatedCloudServicesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
1013
- /**
1014
- * The filter to apply on the list operation
1015
- */
1016
- filter?: string;
1017
- /**
1018
- * The maximum number of record sets to return
1019
- */
1020
- top?: number;
1021
- /**
1022
- * to be used by nextLink implementation
1023
- */
1024
- skipToken?: string;
881
+ /** Defines headers for DedicatedCloudServices_delete operation. */
882
+ export interface DedicatedCloudServicesDeleteExceptionHeaders {
883
+ contentType?: string;
1025
884
  }
1026
885
 
1027
- /**
1028
- * Optional Parameters.
1029
- */
1030
- export interface DedicatedCloudServicesUpdateOptionalParams extends msRest.RequestOptionsBase {
1031
- /**
1032
- * The tags key:value pairs
1033
- */
1034
- tags?: { [propertyName: string]: string };
886
+ /** Defines headers for VirtualMachines_createOrUpdate operation. */
887
+ export interface VirtualMachinesCreateOrUpdateHeaders {
888
+ azureAsyncOperation?: string;
1035
889
  }
1036
890
 
1037
- /**
1038
- * Optional Parameters.
1039
- */
1040
- export interface SkusAvailabilityListOptionalParams extends msRest.RequestOptionsBase {
1041
- /**
1042
- * sku id, if no sku is passed availability for all skus will be returned
1043
- */
1044
- skuId?: string;
891
+ /** Defines headers for VirtualMachines_delete operation. */
892
+ export interface VirtualMachinesDeleteHeaders {
893
+ azureAsyncOperation?: string;
894
+ location?: string;
895
+ retryAfter?: number;
1045
896
  }
1046
897
 
1047
- /**
1048
- * Optional Parameters.
1049
- */
1050
- export interface UsagesListOptionalParams extends msRest.RequestOptionsBase {
1051
- /**
1052
- * The filter to apply on the list operation. only name.value is allowed here as a filter e.g.
1053
- * $filter=name.value eq 'xxxx'
1054
- */
1055
- filter?: string;
898
+ /** Defines headers for VirtualMachines_delete operation. */
899
+ export interface VirtualMachinesDeleteExceptionHeaders {
900
+ contentType?: string;
1056
901
  }
1057
902
 
1058
- /**
1059
- * Optional Parameters.
1060
- */
1061
- export interface VirtualMachinesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
1062
- /**
1063
- * The filter to apply on the list operation
1064
- */
1065
- filter?: string;
1066
- /**
1067
- * The maximum number of record sets to return
1068
- */
1069
- top?: number;
1070
- /**
1071
- * to be used by nextLink implementation
1072
- */
1073
- skipToken?: string;
903
+ /** Defines headers for VirtualMachines_start operation. */
904
+ export interface VirtualMachinesStartHeaders {
905
+ azureAsyncOperation?: string;
906
+ location?: string;
907
+ retryAfter?: number;
1074
908
  }
1075
909
 
1076
- /**
1077
- * Optional Parameters.
1078
- */
1079
- export interface VirtualMachinesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
1080
- /**
1081
- * The filter to apply on the list operation
1082
- */
1083
- filter?: string;
1084
- /**
1085
- * The maximum number of record sets to return
1086
- */
1087
- top?: number;
1088
- /**
1089
- * to be used by nextLink implementation
1090
- */
1091
- skipToken?: string;
910
+ /** Defines headers for VirtualMachines_start operation. */
911
+ export interface VirtualMachinesStartExceptionHeaders {
912
+ contentType?: string;
1092
913
  }
1093
914
 
1094
- /**
1095
- * Optional Parameters.
1096
- */
1097
- export interface VirtualMachinesUpdateOptionalParams extends msRest.RequestOptionsBase {
1098
- /**
1099
- * The tags key:value pairs
1100
- */
1101
- tags?: { [propertyName: string]: string };
915
+ /** Defines headers for VirtualMachines_stop operation. */
916
+ export interface VirtualMachinesStopHeaders {
917
+ azureAsyncOperation?: string;
918
+ location?: string;
919
+ retryAfter?: number;
1102
920
  }
1103
921
 
1104
- /**
1105
- * Optional Parameters.
1106
- */
1107
- export interface VirtualMachinesStopOptionalParams extends msRest.RequestOptionsBase {
1108
- /**
1109
- * query stop mode parameter (reboot, shutdown, etc...). Possible values include: 'reboot',
1110
- * 'suspend', 'shutdown', 'poweroff'
1111
- */
1112
- mode?: StopMode;
1113
- /**
1114
- * mode indicates a type of stop operation - reboot, suspend, shutdown or power-off. Possible
1115
- * values include: 'reboot', 'suspend', 'shutdown', 'poweroff'
1116
- */
1117
- mode1?: StopMode;
922
+ /** Defines headers for VirtualMachines_stop operation. */
923
+ export interface VirtualMachinesStopExceptionHeaders {
924
+ contentType?: string;
1118
925
  }
1119
926
 
1120
- /**
1121
- * Optional Parameters.
1122
- */
1123
- export interface VirtualMachinesBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
1124
- /**
1125
- * The tags key:value pairs
1126
- */
1127
- tags?: { [propertyName: string]: string };
927
+ /** Known values of {@link GuestOsnicCustomizationAllocation} that the service accepts. */
928
+ export enum KnownGuestOsnicCustomizationAllocation {
929
+ Static = "static",
930
+ Dynamic = "dynamic"
1128
931
  }
1129
932
 
1130
933
  /**
1131
- * Optional Parameters.
934
+ * Defines values for GuestOsnicCustomizationAllocation. \
935
+ * {@link KnownGuestOsnicCustomizationAllocation} can be used interchangeably with GuestOsnicCustomizationAllocation,
936
+ * this enum contains the known values that the service supports.
937
+ * ### Known values supported by the service
938
+ * **static** \
939
+ * **dynamic**
1132
940
  */
1133
- export interface VirtualMachinesBeginStopOptionalParams extends msRest.RequestOptionsBase {
1134
- /**
1135
- * query stop mode parameter (reboot, shutdown, etc...). Possible values include: 'reboot',
1136
- * 'suspend', 'shutdown', 'poweroff'
1137
- */
1138
- mode?: StopMode;
1139
- /**
1140
- * mode indicates a type of stop operation - reboot, suspend, shutdown or power-off. Possible
1141
- * values include: 'reboot', 'suspend', 'shutdown', 'poweroff'
1142
- */
1143
- mode1?: StopMode;
1144
- }
941
+ export type GuestOsnicCustomizationAllocation = string;
1145
942
 
1146
- /**
1147
- * An interface representing VMwareCloudSimpleClientOptions.
1148
- */
1149
- export interface VMwareCloudSimpleClientOptions extends AzureServiceClientOptions {
1150
- baseUri?: string;
943
+ /** Known values of {@link CustomizationHostNameType} that the service accepts. */
944
+ export enum KnownCustomizationHostNameType {
945
+ UserDefined = "USER_DEFINED",
946
+ PrefixBased = "PREFIX_BASED",
947
+ Fixed = "FIXED",
948
+ VirtualMachineName = "VIRTUAL_MACHINE_NAME",
949
+ CustomName = "CUSTOM_NAME"
1151
950
  }
1152
951
 
1153
952
  /**
1154
- * Defines headers for Get operation.
953
+ * Defines values for CustomizationHostNameType. \
954
+ * {@link KnownCustomizationHostNameType} can be used interchangeably with CustomizationHostNameType,
955
+ * this enum contains the known values that the service supports.
956
+ * ### Known values supported by the service
957
+ * **USER_DEFINED** \
958
+ * **PREFIX_BASED** \
959
+ * **FIXED** \
960
+ * **VIRTUAL_MACHINE_NAME** \
961
+ * **CUSTOM_NAME**
1155
962
  */
1156
- export interface OperationsGetHeaders {
1157
- location: string;
1158
- retryAfter: number;
1159
- contentType: string;
1160
- }
963
+ export type CustomizationHostNameType = string;
1161
964
 
1162
- /**
1163
- * Defines headers for CreateOrUpdate operation.
1164
- */
1165
- export interface DedicatedCloudNodesCreateOrUpdateHeaders {
1166
- azureAsyncOperation: string;
1167
- locationHeader: string;
1168
- retryAfter: number;
965
+ /** Known values of {@link CustomizationIdentityType} that the service accepts. */
966
+ export enum KnownCustomizationIdentityType {
967
+ WindowsText = "WINDOWS_TEXT",
968
+ Windows = "WINDOWS",
969
+ Linux = "LINUX"
1169
970
  }
1170
971
 
1171
972
  /**
1172
- * Defines headers for Delete operation.
973
+ * Defines values for CustomizationIdentityType. \
974
+ * {@link KnownCustomizationIdentityType} can be used interchangeably with CustomizationIdentityType,
975
+ * this enum contains the known values that the service supports.
976
+ * ### Known values supported by the service
977
+ * **WINDOWS_TEXT** \
978
+ * **WINDOWS** \
979
+ * **LINUX**
1173
980
  */
1174
- export interface DedicatedCloudNodesDeleteHeaders {
1175
- contentType: string;
1176
- }
981
+ export type CustomizationIdentityType = string;
1177
982
 
1178
- /**
1179
- * Defines headers for Delete operation.
1180
- */
1181
- export interface DedicatedCloudServicesDeleteHeaders {
1182
- contentType: string;
983
+ /** Known values of {@link CustomizationIPAddressType} that the service accepts. */
984
+ export enum KnownCustomizationIPAddressType {
985
+ Custom = "CUSTOM",
986
+ DhcpIP = "DHCP_IP",
987
+ FixedIP = "FIXED_IP",
988
+ UserDefined = "USER_DEFINED"
1183
989
  }
1184
990
 
1185
991
  /**
1186
- * Defines headers for CreateOrUpdate operation.
992
+ * Defines values for CustomizationIPAddressType. \
993
+ * {@link KnownCustomizationIPAddressType} can be used interchangeably with CustomizationIPAddressType,
994
+ * this enum contains the known values that the service supports.
995
+ * ### Known values supported by the service
996
+ * **CUSTOM** \
997
+ * **DHCP_IP** \
998
+ * **FIXED_IP** \
999
+ * **USER_DEFINED**
1187
1000
  */
1188
- export interface VirtualMachinesCreateOrUpdateHeaders {
1189
- azureAsyncOperation: string;
1190
- }
1001
+ export type CustomizationIPAddressType = string;
1191
1002
 
1192
- /**
1193
- * Defines headers for Delete operation.
1194
- */
1195
- export interface VirtualMachinesDeleteHeaders {
1196
- azureAsyncOperation: string;
1197
- location: string;
1198
- retryAfter: number;
1199
- contentType: string;
1003
+ /** Known values of {@link CustomizationPolicyPropertiesType} that the service accepts. */
1004
+ export enum KnownCustomizationPolicyPropertiesType {
1005
+ Linux = "LINUX",
1006
+ Windows = "WINDOWS"
1200
1007
  }
1201
1008
 
1202
1009
  /**
1203
- * Defines headers for Start operation.
1204
- */
1205
- export interface VirtualMachinesStartHeaders {
1206
- azureAsyncOperation: string;
1207
- location: string;
1208
- retryAfter: number;
1209
- contentType: string;
1010
+ * Defines values for CustomizationPolicyPropertiesType. \
1011
+ * {@link KnownCustomizationPolicyPropertiesType} can be used interchangeably with CustomizationPolicyPropertiesType,
1012
+ * this enum contains the known values that the service supports.
1013
+ * ### Known values supported by the service
1014
+ * **LINUX** \
1015
+ * **WINDOWS**
1016
+ */
1017
+ export type CustomizationPolicyPropertiesType = string;
1018
+ /** Defines values for OperationOrigin. */
1019
+ export type OperationOrigin = "user" | "system" | "user,system";
1020
+ /** Defines values for AggregationType. */
1021
+ export type AggregationType = "Average" | "Total";
1022
+ /** Defines values for NodeStatus. */
1023
+ export type NodeStatus = "unused" | "used";
1024
+ /** Defines values for OnboardingStatus. */
1025
+ export type OnboardingStatus =
1026
+ | "notOnBoarded"
1027
+ | "onBoarded"
1028
+ | "onBoardingFailed"
1029
+ | "onBoarding";
1030
+ /** Defines values for DiskIndependenceMode. */
1031
+ export type DiskIndependenceMode =
1032
+ | "persistent"
1033
+ | "independent_persistent"
1034
+ | "independent_nonpersistent";
1035
+ /** Defines values for NICType. */
1036
+ export type NICType =
1037
+ | "E1000"
1038
+ | "E1000E"
1039
+ | "PCNET32"
1040
+ | "VMXNET"
1041
+ | "VMXNET2"
1042
+ | "VMXNET3";
1043
+ /** Defines values for UsageCount. */
1044
+ export type UsageCount =
1045
+ | "Count"
1046
+ | "Bytes"
1047
+ | "Seconds"
1048
+ | "Percent"
1049
+ | "CountPerSecond"
1050
+ | "BytesPerSecond";
1051
+ /** Defines values for GuestOSType. */
1052
+ export type GuestOSType = "linux" | "windows" | "other";
1053
+ /** Defines values for VirtualMachineStatus. */
1054
+ export type VirtualMachineStatus =
1055
+ | "running"
1056
+ | "suspended"
1057
+ | "poweredoff"
1058
+ | "updating"
1059
+ | "deallocating"
1060
+ | "deleting";
1061
+ /** Defines values for StopMode. */
1062
+ export type StopMode = "reboot" | "suspend" | "shutdown" | "poweroff";
1063
+
1064
+ /** Optional parameters. */
1065
+ export interface OperationsListOptionalParams
1066
+ extends coreClient.OperationOptions {}
1067
+
1068
+ /** Contains response data for the list operation. */
1069
+ export type OperationsListResponse = AvailableOperationsListResponse;
1070
+
1071
+ /** Optional parameters. */
1072
+ export interface OperationsGetOptionalParams
1073
+ extends coreClient.OperationOptions {}
1074
+
1075
+ /** Contains response data for the get operation. */
1076
+ export type OperationsGetResponse = OperationResource;
1077
+
1078
+ /** Optional parameters. */
1079
+ export interface OperationsListNextOptionalParams
1080
+ extends coreClient.OperationOptions {}
1081
+
1082
+ /** Contains response data for the listNext operation. */
1083
+ export type OperationsListNextResponse = AvailableOperationsListResponse;
1084
+
1085
+ /** Optional parameters. */
1086
+ export interface DedicatedCloudNodesListBySubscriptionOptionalParams
1087
+ extends coreClient.OperationOptions {
1088
+ /** The filter to apply on the list operation */
1089
+ filter?: string;
1090
+ /** The maximum number of record sets to return */
1091
+ top?: number;
1092
+ /** to be used by nextLink implementation */
1093
+ skipToken?: string;
1210
1094
  }
1211
1095
 
1212
- /**
1213
- * Defines headers for Stop operation.
1214
- */
1215
- export interface VirtualMachinesStopHeaders {
1216
- azureAsyncOperation: string;
1217
- location: string;
1218
- retryAfter: number;
1219
- contentType: string;
1220
- }
1096
+ /** Contains response data for the listBySubscription operation. */
1097
+ export type DedicatedCloudNodesListBySubscriptionResponse = DedicatedCloudNodeListResponse;
1221
1098
 
1222
- /**
1223
- * @interface
1224
- * List of available operations
1225
- * @extends Array<AvailableOperation>
1226
- */
1227
- export interface AvailableOperationsListResponse extends Array<AvailableOperation> {
1228
- /**
1229
- * Link for next list of available operations
1230
- */
1231
- nextLink?: string;
1099
+ /** Optional parameters. */
1100
+ export interface DedicatedCloudNodesListByResourceGroupOptionalParams
1101
+ extends coreClient.OperationOptions {
1102
+ /** The filter to apply on the list operation */
1103
+ filter?: string;
1104
+ /** The maximum number of record sets to return */
1105
+ top?: number;
1106
+ /** to be used by nextLink implementation */
1107
+ skipToken?: string;
1232
1108
  }
1233
1109
 
1234
- /**
1235
- * @interface
1236
- * List of dedicated nodes response model
1237
- * @extends Array<DedicatedCloudNode>
1238
- */
1239
- export interface DedicatedCloudNodeListResponse extends Array<DedicatedCloudNode> {
1240
- /**
1241
- * Link for next list of DedicatedCloudNode
1242
- */
1243
- nextLink?: string;
1244
- }
1110
+ /** Contains response data for the listByResourceGroup operation. */
1111
+ export type DedicatedCloudNodesListByResourceGroupResponse = DedicatedCloudNodeListResponse;
1245
1112
 
1246
- /**
1247
- * @interface
1248
- * List of dedicated cloud services
1249
- * @extends Array<DedicatedCloudService>
1250
- */
1251
- export interface DedicatedCloudServiceListResponse extends Array<DedicatedCloudService> {
1252
- /**
1253
- * Link for next list of DedicatedCloudNode
1254
- */
1255
- nextLink?: string;
1256
- }
1113
+ /** Optional parameters. */
1114
+ export interface DedicatedCloudNodesGetOptionalParams
1115
+ extends coreClient.OperationOptions {}
1257
1116
 
1258
- /**
1259
- * @interface
1260
- * List of SKU availabilities
1261
- * @extends Array<SkuAvailability>
1262
- */
1263
- export interface SkuAvailabilityListResponse extends Array<SkuAvailability> {
1264
- /**
1265
- * Link for next list of DedicatedCloudNode
1266
- */
1267
- nextLink?: string;
1117
+ /** Contains response data for the get operation. */
1118
+ export type DedicatedCloudNodesGetResponse = DedicatedCloudNode;
1119
+
1120
+ /** Optional parameters. */
1121
+ export interface DedicatedCloudNodesCreateOrUpdateOptionalParams
1122
+ extends coreClient.OperationOptions {
1123
+ /** Delay to wait until next poll, in milliseconds. */
1124
+ updateIntervalInMs?: number;
1125
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1126
+ resumeFrom?: string;
1268
1127
  }
1269
1128
 
1270
- /**
1271
- * @interface
1272
- * List of private clouds
1273
- * @extends Array<PrivateCloud>
1274
- */
1275
- export interface PrivateCloudList extends Array<PrivateCloud> {
1276
- /**
1277
- * Link for next list of Private Clouds
1278
- */
1279
- nextLink?: string;
1129
+ /** Contains response data for the createOrUpdate operation. */
1130
+ export type DedicatedCloudNodesCreateOrUpdateResponse = DedicatedCloudNodesCreateOrUpdateHeaders &
1131
+ DedicatedCloudNode;
1132
+
1133
+ /** Optional parameters. */
1134
+ export interface DedicatedCloudNodesDeleteOptionalParams
1135
+ extends coreClient.OperationOptions {}
1136
+
1137
+ /** Optional parameters. */
1138
+ export interface DedicatedCloudNodesUpdateOptionalParams
1139
+ extends coreClient.OperationOptions {}
1140
+
1141
+ /** Contains response data for the update operation. */
1142
+ export type DedicatedCloudNodesUpdateResponse = DedicatedCloudNode;
1143
+
1144
+ /** Optional parameters. */
1145
+ export interface DedicatedCloudNodesListBySubscriptionNextOptionalParams
1146
+ extends coreClient.OperationOptions {
1147
+ /** The filter to apply on the list operation */
1148
+ filter?: string;
1149
+ /** The maximum number of record sets to return */
1150
+ top?: number;
1151
+ /** to be used by nextLink implementation */
1152
+ skipToken?: string;
1280
1153
  }
1281
1154
 
1282
- /**
1283
- * @interface
1284
- * List of resource pools response model
1285
- * @extends Array<ResourcePool>
1286
- */
1287
- export interface ResourcePoolsListResponse extends Array<ResourcePool> {
1288
- /**
1289
- * Link for next list of ResourcePoolsList
1290
- */
1291
- nextLink?: string;
1155
+ /** Contains response data for the listBySubscriptionNext operation. */
1156
+ export type DedicatedCloudNodesListBySubscriptionNextResponse = DedicatedCloudNodeListResponse;
1157
+
1158
+ /** Optional parameters. */
1159
+ export interface DedicatedCloudNodesListByResourceGroupNextOptionalParams
1160
+ extends coreClient.OperationOptions {
1161
+ /** The filter to apply on the list operation */
1162
+ filter?: string;
1163
+ /** The maximum number of record sets to return */
1164
+ top?: number;
1165
+ /** to be used by nextLink implementation */
1166
+ skipToken?: string;
1292
1167
  }
1293
1168
 
1294
- /**
1295
- * @interface
1296
- * List of virtual machine templates
1297
- * @extends Array<VirtualMachineTemplate>
1298
- */
1299
- export interface VirtualMachineTemplateListResponse extends Array<VirtualMachineTemplate> {
1300
- /**
1301
- * Link for next list of VirtualMachineTemplate
1302
- */
1303
- nextLink?: string;
1169
+ /** Contains response data for the listByResourceGroupNext operation. */
1170
+ export type DedicatedCloudNodesListByResourceGroupNextResponse = DedicatedCloudNodeListResponse;
1171
+
1172
+ /** Optional parameters. */
1173
+ export interface DedicatedCloudServicesListBySubscriptionOptionalParams
1174
+ extends coreClient.OperationOptions {
1175
+ /** The filter to apply on the list operation */
1176
+ filter?: string;
1177
+ /** The maximum number of record sets to return */
1178
+ top?: number;
1179
+ /** to be used by nextLink implementation */
1180
+ skipToken?: string;
1304
1181
  }
1305
1182
 
1306
- /**
1307
- * @interface
1308
- * List of virtual networks
1309
- * @extends Array<VirtualNetwork>
1310
- */
1311
- export interface VirtualNetworkListResponse extends Array<VirtualNetwork> {
1312
- /**
1313
- * Link for next list of VirtualNetwork
1314
- */
1315
- nextLink?: string;
1183
+ /** Contains response data for the listBySubscription operation. */
1184
+ export type DedicatedCloudServicesListBySubscriptionResponse = DedicatedCloudServiceListResponse;
1185
+
1186
+ /** Optional parameters. */
1187
+ export interface DedicatedCloudServicesListByResourceGroupOptionalParams
1188
+ extends coreClient.OperationOptions {
1189
+ /** The filter to apply on the list operation */
1190
+ filter?: string;
1191
+ /** The maximum number of record sets to return */
1192
+ top?: number;
1193
+ /** to be used by nextLink implementation */
1194
+ skipToken?: string;
1316
1195
  }
1317
1196
 
1318
- /**
1319
- * @interface
1320
- * List of usages
1321
- * @extends Array<Usage>
1322
- */
1323
- export interface UsageListResponse extends Array<Usage> {
1324
- /**
1325
- * Link for next list of DedicatedCloudNode
1326
- */
1327
- nextLink?: string;
1197
+ /** Contains response data for the listByResourceGroup operation. */
1198
+ export type DedicatedCloudServicesListByResourceGroupResponse = DedicatedCloudServiceListResponse;
1199
+
1200
+ /** Optional parameters. */
1201
+ export interface DedicatedCloudServicesGetOptionalParams
1202
+ extends coreClient.OperationOptions {}
1203
+
1204
+ /** Contains response data for the get operation. */
1205
+ export type DedicatedCloudServicesGetResponse = DedicatedCloudService;
1206
+
1207
+ /** Optional parameters. */
1208
+ export interface DedicatedCloudServicesCreateOrUpdateOptionalParams
1209
+ extends coreClient.OperationOptions {}
1210
+
1211
+ /** Contains response data for the createOrUpdate operation. */
1212
+ export type DedicatedCloudServicesCreateOrUpdateResponse = DedicatedCloudService;
1213
+
1214
+ /** Optional parameters. */
1215
+ export interface DedicatedCloudServicesDeleteOptionalParams
1216
+ extends coreClient.OperationOptions {
1217
+ /** Delay to wait until next poll, in milliseconds. */
1218
+ updateIntervalInMs?: number;
1219
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1220
+ resumeFrom?: string;
1328
1221
  }
1329
1222
 
1330
- /**
1331
- * @interface
1332
- * List of virtual machines
1333
- * @extends Array<VirtualMachine>
1334
- */
1335
- export interface VirtualMachineListResponse extends Array<VirtualMachine> {
1336
- /**
1337
- * Link for next list of VirtualMachines
1338
- */
1339
- nextLink?: string;
1223
+ /** Optional parameters. */
1224
+ export interface DedicatedCloudServicesUpdateOptionalParams
1225
+ extends coreClient.OperationOptions {}
1226
+
1227
+ /** Contains response data for the update operation. */
1228
+ export type DedicatedCloudServicesUpdateResponse = DedicatedCloudService;
1229
+
1230
+ /** Optional parameters. */
1231
+ export interface DedicatedCloudServicesListBySubscriptionNextOptionalParams
1232
+ extends coreClient.OperationOptions {
1233
+ /** The filter to apply on the list operation */
1234
+ filter?: string;
1235
+ /** The maximum number of record sets to return */
1236
+ top?: number;
1237
+ /** to be used by nextLink implementation */
1238
+ skipToken?: string;
1340
1239
  }
1341
1240
 
1342
- /**
1343
- * Defines values for OperationOrigin.
1344
- * Possible values include: 'user', 'system', 'user,system'
1345
- * @readonly
1346
- * @enum {string}
1347
- */
1348
- export type OperationOrigin = 'user' | 'system' | 'user,system';
1241
+ /** Contains response data for the listBySubscriptionNext operation. */
1242
+ export type DedicatedCloudServicesListBySubscriptionNextResponse = DedicatedCloudServiceListResponse;
1349
1243
 
1350
- /**
1351
- * Defines values for AggregationType.
1352
- * Possible values include: 'Average', 'Total'
1353
- * @readonly
1354
- * @enum {string}
1355
- */
1356
- export type AggregationType = 'Average' | 'Total';
1244
+ /** Optional parameters. */
1245
+ export interface DedicatedCloudServicesListByResourceGroupNextOptionalParams
1246
+ extends coreClient.OperationOptions {
1247
+ /** The filter to apply on the list operation */
1248
+ filter?: string;
1249
+ /** The maximum number of record sets to return */
1250
+ top?: number;
1251
+ /** to be used by nextLink implementation */
1252
+ skipToken?: string;
1253
+ }
1357
1254
 
1358
- /**
1359
- * Defines values for NodeStatus.
1360
- * Possible values include: 'unused', 'used'
1361
- * @readonly
1362
- * @enum {string}
1363
- */
1364
- export type NodeStatus = 'unused' | 'used';
1255
+ /** Contains response data for the listByResourceGroupNext operation. */
1256
+ export type DedicatedCloudServicesListByResourceGroupNextResponse = DedicatedCloudServiceListResponse;
1365
1257
 
1366
- /**
1367
- * Defines values for OnboardingStatus.
1368
- * Possible values include: 'notOnBoarded', 'onBoarded', 'onBoardingFailed', 'onBoarding'
1369
- * @readonly
1370
- * @enum {string}
1371
- */
1372
- export type OnboardingStatus = 'notOnBoarded' | 'onBoarded' | 'onBoardingFailed' | 'onBoarding';
1258
+ /** Optional parameters. */
1259
+ export interface SkusAvailabilityListOptionalParams
1260
+ extends coreClient.OperationOptions {
1261
+ /** sku id, if no sku is passed availability for all skus will be returned */
1262
+ skuId?: string;
1263
+ }
1373
1264
 
1374
- /**
1375
- * Defines values for DiskIndependenceMode.
1376
- * Possible values include: 'persistent', 'independent_persistent', 'independent_nonpersistent'
1377
- * @readonly
1378
- * @enum {string}
1379
- */
1380
- export type DiskIndependenceMode = 'persistent' | 'independent_persistent' | 'independent_nonpersistent';
1265
+ /** Contains response data for the list operation. */
1266
+ export type SkusAvailabilityListResponse = SkuAvailabilityListResponse;
1381
1267
 
1382
- /**
1383
- * Defines values for NICType.
1384
- * Possible values include: 'E1000', 'E1000E', 'PCNET32', 'VMXNET', 'VMXNET2', 'VMXNET3'
1385
- * @readonly
1386
- * @enum {string}
1387
- */
1388
- export type NICType = 'E1000' | 'E1000E' | 'PCNET32' | 'VMXNET' | 'VMXNET2' | 'VMXNET3';
1268
+ /** Optional parameters. */
1269
+ export interface SkusAvailabilityListNextOptionalParams
1270
+ extends coreClient.OperationOptions {
1271
+ /** sku id, if no sku is passed availability for all skus will be returned */
1272
+ skuId?: string;
1273
+ }
1389
1274
 
1390
- /**
1391
- * Defines values for PrivateCloudResourceType.
1392
- * Possible values include: 'Microsoft.VMwareCloudSimple/privateClouds'
1393
- * @readonly
1394
- * @enum {string}
1395
- */
1396
- export type PrivateCloudResourceType = 'Microsoft.VMwareCloudSimple/privateClouds';
1275
+ /** Contains response data for the listNext operation. */
1276
+ export type SkusAvailabilityListNextResponse = SkuAvailabilityListResponse;
1397
1277
 
1398
- /**
1399
- * Defines values for UsageCount.
1400
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
1401
- * 'BytesPerSecond'
1402
- * @readonly
1403
- * @enum {string}
1404
- */
1405
- export type UsageCount = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond';
1278
+ /** Optional parameters. */
1279
+ export interface PrivateCloudsListOptionalParams
1280
+ extends coreClient.OperationOptions {}
1406
1281
 
1407
- /**
1408
- * Defines values for GuestOSType.
1409
- * Possible values include: 'linux', 'windows', 'other'
1410
- * @readonly
1411
- * @enum {string}
1412
- */
1413
- export type GuestOSType = 'linux' | 'windows' | 'other';
1282
+ /** Contains response data for the list operation. */
1283
+ export type PrivateCloudsListResponse = PrivateCloudList;
1414
1284
 
1415
- /**
1416
- * Defines values for VirtualMachineStatus.
1417
- * Possible values include: 'running', 'suspended', 'poweredoff', 'updating', 'deallocating',
1418
- * 'deleting'
1419
- * @readonly
1420
- * @enum {string}
1421
- */
1422
- export type VirtualMachineStatus = 'running' | 'suspended' | 'poweredoff' | 'updating' | 'deallocating' | 'deleting';
1285
+ /** Optional parameters. */
1286
+ export interface PrivateCloudsGetOptionalParams
1287
+ extends coreClient.OperationOptions {}
1423
1288
 
1424
- /**
1425
- * Defines values for StopMode.
1426
- * Possible values include: 'reboot', 'suspend', 'shutdown', 'poweroff'
1427
- * @readonly
1428
- * @enum {string}
1429
- */
1430
- export type StopMode = 'reboot' | 'suspend' | 'shutdown' | 'poweroff';
1289
+ /** Contains response data for the get operation. */
1290
+ export type PrivateCloudsGetResponse = PrivateCloud;
1431
1291
 
1432
- /**
1433
- * Contains response data for the list operation.
1434
- */
1435
- export type OperationsListResponse = AvailableOperationsListResponse & {
1436
- /**
1437
- * The underlying HTTP response.
1438
- */
1439
- _response: msRest.HttpResponse & {
1440
- /**
1441
- * The response body as text (string format)
1442
- */
1443
- bodyAsText: string;
1444
-
1445
- /**
1446
- * The response body as parsed JSON or XML
1447
- */
1448
- parsedBody: AvailableOperationsListResponse;
1449
- };
1450
- };
1292
+ /** Optional parameters. */
1293
+ export interface PrivateCloudsListNextOptionalParams
1294
+ extends coreClient.OperationOptions {}
1451
1295
 
1452
- /**
1453
- * Contains response data for the get operation.
1454
- */
1455
- export type OperationsGetResponse = OperationResource & OperationsGetHeaders & {
1456
- /**
1457
- * The underlying HTTP response.
1458
- */
1459
- _response: msRest.HttpResponse & {
1460
- /**
1461
- * The parsed HTTP response headers.
1462
- */
1463
- parsedHeaders: OperationsGetHeaders;
1464
-
1465
- /**
1466
- * The response body as text (string format)
1467
- */
1468
- bodyAsText: string;
1469
-
1470
- /**
1471
- * The response body as parsed JSON or XML
1472
- */
1473
- parsedBody: OperationResource;
1474
- };
1475
- };
1296
+ /** Contains response data for the listNext operation. */
1297
+ export type PrivateCloudsListNextResponse = PrivateCloudList;
1476
1298
 
1477
- /**
1478
- * Contains response data for the listNext operation.
1479
- */
1480
- export type OperationsListNextResponse = AvailableOperationsListResponse & {
1481
- /**
1482
- * The underlying HTTP response.
1483
- */
1484
- _response: msRest.HttpResponse & {
1485
- /**
1486
- * The response body as text (string format)
1487
- */
1488
- bodyAsText: string;
1489
-
1490
- /**
1491
- * The response body as parsed JSON or XML
1492
- */
1493
- parsedBody: AvailableOperationsListResponse;
1494
- };
1495
- };
1299
+ /** Optional parameters. */
1300
+ export interface CustomizationPoliciesListOptionalParams
1301
+ extends coreClient.OperationOptions {
1302
+ /** The filter to apply on the list operation. only type is allowed here as a filter e.g. $filter=type eq 'xxxx' */
1303
+ filter?: string;
1304
+ }
1496
1305
 
1497
- /**
1498
- * Contains response data for the listBySubscription operation.
1499
- */
1500
- export type DedicatedCloudNodesListBySubscriptionResponse = DedicatedCloudNodeListResponse & {
1501
- /**
1502
- * The underlying HTTP response.
1503
- */
1504
- _response: msRest.HttpResponse & {
1505
- /**
1506
- * The response body as text (string format)
1507
- */
1508
- bodyAsText: string;
1509
-
1510
- /**
1511
- * The response body as parsed JSON or XML
1512
- */
1513
- parsedBody: DedicatedCloudNodeListResponse;
1514
- };
1515
- };
1306
+ /** Contains response data for the list operation. */
1307
+ export type CustomizationPoliciesListOperationResponse = CustomizationPoliciesListResponse;
1516
1308
 
1517
- /**
1518
- * Contains response data for the listByResourceGroup operation.
1519
- */
1520
- export type DedicatedCloudNodesListByResourceGroupResponse = DedicatedCloudNodeListResponse & {
1521
- /**
1522
- * The underlying HTTP response.
1523
- */
1524
- _response: msRest.HttpResponse & {
1525
- /**
1526
- * The response body as text (string format)
1527
- */
1528
- bodyAsText: string;
1529
-
1530
- /**
1531
- * The response body as parsed JSON or XML
1532
- */
1533
- parsedBody: DedicatedCloudNodeListResponse;
1534
- };
1535
- };
1309
+ /** Optional parameters. */
1310
+ export interface CustomizationPoliciesGetOptionalParams
1311
+ extends coreClient.OperationOptions {}
1536
1312
 
1537
- /**
1538
- * Contains response data for the get operation.
1539
- */
1540
- export type DedicatedCloudNodesGetResponse = DedicatedCloudNode & {
1541
- /**
1542
- * The underlying HTTP response.
1543
- */
1544
- _response: msRest.HttpResponse & {
1545
- /**
1546
- * The response body as text (string format)
1547
- */
1548
- bodyAsText: string;
1549
-
1550
- /**
1551
- * The response body as parsed JSON or XML
1552
- */
1553
- parsedBody: DedicatedCloudNode;
1554
- };
1555
- };
1313
+ /** Contains response data for the get operation. */
1314
+ export type CustomizationPoliciesGetResponse = CustomizationPolicy;
1556
1315
 
1557
- /**
1558
- * Contains response data for the createOrUpdate operation.
1559
- */
1560
- export type DedicatedCloudNodesCreateOrUpdateResponse = DedicatedCloudNode & DedicatedCloudNodesCreateOrUpdateHeaders & {
1561
- /**
1562
- * The underlying HTTP response.
1563
- */
1564
- _response: msRest.HttpResponse & {
1565
- /**
1566
- * The parsed HTTP response headers.
1567
- */
1568
- parsedHeaders: DedicatedCloudNodesCreateOrUpdateHeaders;
1569
-
1570
- /**
1571
- * The response body as text (string format)
1572
- */
1573
- bodyAsText: string;
1574
-
1575
- /**
1576
- * The response body as parsed JSON or XML
1577
- */
1578
- parsedBody: DedicatedCloudNode;
1579
- };
1580
- };
1316
+ /** Optional parameters. */
1317
+ export interface CustomizationPoliciesListNextOptionalParams
1318
+ extends coreClient.OperationOptions {
1319
+ /** The filter to apply on the list operation. only type is allowed here as a filter e.g. $filter=type eq 'xxxx' */
1320
+ filter?: string;
1321
+ }
1581
1322
 
1582
- /**
1583
- * Contains response data for the deleteMethod operation.
1584
- */
1585
- export type DedicatedCloudNodesDeleteResponse = DedicatedCloudNodesDeleteHeaders & {
1586
- /**
1587
- * The underlying HTTP response.
1588
- */
1589
- _response: msRest.HttpResponse & {
1590
- /**
1591
- * The parsed HTTP response headers.
1592
- */
1593
- parsedHeaders: DedicatedCloudNodesDeleteHeaders;
1594
- };
1595
- };
1323
+ /** Contains response data for the listNext operation. */
1324
+ export type CustomizationPoliciesListNextResponse = CustomizationPoliciesListResponse;
1596
1325
 
1597
- /**
1598
- * Contains response data for the update operation.
1599
- */
1600
- export type DedicatedCloudNodesUpdateResponse = DedicatedCloudNode & {
1601
- /**
1602
- * The underlying HTTP response.
1603
- */
1604
- _response: msRest.HttpResponse & {
1605
- /**
1606
- * The response body as text (string format)
1607
- */
1608
- bodyAsText: string;
1609
-
1610
- /**
1611
- * The response body as parsed JSON or XML
1612
- */
1613
- parsedBody: DedicatedCloudNode;
1614
- };
1615
- };
1326
+ /** Optional parameters. */
1327
+ export interface ResourcePoolsListOptionalParams
1328
+ extends coreClient.OperationOptions {}
1616
1329
 
1617
- /**
1618
- * Contains response data for the listBySubscriptionNext operation.
1619
- */
1620
- export type DedicatedCloudNodesListBySubscriptionNextResponse = DedicatedCloudNodeListResponse & {
1621
- /**
1622
- * The underlying HTTP response.
1623
- */
1624
- _response: msRest.HttpResponse & {
1625
- /**
1626
- * The response body as text (string format)
1627
- */
1628
- bodyAsText: string;
1629
-
1630
- /**
1631
- * The response body as parsed JSON or XML
1632
- */
1633
- parsedBody: DedicatedCloudNodeListResponse;
1634
- };
1635
- };
1330
+ /** Contains response data for the list operation. */
1331
+ export type ResourcePoolsListOperationResponse = ResourcePoolsListResponse;
1636
1332
 
1637
- /**
1638
- * Contains response data for the listByResourceGroupNext operation.
1639
- */
1640
- export type DedicatedCloudNodesListByResourceGroupNextResponse = DedicatedCloudNodeListResponse & {
1641
- /**
1642
- * The underlying HTTP response.
1643
- */
1644
- _response: msRest.HttpResponse & {
1645
- /**
1646
- * The response body as text (string format)
1647
- */
1648
- bodyAsText: string;
1649
-
1650
- /**
1651
- * The response body as parsed JSON or XML
1652
- */
1653
- parsedBody: DedicatedCloudNodeListResponse;
1654
- };
1655
- };
1333
+ /** Optional parameters. */
1334
+ export interface ResourcePoolsGetOptionalParams
1335
+ extends coreClient.OperationOptions {}
1656
1336
 
1657
- /**
1658
- * Contains response data for the listBySubscription operation.
1659
- */
1660
- export type DedicatedCloudServicesListBySubscriptionResponse = DedicatedCloudServiceListResponse & {
1661
- /**
1662
- * The underlying HTTP response.
1663
- */
1664
- _response: msRest.HttpResponse & {
1665
- /**
1666
- * The response body as text (string format)
1667
- */
1668
- bodyAsText: string;
1669
-
1670
- /**
1671
- * The response body as parsed JSON or XML
1672
- */
1673
- parsedBody: DedicatedCloudServiceListResponse;
1674
- };
1675
- };
1337
+ /** Contains response data for the get operation. */
1338
+ export type ResourcePoolsGetResponse = ResourcePool;
1676
1339
 
1677
- /**
1678
- * Contains response data for the listByResourceGroup operation.
1679
- */
1680
- export type DedicatedCloudServicesListByResourceGroupResponse = DedicatedCloudServiceListResponse & {
1681
- /**
1682
- * The underlying HTTP response.
1683
- */
1684
- _response: msRest.HttpResponse & {
1685
- /**
1686
- * The response body as text (string format)
1687
- */
1688
- bodyAsText: string;
1689
-
1690
- /**
1691
- * The response body as parsed JSON or XML
1692
- */
1693
- parsedBody: DedicatedCloudServiceListResponse;
1694
- };
1695
- };
1340
+ /** Optional parameters. */
1341
+ export interface ResourcePoolsListNextOptionalParams
1342
+ extends coreClient.OperationOptions {}
1696
1343
 
1697
- /**
1698
- * Contains response data for the get operation.
1699
- */
1700
- export type DedicatedCloudServicesGetResponse = DedicatedCloudService & {
1701
- /**
1702
- * The underlying HTTP response.
1703
- */
1704
- _response: msRest.HttpResponse & {
1705
- /**
1706
- * The response body as text (string format)
1707
- */
1708
- bodyAsText: string;
1709
-
1710
- /**
1711
- * The response body as parsed JSON or XML
1712
- */
1713
- parsedBody: DedicatedCloudService;
1714
- };
1715
- };
1344
+ /** Contains response data for the listNext operation. */
1345
+ export type ResourcePoolsListNextResponse = ResourcePoolsListResponse;
1716
1346
 
1717
- /**
1718
- * Contains response data for the createOrUpdate operation.
1719
- */
1720
- export type DedicatedCloudServicesCreateOrUpdateResponse = DedicatedCloudService & {
1721
- /**
1722
- * The underlying HTTP response.
1723
- */
1724
- _response: msRest.HttpResponse & {
1725
- /**
1726
- * The response body as text (string format)
1727
- */
1728
- bodyAsText: string;
1729
-
1730
- /**
1731
- * The response body as parsed JSON or XML
1732
- */
1733
- parsedBody: DedicatedCloudService;
1734
- };
1735
- };
1347
+ /** Optional parameters. */
1348
+ export interface VirtualMachineTemplatesListOptionalParams
1349
+ extends coreClient.OperationOptions {}
1736
1350
 
1737
- /**
1738
- * Contains response data for the deleteMethod operation.
1739
- */
1740
- export type DedicatedCloudServicesDeleteResponse = DedicatedCloudServicesDeleteHeaders & {
1741
- /**
1742
- * The underlying HTTP response.
1743
- */
1744
- _response: msRest.HttpResponse & {
1745
- /**
1746
- * The parsed HTTP response headers.
1747
- */
1748
- parsedHeaders: DedicatedCloudServicesDeleteHeaders;
1749
- };
1750
- };
1351
+ /** Contains response data for the list operation. */
1352
+ export type VirtualMachineTemplatesListResponse = VirtualMachineTemplateListResponse;
1751
1353
 
1752
- /**
1753
- * Contains response data for the update operation.
1754
- */
1755
- export type DedicatedCloudServicesUpdateResponse = DedicatedCloudService & {
1756
- /**
1757
- * The underlying HTTP response.
1758
- */
1759
- _response: msRest.HttpResponse & {
1760
- /**
1761
- * The response body as text (string format)
1762
- */
1763
- bodyAsText: string;
1764
-
1765
- /**
1766
- * The response body as parsed JSON or XML
1767
- */
1768
- parsedBody: DedicatedCloudService;
1769
- };
1770
- };
1354
+ /** Optional parameters. */
1355
+ export interface VirtualMachineTemplatesGetOptionalParams
1356
+ extends coreClient.OperationOptions {}
1771
1357
 
1772
- /**
1773
- * Contains response data for the listBySubscriptionNext operation.
1774
- */
1775
- export type DedicatedCloudServicesListBySubscriptionNextResponse = DedicatedCloudServiceListResponse & {
1776
- /**
1777
- * The underlying HTTP response.
1778
- */
1779
- _response: msRest.HttpResponse & {
1780
- /**
1781
- * The response body as text (string format)
1782
- */
1783
- bodyAsText: string;
1784
-
1785
- /**
1786
- * The response body as parsed JSON or XML
1787
- */
1788
- parsedBody: DedicatedCloudServiceListResponse;
1789
- };
1790
- };
1358
+ /** Contains response data for the get operation. */
1359
+ export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
1791
1360
 
1792
- /**
1793
- * Contains response data for the listByResourceGroupNext operation.
1794
- */
1795
- export type DedicatedCloudServicesListByResourceGroupNextResponse = DedicatedCloudServiceListResponse & {
1796
- /**
1797
- * The underlying HTTP response.
1798
- */
1799
- _response: msRest.HttpResponse & {
1800
- /**
1801
- * The response body as text (string format)
1802
- */
1803
- bodyAsText: string;
1804
-
1805
- /**
1806
- * The response body as parsed JSON or XML
1807
- */
1808
- parsedBody: DedicatedCloudServiceListResponse;
1809
- };
1810
- };
1361
+ /** Optional parameters. */
1362
+ export interface VirtualMachineTemplatesListNextOptionalParams
1363
+ extends coreClient.OperationOptions {}
1811
1364
 
1812
- /**
1813
- * Contains response data for the list operation.
1814
- */
1815
- export type SkusAvailabilityListResponse = SkuAvailabilityListResponse & {
1816
- /**
1817
- * The underlying HTTP response.
1818
- */
1819
- _response: msRest.HttpResponse & {
1820
- /**
1821
- * The response body as text (string format)
1822
- */
1823
- bodyAsText: string;
1824
-
1825
- /**
1826
- * The response body as parsed JSON or XML
1827
- */
1828
- parsedBody: SkuAvailabilityListResponse;
1829
- };
1830
- };
1365
+ /** Contains response data for the listNext operation. */
1366
+ export type VirtualMachineTemplatesListNextResponse = VirtualMachineTemplateListResponse;
1831
1367
 
1832
- /**
1833
- * Contains response data for the listNext operation.
1834
- */
1835
- export type SkusAvailabilityListNextResponse = SkuAvailabilityListResponse & {
1836
- /**
1837
- * The underlying HTTP response.
1838
- */
1839
- _response: msRest.HttpResponse & {
1840
- /**
1841
- * The response body as text (string format)
1842
- */
1843
- bodyAsText: string;
1844
-
1845
- /**
1846
- * The response body as parsed JSON or XML
1847
- */
1848
- parsedBody: SkuAvailabilityListResponse;
1849
- };
1850
- };
1368
+ /** Optional parameters. */
1369
+ export interface VirtualNetworksListOptionalParams
1370
+ extends coreClient.OperationOptions {}
1851
1371
 
1852
- /**
1853
- * Contains response data for the list operation.
1854
- */
1855
- export type PrivateCloudsListResponse = PrivateCloudList & {
1856
- /**
1857
- * The underlying HTTP response.
1858
- */
1859
- _response: msRest.HttpResponse & {
1860
- /**
1861
- * The response body as text (string format)
1862
- */
1863
- bodyAsText: string;
1864
-
1865
- /**
1866
- * The response body as parsed JSON or XML
1867
- */
1868
- parsedBody: PrivateCloudList;
1869
- };
1870
- };
1372
+ /** Contains response data for the list operation. */
1373
+ export type VirtualNetworksListResponse = VirtualNetworkListResponse;
1871
1374
 
1872
- /**
1873
- * Contains response data for the get operation.
1874
- */
1875
- export type PrivateCloudsGetResponse = PrivateCloud & {
1876
- /**
1877
- * The underlying HTTP response.
1878
- */
1879
- _response: msRest.HttpResponse & {
1880
- /**
1881
- * The response body as text (string format)
1882
- */
1883
- bodyAsText: string;
1884
-
1885
- /**
1886
- * The response body as parsed JSON or XML
1887
- */
1888
- parsedBody: PrivateCloud;
1889
- };
1890
- };
1375
+ /** Optional parameters. */
1376
+ export interface VirtualNetworksGetOptionalParams
1377
+ extends coreClient.OperationOptions {}
1891
1378
 
1892
- /**
1893
- * Contains response data for the listNext operation.
1894
- */
1895
- export type PrivateCloudsListNextResponse = PrivateCloudList & {
1896
- /**
1897
- * The underlying HTTP response.
1898
- */
1899
- _response: msRest.HttpResponse & {
1900
- /**
1901
- * The response body as text (string format)
1902
- */
1903
- bodyAsText: string;
1904
-
1905
- /**
1906
- * The response body as parsed JSON or XML
1907
- */
1908
- parsedBody: PrivateCloudList;
1909
- };
1910
- };
1379
+ /** Contains response data for the get operation. */
1380
+ export type VirtualNetworksGetResponse = VirtualNetwork;
1911
1381
 
1912
- /**
1913
- * Contains response data for the list operation.
1914
- */
1915
- export type ResourcePoolsListResponse2 = ResourcePoolsListResponse & {
1916
- /**
1917
- * The underlying HTTP response.
1918
- */
1919
- _response: msRest.HttpResponse & {
1920
- /**
1921
- * The response body as text (string format)
1922
- */
1923
- bodyAsText: string;
1924
-
1925
- /**
1926
- * The response body as parsed JSON or XML
1927
- */
1928
- parsedBody: ResourcePoolsListResponse;
1929
- };
1930
- };
1382
+ /** Optional parameters. */
1383
+ export interface VirtualNetworksListNextOptionalParams
1384
+ extends coreClient.OperationOptions {}
1931
1385
 
1932
- /**
1933
- * Contains response data for the get operation.
1934
- */
1935
- export type ResourcePoolsGetResponse = ResourcePool & {
1936
- /**
1937
- * The underlying HTTP response.
1938
- */
1939
- _response: msRest.HttpResponse & {
1940
- /**
1941
- * The response body as text (string format)
1942
- */
1943
- bodyAsText: string;
1944
-
1945
- /**
1946
- * The response body as parsed JSON or XML
1947
- */
1948
- parsedBody: ResourcePool;
1949
- };
1950
- };
1386
+ /** Contains response data for the listNext operation. */
1387
+ export type VirtualNetworksListNextResponse = VirtualNetworkListResponse;
1951
1388
 
1952
- /**
1953
- * Contains response data for the listNext operation.
1954
- */
1955
- export type ResourcePoolsListNextResponse = ResourcePoolsListResponse & {
1956
- /**
1957
- * The underlying HTTP response.
1958
- */
1959
- _response: msRest.HttpResponse & {
1960
- /**
1961
- * The response body as text (string format)
1962
- */
1963
- bodyAsText: string;
1964
-
1965
- /**
1966
- * The response body as parsed JSON or XML
1967
- */
1968
- parsedBody: ResourcePoolsListResponse;
1969
- };
1970
- };
1389
+ /** Optional parameters. */
1390
+ export interface UsagesListOptionalParams extends coreClient.OperationOptions {
1391
+ /** The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx' */
1392
+ filter?: string;
1393
+ }
1971
1394
 
1972
- /**
1973
- * Contains response data for the list operation.
1974
- */
1975
- export type VirtualMachineTemplatesListResponse = VirtualMachineTemplateListResponse & {
1976
- /**
1977
- * The underlying HTTP response.
1978
- */
1979
- _response: msRest.HttpResponse & {
1980
- /**
1981
- * The response body as text (string format)
1982
- */
1983
- bodyAsText: string;
1984
-
1985
- /**
1986
- * The response body as parsed JSON or XML
1987
- */
1988
- parsedBody: VirtualMachineTemplateListResponse;
1989
- };
1990
- };
1395
+ /** Contains response data for the list operation. */
1396
+ export type UsagesListResponse = UsageListResponse;
1991
1397
 
1992
- /**
1993
- * Contains response data for the get operation.
1994
- */
1995
- export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate & {
1996
- /**
1997
- * The underlying HTTP response.
1998
- */
1999
- _response: msRest.HttpResponse & {
2000
- /**
2001
- * The response body as text (string format)
2002
- */
2003
- bodyAsText: string;
2004
-
2005
- /**
2006
- * The response body as parsed JSON or XML
2007
- */
2008
- parsedBody: VirtualMachineTemplate;
2009
- };
2010
- };
1398
+ /** Optional parameters. */
1399
+ export interface UsagesListNextOptionalParams
1400
+ extends coreClient.OperationOptions {
1401
+ /** The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx' */
1402
+ filter?: string;
1403
+ }
2011
1404
 
2012
- /**
2013
- * Contains response data for the listNext operation.
2014
- */
2015
- export type VirtualMachineTemplatesListNextResponse = VirtualMachineTemplateListResponse & {
2016
- /**
2017
- * The underlying HTTP response.
2018
- */
2019
- _response: msRest.HttpResponse & {
2020
- /**
2021
- * The response body as text (string format)
2022
- */
2023
- bodyAsText: string;
2024
-
2025
- /**
2026
- * The response body as parsed JSON or XML
2027
- */
2028
- parsedBody: VirtualMachineTemplateListResponse;
2029
- };
2030
- };
1405
+ /** Contains response data for the listNext operation. */
1406
+ export type UsagesListNextResponse = UsageListResponse;
2031
1407
 
2032
- /**
2033
- * Contains response data for the list operation.
2034
- */
2035
- export type VirtualNetworksListResponse = VirtualNetworkListResponse & {
2036
- /**
2037
- * The underlying HTTP response.
2038
- */
2039
- _response: msRest.HttpResponse & {
2040
- /**
2041
- * The response body as text (string format)
2042
- */
2043
- bodyAsText: string;
2044
-
2045
- /**
2046
- * The response body as parsed JSON or XML
2047
- */
2048
- parsedBody: VirtualNetworkListResponse;
2049
- };
2050
- };
1408
+ /** Optional parameters. */
1409
+ export interface VirtualMachinesListBySubscriptionOptionalParams
1410
+ extends coreClient.OperationOptions {
1411
+ /** The filter to apply on the list operation */
1412
+ filter?: string;
1413
+ /** The maximum number of record sets to return */
1414
+ top?: number;
1415
+ /** to be used by nextLink implementation */
1416
+ skipToken?: string;
1417
+ }
2051
1418
 
2052
- /**
2053
- * Contains response data for the get operation.
2054
- */
2055
- export type VirtualNetworksGetResponse = VirtualNetwork & {
2056
- /**
2057
- * The underlying HTTP response.
2058
- */
2059
- _response: msRest.HttpResponse & {
2060
- /**
2061
- * The response body as text (string format)
2062
- */
2063
- bodyAsText: string;
2064
-
2065
- /**
2066
- * The response body as parsed JSON or XML
2067
- */
2068
- parsedBody: VirtualNetwork;
2069
- };
2070
- };
1419
+ /** Contains response data for the listBySubscription operation. */
1420
+ export type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResponse;
2071
1421
 
2072
- /**
2073
- * Contains response data for the listNext operation.
2074
- */
2075
- export type VirtualNetworksListNextResponse = VirtualNetworkListResponse & {
2076
- /**
2077
- * The underlying HTTP response.
2078
- */
2079
- _response: msRest.HttpResponse & {
2080
- /**
2081
- * The response body as text (string format)
2082
- */
2083
- bodyAsText: string;
2084
-
2085
- /**
2086
- * The response body as parsed JSON or XML
2087
- */
2088
- parsedBody: VirtualNetworkListResponse;
2089
- };
2090
- };
1422
+ /** Optional parameters. */
1423
+ export interface VirtualMachinesListByResourceGroupOptionalParams
1424
+ extends coreClient.OperationOptions {
1425
+ /** The filter to apply on the list operation */
1426
+ filter?: string;
1427
+ /** The maximum number of record sets to return */
1428
+ top?: number;
1429
+ /** to be used by nextLink implementation */
1430
+ skipToken?: string;
1431
+ }
2091
1432
 
2092
- /**
2093
- * Contains response data for the list operation.
2094
- */
2095
- export type UsagesListResponse = UsageListResponse & {
2096
- /**
2097
- * The underlying HTTP response.
2098
- */
2099
- _response: msRest.HttpResponse & {
2100
- /**
2101
- * The response body as text (string format)
2102
- */
2103
- bodyAsText: string;
2104
-
2105
- /**
2106
- * The response body as parsed JSON or XML
2107
- */
2108
- parsedBody: UsageListResponse;
2109
- };
2110
- };
1433
+ /** Contains response data for the listByResourceGroup operation. */
1434
+ export type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResponse;
2111
1435
 
2112
- /**
2113
- * Contains response data for the listNext operation.
2114
- */
2115
- export type UsagesListNextResponse = UsageListResponse & {
2116
- /**
2117
- * The underlying HTTP response.
2118
- */
2119
- _response: msRest.HttpResponse & {
2120
- /**
2121
- * The response body as text (string format)
2122
- */
2123
- bodyAsText: string;
2124
-
2125
- /**
2126
- * The response body as parsed JSON or XML
2127
- */
2128
- parsedBody: UsageListResponse;
2129
- };
2130
- };
1436
+ /** Optional parameters. */
1437
+ export interface VirtualMachinesGetOptionalParams
1438
+ extends coreClient.OperationOptions {}
2131
1439
 
2132
- /**
2133
- * Contains response data for the listBySubscription operation.
2134
- */
2135
- export type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResponse & {
2136
- /**
2137
- * The underlying HTTP response.
2138
- */
2139
- _response: msRest.HttpResponse & {
2140
- /**
2141
- * The response body as text (string format)
2142
- */
2143
- bodyAsText: string;
2144
-
2145
- /**
2146
- * The response body as parsed JSON or XML
2147
- */
2148
- parsedBody: VirtualMachineListResponse;
2149
- };
2150
- };
1440
+ /** Contains response data for the get operation. */
1441
+ export type VirtualMachinesGetResponse = VirtualMachine;
2151
1442
 
2152
- /**
2153
- * Contains response data for the listByResourceGroup operation.
2154
- */
2155
- export type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResponse & {
2156
- /**
2157
- * The underlying HTTP response.
2158
- */
2159
- _response: msRest.HttpResponse & {
2160
- /**
2161
- * The response body as text (string format)
2162
- */
2163
- bodyAsText: string;
2164
-
2165
- /**
2166
- * The response body as parsed JSON or XML
2167
- */
2168
- parsedBody: VirtualMachineListResponse;
2169
- };
2170
- };
1443
+ /** Optional parameters. */
1444
+ export interface VirtualMachinesCreateOrUpdateOptionalParams
1445
+ extends coreClient.OperationOptions {
1446
+ /** Delay to wait until next poll, in milliseconds. */
1447
+ updateIntervalInMs?: number;
1448
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1449
+ resumeFrom?: string;
1450
+ }
2171
1451
 
2172
- /**
2173
- * Contains response data for the get operation.
2174
- */
2175
- export type VirtualMachinesGetResponse = VirtualMachine & {
2176
- /**
2177
- * The underlying HTTP response.
2178
- */
2179
- _response: msRest.HttpResponse & {
2180
- /**
2181
- * The response body as text (string format)
2182
- */
2183
- bodyAsText: string;
2184
-
2185
- /**
2186
- * The response body as parsed JSON or XML
2187
- */
2188
- parsedBody: VirtualMachine;
2189
- };
2190
- };
1452
+ /** Contains response data for the createOrUpdate operation. */
1453
+ export type VirtualMachinesCreateOrUpdateResponse = VirtualMachinesCreateOrUpdateHeaders &
1454
+ VirtualMachine;
1455
+
1456
+ /** Optional parameters. */
1457
+ export interface VirtualMachinesDeleteOptionalParams
1458
+ extends coreClient.OperationOptions {
1459
+ /** Delay to wait until next poll, in milliseconds. */
1460
+ updateIntervalInMs?: number;
1461
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1462
+ resumeFrom?: string;
1463
+ }
2191
1464
 
2192
- /**
2193
- * Contains response data for the createOrUpdate operation.
2194
- */
2195
- export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine & VirtualMachinesCreateOrUpdateHeaders & {
2196
- /**
2197
- * The underlying HTTP response.
2198
- */
2199
- _response: msRest.HttpResponse & {
2200
- /**
2201
- * The parsed HTTP response headers.
2202
- */
2203
- parsedHeaders: VirtualMachinesCreateOrUpdateHeaders;
2204
-
2205
- /**
2206
- * The response body as text (string format)
2207
- */
2208
- bodyAsText: string;
2209
-
2210
- /**
2211
- * The response body as parsed JSON or XML
2212
- */
2213
- parsedBody: VirtualMachine;
2214
- };
2215
- };
1465
+ /** Contains response data for the delete operation. */
1466
+ export type VirtualMachinesDeleteResponse = VirtualMachinesDeleteHeaders;
2216
1467
 
2217
- /**
2218
- * Contains response data for the deleteMethod operation.
2219
- */
2220
- export type VirtualMachinesDeleteResponse = VirtualMachinesDeleteHeaders & {
2221
- /**
2222
- * The underlying HTTP response.
2223
- */
2224
- _response: msRest.HttpResponse & {
2225
- /**
2226
- * The parsed HTTP response headers.
2227
- */
2228
- parsedHeaders: VirtualMachinesDeleteHeaders;
2229
- };
2230
- };
1468
+ /** Optional parameters. */
1469
+ export interface VirtualMachinesUpdateOptionalParams
1470
+ extends coreClient.OperationOptions {
1471
+ /** Delay to wait until next poll, in milliseconds. */
1472
+ updateIntervalInMs?: number;
1473
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1474
+ resumeFrom?: string;
1475
+ }
2231
1476
 
2232
- /**
2233
- * Contains response data for the update operation.
2234
- */
2235
- export type VirtualMachinesUpdateResponse = VirtualMachine & {
2236
- /**
2237
- * The underlying HTTP response.
2238
- */
2239
- _response: msRest.HttpResponse & {
2240
- /**
2241
- * The response body as text (string format)
2242
- */
2243
- bodyAsText: string;
2244
-
2245
- /**
2246
- * The response body as parsed JSON or XML
2247
- */
2248
- parsedBody: VirtualMachine;
2249
- };
2250
- };
1477
+ /** Contains response data for the update operation. */
1478
+ export type VirtualMachinesUpdateResponse = VirtualMachine;
2251
1479
 
2252
- /**
2253
- * Contains response data for the start operation.
2254
- */
2255
- export type VirtualMachinesStartResponse = VirtualMachinesStartHeaders & {
2256
- /**
2257
- * The underlying HTTP response.
2258
- */
2259
- _response: msRest.HttpResponse & {
2260
- /**
2261
- * The parsed HTTP response headers.
2262
- */
2263
- parsedHeaders: VirtualMachinesStartHeaders;
2264
- };
2265
- };
1480
+ /** Optional parameters. */
1481
+ export interface VirtualMachinesStartOptionalParams
1482
+ extends coreClient.OperationOptions {
1483
+ /** Delay to wait until next poll, in milliseconds. */
1484
+ updateIntervalInMs?: number;
1485
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1486
+ resumeFrom?: string;
1487
+ }
2266
1488
 
2267
- /**
2268
- * Contains response data for the stop operation.
2269
- */
2270
- export type VirtualMachinesStopResponse = VirtualMachinesStopHeaders & {
2271
- /**
2272
- * The underlying HTTP response.
2273
- */
2274
- _response: msRest.HttpResponse & {
2275
- /**
2276
- * The parsed HTTP response headers.
2277
- */
2278
- parsedHeaders: VirtualMachinesStopHeaders;
2279
- };
2280
- };
1489
+ /** Optional parameters. */
1490
+ export interface VirtualMachinesStopOptionalParams
1491
+ extends coreClient.OperationOptions {
1492
+ /** body stop mode parameter (reboot, shutdown, etc...) */
1493
+ m?: VirtualMachineStopMode;
1494
+ /** query stop mode parameter (reboot, shutdown, etc...) */
1495
+ mode?: StopMode;
1496
+ /** Delay to wait until next poll, in milliseconds. */
1497
+ updateIntervalInMs?: number;
1498
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1499
+ resumeFrom?: string;
1500
+ }
2281
1501
 
2282
- /**
2283
- * Contains response data for the beginUpdate operation.
2284
- */
2285
- export type VirtualMachinesBeginUpdateResponse = VirtualMachine & {
2286
- /**
2287
- * The underlying HTTP response.
2288
- */
2289
- _response: msRest.HttpResponse & {
2290
- /**
2291
- * The response body as text (string format)
2292
- */
2293
- bodyAsText: string;
2294
-
2295
- /**
2296
- * The response body as parsed JSON or XML
2297
- */
2298
- parsedBody: VirtualMachine;
2299
- };
2300
- };
1502
+ /** Optional parameters. */
1503
+ export interface VirtualMachinesListBySubscriptionNextOptionalParams
1504
+ extends coreClient.OperationOptions {
1505
+ /** The filter to apply on the list operation */
1506
+ filter?: string;
1507
+ /** The maximum number of record sets to return */
1508
+ top?: number;
1509
+ /** to be used by nextLink implementation */
1510
+ skipToken?: string;
1511
+ }
2301
1512
 
2302
- /**
2303
- * Contains response data for the listBySubscriptionNext operation.
2304
- */
2305
- export type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResponse & {
2306
- /**
2307
- * The underlying HTTP response.
2308
- */
2309
- _response: msRest.HttpResponse & {
2310
- /**
2311
- * The response body as text (string format)
2312
- */
2313
- bodyAsText: string;
2314
-
2315
- /**
2316
- * The response body as parsed JSON or XML
2317
- */
2318
- parsedBody: VirtualMachineListResponse;
2319
- };
2320
- };
1513
+ /** Contains response data for the listBySubscriptionNext operation. */
1514
+ export type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResponse;
2321
1515
 
2322
- /**
2323
- * Contains response data for the listByResourceGroupNext operation.
2324
- */
2325
- export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResponse & {
2326
- /**
2327
- * The underlying HTTP response.
2328
- */
2329
- _response: msRest.HttpResponse & {
2330
- /**
2331
- * The response body as text (string format)
2332
- */
2333
- bodyAsText: string;
2334
-
2335
- /**
2336
- * The response body as parsed JSON or XML
2337
- */
2338
- parsedBody: VirtualMachineListResponse;
2339
- };
2340
- };
1516
+ /** Optional parameters. */
1517
+ export interface VirtualMachinesListByResourceGroupNextOptionalParams
1518
+ extends coreClient.OperationOptions {
1519
+ /** The filter to apply on the list operation */
1520
+ filter?: string;
1521
+ /** The maximum number of record sets to return */
1522
+ top?: number;
1523
+ /** to be used by nextLink implementation */
1524
+ skipToken?: string;
1525
+ }
1526
+
1527
+ /** Contains response data for the listByResourceGroupNext operation. */
1528
+ export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResponse;
1529
+
1530
+ /** Optional parameters. */
1531
+ export interface VMwareCloudSimpleOptionalParams
1532
+ extends coreClient.ServiceClientOptions {
1533
+ /** server parameter */
1534
+ $host?: string;
1535
+ /** Api Version */
1536
+ apiVersion?: string;
1537
+ /** Overrides client endpoint. */
1538
+ endpoint?: string;
1539
+ }