@azure/arm-scvmm 1.0.0-beta.2 → 1.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 (349) hide show
  1. package/CHANGELOG.md +3 -13
  2. package/LICENSE +1 -1
  3. package/README.md +14 -14
  4. package/dist/index.js +5281 -3757
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js +49 -15
  9. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +38 -9
  11. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/availabilitySetsGetSample.js +36 -9
  13. package/dist-esm/samples-dev/availabilitySetsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js +55 -11
  15. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +53 -10
  17. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +40 -10
  19. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js +48 -15
  21. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/cloudsDeleteSample.js +38 -9
  23. package/dist-esm/samples-dev/cloudsDeleteSample.js.map +1 -1
  24. package/dist-esm/samples-dev/cloudsGetSample.js +36 -9
  25. package/dist-esm/samples-dev/cloudsGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js +55 -11
  27. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js +53 -10
  29. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js.map +1 -1
  30. package/dist-esm/samples-dev/cloudsUpdateSample.js +40 -10
  31. package/dist-esm/samples-dev/cloudsUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/guestAgentsCreateSample.js +63 -0
  35. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/guestAgentsDeleteSample.js +52 -0
  39. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +1 -0
  40. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/guestAgentsGetSample.js +52 -0
  43. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js +84 -0
  47. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js.map +1 -0
  48. package/dist-esm/samples-dev/inventoryItemsCreateSample.js +43 -12
  49. package/dist-esm/samples-dev/inventoryItemsCreateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +38 -10
  51. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/inventoryItemsGetSample.js +38 -10
  53. package/dist-esm/samples-dev/inventoryItemsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js +59 -14
  55. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js.map +1 -1
  56. package/dist-esm/samples-dev/operationsListSample.js +55 -12
  57. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  58. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js +57 -0
  61. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js.map +1 -0
  62. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js +127 -0
  65. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
  66. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js +56 -0
  69. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js.map +1 -0
  70. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js +58 -0
  73. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
  74. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
  75. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
  76. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js +52 -0
  77. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
  78. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
  79. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
  80. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js +84 -0
  81. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
  82. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
  83. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
  84. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js +52 -0
  85. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
  86. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts +2 -0
  87. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts.map +1 -0
  88. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js +54 -0
  89. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js.map +1 -0
  90. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
  91. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
  92. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js +52 -0
  93. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
  94. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
  95. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
  96. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js +54 -0
  97. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
  98. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js +99 -0
  101. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
  102. package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js +55 -15
  103. package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js.map +1 -1
  104. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +37 -8
  105. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js.map +1 -1
  106. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +35 -8
  107. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -1
  108. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +55 -11
  109. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  110. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js +53 -10
  111. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js.map +1 -1
  112. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +40 -10
  113. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js.map +1 -1
  114. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js +47 -15
  115. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js.map +1 -1
  116. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +37 -8
  117. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js.map +1 -1
  118. package/dist-esm/samples-dev/virtualNetworksGetSample.js +35 -8
  119. package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -1
  120. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +55 -11
  121. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  122. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js +53 -10
  123. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js.map +1 -1
  124. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +38 -10
  125. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js.map +1 -1
  126. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts +2 -0
  127. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts.map +1 -0
  128. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js +52 -0
  129. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js.map +1 -0
  130. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts +2 -0
  131. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts.map +1 -0
  132. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js +84 -0
  133. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js.map +1 -0
  134. package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js +52 -18
  135. package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js.map +1 -1
  136. package/dist-esm/samples-dev/vmmServersDeleteSample.js +39 -10
  137. package/dist-esm/samples-dev/vmmServersDeleteSample.js.map +1 -1
  138. package/dist-esm/samples-dev/vmmServersGetSample.js +37 -10
  139. package/dist-esm/samples-dev/vmmServersGetSample.js.map +1 -1
  140. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js +55 -11
  141. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js.map +1 -1
  142. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js +53 -10
  143. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js.map +1 -1
  144. package/dist-esm/samples-dev/vmmServersUpdateSample.js +40 -10
  145. package/dist-esm/samples-dev/vmmServersUpdateSample.js.map +1 -1
  146. package/dist-esm/src/index.d.ts +2 -1
  147. package/dist-esm/src/index.d.ts.map +1 -1
  148. package/dist-esm/src/index.js +2 -1
  149. package/dist-esm/src/index.js.map +1 -1
  150. package/dist-esm/src/lroImpl.d.ts +6 -11
  151. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  152. package/dist-esm/src/lroImpl.js +12 -20
  153. package/dist-esm/src/lroImpl.js.map +1 -1
  154. package/dist-esm/src/models/index.d.ts +1320 -859
  155. package/dist-esm/src/models/index.d.ts.map +1 -1
  156. package/dist-esm/src/models/index.js +112 -34
  157. package/dist-esm/src/models/index.js.map +1 -1
  158. package/dist-esm/src/models/mappers.d.ts +83 -38
  159. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  160. package/dist-esm/src/models/mappers.js +2251 -1581
  161. package/dist-esm/src/models/mappers.js.map +1 -1
  162. package/dist-esm/src/models/parameters.d.ts +25 -20
  163. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  164. package/dist-esm/src/models/parameters.js +184 -131
  165. package/dist-esm/src/models/parameters.js.map +1 -1
  166. package/dist-esm/src/operations/availabilitySets.d.ts +50 -50
  167. package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
  168. package/dist-esm/src/operations/availabilitySets.js +259 -203
  169. package/dist-esm/src/operations/availabilitySets.js.map +1 -1
  170. package/dist-esm/src/operations/clouds.d.ts +50 -50
  171. package/dist-esm/src/operations/clouds.d.ts.map +1 -1
  172. package/dist-esm/src/operations/clouds.js +248 -203
  173. package/dist-esm/src/operations/clouds.js.map +1 -1
  174. package/dist-esm/src/operations/guestAgents.d.ts +63 -0
  175. package/dist-esm/src/operations/guestAgents.d.ts.map +1 -0
  176. package/dist-esm/src/operations/guestAgents.js +273 -0
  177. package/dist-esm/src/operations/guestAgents.js.map +1 -0
  178. package/dist-esm/src/operations/index.d.ts +6 -4
  179. package/dist-esm/src/operations/index.d.ts.map +1 -1
  180. package/dist-esm/src/operations/index.js +6 -4
  181. package/dist-esm/src/operations/index.js.map +1 -1
  182. package/dist-esm/src/operations/inventoryItems.d.ts +33 -32
  183. package/dist-esm/src/operations/inventoryItems.d.ts.map +1 -1
  184. package/dist-esm/src/operations/inventoryItems.js +116 -93
  185. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  186. package/dist-esm/src/operations/operations.d.ts +6 -6
  187. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  188. package/dist-esm/src/operations/operations.js +36 -23
  189. package/dist-esm/src/operations/operations.js.map +1 -1
  190. package/dist-esm/src/operations/virtualMachineInstances.d.ts +164 -0
  191. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  192. package/dist-esm/src/operations/virtualMachineInstances.js +907 -0
  193. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  194. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +44 -44
  195. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  196. package/dist-esm/src/operations/virtualMachineTemplates.js +246 -191
  197. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  198. package/dist-esm/src/operations/virtualNetworks.d.ts +44 -44
  199. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  200. package/dist-esm/src/operations/virtualNetworks.js +236 -191
  201. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  202. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts +42 -0
  203. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  204. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js +165 -0
  205. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  206. package/dist-esm/src/operations/vmmServers.d.ts +52 -52
  207. package/dist-esm/src/operations/vmmServers.d.ts.map +1 -1
  208. package/dist-esm/src/operations/vmmServers.js +246 -201
  209. package/dist-esm/src/operations/vmmServers.js.map +1 -1
  210. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts +36 -36
  211. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts.map +1 -1
  212. package/dist-esm/src/operationsInterfaces/clouds.d.ts +36 -36
  213. package/dist-esm/src/operationsInterfaces/clouds.d.ts.map +1 -1
  214. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +39 -0
  215. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/{virtualMachines.js → guestAgents.js} +1 -1
  217. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -4
  219. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  220. package/dist-esm/src/operationsInterfaces/index.js +6 -4
  221. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  222. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts +20 -19
  223. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts.map +1 -1
  224. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
  225. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  226. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +141 -0
  227. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js +9 -0
  229. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +28 -28
  231. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  232. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +28 -28
  233. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  234. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts +18 -0
  235. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js +9 -0
  237. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts +38 -38
  239. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts.map +1 -1
  240. package/dist-esm/src/pagingHelper.d.ts +13 -0
  241. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  242. package/dist-esm/src/pagingHelper.js +32 -0
  243. package/dist-esm/src/pagingHelper.js.map +1 -0
  244. package/dist-esm/src/scVmm.d.ts +30 -0
  245. package/dist-esm/src/scVmm.d.ts.map +1 -0
  246. package/dist-esm/src/{scvmm.js → scVmm.js} +41 -39
  247. package/dist-esm/src/scVmm.js.map +1 -0
  248. package/dist-esm/test/scvmm_operations_test.spec.d.ts +4 -0
  249. package/dist-esm/test/scvmm_operations_test.spec.d.ts.map +1 -0
  250. package/dist-esm/test/scvmm_operations_test.spec.js +74 -0
  251. package/dist-esm/test/scvmm_operations_test.spec.js.map +1 -0
  252. package/package.json +26 -29
  253. package/review/arm-scvmm.api.md +727 -330
  254. package/src/index.ts +2 -1
  255. package/src/lroImpl.ts +31 -23
  256. package/src/models/index.ts +1487 -909
  257. package/src/models/mappers.ts +2339 -1570
  258. package/src/models/parameters.ts +209 -144
  259. package/src/operations/availabilitySets.ts +370 -314
  260. package/src/operations/clouds.ts +354 -311
  261. package/src/operations/guestAgents.ts +365 -0
  262. package/src/operations/index.ts +6 -4
  263. package/src/operations/inventoryItems.ts +148 -128
  264. package/src/operations/operations.ts +45 -33
  265. package/src/operations/virtualMachineInstances.ts +1239 -0
  266. package/src/operations/virtualMachineTemplates.ts +351 -296
  267. package/src/operations/virtualNetworks.ts +341 -296
  268. package/src/operations/vmInstanceHybridIdentityMetadatas.ts +214 -0
  269. package/src/operations/vmmServers.ts +357 -311
  270. package/src/operationsInterfaces/availabilitySets.ts +71 -65
  271. package/src/operationsInterfaces/clouds.ts +66 -63
  272. package/src/operationsInterfaces/guestAgents.ts +78 -0
  273. package/src/operationsInterfaces/index.ts +6 -4
  274. package/src/operationsInterfaces/inventoryItems.ts +32 -30
  275. package/src/operationsInterfaces/operations.ts +4 -7
  276. package/src/operationsInterfaces/virtualMachineInstances.ts +295 -0
  277. package/src/operationsInterfaces/virtualMachineTemplates.ts +57 -51
  278. package/src/operationsInterfaces/virtualNetworks.ts +57 -51
  279. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts +38 -0
  280. package/src/operationsInterfaces/vmmServers.ts +70 -64
  281. package/src/pagingHelper.ts +39 -0
  282. package/src/{scvmm.ts → scVmm.ts} +86 -57
  283. package/types/arm-scvmm.d.ts +1508 -913
  284. package/types/tsdoc-metadata.json +1 -1
  285. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js +0 -36
  288. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js.map +0 -1
  289. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +0 -42
  292. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js +0 -33
  296. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js.map +0 -1
  297. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +0 -31
  300. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -31
  304. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  305. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -44
  308. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  309. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +0 -43
  312. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js.map +0 -1
  313. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +0 -31
  316. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  317. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js +0 -33
  320. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js.map +0 -1
  321. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -31
  324. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  325. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -33
  328. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  329. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +0 -48
  332. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  333. package/dist-esm/src/operations/virtualMachines.d.ts +0 -191
  334. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  335. package/dist-esm/src/operations/virtualMachines.js +0 -955
  336. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  337. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -155
  338. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  339. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  340. package/dist-esm/src/scvmm.d.ts +0 -28
  341. package/dist-esm/src/scvmm.d.ts.map +0 -1
  342. package/dist-esm/src/scvmm.js.map +0 -1
  343. package/dist-esm/test/sampleTest.d.ts +0 -2
  344. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  345. package/dist-esm/test/sampleTest.js +0 -38
  346. package/dist-esm/test/sampleTest.js.map +0 -1
  347. package/rollup.config.js +0 -122
  348. package/src/operations/virtualMachines.ts +0 -1327
  349. package/src/operationsInterfaces/virtualMachines.ts +0 -277
@@ -11,344 +11,206 @@ import * as coreClient from "@azure/core-client";
11
11
  export type InventoryItemPropertiesUnion =
12
12
  | InventoryItemProperties
13
13
  | CloudInventoryItem
14
- | VirtualNetworkInventoryItem
14
+ | VirtualMachineInventoryItem
15
15
  | VirtualMachineTemplateInventoryItem
16
- | VirtualMachineInventoryItem;
16
+ | VirtualNetworkInventoryItem;
17
17
 
18
- /** The VmmServers resource definition. */
19
- export interface VMMServer {
20
- /**
21
- * Resource Id
22
- * NOTE: This property will not be serialized. It can only be populated by the server.
23
- */
24
- readonly id?: string;
25
- /**
26
- * Resource Name
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly name?: string;
18
+ /** The response of a VirtualMachineInstance list operation. */
19
+ export interface VirtualMachineInstanceListResult {
20
+ /** The VirtualMachineInstance items on this page */
21
+ value: VirtualMachineInstance[];
30
22
  /**
31
- * Resource Type
23
+ * The link to the next page of items
32
24
  * NOTE: This property will not be serialized. It can only be populated by the server.
33
25
  */
34
- readonly type?: string;
35
- /** Gets or sets the location. */
36
- location: string;
37
- /** Resource tags */
38
- tags?: { [propertyName: string]: string };
39
- /**
40
- * The system data.
41
- * NOTE: This property will not be serialized. It can only be populated by the server.
42
- */
43
- readonly systemData?: SystemData;
44
- /** The extended location. */
45
- extendedLocation: ExtendedLocation;
46
- /** Credentials to connect to VMMServer. */
47
- credentials?: VMMServerPropertiesCredentials;
48
- /** Fqdn is the hostname/ip of the vmmServer. */
49
- fqdn: string;
50
- /** Port is the port on which the vmmServer is listening. */
51
- port?: number;
52
- /**
53
- * Gets or sets the connection status to the vmmServer.
54
- * NOTE: This property will not be serialized. It can only be populated by the server.
55
- */
56
- readonly connectionStatus?: string;
57
- /**
58
- * Gets or sets any error message if connection to vmmServer is having any issue.
59
- * NOTE: This property will not be serialized. It can only be populated by the server.
60
- */
61
- readonly errorMessage?: string;
62
- /**
63
- * Unique ID of vmmServer.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly uuid?: string;
67
- /**
68
- * Version is the version of the vmmSever.
69
- * NOTE: This property will not be serialized. It can only be populated by the server.
70
- */
71
- readonly version?: string;
72
- /**
73
- * Gets or sets the provisioning state.
74
- * NOTE: This property will not be serialized. It can only be populated by the server.
75
- */
76
- readonly provisioningState?: string;
77
- }
78
-
79
- /** Credentials to connect to VMMServer. */
80
- export interface VMMServerPropertiesCredentials {
81
- /** Username to use to connect to VMMServer. */
82
- username?: string;
83
- /** Credentials to use to connect to VMMServer. */
84
- password?: string;
26
+ readonly nextLink?: string;
85
27
  }
86
28
 
87
- /** Metadata pertaining to creation and last modification of the resource. */
88
- export interface SystemData {
89
- /** The identity that created the resource. */
90
- createdBy?: string;
91
- /** The type of identity that created the resource. */
92
- createdByType?: CreatedByType;
93
- /** The timestamp of resource creation (UTC). */
94
- createdAt?: Date;
95
- /** The identity that last modified the resource. */
96
- lastModifiedBy?: string;
97
- /** The type of identity that last modified the resource. */
98
- lastModifiedByType?: CreatedByType;
99
- /** The timestamp of resource last modification (UTC) */
100
- lastModifiedAt?: Date;
101
- }
102
-
103
- /** The extended location. */
104
- export interface ExtendedLocation {
105
- /** The extended location type. */
106
- type?: string;
107
- /** The extended location name. */
108
- name?: string;
109
- }
110
-
111
- /** Error response. */
112
- export interface ErrorResponse {
113
- /** The error details. */
114
- error?: ErrorDefinition;
115
- }
116
-
117
- /** Error definition. */
118
- export interface ErrorDefinition {
119
- /**
120
- * Service specific error code which serves as the substatus for the HTTP error code.
121
- * NOTE: This property will not be serialized. It can only be populated by the server.
122
- */
123
- readonly code?: string;
29
+ /** Defines the resource properties. */
30
+ export interface VirtualMachineInstanceProperties {
31
+ /** Availability Sets in vm. */
32
+ availabilitySets?: AvailabilitySetListItem[];
33
+ /** OS properties. */
34
+ osProfile?: OsProfileForVmInstance;
35
+ /** Hardware properties. */
36
+ hardwareProfile?: HardwareProfile;
37
+ /** Network properties. */
38
+ networkProfile?: NetworkProfile;
39
+ /** Storage properties. */
40
+ storageProfile?: StorageProfile;
41
+ /** Gets the infrastructure profile. */
42
+ infrastructureProfile?: InfrastructureProfile;
124
43
  /**
125
- * Description of the error.
44
+ * Gets the power state of the virtual machine.
126
45
  * NOTE: This property will not be serialized. It can only be populated by the server.
127
46
  */
128
- readonly message?: string;
47
+ readonly powerState?: string;
129
48
  /**
130
- * Internal error details.
49
+ * Provisioning state of the resource.
131
50
  * NOTE: This property will not be serialized. It can only be populated by the server.
132
51
  */
133
- readonly details?: ErrorDefinition[];
134
- }
135
-
136
- /** Object containing tags updates for patch operations. */
137
- export interface ResourcePatch {
138
- /** Resource tags. */
139
- tags?: { [propertyName: string]: string };
140
- }
141
-
142
- /** List of VmmServers. */
143
- export interface VMMServerListResult {
144
- /** List of VmmServers. */
145
- value?: VMMServer[];
146
- /** Url to follow for getting next page of resources. */
147
- nextLink?: string;
148
- }
149
-
150
- /** Results of the request to list operations. */
151
- export interface ResourceProviderOperationList {
152
- /** List of Operations. */
153
- value?: ResourceProviderOperation[];
154
- /** Url to follow for getting next page of resources. */
155
- nextLink?: string;
52
+ readonly provisioningState?: ProvisioningState;
156
53
  }
157
54
 
158
- /** Results of the request to list operations. */
159
- export interface ResourceProviderOperation {
160
- /** Indicates whether the operation applies to data-plane. */
161
- isDataAction?: string;
162
- /** Operation name, in format of {provider}/{resource}/{operation}. */
55
+ /** Availability Set model */
56
+ export interface AvailabilitySetListItem {
57
+ /** Gets the ARM Id of the microsoft.scvmm/availabilitySets resource. */
58
+ id?: string;
59
+ /** Gets or sets the name of the availability set. */
163
60
  name?: string;
164
- /** Display metadata associated with the operation. */
165
- display?: ResourceProviderOperationDisplay;
166
- }
167
-
168
- /** Display metadata associated with the operation. */
169
- export interface ResourceProviderOperationDisplay {
170
- /** The resource provider. */
171
- provider?: string;
172
- /** Resource on which the operation is performed. */
173
- resource?: string;
174
- /** Type of operation: read, write, delete, etc. */
175
- operation?: string;
176
- /** Description of this operation. */
177
- description?: string;
178
61
  }
179
62
 
180
- /** The Clouds resource definition. */
181
- export interface Cloud {
182
- /**
183
- * Resource Id
184
- * NOTE: This property will not be serialized. It can only be populated by the server.
185
- */
186
- readonly id?: string;
187
- /**
188
- * Resource Name
189
- * NOTE: This property will not be serialized. It can only be populated by the server.
190
- */
191
- readonly name?: string;
192
- /**
193
- * Resource Type
194
- * NOTE: This property will not be serialized. It can only be populated by the server.
195
- */
196
- readonly type?: string;
197
- /** Gets or sets the location. */
198
- location: string;
199
- /** Resource tags */
200
- tags?: { [propertyName: string]: string };
63
+ /** Defines the resource properties. */
64
+ export interface OsProfileForVmInstance {
201
65
  /**
202
- * The system data.
203
- * NOTE: This property will not be serialized. It can only be populated by the server.
66
+ * Admin password of the virtual machine.
67
+ * This value contains a credential. Consider obscuring before showing to users
204
68
  */
205
- readonly systemData?: SystemData;
206
- /** The extended location. */
207
- extendedLocation: ExtendedLocation;
208
- /** Gets or sets the inventory Item ID for the resource. */
209
- inventoryItemId?: string;
210
- /** Unique ID of the cloud. */
211
- uuid?: string;
212
- /** ARM Id of the vmmServer resource in which this resource resides. */
213
- vmmServerId?: string;
69
+ adminPassword?: string;
70
+ /** Gets or sets computer name. */
71
+ computerName?: string;
214
72
  /**
215
- * Name of the cloud in VMMServer.
73
+ * Gets the type of the os.
216
74
  * NOTE: This property will not be serialized. It can only be populated by the server.
217
75
  */
218
- readonly cloudName?: string;
76
+ readonly osType?: OsType;
219
77
  /**
220
- * Capacity of the cloud.
78
+ * Gets os sku.
221
79
  * NOTE: This property will not be serialized. It can only be populated by the server.
222
80
  */
223
- readonly cloudCapacity?: CloudCapacity;
81
+ readonly osSku?: string;
224
82
  /**
225
- * List of QoS policies available for the cloud.
83
+ * Gets os version.
226
84
  * NOTE: This property will not be serialized. It can only be populated by the server.
227
85
  */
228
- readonly storageQoSPolicies?: StorageQoSPolicy[];
86
+ readonly osVersion?: string;
87
+ }
88
+
89
+ /** Defines the resource properties. */
90
+ export interface HardwareProfile {
91
+ /** MemoryMB is the size of a virtual machine's memory, in MB. */
92
+ memoryMB?: number;
93
+ /** Gets or sets the number of vCPUs for the vm. */
94
+ cpuCount?: number;
95
+ /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
96
+ limitCpuForMigration?: LimitCpuForMigration;
97
+ /** Gets or sets a value indicating whether to enable dynamic memory or not. */
98
+ dynamicMemoryEnabled?: DynamicMemoryEnabled;
99
+ /** Gets or sets the max dynamic memory for the vm. */
100
+ dynamicMemoryMaxMB?: number;
101
+ /** Gets or sets the min dynamic memory for the vm. */
102
+ dynamicMemoryMinMB?: number;
229
103
  /**
230
- * Gets or sets the provisioning state.
104
+ * Gets highly available property.
231
105
  * NOTE: This property will not be serialized. It can only be populated by the server.
232
106
  */
233
- readonly provisioningState?: string;
107
+ readonly isHighlyAvailable?: IsHighlyAvailable;
234
108
  }
235
109
 
236
- /** Cloud Capacity model */
237
- export interface CloudCapacity {
238
- /** CPUCount specifies the maximum number of CPUs that can be allocated in the cloud. */
239
- cpuCount?: number;
240
- /** MemoryMB specifies a memory usage limit in megabytes. */
241
- memoryMB?: number;
242
- /** VMCount gives the max number of VMs that can be deployed in the cloud. */
243
- vmCount?: number;
110
+ /** Defines the resource properties. */
111
+ export interface NetworkProfile {
112
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
113
+ networkInterfaces?: NetworkInterface[];
244
114
  }
245
115
 
246
- /** The StorageQoSPolicy definition. */
247
- export interface StorageQoSPolicy {
248
- /** The name of the policy. */
116
+ /** Network Interface model */
117
+ export interface NetworkInterface {
118
+ /** Gets or sets the name of the network interface. */
249
119
  name?: string;
250
- /** The ID of the QoS policy. */
251
- id?: string;
252
- /** The maximum IO operations per second. */
253
- iopsMaximum?: number;
254
- /** The minimum IO operations per second. */
255
- iopsMinimum?: number;
256
- /** The Bandwidth Limit for internet traffic. */
257
- bandwidthLimit?: number;
258
- /** The underlying policy. */
259
- policyId?: string;
260
- }
261
-
262
- /** List of Clouds. */
263
- export interface CloudListResult {
264
- /** List of Clouds. */
265
- value?: Cloud[];
266
- /** Url to follow for getting next page of resources. */
267
- nextLink?: string;
268
- }
269
-
270
- /** The VirtualNetworks resource definition. */
271
- export interface VirtualNetwork {
272
- /**
273
- * Resource Id
274
- * NOTE: This property will not be serialized. It can only be populated by the server.
275
- */
276
- readonly id?: string;
277
120
  /**
278
- * Resource Name
121
+ * Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.
279
122
  * NOTE: This property will not be serialized. It can only be populated by the server.
280
123
  */
281
- readonly name?: string;
124
+ readonly displayName?: string;
282
125
  /**
283
- * Resource Type
126
+ * Gets the nic ipv4 addresses.
284
127
  * NOTE: This property will not be serialized. It can only be populated by the server.
285
128
  */
286
- readonly type?: string;
287
- /** Gets or sets the location. */
288
- location: string;
289
- /** Resource tags */
290
- tags?: { [propertyName: string]: string };
129
+ readonly ipv4Addresses?: string[];
291
130
  /**
292
- * The system data.
131
+ * Gets the nic ipv6 addresses.
293
132
  * NOTE: This property will not be serialized. It can only be populated by the server.
294
133
  */
295
- readonly systemData?: SystemData;
296
- /** The extended location. */
297
- extendedLocation: ExtendedLocation;
298
- /** Gets or sets the inventory Item ID for the resource. */
299
- inventoryItemId?: string;
300
- /** Unique ID of the virtual network. */
301
- uuid?: string;
302
- /** ARM Id of the vmmServer resource in which this resource resides. */
303
- vmmServerId?: string;
134
+ readonly ipv6Addresses?: string[];
135
+ /** Gets or sets the nic MAC address. */
136
+ macAddress?: string;
137
+ /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
138
+ virtualNetworkId?: string;
304
139
  /**
305
- * Name of the virtual network in vmmServer.
140
+ * Gets the name of the virtual network in vmmServer that the nic is connected to.
306
141
  * NOTE: This property will not be serialized. It can only be populated by the server.
307
142
  */
308
143
  readonly networkName?: string;
309
- /**
310
- * Gets or sets the provisioning state.
311
- * NOTE: This property will not be serialized. It can only be populated by the server.
312
- */
313
- readonly provisioningState?: string;
144
+ /** Gets or sets the ipv4 address type. */
145
+ ipv4AddressType?: AllocationMethod;
146
+ /** Gets or sets the ipv6 address type. */
147
+ ipv6AddressType?: AllocationMethod;
148
+ /** Gets or sets the mac address type. */
149
+ macAddressType?: AllocationMethod;
150
+ /** Gets or sets the nic id. */
151
+ nicId?: string;
314
152
  }
315
153
 
316
- /** List of VirtualNetworks. */
317
- export interface VirtualNetworkListResult {
318
- /** List of VirtualNetworks. */
319
- value?: VirtualNetwork[];
320
- /** Url to follow for getting next page of resources. */
321
- nextLink?: string;
154
+ /** Defines the resource properties. */
155
+ export interface StorageProfile {
156
+ /** Gets or sets the list of virtual disks associated with the virtual machine. */
157
+ disks?: VirtualDisk[];
322
158
  }
323
159
 
324
- /** The VirtualMachines resource definition. */
325
- export interface VirtualMachine {
160
+ /** Virtual disk model */
161
+ export interface VirtualDisk {
162
+ /** Gets or sets the name of the disk. */
163
+ name?: string;
326
164
  /**
327
- * Resource Id
165
+ * Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.
328
166
  * NOTE: This property will not be serialized. It can only be populated by the server.
329
167
  */
330
- readonly id?: string;
168
+ readonly displayName?: string;
169
+ /** Gets or sets the disk id. */
170
+ diskId?: string;
171
+ /** Gets or sets the disk total size. */
172
+ diskSizeGB?: number;
331
173
  /**
332
- * Resource Name
174
+ * Gets the max disk size.
333
175
  * NOTE: This property will not be serialized. It can only be populated by the server.
334
176
  */
335
- readonly name?: string;
177
+ readonly maxDiskSizeGB?: number;
178
+ /** Gets or sets the disk bus. */
179
+ bus?: number;
180
+ /** Gets or sets the disk lun. */
181
+ lun?: number;
182
+ /** Gets or sets the disk bus type. */
183
+ busType?: string;
184
+ /** Gets or sets the disk vhd type. */
185
+ vhdType?: string;
336
186
  /**
337
- * Resource Type
187
+ * Gets the disk volume type.
338
188
  * NOTE: This property will not be serialized. It can only be populated by the server.
339
189
  */
340
- readonly type?: string;
341
- /** Gets or sets the location. */
342
- location: string;
343
- /** Resource tags */
344
- tags?: { [propertyName: string]: string };
190
+ readonly volumeType?: string;
345
191
  /**
346
- * The system data.
192
+ * Gets the disk vhd format type.
347
193
  * NOTE: This property will not be serialized. It can only be populated by the server.
348
194
  */
349
- readonly systemData?: SystemData;
350
- /** The extended location. */
351
- extendedLocation: ExtendedLocation;
195
+ readonly vhdFormatType?: string;
196
+ /** Gets or sets the disk id in the template. */
197
+ templateDiskId?: string;
198
+ /** The QoS policy for the disk. */
199
+ storageQosPolicy?: StorageQosPolicyDetails;
200
+ /** Gets or sets a value indicating diff disk. */
201
+ createDiffDisk?: CreateDiffDisk;
202
+ }
203
+
204
+ /** The StorageQoSPolicyDetails definition. */
205
+ export interface StorageQosPolicyDetails {
206
+ /** The name of the policy. */
207
+ name?: string;
208
+ /** The ID of the QoS policy. */
209
+ id?: string;
210
+ }
211
+
212
+ /** Specifies the vmmServer infrastructure specific settings for the virtual machine instance. */
213
+ export interface InfrastructureProfile {
352
214
  /** Gets or sets the inventory Item ID for the resource. */
353
215
  inventoryItemId?: string;
354
216
  /** ARM Id of the vmmServer resource in which this resource resides. */
@@ -357,217 +219,158 @@ export interface VirtualMachine {
357
219
  cloudId?: string;
358
220
  /** ARM Id of the template resource to use for deploying the vm. */
359
221
  templateId?: string;
360
- /** Type of checkpoint supported for the vm. */
361
- checkpointType?: string;
362
- /** Checkpoints in the vm. */
363
- checkpoints?: Checkpoint[];
364
- /** Availability Sets in vm. */
365
- availabilitySets?: AvailabilitySetListItem[];
366
- /** OS properties. */
367
- osProfile?: OsProfile;
368
- /** Hardware properties. */
369
- hardwareProfile?: HardwareProfile;
370
- /** Network properties. */
371
- networkProfile?: NetworkProfile;
372
- /** Storage properties. */
373
- storageProfile?: StorageProfile;
374
- /** VMName is the name of VM on the SCVMM server. */
222
+ /** VMName is the name of VM on the SCVmm server. */
375
223
  vmName?: string;
376
224
  /** Unique ID of the virtual machine. */
377
225
  uuid?: string;
378
- /** Gets or sets the generation for the vm. */
379
- generation?: number;
380
226
  /**
381
- * Gets the power state of the virtual machine.
227
+ * Last restored checkpoint in the vm.
382
228
  * NOTE: This property will not be serialized. It can only be populated by the server.
383
229
  */
384
- readonly powerState?: string;
230
+ readonly lastRestoredVmCheckpoint?: Checkpoint;
385
231
  /**
386
- * Gets or sets the provisioning state.
232
+ * Checkpoints in the vm.
387
233
  * NOTE: This property will not be serialized. It can only be populated by the server.
388
234
  */
389
- readonly provisioningState?: string;
235
+ readonly checkpoints?: Checkpoint[];
236
+ /** Type of checkpoint supported for the vm. */
237
+ checkpointType?: string;
238
+ /** Gets or sets the generation for the vm. */
239
+ generation?: number;
240
+ /** Gets or sets the bios guid for the vm. */
241
+ biosGuid?: string;
390
242
  }
391
243
 
392
244
  /** Defines the resource properties. */
393
245
  export interface Checkpoint {
394
246
  /** Gets ID of parent of the checkpoint. */
395
- parentCheckpointID?: string;
247
+ parentCheckpointId?: string;
396
248
  /** Gets ID of the checkpoint. */
397
- checkpointID?: string;
249
+ checkpointId?: string;
398
250
  /** Gets name of the checkpoint. */
399
251
  name?: string;
400
252
  /** Gets description of the checkpoint. */
401
253
  description?: string;
402
254
  }
403
255
 
404
- /** Availability Set model */
405
- export interface AvailabilitySetListItem {
406
- /** Gets the ARM Id of the microsoft.scvmm/availabilitySets resource. */
407
- id?: string;
408
- /** Gets or sets the name of the availability set. */
256
+ /** The extended location. */
257
+ export interface ExtendedLocation {
258
+ /** The extended location type. */
259
+ type?: string;
260
+ /** The extended location name. */
409
261
  name?: string;
410
262
  }
411
263
 
412
- /** Defines the resource properties. */
413
- export interface OsProfile {
414
- /** Admin password of the virtual machine. */
415
- adminPassword?: string;
416
- /** Gets or sets computer name. */
417
- computerName?: string;
264
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
265
+ export interface Resource {
418
266
  /**
419
- * Gets or sets the type of the os.
267
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
420
268
  * NOTE: This property will not be serialized. It can only be populated by the server.
421
269
  */
422
- readonly osType?: OsType;
270
+ readonly id?: string;
423
271
  /**
424
- * Gets or sets os name.
272
+ * The name of the resource
425
273
  * NOTE: This property will not be serialized. It can only be populated by the server.
426
274
  */
427
- readonly osName?: string;
428
- }
429
-
430
- /** Defines the resource properties. */
431
- export interface HardwareProfile {
432
- /** MemoryMB is the size of a virtual machine's memory, in MB. */
433
- memoryMB?: number;
434
- /** Gets or sets the number of vCPUs for the vm. */
435
- cpuCount?: number;
436
- /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
437
- limitCpuForMigration?: LimitCpuForMigration;
438
- /** Gets or sets a value indicating whether to enable dynamic memory or not. */
439
- dynamicMemoryEnabled?: DynamicMemoryEnabled;
440
- /** Gets or sets the max dynamic memory for the vm. */
441
- dynamicMemoryMaxMB?: number;
442
- /** Gets or sets the min dynamic memory for the vm. */
443
- dynamicMemoryMinMB?: number;
444
- /** Gets highly available property. */
445
- isHighlyAvailable?: string;
446
- }
447
-
448
- /** Defines the resource properties. */
449
- export interface NetworkProfile {
450
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
451
- networkInterfaces?: NetworkInterfaces[];
452
- }
453
-
454
- /** Network Interface model */
455
- export interface NetworkInterfaces {
456
- /** Gets or sets the name of the network interface. */
457
- name?: string;
275
+ readonly name?: string;
458
276
  /**
459
- * Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.
277
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
460
278
  * NOTE: This property will not be serialized. It can only be populated by the server.
461
279
  */
462
- readonly displayName?: string;
280
+ readonly type?: string;
281
+ /**
282
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
284
+ */
285
+ readonly systemData?: SystemData;
286
+ }
287
+
288
+ /** Metadata pertaining to creation and last modification of the resource. */
289
+ export interface SystemData {
290
+ /** The identity that created the resource. */
291
+ createdBy?: string;
292
+ /** The type of identity that created the resource. */
293
+ createdByType?: CreatedByType;
294
+ /** The timestamp of resource creation (UTC). */
295
+ createdAt?: Date;
296
+ /** The identity that last modified the resource. */
297
+ lastModifiedBy?: string;
298
+ /** The type of identity that last modified the resource. */
299
+ lastModifiedByType?: CreatedByType;
300
+ /** The timestamp of resource last modification (UTC) */
301
+ lastModifiedAt?: Date;
302
+ }
303
+
304
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
305
+ export interface ErrorResponse {
306
+ /** The error object. */
307
+ error?: ErrorDetail;
308
+ }
309
+
310
+ /** The error detail. */
311
+ export interface ErrorDetail {
463
312
  /**
464
- * Gets or sets the nic ipv4 addresses.
313
+ * The error code.
465
314
  * NOTE: This property will not be serialized. It can only be populated by the server.
466
315
  */
467
- readonly ipv4Addresses?: string[];
316
+ readonly code?: string;
468
317
  /**
469
- * Gets or sets the nic ipv6 addresses.
318
+ * The error message.
470
319
  * NOTE: This property will not be serialized. It can only be populated by the server.
471
320
  */
472
- readonly ipv6Addresses?: string[];
473
- /** Gets or sets the nic MAC address. */
474
- macAddress?: string;
475
- /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
476
- virtualNetworkId?: string;
321
+ readonly message?: string;
477
322
  /**
478
- * Gets or sets the name of the virtual network in vmmServer that the nic is connected to.
323
+ * The error target.
479
324
  * NOTE: This property will not be serialized. It can only be populated by the server.
480
325
  */
481
- readonly networkName?: string;
482
- /** Gets or sets the ipv4 address type. */
483
- ipv4AddressType?: AllocationMethod;
484
- /** Gets or sets the ipv6 address type. */
485
- ipv6AddressType?: AllocationMethod;
486
- /** Gets or sets the mac address type. */
487
- macAddressType?: AllocationMethod;
488
- /** Gets or sets the nic id. */
489
- nicId?: string;
490
- }
491
-
492
- /** Defines the resource properties. */
493
- export interface StorageProfile {
494
- /** Gets or sets the list of virtual disks associated with the virtual machine. */
495
- disks?: VirtualDisk[];
496
- }
497
-
498
- /** Virtual disk model */
499
- export interface VirtualDisk {
500
- /** Gets or sets the name of the disk. */
501
- name?: string;
326
+ readonly target?: string;
502
327
  /**
503
- * Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.
328
+ * The error details.
504
329
  * NOTE: This property will not be serialized. It can only be populated by the server.
505
330
  */
506
- readonly displayName?: string;
507
- /** Gets or sets the disk id. */
508
- diskId?: string;
509
- /** Gets or sets the disk total size. */
510
- diskSizeGB?: number;
331
+ readonly details?: ErrorDetail[];
511
332
  /**
512
- * Gets or sets the max disk size.
333
+ * The error additional info.
513
334
  * NOTE: This property will not be serialized. It can only be populated by the server.
514
335
  */
515
- readonly maxDiskSizeGB?: number;
516
- /** Gets or sets the disk bus. */
517
- bus?: number;
518
- /** Gets or sets the disk lun. */
519
- lun?: number;
520
- /** Gets or sets the disk bus type. */
521
- busType?: string;
522
- /** Gets or sets the disk vhd type. */
523
- vhdType?: string;
336
+ readonly additionalInfo?: ErrorAdditionalInfo[];
337
+ }
338
+
339
+ /** The resource management error additional info. */
340
+ export interface ErrorAdditionalInfo {
524
341
  /**
525
- * Gets or sets the disk volume type.
342
+ * The additional info type.
526
343
  * NOTE: This property will not be serialized. It can only be populated by the server.
527
344
  */
528
- readonly volumeType?: string;
345
+ readonly type?: string;
529
346
  /**
530
- * Gets the disk vhd format type.
347
+ * The additional info.
531
348
  * NOTE: This property will not be serialized. It can only be populated by the server.
532
349
  */
533
- readonly vhdFormatType?: string;
534
- /** Gets or sets the disk id in the template. */
535
- templateDiskId?: string;
536
- /** The QoS policy for the disk. */
537
- storageQoSPolicy?: StorageQoSPolicyDetails;
538
- /** Gets or sets a value indicating diff disk. */
539
- createDiffDisk?: CreateDiffDisk;
540
- }
541
-
542
- /** The StorageQoSPolicyDetails definition. */
543
- export interface StorageQoSPolicyDetails {
544
- /** The name of the policy. */
545
- name?: string;
546
- /** The ID of the QoS policy. */
547
- id?: string;
350
+ readonly info?: Record<string, unknown>;
548
351
  }
549
352
 
550
- /** Defines the virtualMachineUpdate. */
551
- export interface VirtualMachineUpdate {
552
- /** Defines the resource properties. */
553
- properties?: VirtualMachineUpdateProperties;
554
- /** Gets or sets the Resource tags. */
555
- tags?: { [propertyName: string]: string };
353
+ /** The type used for update operations of the VirtualMachineInstance. */
354
+ export interface VirtualMachineInstanceUpdate {
355
+ /** The update properties of the VirtualMachineInstance. */
356
+ properties?: VirtualMachineInstanceUpdateProperties;
556
357
  }
557
358
 
558
- /** Defines the resource properties. */
559
- export interface VirtualMachineUpdateProperties {
560
- /** Defines the resource properties. */
561
- hardwareProfile?: HardwareProfileUpdate;
562
- /** Defines the resource properties. */
563
- storageProfile?: StorageProfileUpdate;
564
- /** Defines the resource properties. */
565
- networkProfile?: NetworkProfileUpdate;
359
+ /** Virtual Machine Instance Properties Update model */
360
+ export interface VirtualMachineInstanceUpdateProperties {
566
361
  /** Availability Sets in vm. */
567
362
  availabilitySets?: AvailabilitySetListItem[];
363
+ /** Hardware properties. */
364
+ hardwareProfile?: HardwareProfileUpdate;
365
+ /** Network properties. */
366
+ networkProfile?: NetworkProfileUpdate;
367
+ /** Storage properties. */
368
+ storageProfile?: StorageProfileUpdate;
369
+ /** Gets the infrastructure profile. */
370
+ infrastructureProfile?: InfrastructureProfileUpdate;
568
371
  }
569
372
 
570
- /** Defines the resource properties. */
373
+ /** Defines the resource update properties. */
571
374
  export interface HardwareProfileUpdate {
572
375
  /** MemoryMB is the size of a virtual machine's memory, in MB. */
573
376
  memoryMB?: number;
@@ -583,13 +386,37 @@ export interface HardwareProfileUpdate {
583
386
  dynamicMemoryMinMB?: number;
584
387
  }
585
388
 
586
- /** Defines the resource properties. */
389
+ /** Defines the resource update properties. */
390
+ export interface NetworkProfileUpdate {
391
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
392
+ networkInterfaces?: NetworkInterfaceUpdate[];
393
+ }
394
+
395
+ /** Network Interface Update model */
396
+ export interface NetworkInterfaceUpdate {
397
+ /** Gets or sets the name of the network interface. */
398
+ name?: string;
399
+ /** Gets or sets the nic MAC address. */
400
+ macAddress?: string;
401
+ /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
402
+ virtualNetworkId?: string;
403
+ /** Gets or sets the ipv4 address type. */
404
+ ipv4AddressType?: AllocationMethod;
405
+ /** Gets or sets the ipv6 address type. */
406
+ ipv6AddressType?: AllocationMethod;
407
+ /** Gets or sets the mac address type. */
408
+ macAddressType?: AllocationMethod;
409
+ /** Gets or sets the nic id. */
410
+ nicId?: string;
411
+ }
412
+
413
+ /** Defines the resource update properties. */
587
414
  export interface StorageProfileUpdate {
588
415
  /** Gets or sets the list of virtual disks associated with the virtual machine. */
589
416
  disks?: VirtualDiskUpdate[];
590
417
  }
591
418
 
592
- /** Virtual disk model */
419
+ /** Virtual Disk Update model */
593
420
  export interface VirtualDiskUpdate {
594
421
  /** Gets or sets the name of the disk. */
595
422
  name?: string;
@@ -606,37 +433,13 @@ export interface VirtualDiskUpdate {
606
433
  /** Gets or sets the disk vhd type. */
607
434
  vhdType?: string;
608
435
  /** The QoS policy for the disk. */
609
- storageQoSPolicy?: StorageQoSPolicyDetails;
610
- }
611
-
612
- /** Defines the resource properties. */
613
- export interface NetworkProfileUpdate {
614
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
615
- networkInterfaces?: NetworkInterfacesUpdate[];
616
- }
617
-
618
- /** Network Interface model */
619
- export interface NetworkInterfacesUpdate {
620
- /** Gets or sets the name of the network interface. */
621
- name?: string;
622
- /** Gets or sets the nic MAC address. */
623
- macAddress?: string;
624
- /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
625
- virtualNetworkId?: string;
626
- /** Gets or sets the ipv4 address type. */
627
- ipv4AddressType?: AllocationMethod;
628
- /** Gets or sets the ipv6 address type. */
629
- ipv6AddressType?: AllocationMethod;
630
- /** Gets or sets the mac address type. */
631
- macAddressType?: AllocationMethod;
632
- /** Gets or sets the nic id. */
633
- nicId?: string;
436
+ storageQosPolicy?: StorageQosPolicyDetails;
634
437
  }
635
438
 
636
- /** Defines the stop action properties. */
637
- export interface StopVirtualMachineOptions {
638
- /** Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false. */
639
- skipShutdown?: boolean;
439
+ /** Specifies the vmmServer infrastructure specific update settings for the virtual machine instance. */
440
+ export interface InfrastructureProfileUpdate {
441
+ /** Type of checkpoint supported for the vm. */
442
+ checkpointType?: string;
640
443
  }
641
444
 
642
445
  /** Defines the create checkpoint action properties. */
@@ -653,48 +456,277 @@ export interface VirtualMachineDeleteCheckpoint {
653
456
  id?: string;
654
457
  }
655
458
 
459
+ /** The response of a GuestAgent list operation. */
460
+ export interface GuestAgentListResult {
461
+ /** The GuestAgent items on this page */
462
+ value: GuestAgent[];
463
+ /**
464
+ * The link to the next page of items
465
+ * NOTE: This property will not be serialized. It can only be populated by the server.
466
+ */
467
+ readonly nextLink?: string;
468
+ }
469
+
470
+ /** Defines the resource properties. */
471
+ export interface GuestAgentProperties {
472
+ /**
473
+ * Gets a unique identifier for this resource.
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
475
+ */
476
+ readonly uuid?: string;
477
+ /** Username / Password Credentials to provision guest agent. */
478
+ credentials?: GuestCredential;
479
+ /** HTTP Proxy configuration for the VM. */
480
+ httpProxyConfig?: HttpProxyConfiguration;
481
+ /** Gets or sets the guest agent provisioning action. */
482
+ provisioningAction?: ProvisioningAction;
483
+ /**
484
+ * Gets the guest agent status.
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly status?: string;
488
+ /**
489
+ * Gets the name of the corresponding resource in Kubernetes.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly customResourceName?: string;
493
+ /**
494
+ * Provisioning state of the resource.
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly provisioningState?: ProvisioningState;
498
+ }
499
+
500
+ /** Username / Password Credentials to connect to guest. */
501
+ export interface GuestCredential {
502
+ /** Gets or sets username to connect with the guest. */
503
+ username: string;
504
+ /**
505
+ * Gets or sets the password to connect with the guest.
506
+ * This value contains a credential. Consider obscuring before showing to users
507
+ */
508
+ password: string;
509
+ }
510
+
511
+ /** HTTP Proxy configuration for the VM. */
512
+ export interface HttpProxyConfiguration {
513
+ /** Gets or sets httpsProxy url. */
514
+ httpsProxy?: string;
515
+ }
516
+
517
+ /** The response of a VmInstanceHybridIdentityMetadata list operation. */
518
+ export interface VmInstanceHybridIdentityMetadataListResult {
519
+ /** The VmInstanceHybridIdentityMetadata items on this page */
520
+ value: VmInstanceHybridIdentityMetadata[];
521
+ /**
522
+ * The link to the next page of items
523
+ * NOTE: This property will not be serialized. It can only be populated by the server.
524
+ */
525
+ readonly nextLink?: string;
526
+ }
527
+
528
+ /** Describes the properties of Hybrid Identity Metadata for a Virtual Machine. */
529
+ export interface VmInstanceHybridIdentityMetadataProperties {
530
+ /** The unique identifier for the resource. */
531
+ resourceUid?: string;
532
+ /** Gets or sets the Public Key. */
533
+ publicKey?: string;
534
+ /**
535
+ * Provisioning state of the resource.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly provisioningState?: ProvisioningState;
539
+ }
540
+
656
541
  /** Defines the restore checkpoint action properties. */
657
542
  export interface VirtualMachineRestoreCheckpoint {
658
543
  /** ID of the checkpoint to be restored to. */
659
544
  id?: string;
660
545
  }
661
546
 
662
- /** List of VirtualMachines. */
663
- export interface VirtualMachineListResult {
664
- /** List of VirtualMachines. */
665
- value?: VirtualMachine[];
666
- /** Url to follow for getting next page of resources. */
667
- nextLink?: string;
547
+ /** Defines the stop action properties. */
548
+ export interface StopVirtualMachineOptions {
549
+ /** Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false. */
550
+ skipShutdown?: SkipShutdown;
668
551
  }
669
552
 
670
- /** The VirtualMachineTemplates resource definition. */
671
- export interface VirtualMachineTemplate {
553
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
554
+ export interface OperationListResult {
555
+ /**
556
+ * List of operations supported by the resource provider
557
+ * NOTE: This property will not be serialized. It can only be populated by the server.
558
+ */
559
+ readonly value?: Operation[];
560
+ /**
561
+ * URL to get the next set of operation list results (if there are any).
562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
563
+ */
564
+ readonly nextLink?: string;
565
+ }
566
+
567
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
568
+ export interface Operation {
569
+ /**
570
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
572
+ */
573
+ readonly name?: string;
574
+ /**
575
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
577
+ */
578
+ readonly isDataAction?: boolean;
579
+ /** Localized display information for this particular operation. */
580
+ display?: OperationDisplay;
581
+ /**
582
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
583
+ * NOTE: This property will not be serialized. It can only be populated by the server.
584
+ */
585
+ readonly origin?: Origin;
586
+ /**
587
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
588
+ * NOTE: This property will not be serialized. It can only be populated by the server.
589
+ */
590
+ readonly actionType?: ActionType;
591
+ }
592
+
593
+ /** Localized display information for this particular operation. */
594
+ export interface OperationDisplay {
595
+ /**
596
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
598
+ */
599
+ readonly provider?: string;
600
+ /**
601
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
603
+ */
604
+ readonly resource?: string;
605
+ /**
606
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
608
+ */
609
+ readonly operation?: string;
610
+ /**
611
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
612
+ * NOTE: This property will not be serialized. It can only be populated by the server.
613
+ */
614
+ readonly description?: string;
615
+ }
616
+
617
+ /** The response of a AvailabilitySet list operation. */
618
+ export interface AvailabilitySetListResult {
619
+ /** The AvailabilitySet items on this page */
620
+ value: AvailabilitySet[];
621
+ /**
622
+ * The link to the next page of items
623
+ * NOTE: This property will not be serialized. It can only be populated by the server.
624
+ */
625
+ readonly nextLink?: string;
626
+ }
627
+
628
+ /** Defines the resource properties. */
629
+ export interface AvailabilitySetProperties {
630
+ /** Name of the availability set. */
631
+ availabilitySetName?: string;
632
+ /** ARM Id of the vmmServer resource in which this resource resides. */
633
+ vmmServerId?: string;
634
+ /**
635
+ * Provisioning state of the resource.
636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
637
+ */
638
+ readonly provisioningState?: ProvisioningState;
639
+ }
640
+
641
+ /** The response of a Cloud list operation. */
642
+ export interface CloudListResult {
643
+ /** The Cloud items on this page */
644
+ value: Cloud[];
645
+ /**
646
+ * The link to the next page of items
647
+ * NOTE: This property will not be serialized. It can only be populated by the server.
648
+ */
649
+ readonly nextLink?: string;
650
+ }
651
+
652
+ /** Defines the resource properties. */
653
+ export interface CloudProperties {
654
+ /** Gets or sets the inventory Item ID for the resource. */
655
+ inventoryItemId?: string;
656
+ /** Unique ID of the cloud. */
657
+ uuid?: string;
658
+ /** ARM Id of the vmmServer resource in which this resource resides. */
659
+ vmmServerId?: string;
660
+ /**
661
+ * Name of the cloud in VmmServer.
662
+ * NOTE: This property will not be serialized. It can only be populated by the server.
663
+ */
664
+ readonly cloudName?: string;
665
+ /**
666
+ * Capacity of the cloud.
667
+ * NOTE: This property will not be serialized. It can only be populated by the server.
668
+ */
669
+ readonly cloudCapacity?: CloudCapacity;
670
+ /**
671
+ * List of QoS policies available for the cloud.
672
+ * NOTE: This property will not be serialized. It can only be populated by the server.
673
+ */
674
+ readonly storageQosPolicies?: StorageQosPolicy[];
675
+ /**
676
+ * Provisioning state of the resource.
677
+ * NOTE: This property will not be serialized. It can only be populated by the server.
678
+ */
679
+ readonly provisioningState?: ProvisioningState;
680
+ }
681
+
682
+ /** Cloud Capacity model */
683
+ export interface CloudCapacity {
672
684
  /**
673
- * Resource Id
685
+ * CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
674
686
  * NOTE: This property will not be serialized. It can only be populated by the server.
675
687
  */
676
- readonly id?: string;
688
+ readonly cpuCount?: number;
677
689
  /**
678
- * Resource Name
690
+ * MemoryMB specifies a memory usage limit in megabytes.
679
691
  * NOTE: This property will not be serialized. It can only be populated by the server.
680
692
  */
681
- readonly name?: string;
693
+ readonly memoryMB?: number;
682
694
  /**
683
- * Resource Type
695
+ * VMCount gives the max number of VMs that can be deployed in the cloud.
684
696
  * NOTE: This property will not be serialized. It can only be populated by the server.
685
697
  */
686
- readonly type?: string;
687
- /** Gets or sets the location. */
688
- location: string;
689
- /** Resource tags */
690
- tags?: { [propertyName: string]: string };
698
+ readonly vmCount?: number;
699
+ }
700
+
701
+ /** The StorageQoSPolicy definition. */
702
+ export interface StorageQosPolicy {
703
+ /** The name of the policy. */
704
+ name?: string;
705
+ /** The ID of the QoS policy. */
706
+ id?: string;
707
+ /** The maximum IO operations per second. */
708
+ iopsMaximum?: number;
709
+ /** The minimum IO operations per second. */
710
+ iopsMinimum?: number;
711
+ /** The Bandwidth Limit for internet traffic. */
712
+ bandwidthLimit?: number;
713
+ /** The underlying policy. */
714
+ policyId?: string;
715
+ }
716
+
717
+ /** The response of a VirtualMachineTemplate list operation. */
718
+ export interface VirtualMachineTemplateListResult {
719
+ /** The VirtualMachineTemplate items on this page */
720
+ value: VirtualMachineTemplate[];
691
721
  /**
692
- * The system data.
722
+ * The link to the next page of items
693
723
  * NOTE: This property will not be serialized. It can only be populated by the server.
694
724
  */
695
- readonly systemData?: SystemData;
696
- /** The extended location. */
697
- extendedLocation: ExtendedLocation;
725
+ readonly nextLink?: string;
726
+ }
727
+
728
+ /** Defines the resource properties. */
729
+ export interface VirtualMachineTemplateProperties {
698
730
  /** Gets or sets the inventory Item ID for the resource. */
699
731
  inventoryItemId?: string;
700
732
  /** Unique ID of the virtual machine template. */
@@ -702,17 +734,17 @@ export interface VirtualMachineTemplate {
702
734
  /** ARM Id of the vmmServer resource in which this resource resides. */
703
735
  vmmServerId?: string;
704
736
  /**
705
- * Gets or sets the type of the os.
737
+ * Gets the type of the os.
706
738
  * NOTE: This property will not be serialized. It can only be populated by the server.
707
739
  */
708
740
  readonly osType?: OsType;
709
741
  /**
710
- * Gets or sets os name.
742
+ * Gets os name.
711
743
  * NOTE: This property will not be serialized. It can only be populated by the server.
712
744
  */
713
745
  readonly osName?: string;
714
746
  /**
715
- * Gets or sets computer name.
747
+ * Gets computer name.
716
748
  * NOTE: This property will not be serialized. It can only be populated by the server.
717
749
  */
718
750
  readonly computerName?: string;
@@ -722,32 +754,32 @@ export interface VirtualMachineTemplate {
722
754
  */
723
755
  readonly memoryMB?: number;
724
756
  /**
725
- * Gets or sets the desired number of vCPUs for the vm.
757
+ * Gets the desired number of vCPUs for the vm.
726
758
  * NOTE: This property will not be serialized. It can only be populated by the server.
727
759
  */
728
760
  readonly cpuCount?: number;
729
761
  /**
730
- * Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
762
+ * Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.
731
763
  * NOTE: This property will not be serialized. It can only be populated by the server.
732
764
  */
733
765
  readonly limitCpuForMigration?: LimitCpuForMigration;
734
766
  /**
735
- * Gets or sets a value indicating whether to enable dynamic memory or not.
767
+ * Gets a value indicating whether to enable dynamic memory or not.
736
768
  * NOTE: This property will not be serialized. It can only be populated by the server.
737
769
  */
738
770
  readonly dynamicMemoryEnabled?: DynamicMemoryEnabled;
739
771
  /**
740
- * Gets or sets a value indicating whether the vm template is customizable or not.
772
+ * Gets a value indicating whether the vm template is customizable or not.
741
773
  * NOTE: This property will not be serialized. It can only be populated by the server.
742
774
  */
743
775
  readonly isCustomizable?: IsCustomizable;
744
776
  /**
745
- * Gets or sets the max dynamic memory for the vm.
777
+ * Gets the max dynamic memory for the vm.
746
778
  * NOTE: This property will not be serialized. It can only be populated by the server.
747
779
  */
748
780
  readonly dynamicMemoryMaxMB?: number;
749
781
  /**
750
- * Gets or sets the min dynamic memory for the vm.
782
+ * Gets the min dynamic memory for the vm.
751
783
  * NOTE: This property will not be serialized. It can only be populated by the server.
752
784
  */
753
785
  readonly dynamicMemoryMinMB?: number;
@@ -755,82 +787,156 @@ export interface VirtualMachineTemplate {
755
787
  * Gets highly available property.
756
788
  * NOTE: This property will not be serialized. It can only be populated by the server.
757
789
  */
758
- readonly isHighlyAvailable?: string;
790
+ readonly isHighlyAvailable?: IsHighlyAvailable;
759
791
  /**
760
- * Gets or sets the generation for the vm.
792
+ * Gets the generation for the vm.
761
793
  * NOTE: This property will not be serialized. It can only be populated by the server.
762
794
  */
763
795
  readonly generation?: number;
764
796
  /**
765
- * Gets or sets the network interfaces of the template.
797
+ * Gets the network interfaces of the template.
766
798
  * NOTE: This property will not be serialized. It can only be populated by the server.
767
799
  */
768
- readonly networkInterfaces?: NetworkInterfaces[];
800
+ readonly networkInterfaces?: NetworkInterface[];
769
801
  /**
770
- * Gets or sets the disks of the template.
802
+ * Gets the disks of the template.
771
803
  * NOTE: This property will not be serialized. It can only be populated by the server.
772
804
  */
773
805
  readonly disks?: VirtualDisk[];
774
806
  /**
775
- * Gets or sets the provisioning state.
807
+ * Provisioning state of the resource.
776
808
  * NOTE: This property will not be serialized. It can only be populated by the server.
777
809
  */
778
- readonly provisioningState?: string;
810
+ readonly provisioningState?: ProvisioningState;
779
811
  }
780
812
 
781
- /** List of VirtualMachineTemplates. */
782
- export interface VirtualMachineTemplateListResult {
783
- /** List of VirtualMachineTemplates. */
784
- value?: VirtualMachineTemplate[];
785
- /** Url to follow for getting next page of resources. */
786
- nextLink?: string;
813
+ /** The response of a VirtualNetwork list operation. */
814
+ export interface VirtualNetworkListResult {
815
+ /** The VirtualNetwork items on this page */
816
+ value: VirtualNetwork[];
817
+ /**
818
+ * The link to the next page of items
819
+ * NOTE: This property will not be serialized. It can only be populated by the server.
820
+ */
821
+ readonly nextLink?: string;
787
822
  }
788
823
 
789
- /** The AvailabilitySets resource definition. */
790
- export interface AvailabilitySet {
824
+ /** Defines the resource properties. */
825
+ export interface VirtualNetworkProperties {
826
+ /** Gets or sets the inventory Item ID for the resource. */
827
+ inventoryItemId?: string;
828
+ /** Unique ID of the virtual network. */
829
+ uuid?: string;
830
+ /** ARM Id of the vmmServer resource in which this resource resides. */
831
+ vmmServerId?: string;
791
832
  /**
792
- * Resource Id
833
+ * Name of the virtual network in vmmServer.
793
834
  * NOTE: This property will not be serialized. It can only be populated by the server.
794
835
  */
795
- readonly id?: string;
836
+ readonly networkName?: string;
796
837
  /**
797
- * Resource Name
838
+ * Provisioning state of the resource.
798
839
  * NOTE: This property will not be serialized. It can only be populated by the server.
799
840
  */
800
- readonly name?: string;
841
+ readonly provisioningState?: ProvisioningState;
842
+ }
843
+
844
+ /** The response of a VmmServer list operation. */
845
+ export interface VmmServerListResult {
846
+ /** The VmmServer items on this page */
847
+ value: VmmServer[];
801
848
  /**
802
- * Resource Type
849
+ * The link to the next page of items
803
850
  * NOTE: This property will not be serialized. It can only be populated by the server.
804
851
  */
805
- readonly type?: string;
806
- /** Gets or sets the location. */
807
- location?: string;
808
- /** Resource tags */
809
- tags?: { [propertyName: string]: string };
852
+ readonly nextLink?: string;
853
+ }
854
+
855
+ /** Defines the resource properties. */
856
+ export interface VmmServerProperties {
857
+ /** Credentials to connect to VmmServer. */
858
+ credentials?: VmmCredential;
859
+ /** Fqdn is the hostname/ip of the vmmServer. */
860
+ fqdn: string;
861
+ /** Port is the port on which the vmmServer is listening. */
862
+ port?: number;
810
863
  /**
811
- * The system data.
864
+ * Gets the connection status to the vmmServer.
812
865
  * NOTE: This property will not be serialized. It can only be populated by the server.
813
866
  */
814
- readonly systemData?: SystemData;
815
- /** The extended location. */
816
- extendedLocation?: ExtendedLocation;
817
- /** Name of the availability set. */
818
- availabilitySetName?: string;
819
- /** ARM Id of the vmmServer resource in which this resource resides. */
820
- vmmServerId?: string;
867
+ readonly connectionStatus?: string;
868
+ /**
869
+ * Gets any error message if connection to vmmServer is having any issue.
870
+ * NOTE: This property will not be serialized. It can only be populated by the server.
871
+ */
872
+ readonly errorMessage?: string;
873
+ /**
874
+ * Unique ID of vmmServer.
875
+ * NOTE: This property will not be serialized. It can only be populated by the server.
876
+ */
877
+ readonly uuid?: string;
878
+ /**
879
+ * Version is the version of the vmmSever.
880
+ * NOTE: This property will not be serialized. It can only be populated by the server.
881
+ */
882
+ readonly version?: string;
821
883
  /**
822
- * Gets or sets the provisioning state.
884
+ * Provisioning state of the resource.
823
885
  * NOTE: This property will not be serialized. It can only be populated by the server.
824
886
  */
825
- readonly provisioningState?: string;
887
+ readonly provisioningState?: ProvisioningState;
826
888
  }
827
889
 
828
- /** List of AvailabilitySets. */
829
- export interface AvailabilitySetListResult {
830
- /** List of AvailabilitySets. */
831
- value?: AvailabilitySet[];
832
- /** Url to follow for getting next page of resources. */
833
- nextLink?: string;
890
+ /** Credentials to connect to VmmServer. */
891
+ export interface VmmCredential {
892
+ /** Username to use to connect to VmmServer. */
893
+ username?: string;
894
+ /**
895
+ * Password to use to connect to VmmServer.
896
+ * This value contains a credential. Consider obscuring before showing to users
897
+ */
898
+ password?: string;
899
+ }
900
+
901
+ /** The type used for updating tags in AvailabilitySet resources. */
902
+ export interface AvailabilitySetTagsUpdate {
903
+ /** Resource tags. */
904
+ tags?: { [propertyName: string]: string };
905
+ }
906
+
907
+ /** The type used for updating tags in Cloud resources. */
908
+ export interface CloudTagsUpdate {
909
+ /** Resource tags. */
910
+ tags?: { [propertyName: string]: string };
911
+ }
912
+
913
+ /** The type used for updating tags in VirtualMachineTemplate resources. */
914
+ export interface VirtualMachineTemplateTagsUpdate {
915
+ /** Resource tags. */
916
+ tags?: { [propertyName: string]: string };
917
+ }
918
+
919
+ /** The type used for updating tags in VirtualNetwork resources. */
920
+ export interface VirtualNetworkTagsUpdate {
921
+ /** Resource tags. */
922
+ tags?: { [propertyName: string]: string };
923
+ }
924
+
925
+ /** The type used for updating tags in VmmServer resources. */
926
+ export interface VmmServerTagsUpdate {
927
+ /** Resource tags. */
928
+ tags?: { [propertyName: string]: string };
929
+ }
930
+
931
+ /** The response of a InventoryItem list operation. */
932
+ export interface InventoryItemListResult {
933
+ /** The InventoryItem items on this page */
934
+ value: InventoryItem[];
935
+ /**
936
+ * The link to the next page of items
937
+ * NOTE: This property will not be serialized. It can only be populated by the server.
938
+ */
939
+ readonly nextLink?: string;
834
940
  }
835
941
 
836
942
  /** Defines the resource properties. */
@@ -838,76 +944,94 @@ export interface InventoryItemProperties {
838
944
  /** Polymorphic discriminator, which specifies the different types this object can be */
839
945
  inventoryType:
840
946
  | "Cloud"
841
- | "VirtualNetwork"
947
+ | "VirtualMachine"
842
948
  | "VirtualMachineTemplate"
843
- | "VirtualMachine";
949
+ | "VirtualNetwork";
844
950
  /**
845
951
  * Gets the tracked resource id corresponding to the inventory resource.
846
952
  * NOTE: This property will not be serialized. It can only be populated by the server.
847
953
  */
848
954
  readonly managedResourceId?: string;
849
955
  /**
850
- * Gets the UUID (which is assigned by VMM) for the inventory item.
956
+ * Gets the UUID (which is assigned by Vmm) for the inventory item.
851
957
  * NOTE: This property will not be serialized. It can only be populated by the server.
852
958
  */
853
959
  readonly uuid?: string;
854
960
  /**
855
- * Gets the Managed Object name in VMM for the inventory item.
961
+ * Gets the Managed Object name in Vmm for the inventory item.
856
962
  * NOTE: This property will not be serialized. It can only be populated by the server.
857
963
  */
858
964
  readonly inventoryItemName?: string;
859
965
  /**
860
- * Gets the provisioning state.
861
- * NOTE: This property will not be serialized. It can only be populated by the server.
862
- */
863
- readonly provisioningState?: string;
864
- }
865
-
866
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
867
- export interface Resource {
868
- /**
869
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
870
- * NOTE: This property will not be serialized. It can only be populated by the server.
871
- */
872
- readonly id?: string;
873
- /**
874
- * The name of the resource
875
- * NOTE: This property will not be serialized. It can only be populated by the server.
876
- */
877
- readonly name?: string;
878
- /**
879
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
966
+ * Provisioning state of the resource.
880
967
  * NOTE: This property will not be serialized. It can only be populated by the server.
881
968
  */
882
- readonly type?: string;
883
- }
884
-
885
- /** List of InventoryItems. */
886
- export interface InventoryItemsList {
887
- /** Url to follow for getting next page of InventoryItems. */
888
- nextLink?: string;
889
- /** Array of InventoryItems */
890
- value: InventoryItem[];
969
+ readonly provisioningState?: ProvisioningState;
891
970
  }
892
971
 
893
972
  /** Defines the resource properties. */
894
973
  export interface InventoryItemDetails {
895
974
  /** Gets or sets the inventory Item ID for the resource. */
896
975
  inventoryItemId?: string;
897
- /** Gets or sets the Managed Object name in VMM for the resource. */
976
+ /** Gets or sets the Managed Object name in Vmm for the resource. */
898
977
  inventoryItemName?: string;
899
978
  }
900
979
 
980
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
981
+ export interface ProxyResource extends Resource {}
982
+
983
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
984
+ export interface TrackedResource extends Resource {
985
+ /** Resource tags. */
986
+ tags?: { [propertyName: string]: string };
987
+ /** The geo-location where the resource lives */
988
+ location: string;
989
+ }
990
+
901
991
  /** The Cloud inventory item. */
902
992
  export interface CloudInventoryItem extends InventoryItemProperties {
903
993
  /** Polymorphic discriminator, which specifies the different types this object can be */
904
994
  inventoryType: "Cloud";
905
995
  }
906
996
 
907
- /** The Virtual network inventory item. */
908
- export interface VirtualNetworkInventoryItem extends InventoryItemProperties {
997
+ /** The Virtual machine inventory item. */
998
+ export interface VirtualMachineInventoryItem extends InventoryItemProperties {
909
999
  /** Polymorphic discriminator, which specifies the different types this object can be */
910
- inventoryType: "VirtualNetwork";
1000
+ inventoryType: "VirtualMachine";
1001
+ /**
1002
+ * Gets the type of the os.
1003
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1004
+ */
1005
+ readonly osType?: OsType;
1006
+ /**
1007
+ * Gets os name.
1008
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1009
+ */
1010
+ readonly osName?: string;
1011
+ /**
1012
+ * Gets os version.
1013
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1014
+ */
1015
+ readonly osVersion?: string;
1016
+ /**
1017
+ * Gets the power state of the virtual machine.
1018
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1019
+ */
1020
+ readonly powerState?: string;
1021
+ /** Gets or sets the nic ip addresses. */
1022
+ ipAddresses?: string[];
1023
+ /** Cloud inventory resource details where the VM is present. */
1024
+ cloud?: InventoryItemDetails;
1025
+ /**
1026
+ * Gets the bios guid.
1027
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1028
+ */
1029
+ readonly biosGuid?: string;
1030
+ /**
1031
+ * Gets the tracked resource id corresponding to the inventory resource.
1032
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1033
+ */
1034
+ readonly managedMachineResourceId?: string;
911
1035
  }
912
1036
 
913
1037
  /** The Virtual machine template inventory item. */
@@ -916,7 +1040,7 @@ export interface VirtualMachineTemplateInventoryItem
916
1040
  /** Polymorphic discriminator, which specifies the different types this object can be */
917
1041
  inventoryType: "VirtualMachineTemplate";
918
1042
  /**
919
- * Gets or sets the desired number of vCPUs for the vm.
1043
+ * Gets the desired number of vCPUs for the vm.
920
1044
  * NOTE: This property will not be serialized. It can only be populated by the server.
921
1045
  */
922
1046
  readonly cpuCount?: number;
@@ -926,122 +1050,289 @@ export interface VirtualMachineTemplateInventoryItem
926
1050
  */
927
1051
  readonly memoryMB?: number;
928
1052
  /**
929
- * Gets or sets the type of the os.
1053
+ * Gets the type of the os.
930
1054
  * NOTE: This property will not be serialized. It can only be populated by the server.
931
1055
  */
932
1056
  readonly osType?: OsType;
933
1057
  /**
934
- * Gets or sets os name.
1058
+ * Gets os name.
935
1059
  * NOTE: This property will not be serialized. It can only be populated by the server.
936
1060
  */
937
1061
  readonly osName?: string;
938
1062
  }
939
1063
 
940
- /** The Virtual machine inventory item. */
941
- export interface VirtualMachineInventoryItem extends InventoryItemProperties {
1064
+ /** The Virtual network inventory item. */
1065
+ export interface VirtualNetworkInventoryItem extends InventoryItemProperties {
942
1066
  /** Polymorphic discriminator, which specifies the different types this object can be */
943
- inventoryType: "VirtualMachine";
944
- /**
945
- * Gets or sets the type of the os.
946
- * NOTE: This property will not be serialized. It can only be populated by the server.
947
- */
948
- readonly osType?: OsType;
949
- /**
950
- * Gets or sets os name.
951
- * NOTE: This property will not be serialized. It can only be populated by the server.
952
- */
953
- readonly osName?: string;
954
- /**
955
- * Gets the power state of the virtual machine.
956
- * NOTE: This property will not be serialized. It can only be populated by the server.
957
- */
958
- readonly powerState?: string;
959
- /** Gets or sets the nic ip addresses. */
960
- ipAddresses?: string[];
961
- /** Cloud inventory resource details where the VM is present. */
962
- cloud?: InventoryItemDetails;
1067
+ inventoryType: "VirtualNetwork";
1068
+ }
1069
+
1070
+ /** Define the virtualMachineInstance. */
1071
+ export interface VirtualMachineInstance extends ProxyResource {
1072
+ /** The resource-specific properties for this resource. */
1073
+ properties?: VirtualMachineInstanceProperties;
1074
+ /** Gets or sets the extended location. */
1075
+ extendedLocation: ExtendedLocation;
1076
+ }
1077
+
1078
+ /** Defines the GuestAgent. */
1079
+ export interface GuestAgent extends ProxyResource {
1080
+ /** The resource-specific properties for this resource. */
1081
+ properties?: GuestAgentProperties;
1082
+ }
1083
+
1084
+ /** Defines the HybridIdentityMetadata. */
1085
+ export interface VmInstanceHybridIdentityMetadata extends ProxyResource {
1086
+ /** The resource-specific properties for this resource. */
1087
+ properties?: VmInstanceHybridIdentityMetadataProperties;
1088
+ }
1089
+
1090
+ /** Defines the inventory item. */
1091
+ export interface InventoryItem extends ProxyResource {
1092
+ /** The resource-specific properties for this resource. */
1093
+ properties?: InventoryItemPropertiesUnion;
1094
+ /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. */
1095
+ kind?: string;
1096
+ }
1097
+
1098
+ /** The AvailabilitySets resource definition. */
1099
+ export interface AvailabilitySet extends TrackedResource {
1100
+ /** The resource-specific properties for this resource. */
1101
+ properties?: AvailabilitySetProperties;
1102
+ /** The extended location. */
1103
+ extendedLocation: ExtendedLocation;
1104
+ }
1105
+
1106
+ /** The Clouds resource definition. */
1107
+ export interface Cloud extends TrackedResource {
1108
+ /** The resource-specific properties for this resource. */
1109
+ properties?: CloudProperties;
1110
+ /** The extended location. */
1111
+ extendedLocation: ExtendedLocation;
1112
+ }
1113
+
1114
+ /** The VirtualMachineTemplates resource definition. */
1115
+ export interface VirtualMachineTemplate extends TrackedResource {
1116
+ /** The resource-specific properties for this resource. */
1117
+ properties?: VirtualMachineTemplateProperties;
1118
+ /** The extended location. */
1119
+ extendedLocation: ExtendedLocation;
1120
+ }
1121
+
1122
+ /** The VirtualNetworks resource definition. */
1123
+ export interface VirtualNetwork extends TrackedResource {
1124
+ /** The resource-specific properties for this resource. */
1125
+ properties?: VirtualNetworkProperties;
1126
+ /** The extended location. */
1127
+ extendedLocation: ExtendedLocation;
1128
+ }
1129
+
1130
+ /** The VmmServers resource definition. */
1131
+ export interface VmmServer extends TrackedResource {
1132
+ /** The resource-specific properties for this resource. */
1133
+ properties?: VmmServerProperties;
1134
+ /** The extended location. */
1135
+ extendedLocation: ExtendedLocation;
1136
+ }
1137
+
1138
+ /** Defines headers for VirtualMachineInstances_createOrUpdate operation. */
1139
+ export interface VirtualMachineInstancesCreateOrUpdateHeaders {
1140
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1141
+ retryAfter?: number;
1142
+ }
1143
+
1144
+ /** Defines headers for VirtualMachineInstances_update operation. */
1145
+ export interface VirtualMachineInstancesUpdateHeaders {
1146
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1147
+ location?: string;
1148
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1149
+ retryAfter?: number;
1150
+ }
1151
+
1152
+ /** Defines headers for VirtualMachineInstances_delete operation. */
1153
+ export interface VirtualMachineInstancesDeleteHeaders {
1154
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1155
+ location?: string;
1156
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1157
+ retryAfter?: number;
1158
+ }
1159
+
1160
+ /** Defines headers for VirtualMachineInstances_createCheckpoint operation. */
1161
+ export interface VirtualMachineInstancesCreateCheckpointHeaders {
1162
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1163
+ location?: string;
1164
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1165
+ retryAfter?: number;
1166
+ }
1167
+
1168
+ /** Defines headers for VirtualMachineInstances_deleteCheckpoint operation. */
1169
+ export interface VirtualMachineInstancesDeleteCheckpointHeaders {
1170
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1171
+ location?: string;
1172
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1173
+ retryAfter?: number;
1174
+ }
1175
+
1176
+ /** Defines headers for VirtualMachineInstances_restart operation. */
1177
+ export interface VirtualMachineInstancesRestartHeaders {
1178
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1179
+ location?: string;
1180
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1181
+ retryAfter?: number;
1182
+ }
1183
+
1184
+ /** Defines headers for VirtualMachineInstances_restoreCheckpoint operation. */
1185
+ export interface VirtualMachineInstancesRestoreCheckpointHeaders {
1186
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1187
+ location?: string;
1188
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1189
+ retryAfter?: number;
963
1190
  }
964
1191
 
965
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
966
- export interface ProxyResource extends Resource {}
1192
+ /** Defines headers for VirtualMachineInstances_start operation. */
1193
+ export interface VirtualMachineInstancesStartHeaders {
1194
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1195
+ location?: string;
1196
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1197
+ retryAfter?: number;
1198
+ }
967
1199
 
968
- /** Defines the inventory item. */
969
- export interface InventoryItem extends ProxyResource {
970
- /**
971
- * The system data.
972
- * NOTE: This property will not be serialized. It can only be populated by the server.
973
- */
974
- readonly systemData?: SystemData;
975
- /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. */
976
- kind?: string;
977
- /** They inventory type. */
978
- inventoryType: InventoryType;
979
- /**
980
- * Gets the tracked resource id corresponding to the inventory resource.
981
- * NOTE: This property will not be serialized. It can only be populated by the server.
982
- */
983
- readonly managedResourceId?: string;
984
- /**
985
- * Gets the UUID (which is assigned by VMM) for the inventory item.
986
- * NOTE: This property will not be serialized. It can only be populated by the server.
987
- */
988
- readonly uuid?: string;
989
- /**
990
- * Gets the Managed Object name in VMM for the inventory item.
991
- * NOTE: This property will not be serialized. It can only be populated by the server.
992
- */
993
- readonly inventoryItemName?: string;
994
- /**
995
- * Gets the provisioning state.
996
- * NOTE: This property will not be serialized. It can only be populated by the server.
997
- */
998
- readonly provisioningState?: string;
1200
+ /** Defines headers for VirtualMachineInstances_stop operation. */
1201
+ export interface VirtualMachineInstancesStopHeaders {
1202
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1203
+ location?: string;
1204
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1205
+ retryAfter?: number;
1206
+ }
1207
+
1208
+ /** Defines headers for GuestAgents_create operation. */
1209
+ export interface GuestAgentsCreateHeaders {
1210
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1211
+ retryAfter?: number;
999
1212
  }
1000
1213
 
1001
1214
  /** Defines headers for AvailabilitySets_createOrUpdate operation. */
1002
1215
  export interface AvailabilitySetsCreateOrUpdateHeaders {
1003
- /** Tracking URL for long running operation. */
1216
+ /** A link to the status monitor */
1004
1217
  azureAsyncOperation?: string;
1218
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1219
+ retryAfter?: number;
1220
+ }
1221
+
1222
+ /** Defines headers for AvailabilitySets_update operation. */
1223
+ export interface AvailabilitySetsUpdateHeaders {
1224
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1225
+ location?: string;
1226
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1227
+ retryAfter?: number;
1005
1228
  }
1006
1229
 
1007
1230
  /** Defines headers for AvailabilitySets_delete operation. */
1008
1231
  export interface AvailabilitySetsDeleteHeaders {
1009
- /** Tracking URL for long running operation. */
1232
+ /** A link to the status monitor */
1010
1233
  azureAsyncOperation?: string;
1234
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1235
+ location?: string;
1236
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1237
+ retryAfter?: number;
1011
1238
  }
1012
1239
 
1013
- /** Known values of {@link CreatedByType} that the service accepts. */
1014
- export enum KnownCreatedByType {
1015
- /** User */
1016
- User = "User",
1017
- /** Application */
1018
- Application = "Application",
1019
- /** ManagedIdentity */
1020
- ManagedIdentity = "ManagedIdentity",
1021
- /** Key */
1022
- Key = "Key"
1240
+ /** Defines headers for Clouds_createOrUpdate operation. */
1241
+ export interface CloudsCreateOrUpdateHeaders {
1242
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1243
+ retryAfter?: number;
1023
1244
  }
1024
1245
 
1025
- /**
1026
- * Defines values for CreatedByType. \
1027
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1028
- * this enum contains the known values that the service supports.
1029
- * ### Known values supported by the service
1030
- * **User** \
1031
- * **Application** \
1032
- * **ManagedIdentity** \
1033
- * **Key**
1034
- */
1035
- export type CreatedByType = string;
1246
+ /** Defines headers for Clouds_update operation. */
1247
+ export interface CloudsUpdateHeaders {
1248
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1249
+ location?: string;
1250
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1251
+ retryAfter?: number;
1252
+ }
1253
+
1254
+ /** Defines headers for Clouds_delete operation. */
1255
+ export interface CloudsDeleteHeaders {
1256
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1257
+ location?: string;
1258
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1259
+ retryAfter?: number;
1260
+ }
1261
+
1262
+ /** Defines headers for VirtualMachineTemplates_createOrUpdate operation. */
1263
+ export interface VirtualMachineTemplatesCreateOrUpdateHeaders {
1264
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1265
+ retryAfter?: number;
1266
+ }
1267
+
1268
+ /** Defines headers for VirtualMachineTemplates_update operation. */
1269
+ export interface VirtualMachineTemplatesUpdateHeaders {
1270
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1271
+ location?: string;
1272
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1273
+ retryAfter?: number;
1274
+ }
1275
+
1276
+ /** Defines headers for VirtualMachineTemplates_delete operation. */
1277
+ export interface VirtualMachineTemplatesDeleteHeaders {
1278
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1279
+ location?: string;
1280
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1281
+ retryAfter?: number;
1282
+ }
1283
+
1284
+ /** Defines headers for VirtualNetworks_createOrUpdate operation. */
1285
+ export interface VirtualNetworksCreateOrUpdateHeaders {
1286
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1287
+ retryAfter?: number;
1288
+ }
1289
+
1290
+ /** Defines headers for VirtualNetworks_update operation. */
1291
+ export interface VirtualNetworksUpdateHeaders {
1292
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1293
+ location?: string;
1294
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1295
+ retryAfter?: number;
1296
+ }
1297
+
1298
+ /** Defines headers for VirtualNetworks_delete operation. */
1299
+ export interface VirtualNetworksDeleteHeaders {
1300
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1301
+ location?: string;
1302
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1303
+ retryAfter?: number;
1304
+ }
1305
+
1306
+ /** Defines headers for VmmServers_createOrUpdate operation. */
1307
+ export interface VmmServersCreateOrUpdateHeaders {
1308
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1309
+ retryAfter?: number;
1310
+ }
1311
+
1312
+ /** Defines headers for VmmServers_update operation. */
1313
+ export interface VmmServersUpdateHeaders {
1314
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1315
+ location?: string;
1316
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1317
+ retryAfter?: number;
1318
+ }
1319
+
1320
+ /** Defines headers for VmmServers_delete operation. */
1321
+ export interface VmmServersDeleteHeaders {
1322
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1323
+ location?: string;
1324
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1325
+ retryAfter?: number;
1326
+ }
1036
1327
 
1037
1328
  /** Known values of {@link OsType} that the service accepts. */
1038
1329
  export enum KnownOsType {
1039
- /** Windows */
1330
+ /** Windows operating system. */
1040
1331
  Windows = "Windows",
1041
- /** Linux */
1332
+ /** Linux operating system. */
1042
1333
  Linux = "Linux",
1043
- /** Other */
1044
- Other = "Other"
1334
+ /** Other operating system. */
1335
+ Other = "Other",
1045
1336
  }
1046
1337
 
1047
1338
  /**
@@ -1049,18 +1340,18 @@ export enum KnownOsType {
1049
1340
  * {@link KnownOsType} can be used interchangeably with OsType,
1050
1341
  * this enum contains the known values that the service supports.
1051
1342
  * ### Known values supported by the service
1052
- * **Windows** \
1053
- * **Linux** \
1054
- * **Other**
1343
+ * **Windows**: Windows operating system. \
1344
+ * **Linux**: Linux operating system. \
1345
+ * **Other**: Other operating system.
1055
1346
  */
1056
1347
  export type OsType = string;
1057
1348
 
1058
1349
  /** Known values of {@link LimitCpuForMigration} that the service accepts. */
1059
1350
  export enum KnownLimitCpuForMigration {
1060
- /** False */
1351
+ /** Enable limit CPU for migration. */
1352
+ True = "true",
1353
+ /** Disable limit CPU for migration. */
1061
1354
  False = "false",
1062
- /** True */
1063
- True = "true"
1064
1355
  }
1065
1356
 
1066
1357
  /**
@@ -1068,17 +1359,17 @@ export enum KnownLimitCpuForMigration {
1068
1359
  * {@link KnownLimitCpuForMigration} can be used interchangeably with LimitCpuForMigration,
1069
1360
  * this enum contains the known values that the service supports.
1070
1361
  * ### Known values supported by the service
1071
- * **false** \
1072
- * **true**
1362
+ * **true**: Enable limit CPU for migration. \
1363
+ * **false**: Disable limit CPU for migration.
1073
1364
  */
1074
1365
  export type LimitCpuForMigration = string;
1075
1366
 
1076
1367
  /** Known values of {@link DynamicMemoryEnabled} that the service accepts. */
1077
1368
  export enum KnownDynamicMemoryEnabled {
1078
- /** False */
1369
+ /** Enable dynamic memory. */
1370
+ True = "true",
1371
+ /** Disable dynamic memory. */
1079
1372
  False = "false",
1080
- /** True */
1081
- True = "true"
1082
1373
  }
1083
1374
 
1084
1375
  /**
@@ -1086,17 +1377,35 @@ export enum KnownDynamicMemoryEnabled {
1086
1377
  * {@link KnownDynamicMemoryEnabled} can be used interchangeably with DynamicMemoryEnabled,
1087
1378
  * this enum contains the known values that the service supports.
1088
1379
  * ### Known values supported by the service
1089
- * **false** \
1090
- * **true**
1380
+ * **true**: Enable dynamic memory. \
1381
+ * **false**: Disable dynamic memory.
1091
1382
  */
1092
1383
  export type DynamicMemoryEnabled = string;
1093
1384
 
1385
+ /** Known values of {@link IsHighlyAvailable} that the service accepts. */
1386
+ export enum KnownIsHighlyAvailable {
1387
+ /** Enable highly available. */
1388
+ True = "true",
1389
+ /** Disable highly available. */
1390
+ False = "false",
1391
+ }
1392
+
1393
+ /**
1394
+ * Defines values for IsHighlyAvailable. \
1395
+ * {@link KnownIsHighlyAvailable} can be used interchangeably with IsHighlyAvailable,
1396
+ * this enum contains the known values that the service supports.
1397
+ * ### Known values supported by the service
1398
+ * **true**: Enable highly available. \
1399
+ * **false**: Disable highly available.
1400
+ */
1401
+ export type IsHighlyAvailable = string;
1402
+
1094
1403
  /** Known values of {@link AllocationMethod} that the service accepts. */
1095
1404
  export enum KnownAllocationMethod {
1096
- /** Dynamic */
1405
+ /** Dynamically allocated address. */
1097
1406
  Dynamic = "Dynamic",
1098
- /** Static */
1099
- Static = "Static"
1407
+ /** Statically allocated address. */
1408
+ Static = "Static",
1100
1409
  }
1101
1410
 
1102
1411
  /**
@@ -1104,17 +1413,17 @@ export enum KnownAllocationMethod {
1104
1413
  * {@link KnownAllocationMethod} can be used interchangeably with AllocationMethod,
1105
1414
  * this enum contains the known values that the service supports.
1106
1415
  * ### Known values supported by the service
1107
- * **Dynamic** \
1108
- * **Static**
1416
+ * **Dynamic**: Dynamically allocated address. \
1417
+ * **Static**: Statically allocated address.
1109
1418
  */
1110
1419
  export type AllocationMethod = string;
1111
1420
 
1112
1421
  /** Known values of {@link CreateDiffDisk} that the service accepts. */
1113
1422
  export enum KnownCreateDiffDisk {
1114
- /** False */
1423
+ /** Enable create diff disk. */
1424
+ True = "true",
1425
+ /** Disable create diff disk. */
1115
1426
  False = "false",
1116
- /** True */
1117
- True = "true"
1118
1427
  }
1119
1428
 
1120
1429
  /**
@@ -1122,17 +1431,188 @@ export enum KnownCreateDiffDisk {
1122
1431
  * {@link KnownCreateDiffDisk} can be used interchangeably with CreateDiffDisk,
1123
1432
  * this enum contains the known values that the service supports.
1124
1433
  * ### Known values supported by the service
1125
- * **false** \
1126
- * **true**
1434
+ * **true**: Enable create diff disk. \
1435
+ * **false**: Disable create diff disk.
1127
1436
  */
1128
1437
  export type CreateDiffDisk = string;
1129
1438
 
1439
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1440
+ export enum KnownProvisioningState {
1441
+ /** Resource has been created. */
1442
+ Succeeded = "Succeeded",
1443
+ /** Resource creation failed. */
1444
+ Failed = "Failed",
1445
+ /** Resource creation was canceled. */
1446
+ Canceled = "Canceled",
1447
+ /** The resource is provisioning. */
1448
+ Provisioning = "Provisioning",
1449
+ /** The resource is updating. */
1450
+ Updating = "Updating",
1451
+ /** The resource is being deleted. */
1452
+ Deleting = "Deleting",
1453
+ /** The resource has been accepted. */
1454
+ Accepted = "Accepted",
1455
+ /** The resource was created. */
1456
+ Created = "Created",
1457
+ }
1458
+
1459
+ /**
1460
+ * Defines values for ProvisioningState. \
1461
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1462
+ * this enum contains the known values that the service supports.
1463
+ * ### Known values supported by the service
1464
+ * **Succeeded**: Resource has been created. \
1465
+ * **Failed**: Resource creation failed. \
1466
+ * **Canceled**: Resource creation was canceled. \
1467
+ * **Provisioning**: The resource is provisioning. \
1468
+ * **Updating**: The resource is updating. \
1469
+ * **Deleting**: The resource is being deleted. \
1470
+ * **Accepted**: The resource has been accepted. \
1471
+ * **Created**: The resource was created.
1472
+ */
1473
+ export type ProvisioningState = string;
1474
+
1475
+ /** Known values of {@link CreatedByType} that the service accepts. */
1476
+ export enum KnownCreatedByType {
1477
+ /** User */
1478
+ User = "User",
1479
+ /** Application */
1480
+ Application = "Application",
1481
+ /** ManagedIdentity */
1482
+ ManagedIdentity = "ManagedIdentity",
1483
+ /** Key */
1484
+ Key = "Key",
1485
+ }
1486
+
1487
+ /**
1488
+ * Defines values for CreatedByType. \
1489
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1490
+ * this enum contains the known values that the service supports.
1491
+ * ### Known values supported by the service
1492
+ * **User** \
1493
+ * **Application** \
1494
+ * **ManagedIdentity** \
1495
+ * **Key**
1496
+ */
1497
+ export type CreatedByType = string;
1498
+
1499
+ /** Known values of {@link ForceDelete} that the service accepts. */
1500
+ export enum KnownForceDelete {
1501
+ /** Enable force delete. */
1502
+ True = "true",
1503
+ /** Disable force delete. */
1504
+ False = "false",
1505
+ }
1506
+
1507
+ /**
1508
+ * Defines values for ForceDelete. \
1509
+ * {@link KnownForceDelete} can be used interchangeably with ForceDelete,
1510
+ * this enum contains the known values that the service supports.
1511
+ * ### Known values supported by the service
1512
+ * **true**: Enable force delete. \
1513
+ * **false**: Disable force delete.
1514
+ */
1515
+ export type ForceDelete = string;
1516
+
1517
+ /** Known values of {@link DeleteFromHost} that the service accepts. */
1518
+ export enum KnownDeleteFromHost {
1519
+ /** Enable delete from host. */
1520
+ True = "true",
1521
+ /** Disable delete from host. */
1522
+ False = "false",
1523
+ }
1524
+
1525
+ /**
1526
+ * Defines values for DeleteFromHost. \
1527
+ * {@link KnownDeleteFromHost} can be used interchangeably with DeleteFromHost,
1528
+ * this enum contains the known values that the service supports.
1529
+ * ### Known values supported by the service
1530
+ * **true**: Enable delete from host. \
1531
+ * **false**: Disable delete from host.
1532
+ */
1533
+ export type DeleteFromHost = string;
1534
+
1535
+ /** Known values of {@link ProvisioningAction} that the service accepts. */
1536
+ export enum KnownProvisioningAction {
1537
+ /** Install guest agent. */
1538
+ Install = "install",
1539
+ /** Uninstall guest agent. */
1540
+ Uninstall = "uninstall",
1541
+ /** Repair guest agent. */
1542
+ Repair = "repair",
1543
+ }
1544
+
1545
+ /**
1546
+ * Defines values for ProvisioningAction. \
1547
+ * {@link KnownProvisioningAction} can be used interchangeably with ProvisioningAction,
1548
+ * this enum contains the known values that the service supports.
1549
+ * ### Known values supported by the service
1550
+ * **install**: Install guest agent. \
1551
+ * **uninstall**: Uninstall guest agent. \
1552
+ * **repair**: Repair guest agent.
1553
+ */
1554
+ export type ProvisioningAction = string;
1555
+
1556
+ /** Known values of {@link SkipShutdown} that the service accepts. */
1557
+ export enum KnownSkipShutdown {
1558
+ /** Enable skip shutdown. */
1559
+ True = "true",
1560
+ /** Disable skip shutdown. */
1561
+ False = "false",
1562
+ }
1563
+
1564
+ /**
1565
+ * Defines values for SkipShutdown. \
1566
+ * {@link KnownSkipShutdown} can be used interchangeably with SkipShutdown,
1567
+ * this enum contains the known values that the service supports.
1568
+ * ### Known values supported by the service
1569
+ * **true**: Enable skip shutdown. \
1570
+ * **false**: Disable skip shutdown.
1571
+ */
1572
+ export type SkipShutdown = string;
1573
+
1574
+ /** Known values of {@link Origin} that the service accepts. */
1575
+ export enum KnownOrigin {
1576
+ /** User */
1577
+ User = "user",
1578
+ /** System */
1579
+ System = "system",
1580
+ /** UserSystem */
1581
+ UserSystem = "user,system",
1582
+ }
1583
+
1584
+ /**
1585
+ * Defines values for Origin. \
1586
+ * {@link KnownOrigin} can be used interchangeably with Origin,
1587
+ * this enum contains the known values that the service supports.
1588
+ * ### Known values supported by the service
1589
+ * **user** \
1590
+ * **system** \
1591
+ * **user,system**
1592
+ */
1593
+ export type Origin = string;
1594
+
1595
+ /** Known values of {@link ActionType} that the service accepts. */
1596
+ export enum KnownActionType {
1597
+ /** Internal */
1598
+ Internal = "Internal",
1599
+ }
1600
+
1601
+ /**
1602
+ * Defines values for ActionType. \
1603
+ * {@link KnownActionType} can be used interchangeably with ActionType,
1604
+ * this enum contains the known values that the service supports.
1605
+ * ### Known values supported by the service
1606
+ * **Internal**
1607
+ */
1608
+ export type ActionType = string;
1609
+
1130
1610
  /** Known values of {@link IsCustomizable} that the service accepts. */
1131
1611
  export enum KnownIsCustomizable {
1132
- /** False */
1612
+ /** Enable customizable. */
1613
+ True = "true",
1614
+ /** Disable customizable. */
1133
1615
  False = "false",
1134
- /** True */
1135
- True = "true"
1136
1616
  }
1137
1617
 
1138
1618
  /**
@@ -1140,21 +1620,21 @@ export enum KnownIsCustomizable {
1140
1620
  * {@link KnownIsCustomizable} can be used interchangeably with IsCustomizable,
1141
1621
  * this enum contains the known values that the service supports.
1142
1622
  * ### Known values supported by the service
1143
- * **false** \
1144
- * **true**
1623
+ * **true**: Enable customizable. \
1624
+ * **false**: Disable customizable.
1145
1625
  */
1146
1626
  export type IsCustomizable = string;
1147
1627
 
1148
1628
  /** Known values of {@link InventoryType} that the service accepts. */
1149
1629
  export enum KnownInventoryType {
1150
- /** Cloud */
1630
+ /** Cloud inventory type */
1151
1631
  Cloud = "Cloud",
1152
- /** VirtualNetwork */
1632
+ /** VirtualNetwork inventory type */
1153
1633
  VirtualNetwork = "VirtualNetwork",
1154
- /** VirtualMachineTemplate */
1634
+ /** VirtualMachine inventory type */
1635
+ VirtualMachine = "VirtualMachine",
1636
+ /** VirtualMachineTemplate inventory type */
1155
1637
  VirtualMachineTemplate = "VirtualMachineTemplate",
1156
- /** VirtualMachine */
1157
- VirtualMachine = "VirtualMachine"
1158
1638
  }
1159
1639
 
1160
1640
  /**
@@ -1162,22 +1642,124 @@ export enum KnownInventoryType {
1162
1642
  * {@link KnownInventoryType} can be used interchangeably with InventoryType,
1163
1643
  * this enum contains the known values that the service supports.
1164
1644
  * ### Known values supported by the service
1165
- * **Cloud** \
1166
- * **VirtualNetwork** \
1167
- * **VirtualMachineTemplate** \
1168
- * **VirtualMachine**
1645
+ * **Cloud**: Cloud inventory type \
1646
+ * **VirtualNetwork**: VirtualNetwork inventory type \
1647
+ * **VirtualMachine**: VirtualMachine inventory type \
1648
+ * **VirtualMachineTemplate**: VirtualMachineTemplate inventory type
1169
1649
  */
1170
1650
  export type InventoryType = string;
1171
1651
 
1172
1652
  /** Optional parameters. */
1173
- export interface VmmServersGetOptionalParams
1653
+ export interface VirtualMachineInstancesListOptionalParams
1654
+ extends coreClient.OperationOptions {}
1655
+
1656
+ /** Contains response data for the list operation. */
1657
+ export type VirtualMachineInstancesListResponse =
1658
+ VirtualMachineInstanceListResult;
1659
+
1660
+ /** Optional parameters. */
1661
+ export interface VirtualMachineInstancesGetOptionalParams
1174
1662
  extends coreClient.OperationOptions {}
1175
1663
 
1176
1664
  /** Contains response data for the get operation. */
1177
- export type VmmServersGetResponse = VMMServer;
1665
+ export type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
1178
1666
 
1179
1667
  /** Optional parameters. */
1180
- export interface VmmServersCreateOrUpdateOptionalParams
1668
+ export interface VirtualMachineInstancesCreateOrUpdateOptionalParams
1669
+ extends coreClient.OperationOptions {
1670
+ /** Delay to wait until next poll, in milliseconds. */
1671
+ updateIntervalInMs?: number;
1672
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1673
+ resumeFrom?: string;
1674
+ }
1675
+
1676
+ /** Contains response data for the createOrUpdate operation. */
1677
+ export type VirtualMachineInstancesCreateOrUpdateResponse =
1678
+ VirtualMachineInstance;
1679
+
1680
+ /** Optional parameters. */
1681
+ export interface VirtualMachineInstancesUpdateOptionalParams
1682
+ extends coreClient.OperationOptions {
1683
+ /** Delay to wait until next poll, in milliseconds. */
1684
+ updateIntervalInMs?: number;
1685
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1686
+ resumeFrom?: string;
1687
+ }
1688
+
1689
+ /** Contains response data for the update operation. */
1690
+ export type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance;
1691
+
1692
+ /** Optional parameters. */
1693
+ export interface VirtualMachineInstancesDeleteOptionalParams
1694
+ extends coreClient.OperationOptions {
1695
+ /** Forces the resource to be deleted. */
1696
+ force?: ForceDelete;
1697
+ /** Whether to disable the VM from azure and also delete it from Vmm. */
1698
+ deleteFromHost?: DeleteFromHost;
1699
+ /** Delay to wait until next poll, in milliseconds. */
1700
+ updateIntervalInMs?: number;
1701
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1702
+ resumeFrom?: string;
1703
+ }
1704
+
1705
+ /** Contains response data for the delete operation. */
1706
+ export type VirtualMachineInstancesDeleteResponse =
1707
+ VirtualMachineInstancesDeleteHeaders;
1708
+
1709
+ /** Optional parameters. */
1710
+ export interface VirtualMachineInstancesCreateCheckpointOptionalParams
1711
+ extends coreClient.OperationOptions {
1712
+ /** Delay to wait until next poll, in milliseconds. */
1713
+ updateIntervalInMs?: number;
1714
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1715
+ resumeFrom?: string;
1716
+ }
1717
+
1718
+ /** Contains response data for the createCheckpoint operation. */
1719
+ export type VirtualMachineInstancesCreateCheckpointResponse =
1720
+ VirtualMachineInstancesCreateCheckpointHeaders;
1721
+
1722
+ /** Optional parameters. */
1723
+ export interface VirtualMachineInstancesDeleteCheckpointOptionalParams
1724
+ extends coreClient.OperationOptions {
1725
+ /** Delay to wait until next poll, in milliseconds. */
1726
+ updateIntervalInMs?: number;
1727
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1728
+ resumeFrom?: string;
1729
+ }
1730
+
1731
+ /** Contains response data for the deleteCheckpoint operation. */
1732
+ export type VirtualMachineInstancesDeleteCheckpointResponse =
1733
+ VirtualMachineInstancesDeleteCheckpointHeaders;
1734
+
1735
+ /** Optional parameters. */
1736
+ export interface VirtualMachineInstancesRestartOptionalParams
1737
+ extends coreClient.OperationOptions {
1738
+ /** Delay to wait until next poll, in milliseconds. */
1739
+ updateIntervalInMs?: number;
1740
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1741
+ resumeFrom?: string;
1742
+ }
1743
+
1744
+ /** Contains response data for the restart operation. */
1745
+ export type VirtualMachineInstancesRestartResponse =
1746
+ VirtualMachineInstancesRestartHeaders;
1747
+
1748
+ /** Optional parameters. */
1749
+ export interface VirtualMachineInstancesRestoreCheckpointOptionalParams
1750
+ extends coreClient.OperationOptions {
1751
+ /** Delay to wait until next poll, in milliseconds. */
1752
+ updateIntervalInMs?: number;
1753
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1754
+ resumeFrom?: string;
1755
+ }
1756
+
1757
+ /** Contains response data for the restoreCheckpoint operation. */
1758
+ export type VirtualMachineInstancesRestoreCheckpointResponse =
1759
+ VirtualMachineInstancesRestoreCheckpointHeaders;
1760
+
1761
+ /** Optional parameters. */
1762
+ export interface VirtualMachineInstancesStartOptionalParams
1181
1763
  extends coreClient.OperationOptions {
1182
1764
  /** Delay to wait until next poll, in milliseconds. */
1183
1765
  updateIntervalInMs?: number;
@@ -1185,22 +1767,48 @@ export interface VmmServersCreateOrUpdateOptionalParams
1185
1767
  resumeFrom?: string;
1186
1768
  }
1187
1769
 
1188
- /** Contains response data for the createOrUpdate operation. */
1189
- export type VmmServersCreateOrUpdateResponse = VMMServer;
1770
+ /** Contains response data for the start operation. */
1771
+ export type VirtualMachineInstancesStartResponse =
1772
+ VirtualMachineInstancesStartHeaders;
1773
+
1774
+ /** Optional parameters. */
1775
+ export interface VirtualMachineInstancesStopOptionalParams
1776
+ extends coreClient.OperationOptions {
1777
+ /** Delay to wait until next poll, in milliseconds. */
1778
+ updateIntervalInMs?: number;
1779
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1780
+ resumeFrom?: string;
1781
+ }
1782
+
1783
+ /** Contains response data for the stop operation. */
1784
+ export type VirtualMachineInstancesStopResponse =
1785
+ VirtualMachineInstancesStopHeaders;
1786
+
1787
+ /** Optional parameters. */
1788
+ export interface VirtualMachineInstancesListNextOptionalParams
1789
+ extends coreClient.OperationOptions {}
1790
+
1791
+ /** Contains response data for the listNext operation. */
1792
+ export type VirtualMachineInstancesListNextResponse =
1793
+ VirtualMachineInstanceListResult;
1794
+
1795
+ /** Optional parameters. */
1796
+ export interface GuestAgentsListByVirtualMachineInstanceOptionalParams
1797
+ extends coreClient.OperationOptions {}
1798
+
1799
+ /** Contains response data for the listByVirtualMachineInstance operation. */
1800
+ export type GuestAgentsListByVirtualMachineInstanceResponse =
1801
+ GuestAgentListResult;
1190
1802
 
1191
1803
  /** Optional parameters. */
1192
- export interface VmmServersDeleteOptionalParams
1193
- extends coreClient.OperationOptions {
1194
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1195
- force?: boolean;
1196
- /** Delay to wait until next poll, in milliseconds. */
1197
- updateIntervalInMs?: number;
1198
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1199
- resumeFrom?: string;
1200
- }
1804
+ export interface GuestAgentsGetOptionalParams
1805
+ extends coreClient.OperationOptions {}
1806
+
1807
+ /** Contains response data for the get operation. */
1808
+ export type GuestAgentsGetResponse = GuestAgent;
1201
1809
 
1202
1810
  /** Optional parameters. */
1203
- export interface VmmServersUpdateOptionalParams
1811
+ export interface GuestAgentsCreateOptionalParams
1204
1812
  extends coreClient.OperationOptions {
1205
1813
  /** Delay to wait until next poll, in milliseconds. */
1206
1814
  updateIntervalInMs?: number;
@@ -1208,59 +1816,84 @@ export interface VmmServersUpdateOptionalParams
1208
1816
  resumeFrom?: string;
1209
1817
  }
1210
1818
 
1211
- /** Contains response data for the update operation. */
1212
- export type VmmServersUpdateResponse = VMMServer;
1819
+ /** Contains response data for the create operation. */
1820
+ export type GuestAgentsCreateResponse = GuestAgent;
1213
1821
 
1214
1822
  /** Optional parameters. */
1215
- export interface VmmServersListByResourceGroupOptionalParams
1823
+ export interface GuestAgentsDeleteOptionalParams
1216
1824
  extends coreClient.OperationOptions {}
1217
1825
 
1218
- /** Contains response data for the listByResourceGroup operation. */
1219
- export type VmmServersListByResourceGroupResponse = VMMServerListResult;
1826
+ /** Optional parameters. */
1827
+ export interface GuestAgentsListByVirtualMachineInstanceNextOptionalParams
1828
+ extends coreClient.OperationOptions {}
1829
+
1830
+ /** Contains response data for the listByVirtualMachineInstanceNext operation. */
1831
+ export type GuestAgentsListByVirtualMachineInstanceNextResponse =
1832
+ GuestAgentListResult;
1220
1833
 
1221
1834
  /** Optional parameters. */
1222
- export interface VmmServersListBySubscriptionOptionalParams
1835
+ export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams
1223
1836
  extends coreClient.OperationOptions {}
1224
1837
 
1225
- /** Contains response data for the listBySubscription operation. */
1226
- export type VmmServersListBySubscriptionResponse = VMMServerListResult;
1838
+ /** Contains response data for the listByVirtualMachineInstance operation. */
1839
+ export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse =
1840
+ VmInstanceHybridIdentityMetadataListResult;
1227
1841
 
1228
1842
  /** Optional parameters. */
1229
- export interface VmmServersListByResourceGroupNextOptionalParams
1843
+ export interface VmInstanceHybridIdentityMetadatasGetOptionalParams
1230
1844
  extends coreClient.OperationOptions {}
1231
1845
 
1232
- /** Contains response data for the listByResourceGroupNext operation. */
1233
- export type VmmServersListByResourceGroupNextResponse = VMMServerListResult;
1846
+ /** Contains response data for the get operation. */
1847
+ export type VmInstanceHybridIdentityMetadatasGetResponse =
1848
+ VmInstanceHybridIdentityMetadata;
1234
1849
 
1235
1850
  /** Optional parameters. */
1236
- export interface VmmServersListBySubscriptionNextOptionalParams
1851
+ export interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams
1237
1852
  extends coreClient.OperationOptions {}
1238
1853
 
1239
- /** Contains response data for the listBySubscriptionNext operation. */
1240
- export type VmmServersListBySubscriptionNextResponse = VMMServerListResult;
1854
+ /** Contains response data for the listByVirtualMachineInstanceNext operation. */
1855
+ export type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextResponse =
1856
+ VmInstanceHybridIdentityMetadataListResult;
1241
1857
 
1242
1858
  /** Optional parameters. */
1243
1859
  export interface OperationsListOptionalParams
1244
1860
  extends coreClient.OperationOptions {}
1245
1861
 
1246
1862
  /** Contains response data for the list operation. */
1247
- export type OperationsListResponse = ResourceProviderOperationList;
1863
+ export type OperationsListResponse = OperationListResult;
1248
1864
 
1249
1865
  /** Optional parameters. */
1250
1866
  export interface OperationsListNextOptionalParams
1251
1867
  extends coreClient.OperationOptions {}
1252
1868
 
1253
1869
  /** Contains response data for the listNext operation. */
1254
- export type OperationsListNextResponse = ResourceProviderOperationList;
1870
+ export type OperationsListNextResponse = OperationListResult;
1255
1871
 
1256
1872
  /** Optional parameters. */
1257
- export interface CloudsGetOptionalParams extends coreClient.OperationOptions {}
1873
+ export interface AvailabilitySetsListBySubscriptionOptionalParams
1874
+ extends coreClient.OperationOptions {}
1875
+
1876
+ /** Contains response data for the listBySubscription operation. */
1877
+ export type AvailabilitySetsListBySubscriptionResponse =
1878
+ AvailabilitySetListResult;
1879
+
1880
+ /** Optional parameters. */
1881
+ export interface AvailabilitySetsListByResourceGroupOptionalParams
1882
+ extends coreClient.OperationOptions {}
1883
+
1884
+ /** Contains response data for the listByResourceGroup operation. */
1885
+ export type AvailabilitySetsListByResourceGroupResponse =
1886
+ AvailabilitySetListResult;
1887
+
1888
+ /** Optional parameters. */
1889
+ export interface AvailabilitySetsGetOptionalParams
1890
+ extends coreClient.OperationOptions {}
1258
1891
 
1259
1892
  /** Contains response data for the get operation. */
1260
- export type CloudsGetResponse = Cloud;
1893
+ export type AvailabilitySetsGetResponse = AvailabilitySet;
1261
1894
 
1262
1895
  /** Optional parameters. */
1263
- export interface CloudsCreateOrUpdateOptionalParams
1896
+ export interface AvailabilitySetsCreateOrUpdateOptionalParams
1264
1897
  extends coreClient.OperationOptions {
1265
1898
  /** Delay to wait until next poll, in milliseconds. */
1266
1899
  updateIntervalInMs?: number;
@@ -1269,68 +1902,72 @@ export interface CloudsCreateOrUpdateOptionalParams
1269
1902
  }
1270
1903
 
1271
1904
  /** Contains response data for the createOrUpdate operation. */
1272
- export type CloudsCreateOrUpdateResponse = Cloud;
1905
+ export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet;
1273
1906
 
1274
1907
  /** Optional parameters. */
1275
- export interface CloudsDeleteOptionalParams
1908
+ export interface AvailabilitySetsUpdateOptionalParams
1276
1909
  extends coreClient.OperationOptions {
1277
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1278
- force?: boolean;
1279
1910
  /** Delay to wait until next poll, in milliseconds. */
1280
1911
  updateIntervalInMs?: number;
1281
1912
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1282
1913
  resumeFrom?: string;
1283
1914
  }
1284
1915
 
1916
+ /** Contains response data for the update operation. */
1917
+ export type AvailabilitySetsUpdateResponse = AvailabilitySet;
1918
+
1285
1919
  /** Optional parameters. */
1286
- export interface CloudsUpdateOptionalParams
1920
+ export interface AvailabilitySetsDeleteOptionalParams
1287
1921
  extends coreClient.OperationOptions {
1922
+ /** Forces the resource to be deleted. */
1923
+ force?: ForceDelete;
1288
1924
  /** Delay to wait until next poll, in milliseconds. */
1289
1925
  updateIntervalInMs?: number;
1290
1926
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1291
1927
  resumeFrom?: string;
1292
1928
  }
1293
1929
 
1294
- /** Contains response data for the update operation. */
1295
- export type CloudsUpdateResponse = Cloud;
1930
+ /** Contains response data for the delete operation. */
1931
+ export type AvailabilitySetsDeleteResponse = AvailabilitySetsDeleteHeaders;
1296
1932
 
1297
1933
  /** Optional parameters. */
1298
- export interface CloudsListByResourceGroupOptionalParams
1934
+ export interface AvailabilitySetsListBySubscriptionNextOptionalParams
1299
1935
  extends coreClient.OperationOptions {}
1300
1936
 
1301
- /** Contains response data for the listByResourceGroup operation. */
1302
- export type CloudsListByResourceGroupResponse = CloudListResult;
1937
+ /** Contains response data for the listBySubscriptionNext operation. */
1938
+ export type AvailabilitySetsListBySubscriptionNextResponse =
1939
+ AvailabilitySetListResult;
1303
1940
 
1304
1941
  /** Optional parameters. */
1305
- export interface CloudsListBySubscriptionOptionalParams
1942
+ export interface AvailabilitySetsListByResourceGroupNextOptionalParams
1306
1943
  extends coreClient.OperationOptions {}
1307
1944
 
1308
- /** Contains response data for the listBySubscription operation. */
1309
- export type CloudsListBySubscriptionResponse = CloudListResult;
1945
+ /** Contains response data for the listByResourceGroupNext operation. */
1946
+ export type AvailabilitySetsListByResourceGroupNextResponse =
1947
+ AvailabilitySetListResult;
1310
1948
 
1311
1949
  /** Optional parameters. */
1312
- export interface CloudsListByResourceGroupNextOptionalParams
1950
+ export interface CloudsListBySubscriptionOptionalParams
1313
1951
  extends coreClient.OperationOptions {}
1314
1952
 
1315
- /** Contains response data for the listByResourceGroupNext operation. */
1316
- export type CloudsListByResourceGroupNextResponse = CloudListResult;
1953
+ /** Contains response data for the listBySubscription operation. */
1954
+ export type CloudsListBySubscriptionResponse = CloudListResult;
1317
1955
 
1318
1956
  /** Optional parameters. */
1319
- export interface CloudsListBySubscriptionNextOptionalParams
1957
+ export interface CloudsListByResourceGroupOptionalParams
1320
1958
  extends coreClient.OperationOptions {}
1321
1959
 
1322
- /** Contains response data for the listBySubscriptionNext operation. */
1323
- export type CloudsListBySubscriptionNextResponse = CloudListResult;
1960
+ /** Contains response data for the listByResourceGroup operation. */
1961
+ export type CloudsListByResourceGroupResponse = CloudListResult;
1324
1962
 
1325
1963
  /** Optional parameters. */
1326
- export interface VirtualNetworksGetOptionalParams
1327
- extends coreClient.OperationOptions {}
1964
+ export interface CloudsGetOptionalParams extends coreClient.OperationOptions {}
1328
1965
 
1329
1966
  /** Contains response data for the get operation. */
1330
- export type VirtualNetworksGetResponse = VirtualNetwork;
1967
+ export type CloudsGetResponse = Cloud;
1331
1968
 
1332
1969
  /** Optional parameters. */
1333
- export interface VirtualNetworksCreateOrUpdateOptionalParams
1970
+ export interface CloudsCreateOrUpdateOptionalParams
1334
1971
  extends coreClient.OperationOptions {
1335
1972
  /** Delay to wait until next poll, in milliseconds. */
1336
1973
  updateIntervalInMs?: number;
@@ -1339,68 +1976,73 @@ export interface VirtualNetworksCreateOrUpdateOptionalParams
1339
1976
  }
1340
1977
 
1341
1978
  /** Contains response data for the createOrUpdate operation. */
1342
- export type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork;
1979
+ export type CloudsCreateOrUpdateResponse = Cloud;
1343
1980
 
1344
1981
  /** Optional parameters. */
1345
- export interface VirtualNetworksDeleteOptionalParams
1982
+ export interface CloudsUpdateOptionalParams
1346
1983
  extends coreClient.OperationOptions {
1347
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1348
- force?: boolean;
1349
1984
  /** Delay to wait until next poll, in milliseconds. */
1350
1985
  updateIntervalInMs?: number;
1351
1986
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1352
1987
  resumeFrom?: string;
1353
1988
  }
1354
1989
 
1990
+ /** Contains response data for the update operation. */
1991
+ export type CloudsUpdateResponse = Cloud;
1992
+
1355
1993
  /** Optional parameters. */
1356
- export interface VirtualNetworksUpdateOptionalParams
1994
+ export interface CloudsDeleteOptionalParams
1357
1995
  extends coreClient.OperationOptions {
1996
+ /** Forces the resource to be deleted. */
1997
+ force?: ForceDelete;
1358
1998
  /** Delay to wait until next poll, in milliseconds. */
1359
1999
  updateIntervalInMs?: number;
1360
2000
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1361
2001
  resumeFrom?: string;
1362
2002
  }
1363
2003
 
1364
- /** Contains response data for the update operation. */
1365
- export type VirtualNetworksUpdateResponse = VirtualNetwork;
2004
+ /** Contains response data for the delete operation. */
2005
+ export type CloudsDeleteResponse = CloudsDeleteHeaders;
1366
2006
 
1367
2007
  /** Optional parameters. */
1368
- export interface VirtualNetworksListByResourceGroupOptionalParams
2008
+ export interface CloudsListBySubscriptionNextOptionalParams
1369
2009
  extends coreClient.OperationOptions {}
1370
2010
 
1371
- /** Contains response data for the listByResourceGroup operation. */
1372
- export type VirtualNetworksListByResourceGroupResponse = VirtualNetworkListResult;
2011
+ /** Contains response data for the listBySubscriptionNext operation. */
2012
+ export type CloudsListBySubscriptionNextResponse = CloudListResult;
1373
2013
 
1374
2014
  /** Optional parameters. */
1375
- export interface VirtualNetworksListBySubscriptionOptionalParams
2015
+ export interface CloudsListByResourceGroupNextOptionalParams
1376
2016
  extends coreClient.OperationOptions {}
1377
2017
 
1378
- /** Contains response data for the listBySubscription operation. */
1379
- export type VirtualNetworksListBySubscriptionResponse = VirtualNetworkListResult;
2018
+ /** Contains response data for the listByResourceGroupNext operation. */
2019
+ export type CloudsListByResourceGroupNextResponse = CloudListResult;
1380
2020
 
1381
2021
  /** Optional parameters. */
1382
- export interface VirtualNetworksListByResourceGroupNextOptionalParams
2022
+ export interface VirtualMachineTemplatesListBySubscriptionOptionalParams
1383
2023
  extends coreClient.OperationOptions {}
1384
2024
 
1385
- /** Contains response data for the listByResourceGroupNext operation. */
1386
- export type VirtualNetworksListByResourceGroupNextResponse = VirtualNetworkListResult;
2025
+ /** Contains response data for the listBySubscription operation. */
2026
+ export type VirtualMachineTemplatesListBySubscriptionResponse =
2027
+ VirtualMachineTemplateListResult;
1387
2028
 
1388
2029
  /** Optional parameters. */
1389
- export interface VirtualNetworksListBySubscriptionNextOptionalParams
2030
+ export interface VirtualMachineTemplatesListByResourceGroupOptionalParams
1390
2031
  extends coreClient.OperationOptions {}
1391
2032
 
1392
- /** Contains response data for the listBySubscriptionNext operation. */
1393
- export type VirtualNetworksListBySubscriptionNextResponse = VirtualNetworkListResult;
2033
+ /** Contains response data for the listByResourceGroup operation. */
2034
+ export type VirtualMachineTemplatesListByResourceGroupResponse =
2035
+ VirtualMachineTemplateListResult;
1394
2036
 
1395
2037
  /** Optional parameters. */
1396
- export interface VirtualMachinesGetOptionalParams
2038
+ export interface VirtualMachineTemplatesGetOptionalParams
1397
2039
  extends coreClient.OperationOptions {}
1398
2040
 
1399
2041
  /** Contains response data for the get operation. */
1400
- export type VirtualMachinesGetResponse = VirtualMachine;
2042
+ export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
1401
2043
 
1402
2044
  /** Optional parameters. */
1403
- export interface VirtualMachinesCreateOrUpdateOptionalParams
2045
+ export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams
1404
2046
  extends coreClient.OperationOptions {
1405
2047
  /** Delay to wait until next poll, in milliseconds. */
1406
2048
  updateIntervalInMs?: number;
@@ -1409,23 +2051,11 @@ export interface VirtualMachinesCreateOrUpdateOptionalParams
1409
2051
  }
1410
2052
 
1411
2053
  /** Contains response data for the createOrUpdate operation. */
1412
- export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine;
1413
-
1414
- /** Optional parameters. */
1415
- export interface VirtualMachinesDeleteOptionalParams
1416
- extends coreClient.OperationOptions {
1417
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1418
- force?: boolean;
1419
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
1420
- retain?: boolean;
1421
- /** Delay to wait until next poll, in milliseconds. */
1422
- updateIntervalInMs?: number;
1423
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1424
- resumeFrom?: string;
1425
- }
2054
+ export type VirtualMachineTemplatesCreateOrUpdateResponse =
2055
+ VirtualMachineTemplate;
1426
2056
 
1427
2057
  /** Optional parameters. */
1428
- export interface VirtualMachinesUpdateOptionalParams
2058
+ export interface VirtualMachineTemplatesUpdateOptionalParams
1429
2059
  extends coreClient.OperationOptions {
1430
2060
  /** Delay to wait until next poll, in milliseconds. */
1431
2061
  updateIntervalInMs?: number;
@@ -1434,107 +2064,64 @@ export interface VirtualMachinesUpdateOptionalParams
1434
2064
  }
1435
2065
 
1436
2066
  /** Contains response data for the update operation. */
1437
- export type VirtualMachinesUpdateResponse = VirtualMachine;
1438
-
1439
- /** Optional parameters. */
1440
- export interface VirtualMachinesStopOptionalParams
1441
- extends coreClient.OperationOptions {
1442
- /** Virtualmachine stop action payload. */
1443
- body?: StopVirtualMachineOptions;
1444
- /** Delay to wait until next poll, in milliseconds. */
1445
- updateIntervalInMs?: number;
1446
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1447
- resumeFrom?: string;
1448
- }
1449
-
1450
- /** Optional parameters. */
1451
- export interface VirtualMachinesStartOptionalParams
1452
- extends coreClient.OperationOptions {
1453
- /** Delay to wait until next poll, in milliseconds. */
1454
- updateIntervalInMs?: number;
1455
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1456
- resumeFrom?: string;
1457
- }
1458
-
1459
- /** Optional parameters. */
1460
- export interface VirtualMachinesRestartOptionalParams
1461
- extends coreClient.OperationOptions {
1462
- /** Delay to wait until next poll, in milliseconds. */
1463
- updateIntervalInMs?: number;
1464
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1465
- resumeFrom?: string;
1466
- }
1467
-
1468
- /** Optional parameters. */
1469
- export interface VirtualMachinesCreateCheckpointOptionalParams
1470
- extends coreClient.OperationOptions {
1471
- /** Virtualmachine create checkpoint action payload. */
1472
- body?: VirtualMachineCreateCheckpoint;
1473
- /** Delay to wait until next poll, in milliseconds. */
1474
- updateIntervalInMs?: number;
1475
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1476
- resumeFrom?: string;
1477
- }
2067
+ export type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
1478
2068
 
1479
2069
  /** Optional parameters. */
1480
- export interface VirtualMachinesDeleteCheckpointOptionalParams
2070
+ export interface VirtualMachineTemplatesDeleteOptionalParams
1481
2071
  extends coreClient.OperationOptions {
1482
- /** Virtualmachine delete checkpoint action payload. */
1483
- body?: VirtualMachineDeleteCheckpoint;
2072
+ /** Forces the resource to be deleted. */
2073
+ force?: ForceDelete;
1484
2074
  /** Delay to wait until next poll, in milliseconds. */
1485
2075
  updateIntervalInMs?: number;
1486
2076
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1487
2077
  resumeFrom?: string;
1488
2078
  }
1489
2079
 
1490
- /** Optional parameters. */
1491
- export interface VirtualMachinesRestoreCheckpointOptionalParams
1492
- extends coreClient.OperationOptions {
1493
- /** Virtualmachine restore checkpoint action payload. */
1494
- body?: VirtualMachineRestoreCheckpoint;
1495
- /** Delay to wait until next poll, in milliseconds. */
1496
- updateIntervalInMs?: number;
1497
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1498
- resumeFrom?: string;
1499
- }
2080
+ /** Contains response data for the delete operation. */
2081
+ export type VirtualMachineTemplatesDeleteResponse =
2082
+ VirtualMachineTemplatesDeleteHeaders;
1500
2083
 
1501
2084
  /** Optional parameters. */
1502
- export interface VirtualMachinesListByResourceGroupOptionalParams
2085
+ export interface VirtualMachineTemplatesListBySubscriptionNextOptionalParams
1503
2086
  extends coreClient.OperationOptions {}
1504
2087
 
1505
- /** Contains response data for the listByResourceGroup operation. */
1506
- export type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResult;
2088
+ /** Contains response data for the listBySubscriptionNext operation. */
2089
+ export type VirtualMachineTemplatesListBySubscriptionNextResponse =
2090
+ VirtualMachineTemplateListResult;
1507
2091
 
1508
2092
  /** Optional parameters. */
1509
- export interface VirtualMachinesListBySubscriptionOptionalParams
2093
+ export interface VirtualMachineTemplatesListByResourceGroupNextOptionalParams
1510
2094
  extends coreClient.OperationOptions {}
1511
2095
 
1512
- /** Contains response data for the listBySubscription operation. */
1513
- export type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResult;
2096
+ /** Contains response data for the listByResourceGroupNext operation. */
2097
+ export type VirtualMachineTemplatesListByResourceGroupNextResponse =
2098
+ VirtualMachineTemplateListResult;
1514
2099
 
1515
2100
  /** Optional parameters. */
1516
- export interface VirtualMachinesListByResourceGroupNextOptionalParams
2101
+ export interface VirtualNetworksListBySubscriptionOptionalParams
1517
2102
  extends coreClient.OperationOptions {}
1518
2103
 
1519
- /** Contains response data for the listByResourceGroupNext operation. */
1520
- export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResult;
2104
+ /** Contains response data for the listBySubscription operation. */
2105
+ export type VirtualNetworksListBySubscriptionResponse =
2106
+ VirtualNetworkListResult;
1521
2107
 
1522
2108
  /** Optional parameters. */
1523
- export interface VirtualMachinesListBySubscriptionNextOptionalParams
2109
+ export interface VirtualNetworksListByResourceGroupOptionalParams
1524
2110
  extends coreClient.OperationOptions {}
1525
2111
 
1526
- /** Contains response data for the listBySubscriptionNext operation. */
1527
- export type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResult;
2112
+ /** Contains response data for the listByResourceGroup operation. */
2113
+ export type VirtualNetworksListByResourceGroupResponse =
2114
+ VirtualNetworkListResult;
1528
2115
 
1529
2116
  /** Optional parameters. */
1530
- export interface VirtualMachineTemplatesGetOptionalParams
2117
+ export interface VirtualNetworksGetOptionalParams
1531
2118
  extends coreClient.OperationOptions {}
1532
2119
 
1533
2120
  /** Contains response data for the get operation. */
1534
- export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
2121
+ export type VirtualNetworksGetResponse = VirtualNetwork;
1535
2122
 
1536
2123
  /** Optional parameters. */
1537
- export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams
2124
+ export interface VirtualNetworksCreateOrUpdateOptionalParams
1538
2125
  extends coreClient.OperationOptions {
1539
2126
  /** Delay to wait until next poll, in milliseconds. */
1540
2127
  updateIntervalInMs?: number;
@@ -1543,68 +2130,73 @@ export interface VirtualMachineTemplatesCreateOrUpdateOptionalParams
1543
2130
  }
1544
2131
 
1545
2132
  /** Contains response data for the createOrUpdate operation. */
1546
- export type VirtualMachineTemplatesCreateOrUpdateResponse = VirtualMachineTemplate;
2133
+ export type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork;
1547
2134
 
1548
2135
  /** Optional parameters. */
1549
- export interface VirtualMachineTemplatesDeleteOptionalParams
2136
+ export interface VirtualNetworksUpdateOptionalParams
1550
2137
  extends coreClient.OperationOptions {
1551
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1552
- force?: boolean;
1553
2138
  /** Delay to wait until next poll, in milliseconds. */
1554
2139
  updateIntervalInMs?: number;
1555
2140
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1556
2141
  resumeFrom?: string;
1557
2142
  }
1558
2143
 
2144
+ /** Contains response data for the update operation. */
2145
+ export type VirtualNetworksUpdateResponse = VirtualNetwork;
2146
+
1559
2147
  /** Optional parameters. */
1560
- export interface VirtualMachineTemplatesUpdateOptionalParams
2148
+ export interface VirtualNetworksDeleteOptionalParams
1561
2149
  extends coreClient.OperationOptions {
2150
+ /** Forces the resource to be deleted. */
2151
+ force?: ForceDelete;
1562
2152
  /** Delay to wait until next poll, in milliseconds. */
1563
2153
  updateIntervalInMs?: number;
1564
2154
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1565
2155
  resumeFrom?: string;
1566
2156
  }
1567
2157
 
1568
- /** Contains response data for the update operation. */
1569
- export type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
2158
+ /** Contains response data for the delete operation. */
2159
+ export type VirtualNetworksDeleteResponse = VirtualNetworksDeleteHeaders;
1570
2160
 
1571
2161
  /** Optional parameters. */
1572
- export interface VirtualMachineTemplatesListByResourceGroupOptionalParams
2162
+ export interface VirtualNetworksListBySubscriptionNextOptionalParams
1573
2163
  extends coreClient.OperationOptions {}
1574
2164
 
1575
- /** Contains response data for the listByResourceGroup operation. */
1576
- export type VirtualMachineTemplatesListByResourceGroupResponse = VirtualMachineTemplateListResult;
2165
+ /** Contains response data for the listBySubscriptionNext operation. */
2166
+ export type VirtualNetworksListBySubscriptionNextResponse =
2167
+ VirtualNetworkListResult;
1577
2168
 
1578
2169
  /** Optional parameters. */
1579
- export interface VirtualMachineTemplatesListBySubscriptionOptionalParams
2170
+ export interface VirtualNetworksListByResourceGroupNextOptionalParams
1580
2171
  extends coreClient.OperationOptions {}
1581
2172
 
1582
- /** Contains response data for the listBySubscription operation. */
1583
- export type VirtualMachineTemplatesListBySubscriptionResponse = VirtualMachineTemplateListResult;
2173
+ /** Contains response data for the listByResourceGroupNext operation. */
2174
+ export type VirtualNetworksListByResourceGroupNextResponse =
2175
+ VirtualNetworkListResult;
1584
2176
 
1585
2177
  /** Optional parameters. */
1586
- export interface VirtualMachineTemplatesListByResourceGroupNextOptionalParams
2178
+ export interface VmmServersListBySubscriptionOptionalParams
1587
2179
  extends coreClient.OperationOptions {}
1588
2180
 
1589
- /** Contains response data for the listByResourceGroupNext operation. */
1590
- export type VirtualMachineTemplatesListByResourceGroupNextResponse = VirtualMachineTemplateListResult;
2181
+ /** Contains response data for the listBySubscription operation. */
2182
+ export type VmmServersListBySubscriptionResponse = VmmServerListResult;
1591
2183
 
1592
2184
  /** Optional parameters. */
1593
- export interface VirtualMachineTemplatesListBySubscriptionNextOptionalParams
2185
+ export interface VmmServersListByResourceGroupOptionalParams
1594
2186
  extends coreClient.OperationOptions {}
1595
2187
 
1596
- /** Contains response data for the listBySubscriptionNext operation. */
1597
- export type VirtualMachineTemplatesListBySubscriptionNextResponse = VirtualMachineTemplateListResult;
2188
+ /** Contains response data for the listByResourceGroup operation. */
2189
+ export type VmmServersListByResourceGroupResponse = VmmServerListResult;
1598
2190
 
1599
2191
  /** Optional parameters. */
1600
- export interface AvailabilitySetsGetOptionalParams
2192
+ export interface VmmServersGetOptionalParams
1601
2193
  extends coreClient.OperationOptions {}
1602
2194
 
1603
2195
  /** Contains response data for the get operation. */
1604
- export type AvailabilitySetsGetResponse = AvailabilitySet;
2196
+ export type VmmServersGetResponse = VmmServer;
1605
2197
 
1606
2198
  /** Optional parameters. */
1607
- export interface AvailabilitySetsCreateOrUpdateOptionalParams
2199
+ export interface VmmServersCreateOrUpdateOptionalParams
1608
2200
  extends coreClient.OperationOptions {
1609
2201
  /** Delay to wait until next poll, in milliseconds. */
1610
2202
  updateIntervalInMs?: number;
@@ -1613,68 +2205,54 @@ export interface AvailabilitySetsCreateOrUpdateOptionalParams
1613
2205
  }
1614
2206
 
1615
2207
  /** Contains response data for the createOrUpdate operation. */
1616
- export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet;
2208
+ export type VmmServersCreateOrUpdateResponse = VmmServer;
1617
2209
 
1618
2210
  /** Optional parameters. */
1619
- export interface AvailabilitySetsDeleteOptionalParams
2211
+ export interface VmmServersUpdateOptionalParams
1620
2212
  extends coreClient.OperationOptions {
1621
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1622
- force?: boolean;
1623
2213
  /** Delay to wait until next poll, in milliseconds. */
1624
2214
  updateIntervalInMs?: number;
1625
2215
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1626
2216
  resumeFrom?: string;
1627
2217
  }
1628
2218
 
2219
+ /** Contains response data for the update operation. */
2220
+ export type VmmServersUpdateResponse = VmmServer;
2221
+
1629
2222
  /** Optional parameters. */
1630
- export interface AvailabilitySetsUpdateOptionalParams
2223
+ export interface VmmServersDeleteOptionalParams
1631
2224
  extends coreClient.OperationOptions {
2225
+ /** Forces the resource to be deleted. */
2226
+ force?: ForceDelete;
1632
2227
  /** Delay to wait until next poll, in milliseconds. */
1633
2228
  updateIntervalInMs?: number;
1634
2229
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1635
2230
  resumeFrom?: string;
1636
2231
  }
1637
2232
 
1638
- /** Contains response data for the update operation. */
1639
- export type AvailabilitySetsUpdateResponse = AvailabilitySet;
1640
-
1641
- /** Optional parameters. */
1642
- export interface AvailabilitySetsListByResourceGroupOptionalParams
1643
- extends coreClient.OperationOptions {}
1644
-
1645
- /** Contains response data for the listByResourceGroup operation. */
1646
- export type AvailabilitySetsListByResourceGroupResponse = AvailabilitySetListResult;
2233
+ /** Contains response data for the delete operation. */
2234
+ export type VmmServersDeleteResponse = VmmServersDeleteHeaders;
1647
2235
 
1648
2236
  /** Optional parameters. */
1649
- export interface AvailabilitySetsListBySubscriptionOptionalParams
2237
+ export interface VmmServersListBySubscriptionNextOptionalParams
1650
2238
  extends coreClient.OperationOptions {}
1651
2239
 
1652
- /** Contains response data for the listBySubscription operation. */
1653
- export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult;
2240
+ /** Contains response data for the listBySubscriptionNext operation. */
2241
+ export type VmmServersListBySubscriptionNextResponse = VmmServerListResult;
1654
2242
 
1655
2243
  /** Optional parameters. */
1656
- export interface AvailabilitySetsListByResourceGroupNextOptionalParams
2244
+ export interface VmmServersListByResourceGroupNextOptionalParams
1657
2245
  extends coreClient.OperationOptions {}
1658
2246
 
1659
2247
  /** Contains response data for the listByResourceGroupNext operation. */
1660
- export type AvailabilitySetsListByResourceGroupNextResponse = AvailabilitySetListResult;
2248
+ export type VmmServersListByResourceGroupNextResponse = VmmServerListResult;
1661
2249
 
1662
2250
  /** Optional parameters. */
1663
- export interface AvailabilitySetsListBySubscriptionNextOptionalParams
2251
+ export interface InventoryItemsListByVmmServerOptionalParams
1664
2252
  extends coreClient.OperationOptions {}
1665
2253
 
1666
- /** Contains response data for the listBySubscriptionNext operation. */
1667
- export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult;
1668
-
1669
- /** Optional parameters. */
1670
- export interface InventoryItemsCreateOptionalParams
1671
- extends coreClient.OperationOptions {
1672
- /** Request payload. */
1673
- body?: InventoryItem;
1674
- }
1675
-
1676
- /** Contains response data for the create operation. */
1677
- export type InventoryItemsCreateResponse = InventoryItem;
2254
+ /** Contains response data for the listByVmmServer operation. */
2255
+ export type InventoryItemsListByVmmServerResponse = InventoryItemListResult;
1678
2256
 
1679
2257
  /** Optional parameters. */
1680
2258
  export interface InventoryItemsGetOptionalParams
@@ -1684,25 +2262,25 @@ export interface InventoryItemsGetOptionalParams
1684
2262
  export type InventoryItemsGetResponse = InventoryItem;
1685
2263
 
1686
2264
  /** Optional parameters. */
1687
- export interface InventoryItemsDeleteOptionalParams
2265
+ export interface InventoryItemsCreateOptionalParams
1688
2266
  extends coreClient.OperationOptions {}
1689
2267
 
2268
+ /** Contains response data for the create operation. */
2269
+ export type InventoryItemsCreateResponse = InventoryItem;
2270
+
1690
2271
  /** Optional parameters. */
1691
- export interface InventoryItemsListByVMMServerOptionalParams
2272
+ export interface InventoryItemsDeleteOptionalParams
1692
2273
  extends coreClient.OperationOptions {}
1693
2274
 
1694
- /** Contains response data for the listByVMMServer operation. */
1695
- export type InventoryItemsListByVMMServerResponse = InventoryItemsList;
1696
-
1697
2275
  /** Optional parameters. */
1698
- export interface InventoryItemsListByVMMServerNextOptionalParams
2276
+ export interface InventoryItemsListByVmmServerNextOptionalParams
1699
2277
  extends coreClient.OperationOptions {}
1700
2278
 
1701
- /** Contains response data for the listByVMMServerNext operation. */
1702
- export type InventoryItemsListByVMMServerNextResponse = InventoryItemsList;
2279
+ /** Contains response data for the listByVmmServerNext operation. */
2280
+ export type InventoryItemsListByVmmServerNextResponse = InventoryItemListResult;
1703
2281
 
1704
2282
  /** Optional parameters. */
1705
- export interface ScvmmOptionalParams extends coreClient.ServiceClientOptions {
2283
+ export interface ScVmmOptionalParams extends coreClient.ServiceClientOptions {
1706
2284
  /** server parameter */
1707
2285
  $host?: string;
1708
2286
  /** Api Version */