@azure/arm-connectedvmware 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 (382) hide show
  1. package/CHANGELOG.md +2 -9
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +2869 -4363
  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/clustersCreateSample.js +1 -1
  9. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/clustersGetSample.js +1 -1
  11. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +7 -5
  12. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  13. package/dist-esm/samples-dev/clustersListSample.js +7 -5
  14. package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/clustersUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/datastoresCreateSample.js +1 -1
  17. package/dist-esm/samples-dev/datastoresDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/datastoresGetSample.js +1 -1
  19. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js +7 -5
  20. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js.map +1 -1
  21. package/dist-esm/samples-dev/datastoresListSample.js +7 -5
  22. package/dist-esm/samples-dev/datastoresListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/datastoresUpdateSample.js +1 -1
  24. package/dist-esm/samples-dev/hostsCreateSample.js +1 -1
  25. package/dist-esm/samples-dev/hostsDeleteSample.js +1 -1
  26. package/dist-esm/samples-dev/hostsGetSample.js +1 -1
  27. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js +7 -5
  28. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js.map +1 -1
  29. package/dist-esm/samples-dev/hostsListSample.js +7 -5
  30. package/dist-esm/samples-dev/hostsListSample.js.map +1 -1
  31. package/dist-esm/samples-dev/hostsUpdateSample.js +1 -1
  32. package/dist-esm/samples-dev/inventoryItemsCreateSample.js +1 -1
  33. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +1 -1
  34. package/dist-esm/samples-dev/inventoryItemsGetSample.js +1 -1
  35. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js +7 -5
  36. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js.map +1 -1
  37. package/dist-esm/samples-dev/operationsListSample.js +7 -5
  38. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  39. package/dist-esm/samples-dev/resourcePoolsCreateSample.js +1 -1
  40. package/dist-esm/samples-dev/resourcePoolsDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/resourcePoolsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js +7 -5
  43. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/resourcePoolsListSample.js +7 -5
  45. package/dist-esm/samples-dev/resourcePoolsListSample.js.map +1 -1
  46. package/dist-esm/samples-dev/resourcePoolsUpdateSample.js +1 -1
  47. package/dist-esm/samples-dev/vCentersCreateSample.js +1 -1
  48. package/dist-esm/samples-dev/vCentersDeleteSample.js +1 -1
  49. package/dist-esm/samples-dev/vCentersGetSample.js +1 -1
  50. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js +7 -5
  51. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js.map +1 -1
  52. package/dist-esm/samples-dev/vCentersListSample.js +7 -5
  53. package/dist-esm/samples-dev/vCentersListSample.js.map +1 -1
  54. package/dist-esm/samples-dev/vCentersUpdateSample.js +1 -1
  55. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/{virtualMachinesCreateSample.js → virtualMachineInstancesCreateOrUpdateSample.js} +14 -14
  58. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/{virtualMachinesDeleteSample.js → virtualMachineInstancesDeleteSample.js} +7 -10
  62. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
  63. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/{virtualMachinesGetSample.js → virtualMachineInstancesGetSample.js} +7 -10
  66. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/{virtualMachinesListSample.js → virtualMachineInstancesListSample.js} +14 -13
  70. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
  71. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/{virtualMachinesRestartSample.js → virtualMachineInstancesRestartSample.js} +7 -10
  74. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
  75. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/{virtualMachinesStartSample.js → virtualMachineInstancesStartSample.js} +7 -10
  78. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
  79. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/{virtualMachinesStopSample.js → virtualMachineInstancesStopSample.js} +7 -10
  82. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
  83. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/{virtualMachinesUpdateSample.js → virtualMachineInstancesUpdateSample.js} +8 -11
  86. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
  87. package/dist-esm/samples-dev/virtualMachineTemplatesCreateSample.js +1 -1
  88. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +1 -1
  89. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +1 -1
  90. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +7 -5
  91. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  92. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js +7 -5
  93. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js.map +1 -1
  94. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +1 -1
  95. package/dist-esm/samples-dev/virtualNetworksCreateSample.js +1 -1
  96. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +1 -1
  97. package/dist-esm/samples-dev/virtualNetworksGetSample.js +1 -1
  98. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +7 -5
  99. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  100. package/dist-esm/samples-dev/virtualNetworksListSample.js +7 -5
  101. package/dist-esm/samples-dev/virtualNetworksListSample.js.map +1 -1
  102. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +1 -1
  103. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/{guestAgentsCreateSample.js → vmInstanceGuestAgentsCreateSample.js} +6 -9
  106. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.js.map +1 -0
  107. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/{guestAgentsDeleteSample.js → vmInstanceGuestAgentsDeleteSample.js} +5 -9
  110. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.js.map +1 -0
  111. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/{guestAgentsGetSample.js → vmInstanceGuestAgentsGetSample.js} +5 -9
  114. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.js.map +1 -0
  115. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/{guestAgentsListByVMSample.js → vmInstanceGuestAgentsListSample.js} +10 -11
  118. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.js.map +1 -0
  119. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/{hybridIdentityMetadataGetSample.js → vmInstanceHybridIdentityMetadataGetSample.js} +5 -9
  122. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.js.map +1 -0
  123. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/{hybridIdentityMetadataListByVMSample.js → vmInstanceHybridIdentityMetadataListSample.js} +10 -11
  126. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.js.map +1 -0
  127. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts +6 -6
  128. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts.map +1 -1
  129. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js +13 -16
  130. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js.map +1 -1
  131. package/dist-esm/src/lroImpl.d.ts +6 -11
  132. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  133. package/dist-esm/src/lroImpl.js +12 -20
  134. package/dist-esm/src/lroImpl.js.map +1 -1
  135. package/dist-esm/src/models/index.d.ts +633 -1254
  136. package/dist-esm/src/models/index.d.ts.map +1 -1
  137. package/dist-esm/src/models/index.js +34 -164
  138. package/dist-esm/src/models/index.js.map +1 -1
  139. package/dist-esm/src/models/mappers.d.ts +32 -37
  140. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  141. package/dist-esm/src/models/mappers.js +1394 -2011
  142. package/dist-esm/src/models/mappers.js.map +1 -1
  143. package/dist-esm/src/models/parameters.d.ts +12 -20
  144. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  145. package/dist-esm/src/models/parameters.js +45 -99
  146. package/dist-esm/src/models/parameters.js.map +1 -1
  147. package/dist-esm/src/operations/clusters.d.ts +3 -3
  148. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  149. package/dist-esm/src/operations/clusters.js +33 -21
  150. package/dist-esm/src/operations/clusters.js.map +1 -1
  151. package/dist-esm/src/operations/datastores.d.ts +3 -3
  152. package/dist-esm/src/operations/datastores.d.ts.map +1 -1
  153. package/dist-esm/src/operations/datastores.js +33 -21
  154. package/dist-esm/src/operations/datastores.js.map +1 -1
  155. package/dist-esm/src/operations/hosts.d.ts +3 -3
  156. package/dist-esm/src/operations/hosts.d.ts.map +1 -1
  157. package/dist-esm/src/operations/hosts.js +33 -21
  158. package/dist-esm/src/operations/hosts.js.map +1 -1
  159. package/dist-esm/src/operations/index.d.ts +3 -4
  160. package/dist-esm/src/operations/index.d.ts.map +1 -1
  161. package/dist-esm/src/operations/index.js +3 -4
  162. package/dist-esm/src/operations/index.js.map +1 -1
  163. package/dist-esm/src/operations/inventoryItems.js +7 -5
  164. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  165. package/dist-esm/src/operations/operations.js +6 -4
  166. package/dist-esm/src/operations/operations.js.map +1 -1
  167. package/dist-esm/src/operations/resourcePools.d.ts +3 -3
  168. package/dist-esm/src/operations/resourcePools.d.ts.map +1 -1
  169. package/dist-esm/src/operations/resourcePools.js +33 -21
  170. package/dist-esm/src/operations/resourcePools.js.map +1 -1
  171. package/dist-esm/src/operations/vCenters.d.ts +3 -3
  172. package/dist-esm/src/operations/vCenters.d.ts.map +1 -1
  173. package/dist-esm/src/operations/vCenters.js +33 -21
  174. package/dist-esm/src/operations/vCenters.js.map +1 -1
  175. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts +74 -0
  176. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts.map +1 -0
  177. package/dist-esm/src/operations/{guestAgents.js → vMInstanceGuestAgents.js} +92 -104
  178. package/dist-esm/src/operations/vMInstanceGuestAgents.js.map +1 -0
  179. package/dist-esm/src/operations/virtualMachineInstances.d.ts +132 -0
  180. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  181. package/dist-esm/src/operations/virtualMachineInstances.js +668 -0
  182. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  183. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +3 -3
  184. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  185. package/dist-esm/src/operations/virtualMachineTemplates.js +33 -21
  186. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  187. package/dist-esm/src/operations/virtualNetworks.d.ts +3 -3
  188. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  189. package/dist-esm/src/operations/virtualNetworks.js +33 -21
  190. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  191. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts +45 -0
  192. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  193. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js +168 -0
  194. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  195. package/dist-esm/src/operationsInterfaces/clusters.d.ts +3 -3
  196. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
  197. package/dist-esm/src/operationsInterfaces/datastores.d.ts +3 -3
  198. package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -1
  199. package/dist-esm/src/operationsInterfaces/hosts.d.ts +3 -3
  200. package/dist-esm/src/operationsInterfaces/hosts.d.ts.map +1 -1
  201. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -4
  202. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/index.js +3 -4
  204. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  205. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +3 -3
  206. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -1
  207. package/dist-esm/src/operationsInterfaces/vCenters.d.ts +3 -3
  208. package/dist-esm/src/operationsInterfaces/vCenters.d.ts.map +1 -1
  209. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts +49 -0
  210. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts.map +1 -0
  211. package/dist-esm/src/operationsInterfaces/{guestAgents.js → vMInstanceGuestAgents.js} +1 -1
  212. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.js.map +1 -0
  213. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +107 -0
  214. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  215. package/dist-esm/src/operationsInterfaces/{machineExtensions.js → virtualMachineInstances.js} +1 -1
  216. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  217. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +3 -3
  218. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  219. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +3 -3
  220. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  221. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts +20 -0
  222. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/{hybridIdentityMetadataOperations.js → vmInstanceHybridIdentityMetadataOperations.js} +1 -1
  224. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  225. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts +4 -0
  226. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts.map +1 -0
  227. package/dist-esm/test/connectedvmware_operations_test.spec.js +71 -0
  228. package/dist-esm/test/connectedvmware_operations_test.spec.js.map +1 -0
  229. package/package.json +17 -23
  230. package/review/arm-connectedvmware.api.md +295 -605
  231. package/src/azureArcVMwareManagementServiceAPI.ts +33 -21
  232. package/src/lroImpl.ts +31 -23
  233. package/src/models/index.ts +606 -1272
  234. package/src/models/mappers.ts +1397 -2017
  235. package/src/models/parameters.ts +47 -113
  236. package/src/operations/clusters.ts +31 -24
  237. package/src/operations/datastores.ts +31 -24
  238. package/src/operations/hosts.ts +30 -23
  239. package/src/operations/index.ts +3 -4
  240. package/src/operations/inventoryItems.ts +1 -1
  241. package/src/operations/resourcePools.ts +31 -24
  242. package/src/operations/vCenters.ts +31 -24
  243. package/src/operations/{guestAgents.ts → vMInstanceGuestAgents.ts} +139 -192
  244. package/src/operations/virtualMachineInstances.ts +899 -0
  245. package/src/operations/virtualMachineTemplates.ts +31 -24
  246. package/src/operations/virtualNetworks.ts +31 -24
  247. package/src/operations/vmInstanceHybridIdentityMetadataOperations.ts +204 -0
  248. package/src/operationsInterfaces/clusters.ts +4 -4
  249. package/src/operationsInterfaces/datastores.ts +4 -4
  250. package/src/operationsInterfaces/hosts.ts +3 -3
  251. package/src/operationsInterfaces/index.ts +3 -4
  252. package/src/operationsInterfaces/resourcePools.ts +4 -4
  253. package/src/operationsInterfaces/vCenters.ts +4 -4
  254. package/src/operationsInterfaces/vMInstanceGuestAgents.ts +95 -0
  255. package/src/operationsInterfaces/virtualMachineInstances.ts +205 -0
  256. package/src/operationsInterfaces/virtualMachineTemplates.ts +4 -4
  257. package/src/operationsInterfaces/virtualNetworks.ts +4 -4
  258. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.ts +40 -0
  259. package/types/arm-connectedvmware.d.ts +636 -1426
  260. package/types/tsdoc-metadata.json +1 -1
  261. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +0 -1
  264. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +0 -1
  267. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +0 -1
  270. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/guestAgentsListByVMSample.js.map +0 -1
  273. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js +0 -45
  276. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js.map +0 -1
  277. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js +0 -40
  280. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js.map +0 -1
  281. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.js.map +0 -1
  284. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.js.map +0 -1
  287. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +0 -48
  290. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js.map +0 -1
  291. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +0 -39
  294. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js.map +0 -1
  295. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/machineExtensionsGetSample.js +0 -39
  298. package/dist-esm/samples-dev/machineExtensionsGetSample.js.map +0 -1
  299. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/machineExtensionsListSample.js +0 -52
  302. package/dist-esm/samples-dev/machineExtensionsListSample.js.map +0 -1
  303. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +0 -47
  306. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js.map +0 -1
  307. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +0 -38
  310. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js.map +0 -1
  311. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/virtualMachinesCreateSample.js.map +0 -1
  314. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  317. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  320. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts +0 -2
  321. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +0 -46
  323. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js.map +0 -1
  324. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -52
  327. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  328. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +0 -1
  331. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  334. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  337. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  338. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  340. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  341. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  343. package/dist-esm/src/operations/guestAgents.d.ts +0 -79
  344. package/dist-esm/src/operations/guestAgents.d.ts.map +0 -1
  345. package/dist-esm/src/operations/guestAgents.js.map +0 -1
  346. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts +0 -62
  347. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts.map +0 -1
  348. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js +0 -245
  349. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js.map +0 -1
  350. package/dist-esm/src/operations/machineExtensions.d.ts +0 -99
  351. package/dist-esm/src/operations/machineExtensions.d.ts.map +0 -1
  352. package/dist-esm/src/operations/machineExtensions.js +0 -435
  353. package/dist-esm/src/operations/machineExtensions.js.map +0 -1
  354. package/dist-esm/src/operations/virtualMachines.d.ts +0 -175
  355. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  356. package/dist-esm/src/operations/virtualMachines.js +0 -913
  357. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  358. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +0 -54
  359. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +0 -1
  361. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts +0 -37
  362. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.js.map +0 -1
  364. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +0 -74
  365. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +0 -1
  366. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +0 -1
  367. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -139
  368. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/virtualMachines.js +0 -9
  370. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  371. package/dist-esm/test/sampleTest.d.ts +0 -2
  372. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  373. package/dist-esm/test/sampleTest.js +0 -38
  374. package/dist-esm/test/sampleTest.js.map +0 -1
  375. package/rollup.config.js +0 -122
  376. package/src/operations/hybridIdentityMetadataOperations.ts +0 -335
  377. package/src/operations/machineExtensions.ts +0 -615
  378. package/src/operations/virtualMachines.ts +0 -1264
  379. package/src/operationsInterfaces/guestAgents.ts +0 -105
  380. package/src/operationsInterfaces/hybridIdentityMetadataOperations.ts +0 -73
  381. package/src/operationsInterfaces/machineExtensions.ts +0 -147
  382. package/src/operationsInterfaces/virtualMachines.ts +0 -262
@@ -48,256 +48,53 @@ export interface OperationDisplay {
48
48
  description?: string;
49
49
  }
50
50
 
51
- /** Error response. */
51
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
52
52
  export interface ErrorResponse {
53
- /** The error details. */
54
- error?: ErrorDefinition;
53
+ /** The error object. */
54
+ error?: ErrorDetail;
55
55
  }
56
56
 
57
- /** Error definition. */
58
- export interface ErrorDefinition {
57
+ /** The error detail. */
58
+ export interface ErrorDetail {
59
59
  /**
60
- * Service specific error code which serves as the substatus for the HTTP error code.
60
+ * The error code.
61
61
  * NOTE: This property will not be serialized. It can only be populated by the server.
62
62
  */
63
63
  readonly code?: string;
64
64
  /**
65
- * Description of the error.
65
+ * The error message.
66
66
  * NOTE: This property will not be serialized. It can only be populated by the server.
67
67
  */
68
68
  readonly message?: string;
69
69
  /**
70
- * Internal error details.
71
- * NOTE: This property will not be serialized. It can only be populated by the server.
72
- */
73
- readonly details?: ErrorDefinition[];
74
- }
75
-
76
- /** Describes the properties of an AssessPatches result. */
77
- export interface VirtualMachineAssessPatchesResult {
78
- /**
79
- * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings."
80
- * NOTE: This property will not be serialized. It can only be populated by the server.
81
- */
82
- readonly status?: PatchOperationStatus;
83
- /**
84
- * The activity ID of the operation that produced this result.
85
- * NOTE: This property will not be serialized. It can only be populated by the server.
86
- */
87
- readonly assessmentActivityId?: string;
88
- /**
89
- * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
90
- * NOTE: This property will not be serialized. It can only be populated by the server.
91
- */
92
- readonly rebootPending?: boolean;
93
- /** Summarization of patches available for installation on the machine by classification. */
94
- availablePatchCountByClassification?: AvailablePatchCountByClassification;
95
- /**
96
- * The UTC timestamp when the operation began.
97
- * NOTE: This property will not be serialized. It can only be populated by the server.
98
- */
99
- readonly startDateTime?: Date;
100
- /**
101
- * The UTC timestamp when the operation finished.
102
- * NOTE: This property will not be serialized. It can only be populated by the server.
103
- */
104
- readonly lastModifiedDateTime?: Date;
105
- /**
106
- * Indicates if operation was triggered by user or by platform.
107
- * NOTE: This property will not be serialized. It can only be populated by the server.
108
- */
109
- readonly startedBy?: PatchOperationStartedBy;
110
- /**
111
- * Specifies the patch service used for the operation.
112
- * NOTE: This property will not be serialized. It can only be populated by the server.
113
- */
114
- readonly patchServiceUsed?: PatchServiceUsed;
115
- /**
116
- * The operating system type of the machine.
117
- * NOTE: This property will not be serialized. It can only be populated by the server.
118
- */
119
- readonly osType?: OsTypeUM;
120
- /**
121
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
122
- * NOTE: This property will not be serialized. It can only be populated by the server.
123
- */
124
- readonly errorDetails?: ErrorDetail;
125
- }
126
-
127
- /** Summarization of patches available for installation on the machine by classification. */
128
- export interface AvailablePatchCountByClassification {
129
- /**
130
- * Number of security patches available for installation.
131
- * NOTE: This property will not be serialized. It can only be populated by the server.
132
- */
133
- readonly security?: number;
134
- /**
135
- * Number of critical patches available for installation.
136
- * NOTE: This property will not be serialized. It can only be populated by the server.
137
- */
138
- readonly critical?: number;
139
- /**
140
- * Number of definition patches available for installation.
141
- * NOTE: This property will not be serialized. It can only be populated by the server.
142
- */
143
- readonly definition?: number;
144
- /**
145
- * Number of update Rollup patches available for installation.
146
- * NOTE: This property will not be serialized. It can only be populated by the server.
147
- */
148
- readonly updateRollup?: number;
149
- /**
150
- * Number of feature pack patches available for installation.
151
- * NOTE: This property will not be serialized. It can only be populated by the server.
152
- */
153
- readonly featurePack?: number;
154
- /**
155
- * Number of service pack patches available for installation.
156
- * NOTE: This property will not be serialized. It can only be populated by the server.
157
- */
158
- readonly servicePack?: number;
159
- /**
160
- * Number of tools patches available for installation.
70
+ * The error target.
161
71
  * NOTE: This property will not be serialized. It can only be populated by the server.
162
72
  */
163
- readonly tools?: number;
73
+ readonly target?: string;
164
74
  /**
165
- * Number of updates category patches available for installation.
75
+ * The error details.
166
76
  * NOTE: This property will not be serialized. It can only be populated by the server.
167
77
  */
168
- readonly updates?: number;
78
+ readonly details?: ErrorDetail[];
169
79
  /**
170
- * Number of other patches available for installation.
80
+ * The error additional info.
171
81
  * NOTE: This property will not be serialized. It can only be populated by the server.
172
82
  */
173
- readonly other?: number;
174
- }
175
-
176
- /** Error details. */
177
- export interface ErrorDetail {
178
- /** The error's code. */
179
- code: string;
180
- /** A human readable error message. */
181
- message: string;
182
- /** Indicates which property in the request is responsible for the error. */
183
- target?: string;
184
- /** Additional error details. */
185
- details?: ErrorDetail[];
83
+ readonly additionalInfo?: ErrorAdditionalInfo[];
186
84
  }
187
85
 
188
- /** Input for InstallPatches as directly received by the API */
189
- export interface VirtualMachineInstallPatchesParameters {
190
- /** Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours) */
191
- maximumDuration: string;
192
- /** Defines when it is acceptable to reboot a VM during a software update operation. */
193
- rebootSetting: VMGuestPatchRebootSetting;
194
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
195
- windowsParameters?: WindowsParameters;
196
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
197
- linuxParameters?: LinuxParameters;
198
- }
199
-
200
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
201
- export interface WindowsParameters {
202
- /** The update classifications to select when installing patches for Windows. */
203
- classificationsToInclude?: VMGuestPatchClassificationWindows[];
204
- /** Kbs to include in the patch operation */
205
- kbNumbersToInclude?: string[];
206
- /** Kbs to exclude in the patch operation */
207
- kbNumbersToExclude?: string[];
208
- /** Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true. */
209
- excludeKbsRequiringReboot?: boolean;
210
- /** This is used to install patches that were published on or before this given max published date. */
211
- maxPatchPublishDate?: Date;
212
- }
213
-
214
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
215
- export interface LinuxParameters {
216
- /** The update classifications to select when installing patches for Linux. */
217
- classificationsToInclude?: VMGuestPatchClassificationLinux[];
218
- /** packages to include in the patch operation. Format: packageName_packageVersion */
219
- packageNameMasksToInclude?: string[];
220
- /** packages to exclude in the patch operation. Format: packageName_packageVersion */
221
- packageNameMasksToExclude?: string[];
222
- }
223
-
224
- /** The result summary of an installation operation. */
225
- export interface VirtualMachineInstallPatchesResult {
226
- /**
227
- * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings."
228
- * NOTE: This property will not be serialized. It can only be populated by the server.
229
- */
230
- readonly status?: PatchOperationStatus;
231
- /**
232
- * The activity ID of the operation that produced this result.
233
- * NOTE: This property will not be serialized. It can only be populated by the server.
234
- */
235
- readonly installationActivityId?: string;
236
- /**
237
- * The reboot state of the VM following completion of the operation.
238
- * NOTE: This property will not be serialized. It can only be populated by the server.
239
- */
240
- readonly rebootStatus?: VMGuestPatchRebootStatus;
241
- /**
242
- * Whether the operation ran out of time before it completed all its intended actions.
243
- * NOTE: This property will not be serialized. It can only be populated by the server.
244
- */
245
- readonly maintenanceWindowExceeded?: boolean;
246
- /**
247
- * The number of patches that were not installed due to the user blocking their installation.
248
- * NOTE: This property will not be serialized. It can only be populated by the server.
249
- */
250
- readonly excludedPatchCount?: number;
251
- /**
252
- * The number of patches that were detected as available for install, but did not meet the operation's criteria.
253
- * NOTE: This property will not be serialized. It can only be populated by the server.
254
- */
255
- readonly notSelectedPatchCount?: number;
256
- /**
257
- * The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
258
- * NOTE: This property will not be serialized. It can only be populated by the server.
259
- */
260
- readonly pendingPatchCount?: number;
261
- /**
262
- * The number of patches successfully installed.
263
- * NOTE: This property will not be serialized. It can only be populated by the server.
264
- */
265
- readonly installedPatchCount?: number;
266
- /**
267
- * The number of patches that could not be installed due to some issue. See errors for details.
268
- * NOTE: This property will not be serialized. It can only be populated by the server.
269
- */
270
- readonly failedPatchCount?: number;
271
- /**
272
- * The UTC timestamp when the operation began.
273
- * NOTE: This property will not be serialized. It can only be populated by the server.
274
- */
275
- readonly startDateTime?: Date;
276
- /**
277
- * The UTC timestamp when the operation finished.
278
- * NOTE: This property will not be serialized. It can only be populated by the server.
279
- */
280
- readonly lastModifiedDateTime?: Date;
281
- /**
282
- * Indicates if operation was triggered by user or by platform.
283
- * NOTE: This property will not be serialized. It can only be populated by the server.
284
- */
285
- readonly startedBy?: PatchOperationStartedBy;
286
- /**
287
- * Specifies the patch service used for the operation.
288
- * NOTE: This property will not be serialized. It can only be populated by the server.
289
- */
290
- readonly patchServiceUsed?: PatchServiceUsed;
86
+ /** The resource management error additional info. */
87
+ export interface ErrorAdditionalInfo {
291
88
  /**
292
- * The operating system type of the machine.
89
+ * The additional info type.
293
90
  * NOTE: This property will not be serialized. It can only be populated by the server.
294
91
  */
295
- readonly osType?: OsTypeUM;
92
+ readonly type?: string;
296
93
  /**
297
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
94
+ * The additional info.
298
95
  * NOTE: This property will not be serialized. It can only be populated by the server.
299
96
  */
300
- readonly errorDetails?: ErrorDetail;
97
+ readonly info?: Record<string, unknown>;
301
98
  }
302
99
 
303
100
  /** Define the resourcePool. */
@@ -382,21 +179,51 @@ export interface ResourcePool {
382
179
  * NOTE: This property will not be serialized. It can only be populated by the server.
383
180
  */
384
181
  readonly memLimitMB?: number;
182
+ /**
183
+ * Gets the used physical memory on the pool in GB.
184
+ * NOTE: This property will not be serialized. It can only be populated by the server.
185
+ */
186
+ readonly memOverallUsageGB?: number;
187
+ /**
188
+ * Gets the total amount of physical memory on the pool in GB.
189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
190
+ */
191
+ readonly memCapacityGB?: number;
192
+ /**
193
+ * Gets the used CPU usage across all cores on the pool in MHz.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
+ */
196
+ readonly cpuOverallUsageMHz?: number;
197
+ /**
198
+ * Gets the max CPU usage across all cores on the pool in MHz.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
+ */
201
+ readonly cpuCapacityMHz?: number;
385
202
  /**
386
203
  * Gets the name of the corresponding resource in Kubernetes.
387
204
  * NOTE: This property will not be serialized. It can only be populated by the server.
388
205
  */
389
206
  readonly customResourceName?: string;
207
+ /**
208
+ * Gets the datastore ARM ids.
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
+ */
211
+ readonly datastoreIds?: string[];
212
+ /**
213
+ * Gets the network ARM ids.
214
+ * NOTE: This property will not be serialized. It can only be populated by the server.
215
+ */
216
+ readonly networkIds?: string[];
390
217
  /**
391
218
  * The resource status information.
392
219
  * NOTE: This property will not be serialized. It can only be populated by the server.
393
220
  */
394
221
  readonly statuses?: ResourceStatus[];
395
222
  /**
396
- * Gets or sets the provisioning state.
223
+ * Gets the provisioning state.
397
224
  * NOTE: This property will not be serialized. It can only be populated by the server.
398
225
  */
399
- readonly provisioningState?: string;
226
+ readonly provisioningState?: ProvisioningState;
400
227
  }
401
228
 
402
229
  /** The resource status information. */
@@ -528,20 +355,40 @@ export interface Cluster {
528
355
  */
529
356
  readonly customResourceName?: string;
530
357
  /**
531
- * Gets or sets the datastore ARM ids.
358
+ * Gets the used physical memory on the cluster in GB.
359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
360
+ */
361
+ readonly usedMemoryGB?: number;
362
+ /**
363
+ * Gets the total amount of physical memory on the cluster in GB.
364
+ * NOTE: This property will not be serialized. It can only be populated by the server.
365
+ */
366
+ readonly totalMemoryGB?: number;
367
+ /**
368
+ * Gets the used CPU usage across all cores on the cluster in MHz.
369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
370
+ */
371
+ readonly usedCpuMHz?: number;
372
+ /**
373
+ * Gets the max CPU usage across all cores on the cluster in MHz.
374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
375
+ */
376
+ readonly totalCpuMHz?: number;
377
+ /**
378
+ * Gets the datastore ARM ids.
532
379
  * NOTE: This property will not be serialized. It can only be populated by the server.
533
380
  */
534
381
  readonly datastoreIds?: string[];
535
382
  /**
536
- * Gets or sets the network ARM ids.
383
+ * Gets the network ARM ids.
537
384
  * NOTE: This property will not be serialized. It can only be populated by the server.
538
385
  */
539
386
  readonly networkIds?: string[];
540
387
  /**
541
- * Gets or sets the provisioning state.
388
+ * Gets the provisioning state.
542
389
  * NOTE: This property will not be serialized. It can only be populated by the server.
543
390
  */
544
- readonly provisioningState?: string;
391
+ readonly provisioningState?: ProvisioningState;
545
392
  }
546
393
 
547
394
  /** List of Clusters. */
@@ -609,10 +456,40 @@ export interface Host {
609
456
  */
610
457
  readonly customResourceName?: string;
611
458
  /**
612
- * Gets or sets the provisioning state.
459
+ * Gets the used physical memory on the host in GB.
460
+ * NOTE: This property will not be serialized. It can only be populated by the server.
461
+ */
462
+ readonly overallMemoryUsageGB?: number;
463
+ /**
464
+ * Gets the total amount of physical memory on the host in GB.
465
+ * NOTE: This property will not be serialized. It can only be populated by the server.
466
+ */
467
+ readonly memorySizeGB?: number;
468
+ /**
469
+ * Gets the used CPU usage across all cores in MHz.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
471
+ */
472
+ readonly overallCpuUsageMHz?: number;
473
+ /**
474
+ * Gets the max CPU usage across all cores in MHz.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly cpuMhz?: number;
478
+ /**
479
+ * Gets the datastore ARM ids.
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly datastoreIds?: string[];
483
+ /**
484
+ * Gets the network ARM ids.
613
485
  * NOTE: This property will not be serialized. It can only be populated by the server.
614
486
  */
615
- readonly provisioningState?: string;
487
+ readonly networkIds?: string[];
488
+ /**
489
+ * Gets the provisioning state.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly provisioningState?: ProvisioningState;
616
493
  }
617
494
 
618
495
  /** List of Hosts. */
@@ -679,6 +556,16 @@ export interface Datastore {
679
556
  * NOTE: This property will not be serialized. It can only be populated by the server.
680
557
  */
681
558
  readonly customResourceName?: string;
559
+ /**
560
+ * Gets or sets Maximum capacity of this datastore in GBs.
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
562
+ */
563
+ readonly capacityGB?: number;
564
+ /**
565
+ * Gets or sets Available space of this datastore in GBs.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
567
+ */
568
+ readonly freeSpaceGB?: number;
682
569
  /**
683
570
  * Provisioning state of the resource.
684
571
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -761,10 +648,10 @@ export interface VCenter {
761
648
  */
762
649
  readonly statuses?: ResourceStatus[];
763
650
  /**
764
- * Gets or sets the provisioning state.
651
+ * Gets the provisioning state.
765
652
  * NOTE: This property will not be serialized. It can only be populated by the server.
766
653
  */
767
- readonly provisioningState?: string;
654
+ readonly provisioningState?: ProvisioningState;
768
655
  }
769
656
 
770
657
  /** Username / Password Credentials to connect to vcenter. */
@@ -783,8 +670,8 @@ export interface VCentersList {
783
670
  value: VCenter[];
784
671
  }
785
672
 
786
- /** Define the virtualMachine. */
787
- export interface VirtualMachine {
673
+ /** Define the virtualMachineTemplate. */
674
+ export interface VirtualMachineTemplate {
788
675
  /** Gets or sets the location. */
789
676
  location: string;
790
677
  /** Gets or sets the extended location. */
@@ -813,186 +700,96 @@ export interface VirtualMachine {
813
700
  readonly type?: string;
814
701
  /** 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. */
815
702
  kind?: string;
816
- /** The identity of the resource. */
817
- identity?: Identity;
818
703
  /**
819
- * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will
820
- * deploy.
704
+ * Gets or sets a unique identifier for this resource.
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
821
706
  */
822
- resourcePoolId?: string;
823
- /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
824
- templateId?: string;
825
- /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
707
+ readonly uuid?: string;
708
+ /** Gets or sets the ARM Id of the vCenter resource in which this template resides. */
826
709
  vCenterId?: string;
827
- /** Placement properties. */
828
- placementProfile?: PlacementProfile;
829
- /** OS properties. */
830
- osProfile?: OsProfile;
831
- /** Hardware properties. */
832
- hardwareProfile?: HardwareProfile;
833
- /** Network properties. */
834
- networkProfile?: NetworkProfile;
835
- /** Storage properties. */
836
- storageProfile?: StorageProfile;
837
- /** Guest agent status properties. */
838
- guestAgentProfile?: GuestAgentProfile;
839
- /** Gets the security profile. */
840
- securityProfile?: SecurityProfile;
841
- /** Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. */
710
+ /**
711
+ * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
712
+ * template.
713
+ */
842
714
  moRefId?: string;
843
- /** Gets or sets the inventory Item ID for the virtual machine. */
715
+ /** Gets or sets the inventory Item ID for the virtual machine template. */
844
716
  inventoryItemId?: string;
845
717
  /**
846
- * Gets or sets the vCenter Managed Object name for the virtual machine.
718
+ * Gets or sets the vCenter Managed Object name for the virtual machine template.
847
719
  * NOTE: This property will not be serialized. It can only be populated by the server.
848
720
  */
849
721
  readonly moName?: string;
850
722
  /**
851
- * Gets or sets the folder path of the vm.
723
+ * Gets or sets memory size in MBs for the template.
852
724
  * NOTE: This property will not be serialized. It can only be populated by the server.
853
725
  */
854
- readonly folderPath?: string;
726
+ readonly memorySizeMB?: number;
855
727
  /**
856
- * Gets or sets the instance uuid of the vm.
728
+ * Gets or sets the number of vCPUs for the template.
857
729
  * NOTE: This property will not be serialized. It can only be populated by the server.
858
730
  */
859
- readonly instanceUuid?: string;
860
- /** Gets or sets the SMBIOS UUID of the vm. */
861
- smbiosUuid?: string;
862
- /** Firmware type */
863
- firmwareType?: FirmwareType;
731
+ readonly numCPUs?: number;
864
732
  /**
865
- * Gets the power state of the virtual machine.
733
+ * Gets or sets the number of cores per socket for the template.
734
+ * Defaults to 1 if unspecified.
866
735
  * NOTE: This property will not be serialized. It can only be populated by the server.
867
736
  */
868
- readonly powerState?: string;
737
+ readonly numCoresPerSocket?: number;
869
738
  /**
870
- * Gets the name of the corresponding resource in Kubernetes.
739
+ * Gets or sets the type of the os.
871
740
  * NOTE: This property will not be serialized. It can only be populated by the server.
872
741
  */
873
- readonly customResourceName?: string;
742
+ readonly osType?: OsType;
874
743
  /**
875
- * Gets or sets a unique identifier for this resource.
744
+ * Gets or sets os name.
876
745
  * NOTE: This property will not be serialized. It can only be populated by the server.
877
746
  */
878
- readonly uuid?: string;
747
+ readonly osName?: string;
879
748
  /**
880
- * The resource status information.
749
+ * Gets or sets the folder path of the template.
881
750
  * NOTE: This property will not be serialized. It can only be populated by the server.
882
751
  */
883
- readonly statuses?: ResourceStatus[];
752
+ readonly folderPath?: string;
884
753
  /**
885
- * Gets or sets the provisioning state.
754
+ * Gets or sets the network interfaces of the template.
886
755
  * NOTE: This property will not be serialized. It can only be populated by the server.
887
756
  */
888
- readonly provisioningState?: string;
757
+ readonly networkInterfaces?: NetworkInterface[];
889
758
  /**
890
- * Gets or sets a unique identifier for the vm resource.
759
+ * Gets or sets the disks the template.
891
760
  * NOTE: This property will not be serialized. It can only be populated by the server.
892
761
  */
893
- readonly vmId?: string;
894
- }
895
-
896
- /** Defines the resource properties. */
897
- export interface PlacementProfile {
898
- /** Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. */
899
- resourcePoolId?: string;
900
- /** Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. */
901
- clusterId?: string;
902
- /** Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. */
903
- hostId?: string;
904
- /** Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. */
905
- datastoreId?: string;
906
- }
907
-
908
- /** Defines the resource properties. */
909
- export interface OsProfile {
910
- /** Gets or sets computer name. */
911
- computerName?: string;
912
- /** Gets or sets administrator username. */
913
- adminUsername?: string;
914
- /** Gets or sets administrator password. */
915
- adminPassword?: string;
916
- /** Gets or sets the guestId. */
917
- guestId?: string;
762
+ readonly disks?: VirtualDisk[];
918
763
  /**
919
- * Gets or sets a value indicating whether the VM is ready for extension operations.
764
+ * Gets the name of the corresponding resource in Kubernetes.
920
765
  * NOTE: This property will not be serialized. It can only be populated by the server.
921
766
  */
922
- readonly allowExtensionOperations?: boolean;
923
- /** Gets or sets the type of the os. */
924
- osType?: OsType;
767
+ readonly customResourceName?: string;
925
768
  /**
926
- * Gets or sets os name.
769
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
927
770
  * NOTE: This property will not be serialized. It can only be populated by the server.
928
771
  */
929
- readonly osName?: string;
930
- /**
931
- * Gets or sets the current running status of VMware Tools running in the guest operating system.
932
- * NOTE: This property will not be serialized. It can only be populated by the server.
933
- */
934
- readonly toolsRunningStatus?: string;
935
- /**
936
- * Gets or sets the current version status of VMware Tools installed in the guest operating system.
937
- * NOTE: This property will not be serialized. It can only be populated by the server.
938
- */
939
- readonly toolsVersionStatus?: string;
772
+ readonly toolsVersionStatus?: string;
940
773
  /**
941
774
  * Gets or sets the current version of VMware Tools.
942
775
  * NOTE: This property will not be serialized. It can only be populated by the server.
943
776
  */
944
777
  readonly toolsVersion?: string;
945
- /** Specifies the windows configuration for update management. */
946
- windowsConfiguration?: OsProfileWindowsConfiguration;
947
- /** Specifies the linux configuration for update management. */
948
- linuxConfiguration?: OsProfileLinuxConfiguration;
949
- }
950
-
951
- /** Specifies the windows configuration for update management. */
952
- export interface OsProfileWindowsConfiguration {
953
- /** Specifies the assessment mode. */
954
- assessmentMode?: string;
955
- /** Specifies the patch mode. */
956
- patchMode?: string;
957
- }
958
-
959
- /** Specifies the linux configuration for update management. */
960
- export interface OsProfileLinuxConfiguration {
961
- /** Specifies the assessment mode. */
962
- assessmentMode?: string;
963
- /** Specifies the patch mode. */
964
- patchMode?: string;
965
- }
966
-
967
- /** Defines the resource properties. */
968
- export interface HardwareProfile {
969
- /** Gets or sets memory size in MBs for the vm. */
970
- memorySizeMB?: number;
971
- /** Gets or sets the number of vCPUs for the vm. */
972
- numCPUs?: number;
973
- /** Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. */
974
- numCoresPerSocket?: number;
975
778
  /**
976
- * Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.
779
+ * Firmware type
977
780
  * NOTE: This property will not be serialized. It can only be populated by the server.
978
781
  */
979
- readonly cpuHotAddEnabled?: boolean;
782
+ readonly firmwareType?: FirmwareType;
980
783
  /**
981
- * Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.
784
+ * The resource status information.
982
785
  * NOTE: This property will not be serialized. It can only be populated by the server.
983
786
  */
984
- readonly cpuHotRemoveEnabled?: boolean;
787
+ readonly statuses?: ResourceStatus[];
985
788
  /**
986
- * Gets or sets a value indicating whether memory can be added while this virtual machine is running.
789
+ * Gets the provisioning state.
987
790
  * NOTE: This property will not be serialized. It can only be populated by the server.
988
791
  */
989
- readonly memoryHotAddEnabled?: boolean;
990
- }
991
-
992
- /** Defines the resource properties. */
993
- export interface NetworkProfile {
994
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
995
- networkInterfaces?: NetworkInterface[];
792
+ readonly provisioningState?: ProvisioningState;
996
793
  }
997
794
 
998
795
  /** Network Interface model */
@@ -1085,17 +882,6 @@ export interface NicIPAddressSettings {
1085
882
  readonly subnetMask?: string;
1086
883
  }
1087
884
 
1088
- /** Defines the resource properties. */
1089
- export interface StorageProfile {
1090
- /** Gets or sets the list of virtual disks associated with the virtual machine. */
1091
- disks?: VirtualDisk[];
1092
- /**
1093
- * Gets or sets the list of virtual SCSI controllers associated with the virtual machine.
1094
- * NOTE: This property will not be serialized. It can only be populated by the server.
1095
- */
1096
- readonly scsiControllers?: VirtualScsiController[];
1097
- }
1098
-
1099
885
  /** Virtual disk model */
1100
886
  export interface VirtualDisk {
1101
887
  /** Gets or sets the name of the virtual disk. */
@@ -1126,299 +912,6 @@ export interface VirtualDisk {
1126
912
  diskType?: DiskType;
1127
913
  }
1128
914
 
1129
- /** This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. */
1130
- export interface VirtualScsiController {
1131
- /** Gets or sets the controller type. */
1132
- type?: ScsiControllerType;
1133
- /** Gets or sets the key of the controller. */
1134
- controllerKey?: number;
1135
- /** Gets or sets the bus number of the controller. */
1136
- busNumber?: number;
1137
- /** Gets or sets the SCSI controller unit number. */
1138
- scsiCtlrUnitNumber?: number;
1139
- /** Gets or sets the sharing mode. */
1140
- sharing?: VirtualScsiSharing;
1141
- }
1142
-
1143
- /** Defines the resource properties. */
1144
- export interface GuestAgentProfile {
1145
- /**
1146
- * Specifies the VM's unique SMBIOS ID.
1147
- * NOTE: This property will not be serialized. It can only be populated by the server.
1148
- */
1149
- readonly vmUuid?: string;
1150
- /**
1151
- * The status of the hybrid machine agent.
1152
- * NOTE: This property will not be serialized. It can only be populated by the server.
1153
- */
1154
- readonly status?: StatusTypes;
1155
- /**
1156
- * The time of the last status change.
1157
- * NOTE: This property will not be serialized. It can only be populated by the server.
1158
- */
1159
- readonly lastStatusChange?: Date;
1160
- /**
1161
- * The hybrid machine agent full version.
1162
- * NOTE: This property will not be serialized. It can only be populated by the server.
1163
- */
1164
- readonly agentVersion?: string;
1165
- /**
1166
- * Details about the error state.
1167
- * NOTE: This property will not be serialized. It can only be populated by the server.
1168
- */
1169
- readonly errorDetails?: ErrorDetail[];
1170
- }
1171
-
1172
- /** Specifies the Security profile settings for the virtual machine. */
1173
- export interface SecurityProfile {
1174
- /** Specifies the security settings like secure boot used while creating the virtual machine. */
1175
- uefiSettings?: UefiSettings;
1176
- }
1177
-
1178
- /** Specifies the security settings like secure boot used while creating the virtual machine. */
1179
- export interface UefiSettings {
1180
- /** Specifies whether secure boot should be enabled on the virtual machine. */
1181
- secureBootEnabled?: boolean;
1182
- }
1183
-
1184
- /** Managed service identity. */
1185
- export interface Identity {
1186
- /**
1187
- * The principal id of managed service identity.
1188
- * NOTE: This property will not be serialized. It can only be populated by the server.
1189
- */
1190
- readonly principalId?: string;
1191
- /**
1192
- * The tenant of managed service identity.
1193
- * NOTE: This property will not be serialized. It can only be populated by the server.
1194
- */
1195
- readonly tenantId?: string;
1196
- /** The type of managed service identity. */
1197
- type: IdentityType;
1198
- }
1199
-
1200
- /** Defines the virtualMachineUpdate. */
1201
- export interface VirtualMachineUpdate {
1202
- /** Gets or sets the Resource tags. */
1203
- tags?: { [propertyName: string]: string };
1204
- /** The identity of the resource. */
1205
- identity?: Identity;
1206
- /** Defines the resource properties. */
1207
- hardwareProfile?: HardwareProfile;
1208
- /** OS properties. */
1209
- osProfile?: OsProfileUpdate;
1210
- /** Defines the resource update properties. */
1211
- storageProfile?: StorageProfileUpdate;
1212
- /** Defines the update resource properties. */
1213
- networkProfile?: NetworkProfileUpdate;
1214
- }
1215
-
1216
- /** Defines the os update properties. */
1217
- export interface OsProfileUpdate {
1218
- /** Specifies the windows configuration for update management. */
1219
- windowsConfiguration?: OsProfileUpdateWindowsConfiguration;
1220
- /** Specifies the linux configuration for update management. */
1221
- linuxConfiguration?: OsProfileUpdateLinuxConfiguration;
1222
- }
1223
-
1224
- /** Specifies the windows configuration for update management. */
1225
- export interface OsProfileUpdateWindowsConfiguration {
1226
- /** Specifies the assessment mode. */
1227
- assessmentMode?: string;
1228
- /** Specifies the patch mode. */
1229
- patchMode?: string;
1230
- }
1231
-
1232
- /** Specifies the linux configuration for update management. */
1233
- export interface OsProfileUpdateLinuxConfiguration {
1234
- /** Specifies the assessment mode. */
1235
- assessmentMode?: string;
1236
- /** Specifies the patch mode. */
1237
- patchMode?: string;
1238
- }
1239
-
1240
- /** Defines the resource update properties. */
1241
- export interface StorageProfileUpdate {
1242
- /** Gets or sets the list of virtual disks associated with the virtual machine. */
1243
- disks?: VirtualDiskUpdate[];
1244
- }
1245
-
1246
- /** Defines the virtual disk update. */
1247
- export interface VirtualDiskUpdate {
1248
- /** Gets or sets the name of the virtual disk. */
1249
- name?: string;
1250
- /** Gets or sets the disk total size. */
1251
- diskSizeGB?: number;
1252
- /** Gets or sets the device key value. */
1253
- deviceKey?: number;
1254
- /** Gets or sets the disk mode. */
1255
- diskMode?: DiskMode;
1256
- /** Gets or sets the controller id. */
1257
- controllerKey?: number;
1258
- /** Gets or sets the unit number of the disk on the controller. */
1259
- unitNumber?: number;
1260
- /** Gets or sets the device name. */
1261
- deviceName?: string;
1262
- /** Gets or sets the disk backing type. */
1263
- diskType?: DiskType;
1264
- }
1265
-
1266
- /** Defines the update resource properties. */
1267
- export interface NetworkProfileUpdate {
1268
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
1269
- networkInterfaces?: NetworkInterfaceUpdate[];
1270
- }
1271
-
1272
- /** Defines the network interface update. */
1273
- export interface NetworkInterfaceUpdate {
1274
- /** Gets or sets the name of the network interface. */
1275
- name?: string;
1276
- /** Gets or sets the ARM Id of the network resource to connect the virtual machine. */
1277
- networkId?: string;
1278
- /** NIC type */
1279
- nicType?: NICType;
1280
- /** Gets or sets the power on boot. */
1281
- powerOnBoot?: PowerOnBootOption;
1282
- /** Gets or sets the device key value. */
1283
- deviceKey?: number;
1284
- }
1285
-
1286
- /** Defines the stop action properties. */
1287
- export interface StopVirtualMachineOptions {
1288
- /** 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. */
1289
- skipShutdown?: boolean;
1290
- }
1291
-
1292
- /** List of VirtualMachines. */
1293
- export interface VirtualMachinesList {
1294
- /** Url to follow for getting next page of VirtualMachines. */
1295
- nextLink?: string;
1296
- /** Array of VirtualMachines */
1297
- value: VirtualMachine[];
1298
- }
1299
-
1300
- /** Define the virtualMachineTemplate. */
1301
- export interface VirtualMachineTemplate {
1302
- /** Gets or sets the location. */
1303
- location: string;
1304
- /** Gets or sets the extended location. */
1305
- extendedLocation?: ExtendedLocation;
1306
- /**
1307
- * The system data.
1308
- * NOTE: This property will not be serialized. It can only be populated by the server.
1309
- */
1310
- readonly systemData?: SystemData;
1311
- /** Gets or sets the Resource tags. */
1312
- tags?: { [propertyName: string]: string };
1313
- /**
1314
- * Gets or sets the name.
1315
- * NOTE: This property will not be serialized. It can only be populated by the server.
1316
- */
1317
- readonly name?: string;
1318
- /**
1319
- * Gets or sets the Id.
1320
- * NOTE: This property will not be serialized. It can only be populated by the server.
1321
- */
1322
- readonly id?: string;
1323
- /**
1324
- * Gets or sets the type of the resource.
1325
- * NOTE: This property will not be serialized. It can only be populated by the server.
1326
- */
1327
- readonly type?: string;
1328
- /** 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. */
1329
- kind?: string;
1330
- /**
1331
- * Gets or sets a unique identifier for this resource.
1332
- * NOTE: This property will not be serialized. It can only be populated by the server.
1333
- */
1334
- readonly uuid?: string;
1335
- /** Gets or sets the ARM Id of the vCenter resource in which this template resides. */
1336
- vCenterId?: string;
1337
- /**
1338
- * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
1339
- * template.
1340
- */
1341
- moRefId?: string;
1342
- /** Gets or sets the inventory Item ID for the virtual machine template. */
1343
- inventoryItemId?: string;
1344
- /**
1345
- * Gets or sets the vCenter Managed Object name for the virtual machine template.
1346
- * NOTE: This property will not be serialized. It can only be populated by the server.
1347
- */
1348
- readonly moName?: string;
1349
- /**
1350
- * Gets or sets memory size in MBs for the template.
1351
- * NOTE: This property will not be serialized. It can only be populated by the server.
1352
- */
1353
- readonly memorySizeMB?: number;
1354
- /**
1355
- * Gets or sets the number of vCPUs for the template.
1356
- * NOTE: This property will not be serialized. It can only be populated by the server.
1357
- */
1358
- readonly numCPUs?: number;
1359
- /**
1360
- * Gets or sets the number of cores per socket for the template.
1361
- * Defaults to 1 if unspecified.
1362
- * NOTE: This property will not be serialized. It can only be populated by the server.
1363
- */
1364
- readonly numCoresPerSocket?: number;
1365
- /**
1366
- * Gets or sets the type of the os.
1367
- * NOTE: This property will not be serialized. It can only be populated by the server.
1368
- */
1369
- readonly osType?: OsType;
1370
- /**
1371
- * Gets or sets os name.
1372
- * NOTE: This property will not be serialized. It can only be populated by the server.
1373
- */
1374
- readonly osName?: string;
1375
- /**
1376
- * Gets or sets the folder path of the template.
1377
- * NOTE: This property will not be serialized. It can only be populated by the server.
1378
- */
1379
- readonly folderPath?: string;
1380
- /**
1381
- * Gets or sets the network interfaces of the template.
1382
- * NOTE: This property will not be serialized. It can only be populated by the server.
1383
- */
1384
- readonly networkInterfaces?: NetworkInterface[];
1385
- /**
1386
- * Gets or sets the disks the template.
1387
- * NOTE: This property will not be serialized. It can only be populated by the server.
1388
- */
1389
- readonly disks?: VirtualDisk[];
1390
- /**
1391
- * Gets the name of the corresponding resource in Kubernetes.
1392
- * NOTE: This property will not be serialized. It can only be populated by the server.
1393
- */
1394
- readonly customResourceName?: string;
1395
- /**
1396
- * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1397
- * NOTE: This property will not be serialized. It can only be populated by the server.
1398
- */
1399
- readonly toolsVersionStatus?: string;
1400
- /**
1401
- * Gets or sets the current version of VMware Tools.
1402
- * NOTE: This property will not be serialized. It can only be populated by the server.
1403
- */
1404
- readonly toolsVersion?: string;
1405
- /**
1406
- * Firmware type
1407
- * NOTE: This property will not be serialized. It can only be populated by the server.
1408
- */
1409
- readonly firmwareType?: FirmwareType;
1410
- /**
1411
- * The resource status information.
1412
- * NOTE: This property will not be serialized. It can only be populated by the server.
1413
- */
1414
- readonly statuses?: ResourceStatus[];
1415
- /**
1416
- * Gets or sets the provisioning state.
1417
- * NOTE: This property will not be serialized. It can only be populated by the server.
1418
- */
1419
- readonly provisioningState?: string;
1420
- }
1421
-
1422
915
  /** List of VirtualMachineTemplates. */
1423
916
  export interface VirtualMachineTemplatesList {
1424
917
  /** Url to follow for getting next page of VirtualMachineTemplates. */
@@ -1484,10 +977,10 @@ export interface VirtualNetwork {
1484
977
  */
1485
978
  readonly statuses?: ResourceStatus[];
1486
979
  /**
1487
- * Gets or sets the provisioning state.
980
+ * Gets the provisioning state.
1488
981
  * NOTE: This property will not be serialized. It can only be populated by the server.
1489
982
  */
1490
- readonly provisioningState?: string;
983
+ readonly provisioningState?: ProvisioningState;
1491
984
  }
1492
985
 
1493
986
  /** List of VirtualNetworks. */
@@ -1498,7 +991,7 @@ export interface VirtualNetworksList {
1498
991
  value: VirtualNetwork[];
1499
992
  }
1500
993
 
1501
- /** Defines the resource properties. */
994
+ /** Describes the properties of an Inventory Item. */
1502
995
  export interface InventoryItemProperties {
1503
996
  /** Polymorphic discriminator, which specifies the different types this object can be */
1504
997
  inventoryType:
@@ -1516,16 +1009,16 @@ export interface InventoryItemProperties {
1516
1009
  /** Gets or sets the vCenter Managed Object name for the inventory item. */
1517
1010
  moName?: string;
1518
1011
  /**
1519
- * Gets or sets the provisioning state.
1012
+ * Gets the provisioning state.
1520
1013
  * NOTE: This property will not be serialized. It can only be populated by the server.
1521
1014
  */
1522
- readonly provisioningState?: string;
1015
+ readonly provisioningState?: ProvisioningState;
1523
1016
  }
1524
1017
 
1525
1018
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1526
1019
  export interface Resource {
1527
1020
  /**
1528
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1021
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1529
1022
  * NOTE: This property will not be serialized. It can only be populated by the server.
1530
1023
  */
1531
1024
  readonly id?: string;
@@ -1539,6 +1032,11 @@ export interface Resource {
1539
1032
  * NOTE: This property will not be serialized. It can only be populated by the server.
1540
1033
  */
1541
1034
  readonly type?: string;
1035
+ /**
1036
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1037
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1038
+ */
1039
+ readonly systemData?: SystemData;
1542
1040
  }
1543
1041
 
1544
1042
  /** List of InventoryItems. */
@@ -1549,121 +1047,235 @@ export interface InventoryItemsList {
1549
1047
  value: InventoryItem[];
1550
1048
  }
1551
1049
 
1552
- /** List of HybridIdentityMetadata. */
1553
- export interface HybridIdentityMetadataList {
1554
- /** Url to follow for getting next page of HybridIdentityMetadata. */
1555
- nextLink?: string;
1556
- /** Array of HybridIdentityMetadata */
1557
- value: HybridIdentityMetadata[];
1050
+ /** Specifies the compute and storage placement settings for the virtual machine. */
1051
+ export interface PlacementProfile {
1052
+ /** Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. */
1053
+ resourcePoolId?: string;
1054
+ /** Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. */
1055
+ clusterId?: string;
1056
+ /** Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. */
1057
+ hostId?: string;
1058
+ /** Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. */
1059
+ datastoreId?: string;
1558
1060
  }
1559
1061
 
1560
- /** Describes a Machine Extension. */
1561
- export interface MachineExtension {
1562
- /** Gets or sets the location. */
1563
- location?: string;
1062
+ /** Specifies the operating system settings for the virtual machine. */
1063
+ export interface OsProfileForVMInstance {
1064
+ /** Gets or sets computer name. */
1065
+ computerName?: string;
1066
+ /** Gets or sets administrator username. */
1067
+ adminUsername?: string;
1068
+ /** Sets administrator password. */
1069
+ adminPassword?: string;
1070
+ /** Gets or sets the guestId. */
1071
+ guestId?: string;
1072
+ /** Gets or sets the type of the os. */
1073
+ osType?: OsType;
1564
1074
  /**
1565
- * The system data.
1075
+ * Gets or sets os sku.
1566
1076
  * NOTE: This property will not be serialized. It can only be populated by the server.
1567
1077
  */
1568
- readonly systemData?: SystemData;
1569
- /** Gets or sets the Resource tags. */
1570
- tags?: { [propertyName: string]: string };
1078
+ readonly osSku?: string;
1571
1079
  /**
1572
- * Gets or sets the name.
1080
+ * Gets or sets the current running status of VMware Tools running in the guest operating system.
1573
1081
  * NOTE: This property will not be serialized. It can only be populated by the server.
1574
1082
  */
1575
- readonly name?: string;
1083
+ readonly toolsRunningStatus?: string;
1576
1084
  /**
1577
- * Gets or sets the Id.
1085
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1578
1086
  * NOTE: This property will not be serialized. It can only be populated by the server.
1579
1087
  */
1580
- readonly id?: string;
1088
+ readonly toolsVersionStatus?: string;
1581
1089
  /**
1582
- * Gets or sets the type of the resource.
1090
+ * Gets or sets the current version of VMware Tools.
1583
1091
  * NOTE: This property will not be serialized. It can only be populated by the server.
1584
1092
  */
1585
- readonly type?: string;
1586
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1587
- forceUpdateTag?: string;
1588
- /** The name of the extension handler publisher. */
1589
- publisher?: string;
1590
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1591
- typePropertiesType?: string;
1592
- /** Specifies the version of the script handler. */
1593
- typeHandlerVersion?: string;
1594
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1595
- enableAutomaticUpgrade?: boolean;
1596
- /** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
1597
- autoUpgradeMinorVersion?: boolean;
1598
- /** Json formatted public settings for the extension. */
1599
- settings?: Record<string, unknown>;
1600
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1601
- protectedSettings?: Record<string, unknown>;
1093
+ readonly toolsVersion?: string;
1094
+ }
1095
+
1096
+ /** Specifies the hardware settings for the virtual machine. */
1097
+ export interface HardwareProfile {
1098
+ /** Gets or sets memory size in MBs for the vm. */
1099
+ memorySizeMB?: number;
1100
+ /** Gets or sets the number of vCPUs for the vm. */
1101
+ numCPUs?: number;
1102
+ /** Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. */
1103
+ numCoresPerSocket?: number;
1602
1104
  /**
1603
- * The provisioning state, which only appears in the response.
1105
+ * Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.
1604
1106
  * NOTE: This property will not be serialized. It can only be populated by the server.
1605
1107
  */
1606
- readonly provisioningState?: string;
1607
- /** The machine extension instance view. */
1608
- instanceView?: MachineExtensionPropertiesInstanceView;
1609
- }
1610
-
1611
- /** Describes the Machine Extension Instance View. */
1612
- export interface MachineExtensionInstanceView {
1108
+ readonly cpuHotAddEnabled?: boolean;
1613
1109
  /**
1614
- * The machine extension name.
1110
+ * Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.
1615
1111
  * NOTE: This property will not be serialized. It can only be populated by the server.
1616
1112
  */
1617
- readonly name?: string;
1113
+ readonly cpuHotRemoveEnabled?: boolean;
1618
1114
  /**
1619
- * Specifies the type of the extension; an example is "CustomScriptExtension".
1115
+ * Gets or sets a value indicating whether memory can be added while this virtual machine is running.
1620
1116
  * NOTE: This property will not be serialized. It can only be populated by the server.
1621
1117
  */
1622
- readonly type?: string;
1118
+ readonly memoryHotAddEnabled?: boolean;
1119
+ }
1120
+
1121
+ /** Specifies the network interfaces of the virtual machine. */
1122
+ export interface NetworkProfile {
1123
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
1124
+ networkInterfaces?: NetworkInterface[];
1125
+ }
1126
+
1127
+ /** Specifies the storage settings for the virtual machine disks. */
1128
+ export interface StorageProfile {
1129
+ /** Gets or sets the list of virtual disks associated with the virtual machine. */
1130
+ disks?: VirtualDisk[];
1623
1131
  /**
1624
- * Specifies the version of the script handler.
1132
+ * Gets or sets the list of virtual SCSI controllers associated with the virtual machine.
1625
1133
  * NOTE: This property will not be serialized. It can only be populated by the server.
1626
1134
  */
1627
- readonly typeHandlerVersion?: string;
1628
- /** Instance view status. */
1629
- status?: MachineExtensionInstanceViewStatus;
1135
+ readonly scsiControllers?: VirtualScsiController[];
1630
1136
  }
1631
1137
 
1632
- /** Instance view status. */
1633
- export interface MachineExtensionInstanceViewStatus {
1138
+ /** This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. */
1139
+ export interface VirtualScsiController {
1140
+ /** Gets or sets the controller type. */
1141
+ type?: ScsiControllerType;
1142
+ /** Gets or sets the key of the controller. */
1143
+ controllerKey?: number;
1144
+ /** Gets or sets the bus number of the controller. */
1145
+ busNumber?: number;
1146
+ /** Gets or sets the SCSI controller unit number. */
1147
+ scsiCtlrUnitNumber?: number;
1148
+ /** Gets or sets the sharing mode. */
1149
+ sharing?: VirtualScsiSharing;
1150
+ }
1151
+
1152
+ /** Specifies the Security profile settings for the virtual machine. */
1153
+ export interface SecurityProfile {
1154
+ /** Specifies the security settings like secure boot used while creating the virtual machine. */
1155
+ uefiSettings?: UefiSettings;
1156
+ }
1157
+
1158
+ /** Specifies the security settings like secure boot used while creating the virtual machine. */
1159
+ export interface UefiSettings {
1160
+ /** Specifies whether secure boot should be enabled on the virtual machine. */
1161
+ secureBootEnabled?: boolean;
1162
+ }
1163
+
1164
+ /** Specifies the vCenter infrastructure specific settings for the virtual machine. */
1165
+ export interface InfrastructureProfile {
1166
+ /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
1167
+ templateId?: string;
1168
+ /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
1169
+ vCenterId?: string;
1634
1170
  /**
1635
- * The status code.
1171
+ * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.
1636
1172
  * NOTE: This property will not be serialized. It can only be populated by the server.
1637
1173
  */
1638
- readonly code?: string;
1174
+ readonly moRefId?: string;
1175
+ /** Gets or sets the inventory Item ID for the virtual machine. */
1176
+ inventoryItemId?: string;
1639
1177
  /**
1640
- * The level code.
1178
+ * Gets or sets the vCenter Managed Object name for the virtual machine.
1641
1179
  * NOTE: This property will not be serialized. It can only be populated by the server.
1642
1180
  */
1643
- readonly level?: StatusLevelTypes;
1181
+ readonly moName?: string;
1644
1182
  /**
1645
- * The short localizable label for the status.
1183
+ * Gets or sets the folder path of the vm.
1646
1184
  * NOTE: This property will not be serialized. It can only be populated by the server.
1647
1185
  */
1648
- readonly displayStatus?: string;
1186
+ readonly folderPath?: string;
1649
1187
  /**
1650
- * The detailed status message, including for alerts and error messages.
1188
+ * Gets or sets the instance uuid of the vm.
1651
1189
  * NOTE: This property will not be serialized. It can only be populated by the server.
1652
1190
  */
1653
- readonly message?: string;
1191
+ readonly instanceUuid?: string;
1192
+ /** Gets or sets the SMBIOS UUID of the vm. */
1193
+ smbiosUuid?: string;
1194
+ /** Firmware type */
1195
+ firmwareType?: FirmwareType;
1654
1196
  /**
1655
- * The time of the status.
1197
+ * Gets the name of the corresponding resource in Kubernetes.
1656
1198
  * NOTE: This property will not be serialized. It can only be populated by the server.
1657
1199
  */
1658
- readonly time?: Date;
1200
+ readonly customResourceName?: string;
1201
+ }
1202
+
1203
+ /** Defines the virtualMachineInstanceUpdate. */
1204
+ export interface VirtualMachineInstanceUpdate {
1205
+ /** Specifies the hardware settings for the virtual machine. */
1206
+ hardwareProfile?: HardwareProfile;
1207
+ /** Specifies the storage settings for the virtual machine disks. */
1208
+ storageProfile?: StorageProfileUpdate;
1209
+ /** Specifies the network interfaces of the virtual machine. */
1210
+ networkProfile?: NetworkProfileUpdate;
1211
+ }
1212
+
1213
+ /** Specifies the storage settings for the virtual machine disks. */
1214
+ export interface StorageProfileUpdate {
1215
+ /** Gets or sets the list of virtual disks associated with the virtual machine. */
1216
+ disks?: VirtualDiskUpdate[];
1217
+ }
1218
+
1219
+ /** Defines the virtual disk update. */
1220
+ export interface VirtualDiskUpdate {
1221
+ /** Gets or sets the name of the virtual disk. */
1222
+ name?: string;
1223
+ /** Gets or sets the disk total size. */
1224
+ diskSizeGB?: number;
1225
+ /** Gets or sets the device key value. */
1226
+ deviceKey?: number;
1227
+ /** Gets or sets the disk mode. */
1228
+ diskMode?: DiskMode;
1229
+ /** Gets or sets the controller id. */
1230
+ controllerKey?: number;
1231
+ /** Gets or sets the unit number of the disk on the controller. */
1232
+ unitNumber?: number;
1233
+ /** Gets or sets the device name. */
1234
+ deviceName?: string;
1235
+ /** Gets or sets the disk backing type. */
1236
+ diskType?: DiskType;
1237
+ }
1238
+
1239
+ /** Specifies the network interfaces of the virtual machine. */
1240
+ export interface NetworkProfileUpdate {
1241
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
1242
+ networkInterfaces?: NetworkInterfaceUpdate[];
1243
+ }
1244
+
1245
+ /** Defines the network interface update. */
1246
+ export interface NetworkInterfaceUpdate {
1247
+ /** Gets or sets the name of the network interface. */
1248
+ name?: string;
1249
+ /** Gets or sets the ARM Id of the network resource to connect the virtual machine. */
1250
+ networkId?: string;
1251
+ /** NIC type */
1252
+ nicType?: NICType;
1253
+ /** Gets or sets the power on boot. */
1254
+ powerOnBoot?: PowerOnBootOption;
1255
+ /** Gets or sets the device key value. */
1256
+ deviceKey?: number;
1257
+ }
1258
+
1259
+ /** List of VirtualMachineInstances. */
1260
+ export interface VirtualMachineInstancesList {
1261
+ /** Url to follow for getting next page of VirtualMachines. */
1262
+ nextLink?: string;
1263
+ /** Array of VirtualMachines */
1264
+ value: VirtualMachineInstance[];
1265
+ }
1266
+
1267
+ /** Defines the stop action properties. */
1268
+ export interface StopVirtualMachineOptions {
1269
+ /** 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. */
1270
+ skipShutdown?: boolean;
1659
1271
  }
1660
1272
 
1661
- /** Describes the Machine Extensions List Result. */
1662
- export interface MachineExtensionsListResult {
1663
- /** The list of extensions */
1664
- value?: MachineExtension[];
1665
- /** The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions. */
1273
+ /** List of HybridIdentityMetadata. */
1274
+ export interface VmInstanceHybridIdentityMetadataList {
1275
+ /** Url to follow for getting next page of HybridIdentityMetadata. */
1666
1276
  nextLink?: string;
1277
+ /** Array of HybridIdentityMetadata */
1278
+ value: VmInstanceHybridIdentityMetadata[];
1667
1279
  }
1668
1280
 
1669
1281
  /** Username / Password Credentials to connect to guest. */
@@ -1712,32 +1324,14 @@ export interface Condition {
1712
1324
  readonly severity?: string;
1713
1325
  }
1714
1326
 
1715
- /** Defines the resource properties. */
1327
+ /** Describes the properties of an Inventory Item reference. */
1716
1328
  export interface InventoryItemDetails {
1717
1329
  /** Gets or sets the inventory Item ID for the resource. */
1718
1330
  inventoryItemId?: string;
1719
1331
  /** Gets or sets the vCenter Managed Object name for the resource. */
1720
1332
  moName?: string;
1721
- }
1722
-
1723
- /** Describes a Machine Extension Update. */
1724
- export interface MachineExtensionUpdate extends ResourcePatch {
1725
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1726
- forceUpdateTag?: string;
1727
- /** The name of the extension handler publisher. */
1728
- publisher?: string;
1729
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1730
- type?: string;
1731
- /** Specifies the version of the script handler. */
1732
- typeHandlerVersion?: string;
1733
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1734
- enableAutomaticUpgrade?: boolean;
1735
- /** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
1736
- autoUpgradeMinorVersion?: boolean;
1737
- /** Json formatted public settings for the extension. */
1738
- settings?: Record<string, unknown>;
1739
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1740
- protectedSettings?: Record<string, unknown>;
1333
+ /** The inventory type. */
1334
+ inventoryType?: InventoryType;
1741
1335
  }
1742
1336
 
1743
1337
  /** The resource pool inventory item. */
@@ -1764,6 +1358,8 @@ export interface VirtualMachineInventoryItem extends InventoryItemProperties {
1764
1358
  host?: InventoryItemDetails;
1765
1359
  /** ResourcePool inventory resource details. */
1766
1360
  resourcePool?: InventoryItemDetails;
1361
+ /** Cluster inventory resource details. */
1362
+ cluster?: InventoryItemDetails;
1767
1363
  /** Gets or sets the instance uuid of the vm. */
1768
1364
  instanceUuid?: string;
1769
1365
  /** Gets or sets the SMBIOS UUID of the vm. */
@@ -1808,6 +1404,16 @@ export interface VirtualMachineTemplateInventoryItem
1808
1404
  osType?: OsType;
1809
1405
  /** Gets or sets os name. */
1810
1406
  osName?: string;
1407
+ /**
1408
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1409
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1410
+ */
1411
+ readonly toolsVersionStatus?: string;
1412
+ /**
1413
+ * Gets or sets the current version of VMware Tools.
1414
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1415
+ */
1416
+ readonly toolsVersion?: string;
1811
1417
  /** Gets or sets the folder path of the template. */
1812
1418
  folderPath?: string;
1813
1419
  }
@@ -1845,17 +1451,8 @@ export interface HostInventoryItem extends InventoryItemProperties {
1845
1451
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1846
1452
  export interface ProxyResource extends Resource {}
1847
1453
 
1848
- /** The machine extension instance view. */
1849
- export interface MachineExtensionPropertiesInstanceView
1850
- extends MachineExtensionInstanceView {}
1851
-
1852
1454
  /** Defines the inventory item. */
1853
1455
  export interface InventoryItem extends ProxyResource {
1854
- /**
1855
- * The system data.
1856
- * NOTE: This property will not be serialized. It can only be populated by the server.
1857
- */
1858
- readonly systemData?: SystemData;
1859
1456
  /** 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. */
1860
1457
  kind?: string;
1861
1458
  /** They inventory type. */
@@ -1867,42 +1464,67 @@ export interface InventoryItem extends ProxyResource {
1867
1464
  /** Gets or sets the vCenter Managed Object name for the inventory item. */
1868
1465
  moName?: string;
1869
1466
  /**
1870
- * Gets or sets the provisioning state.
1467
+ * Gets the provisioning state.
1871
1468
  * NOTE: This property will not be serialized. It can only be populated by the server.
1872
1469
  */
1873
- readonly provisioningState?: string;
1470
+ readonly provisioningState?: ProvisioningState;
1874
1471
  }
1875
1472
 
1876
- /** Defines the HybridIdentityMetadata. */
1877
- export interface HybridIdentityMetadata extends ProxyResource {
1473
+ /** Define the virtualMachineInstance. */
1474
+ export interface VirtualMachineInstance extends ProxyResource {
1475
+ /** Gets or sets the extended location. */
1476
+ extendedLocation?: ExtendedLocation;
1477
+ /** Placement properties. */
1478
+ placementProfile?: PlacementProfile;
1479
+ /** OS properties. */
1480
+ osProfile?: OsProfileForVMInstance;
1481
+ /** Hardware properties. */
1482
+ hardwareProfile?: HardwareProfile;
1483
+ /** Network properties. */
1484
+ networkProfile?: NetworkProfile;
1485
+ /** Storage properties. */
1486
+ storageProfile?: StorageProfile;
1487
+ /** Gets the security profile. */
1488
+ securityProfile?: SecurityProfile;
1489
+ /** Gets the infrastructure profile. */
1490
+ infrastructureProfile?: InfrastructureProfile;
1878
1491
  /**
1879
- * The system data.
1492
+ * Gets the power state of the virtual machine.
1880
1493
  * NOTE: This property will not be serialized. It can only be populated by the server.
1881
1494
  */
1882
- readonly systemData?: SystemData;
1883
- /** Gets or sets the Vm Id. */
1884
- vmId?: string;
1885
- /** Gets or sets the Public Key. */
1886
- publicKey?: string;
1495
+ readonly powerState?: string;
1496
+ /**
1497
+ * The resource status information.
1498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1499
+ */
1500
+ readonly statuses?: ResourceStatus[];
1887
1501
  /**
1888
- * The identity of the resource.
1502
+ * Gets the provisioning state.
1889
1503
  * NOTE: This property will not be serialized. It can only be populated by the server.
1890
1504
  */
1891
- readonly identity?: Identity;
1505
+ readonly provisioningState?: ProvisioningState;
1892
1506
  /**
1893
- * Gets or sets the provisioning state.
1507
+ * Gets or sets a unique identifier for the vm resource.
1894
1508
  * NOTE: This property will not be serialized. It can only be populated by the server.
1895
1509
  */
1896
- readonly provisioningState?: string;
1510
+ readonly resourceUid?: string;
1897
1511
  }
1898
1512
 
1899
- /** Defines the GuestAgent. */
1900
- export interface GuestAgent extends ProxyResource {
1513
+ /** Defines the HybridIdentityMetadata. */
1514
+ export interface VmInstanceHybridIdentityMetadata extends ProxyResource {
1515
+ /** The unique identifier for the resource. */
1516
+ resourceUid?: string;
1517
+ /** Gets or sets the Public Key. */
1518
+ publicKey?: string;
1901
1519
  /**
1902
- * The system data.
1520
+ * Gets the provisioning state.
1903
1521
  * NOTE: This property will not be serialized. It can only be populated by the server.
1904
1522
  */
1905
- readonly systemData?: SystemData;
1523
+ readonly provisioningState?: ProvisioningState;
1524
+ }
1525
+
1526
+ /** Defines the GuestAgent. */
1527
+ export interface GuestAgent extends ProxyResource {
1906
1528
  /**
1907
1529
  * Gets or sets a unique identifier for this resource.
1908
1530
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1910,6 +1532,8 @@ export interface GuestAgent extends ProxyResource {
1910
1532
  readonly uuid?: string;
1911
1533
  /** Username / Password Credentials to provision guest agent. */
1912
1534
  credentials?: GuestCredential;
1535
+ /** The resource id of the private link scope this machine is assigned to, if any. */
1536
+ privateLinkScopeResourceId?: string;
1913
1537
  /** HTTP Proxy configuration for the VM. */
1914
1538
  httpProxyConfig?: HttpProxyConfiguration;
1915
1539
  /** Gets or sets the guest agent provisioning action. */
@@ -1930,236 +1554,76 @@ export interface GuestAgent extends ProxyResource {
1930
1554
  */
1931
1555
  readonly statuses?: ResourceStatus[];
1932
1556
  /**
1933
- * Gets or sets the provisioning state.
1557
+ * Gets the provisioning state.
1934
1558
  * NOTE: This property will not be serialized. It can only be populated by the server.
1935
1559
  */
1936
- readonly provisioningState?: string;
1560
+ readonly provisioningState?: ProvisioningState;
1937
1561
  }
1938
1562
 
1939
- /** Known values of {@link PatchOperationStatus} that the service accepts. */
1940
- export enum KnownPatchOperationStatus {
1941
- /** Unknown */
1942
- Unknown = "Unknown",
1943
- /** InProgress */
1944
- InProgress = "InProgress",
1945
- /** Failed */
1946
- Failed = "Failed",
1947
- /** Succeeded */
1948
- Succeeded = "Succeeded",
1949
- /** CompletedWithWarnings */
1950
- CompletedWithWarnings = "CompletedWithWarnings"
1563
+ /** Defines headers for ResourcePools_delete operation. */
1564
+ export interface ResourcePoolsDeleteHeaders {
1565
+ location?: string;
1951
1566
  }
1952
1567
 
1953
- /**
1954
- * Defines values for PatchOperationStatus. \
1955
- * {@link KnownPatchOperationStatus} can be used interchangeably with PatchOperationStatus,
1956
- * this enum contains the known values that the service supports.
1957
- * ### Known values supported by the service
1958
- * **Unknown** \
1959
- * **InProgress** \
1960
- * **Failed** \
1961
- * **Succeeded** \
1962
- * **CompletedWithWarnings**
1963
- */
1964
- export type PatchOperationStatus = string;
1965
-
1966
- /** Known values of {@link PatchOperationStartedBy} that the service accepts. */
1967
- export enum KnownPatchOperationStartedBy {
1968
- /** User */
1969
- User = "User",
1970
- /** Platform */
1971
- Platform = "Platform"
1568
+ /** Defines headers for Clusters_delete operation. */
1569
+ export interface ClustersDeleteHeaders {
1570
+ location?: string;
1972
1571
  }
1973
1572
 
1974
- /**
1975
- * Defines values for PatchOperationStartedBy. \
1976
- * {@link KnownPatchOperationStartedBy} can be used interchangeably with PatchOperationStartedBy,
1977
- * this enum contains the known values that the service supports.
1978
- * ### Known values supported by the service
1979
- * **User** \
1980
- * **Platform**
1981
- */
1982
- export type PatchOperationStartedBy = string;
1983
-
1984
- /** Known values of {@link PatchServiceUsed} that the service accepts. */
1985
- export enum KnownPatchServiceUsed {
1986
- /** Unknown */
1987
- Unknown = "Unknown",
1988
- /** WU */
1989
- WU = "WU",
1990
- /** WUWsus */
1991
- WUWsus = "WU_WSUS",
1992
- /** YUM */
1993
- YUM = "YUM",
1994
- /** APT */
1995
- APT = "APT",
1996
- /** Zypper */
1997
- Zypper = "Zypper"
1573
+ /** Defines headers for Hosts_delete operation. */
1574
+ export interface HostsDeleteHeaders {
1575
+ location?: string;
1998
1576
  }
1999
1577
 
2000
- /**
2001
- * Defines values for PatchServiceUsed. \
2002
- * {@link KnownPatchServiceUsed} can be used interchangeably with PatchServiceUsed,
2003
- * this enum contains the known values that the service supports.
2004
- * ### Known values supported by the service
2005
- * **Unknown** \
2006
- * **WU** \
2007
- * **WU_WSUS** \
2008
- * **YUM** \
2009
- * **APT** \
2010
- * **Zypper**
2011
- */
2012
- export type PatchServiceUsed = string;
2013
-
2014
- /** Known values of {@link OsTypeUM} that the service accepts. */
2015
- export enum KnownOsTypeUM {
2016
- /** Windows */
2017
- Windows = "Windows",
2018
- /** Linux */
2019
- Linux = "Linux"
1578
+ /** Defines headers for Datastores_delete operation. */
1579
+ export interface DatastoresDeleteHeaders {
1580
+ location?: string;
2020
1581
  }
2021
1582
 
2022
- /**
2023
- * Defines values for OsTypeUM. \
2024
- * {@link KnownOsTypeUM} can be used interchangeably with OsTypeUM,
2025
- * this enum contains the known values that the service supports.
2026
- * ### Known values supported by the service
2027
- * **Windows** \
2028
- * **Linux**
2029
- */
2030
- export type OsTypeUM = string;
1583
+ /** Defines headers for VCenters_delete operation. */
1584
+ export interface VCentersDeleteHeaders {
1585
+ location?: string;
1586
+ }
2031
1587
 
2032
- /** Known values of {@link VMGuestPatchRebootSetting} that the service accepts. */
2033
- export enum KnownVMGuestPatchRebootSetting {
2034
- /** IfRequired */
2035
- IfRequired = "IfRequired",
2036
- /** Never */
2037
- Never = "Never",
2038
- /** Always */
2039
- Always = "Always"
1588
+ /** Defines headers for VirtualMachineTemplates_delete operation. */
1589
+ export interface VirtualMachineTemplatesDeleteHeaders {
1590
+ location?: string;
2040
1591
  }
2041
1592
 
2042
- /**
2043
- * Defines values for VMGuestPatchRebootSetting. \
2044
- * {@link KnownVMGuestPatchRebootSetting} can be used interchangeably with VMGuestPatchRebootSetting,
2045
- * this enum contains the known values that the service supports.
2046
- * ### Known values supported by the service
2047
- * **IfRequired** \
2048
- * **Never** \
2049
- * **Always**
2050
- */
2051
- export type VMGuestPatchRebootSetting = string;
2052
-
2053
- /** Known values of {@link VMGuestPatchClassificationWindows} that the service accepts. */
2054
- export enum KnownVMGuestPatchClassificationWindows {
2055
- /** Critical */
2056
- Critical = "Critical",
2057
- /** Security */
2058
- Security = "Security",
2059
- /** UpdateRollUp */
2060
- UpdateRollUp = "UpdateRollUp",
2061
- /** FeaturePack */
2062
- FeaturePack = "FeaturePack",
2063
- /** ServicePack */
2064
- ServicePack = "ServicePack",
2065
- /** Definition */
2066
- Definition = "Definition",
2067
- /** Tools */
2068
- Tools = "Tools",
2069
- /** Updates */
2070
- Updates = "Updates"
1593
+ /** Defines headers for VirtualNetworks_delete operation. */
1594
+ export interface VirtualNetworksDeleteHeaders {
1595
+ location?: string;
2071
1596
  }
2072
1597
 
2073
- /**
2074
- * Defines values for VMGuestPatchClassificationWindows. \
2075
- * {@link KnownVMGuestPatchClassificationWindows} can be used interchangeably with VMGuestPatchClassificationWindows,
2076
- * this enum contains the known values that the service supports.
2077
- * ### Known values supported by the service
2078
- * **Critical** \
2079
- * **Security** \
2080
- * **UpdateRollUp** \
2081
- * **FeaturePack** \
2082
- * **ServicePack** \
2083
- * **Definition** \
2084
- * **Tools** \
2085
- * **Updates**
2086
- */
2087
- export type VMGuestPatchClassificationWindows = string;
2088
-
2089
- /** Known values of {@link VMGuestPatchClassificationLinux} that the service accepts. */
2090
- export enum KnownVMGuestPatchClassificationLinux {
2091
- /** Critical */
2092
- Critical = "Critical",
2093
- /** Security */
2094
- Security = "Security",
2095
- /** Other */
2096
- Other = "Other"
1598
+ /** Defines headers for VirtualMachineInstances_update operation. */
1599
+ export interface VirtualMachineInstancesUpdateHeaders {
1600
+ location?: string;
2097
1601
  }
2098
1602
 
2099
- /**
2100
- * Defines values for VMGuestPatchClassificationLinux. \
2101
- * {@link KnownVMGuestPatchClassificationLinux} can be used interchangeably with VMGuestPatchClassificationLinux,
2102
- * this enum contains the known values that the service supports.
2103
- * ### Known values supported by the service
2104
- * **Critical** \
2105
- * **Security** \
2106
- * **Other**
2107
- */
2108
- export type VMGuestPatchClassificationLinux = string;
1603
+ /** Defines headers for VirtualMachineInstances_delete operation. */
1604
+ export interface VirtualMachineInstancesDeleteHeaders {
1605
+ location?: string;
1606
+ }
2109
1607
 
2110
- /** Known values of {@link VMGuestPatchRebootStatus} that the service accepts. */
2111
- export enum KnownVMGuestPatchRebootStatus {
2112
- /** Unknown */
2113
- Unknown = "Unknown",
2114
- /** NotNeeded */
2115
- NotNeeded = "NotNeeded",
2116
- /** Required */
2117
- Required = "Required",
2118
- /** Started */
2119
- Started = "Started",
2120
- /** Failed */
2121
- Failed = "Failed",
2122
- /** Completed */
2123
- Completed = "Completed"
1608
+ /** Defines headers for VirtualMachineInstances_stop operation. */
1609
+ export interface VirtualMachineInstancesStopHeaders {
1610
+ location?: string;
2124
1611
  }
2125
1612
 
2126
- /**
2127
- * Defines values for VMGuestPatchRebootStatus. \
2128
- * {@link KnownVMGuestPatchRebootStatus} can be used interchangeably with VMGuestPatchRebootStatus,
2129
- * this enum contains the known values that the service supports.
2130
- * ### Known values supported by the service
2131
- * **Unknown** \
2132
- * **NotNeeded** \
2133
- * **Required** \
2134
- * **Started** \
2135
- * **Failed** \
2136
- * **Completed**
2137
- */
2138
- export type VMGuestPatchRebootStatus = string;
1613
+ /** Defines headers for VirtualMachineInstances_start operation. */
1614
+ export interface VirtualMachineInstancesStartHeaders {
1615
+ location?: string;
1616
+ }
2139
1617
 
2140
- /** Known values of {@link CreatedByType} that the service accepts. */
2141
- export enum KnownCreatedByType {
2142
- /** User */
2143
- User = "User",
2144
- /** Application */
2145
- Application = "Application",
2146
- /** ManagedIdentity */
2147
- ManagedIdentity = "ManagedIdentity",
2148
- /** Key */
2149
- Key = "Key"
1618
+ /** Defines headers for VirtualMachineInstances_restart operation. */
1619
+ export interface VirtualMachineInstancesRestartHeaders {
1620
+ location?: string;
2150
1621
  }
2151
1622
 
2152
- /**
2153
- * Defines values for CreatedByType. \
2154
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2155
- * this enum contains the known values that the service supports.
2156
- * ### Known values supported by the service
2157
- * **User** \
2158
- * **Application** \
2159
- * **ManagedIdentity** \
2160
- * **Key**
2161
- */
2162
- export type CreatedByType = string;
1623
+ /** Defines headers for VMInstanceGuestAgents_delete operation. */
1624
+ export interface VMInstanceGuestAgentsDeleteHeaders {
1625
+ location?: string;
1626
+ }
2163
1627
 
2164
1628
  /** Known values of {@link ProvisioningState} that the service accepts. */
2165
1629
  export enum KnownProvisioningState {
@@ -2186,16 +1650,40 @@ export enum KnownProvisioningState {
2186
1650
  * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
2187
1651
  * this enum contains the known values that the service supports.
2188
1652
  * ### Known values supported by the service
2189
- * **Succeeded** \
2190
- * **Failed** \
2191
- * **Canceled** \
2192
- * **Provisioning** \
2193
- * **Updating** \
2194
- * **Deleting** \
2195
- * **Accepted** \
2196
- * **Created**
1653
+ * **Succeeded** \
1654
+ * **Failed** \
1655
+ * **Canceled** \
1656
+ * **Provisioning** \
1657
+ * **Updating** \
1658
+ * **Deleting** \
1659
+ * **Accepted** \
1660
+ * **Created**
1661
+ */
1662
+ export type ProvisioningState = string;
1663
+
1664
+ /** Known values of {@link CreatedByType} that the service accepts. */
1665
+ export enum KnownCreatedByType {
1666
+ /** User */
1667
+ User = "User",
1668
+ /** Application */
1669
+ Application = "Application",
1670
+ /** ManagedIdentity */
1671
+ ManagedIdentity = "ManagedIdentity",
1672
+ /** Key */
1673
+ Key = "Key"
1674
+ }
1675
+
1676
+ /**
1677
+ * Defines values for CreatedByType. \
1678
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1679
+ * this enum contains the known values that the service supports.
1680
+ * ### Known values supported by the service
1681
+ * **User** \
1682
+ * **Application** \
1683
+ * **ManagedIdentity** \
1684
+ * **Key**
2197
1685
  */
2198
- export type ProvisioningState = string;
1686
+ export type CreatedByType = string;
2199
1687
 
2200
1688
  /** Known values of {@link OsType} that the service accepts. */
2201
1689
  export enum KnownOsType {
@@ -2350,72 +1838,6 @@ export enum KnownDiskType {
2350
1838
  */
2351
1839
  export type DiskType = string;
2352
1840
 
2353
- /** Known values of {@link ScsiControllerType} that the service accepts. */
2354
- export enum KnownScsiControllerType {
2355
- /** Lsilogic */
2356
- Lsilogic = "lsilogic",
2357
- /** Buslogic */
2358
- Buslogic = "buslogic",
2359
- /** Pvscsi */
2360
- Pvscsi = "pvscsi",
2361
- /** Lsilogicsas */
2362
- Lsilogicsas = "lsilogicsas"
2363
- }
2364
-
2365
- /**
2366
- * Defines values for ScsiControllerType. \
2367
- * {@link KnownScsiControllerType} can be used interchangeably with ScsiControllerType,
2368
- * this enum contains the known values that the service supports.
2369
- * ### Known values supported by the service
2370
- * **lsilogic** \
2371
- * **buslogic** \
2372
- * **pvscsi** \
2373
- * **lsilogicsas**
2374
- */
2375
- export type ScsiControllerType = string;
2376
-
2377
- /** Known values of {@link VirtualScsiSharing} that the service accepts. */
2378
- export enum KnownVirtualScsiSharing {
2379
- /** NoSharing */
2380
- NoSharing = "noSharing",
2381
- /** PhysicalSharing */
2382
- PhysicalSharing = "physicalSharing",
2383
- /** VirtualSharing */
2384
- VirtualSharing = "virtualSharing"
2385
- }
2386
-
2387
- /**
2388
- * Defines values for VirtualScsiSharing. \
2389
- * {@link KnownVirtualScsiSharing} can be used interchangeably with VirtualScsiSharing,
2390
- * this enum contains the known values that the service supports.
2391
- * ### Known values supported by the service
2392
- * **noSharing** \
2393
- * **physicalSharing** \
2394
- * **virtualSharing**
2395
- */
2396
- export type VirtualScsiSharing = string;
2397
-
2398
- /** Known values of {@link StatusTypes} that the service accepts. */
2399
- export enum KnownStatusTypes {
2400
- /** Connected */
2401
- Connected = "Connected",
2402
- /** Disconnected */
2403
- Disconnected = "Disconnected",
2404
- /** Error */
2405
- Error = "Error"
2406
- }
2407
-
2408
- /**
2409
- * Defines values for StatusTypes. \
2410
- * {@link KnownStatusTypes} can be used interchangeably with StatusTypes,
2411
- * this enum contains the known values that the service supports.
2412
- * ### Known values supported by the service
2413
- * **Connected** \
2414
- * **Disconnected** \
2415
- * **Error**
2416
- */
2417
- export type StatusTypes = string;
2418
-
2419
1841
  /** Known values of {@link FirmwareType} that the service accepts. */
2420
1842
  export enum KnownFirmwareType {
2421
1843
  /** Bios */
@@ -2434,24 +1856,6 @@ export enum KnownFirmwareType {
2434
1856
  */
2435
1857
  export type FirmwareType = string;
2436
1858
 
2437
- /** Known values of {@link IdentityType} that the service accepts. */
2438
- export enum KnownIdentityType {
2439
- /** None */
2440
- None = "None",
2441
- /** SystemAssigned */
2442
- SystemAssigned = "SystemAssigned"
2443
- }
2444
-
2445
- /**
2446
- * Defines values for IdentityType. \
2447
- * {@link KnownIdentityType} can be used interchangeably with IdentityType,
2448
- * this enum contains the known values that the service supports.
2449
- * ### Known values supported by the service
2450
- * **None** \
2451
- * **SystemAssigned**
2452
- */
2453
- export type IdentityType = string;
2454
-
2455
1859
  /** Known values of {@link InventoryType} that the service accepts. */
2456
1860
  export enum KnownInventoryType {
2457
1861
  /** ResourcePool */
@@ -2485,26 +1889,50 @@ export enum KnownInventoryType {
2485
1889
  */
2486
1890
  export type InventoryType = string;
2487
1891
 
2488
- /** Known values of {@link StatusLevelTypes} that the service accepts. */
2489
- export enum KnownStatusLevelTypes {
2490
- /** Info */
2491
- Info = "Info",
2492
- /** Warning */
2493
- Warning = "Warning",
2494
- /** Error */
2495
- Error = "Error"
1892
+ /** Known values of {@link ScsiControllerType} that the service accepts. */
1893
+ export enum KnownScsiControllerType {
1894
+ /** Lsilogic */
1895
+ Lsilogic = "lsilogic",
1896
+ /** Buslogic */
1897
+ Buslogic = "buslogic",
1898
+ /** Pvscsi */
1899
+ Pvscsi = "pvscsi",
1900
+ /** Lsilogicsas */
1901
+ Lsilogicsas = "lsilogicsas"
1902
+ }
1903
+
1904
+ /**
1905
+ * Defines values for ScsiControllerType. \
1906
+ * {@link KnownScsiControllerType} can be used interchangeably with ScsiControllerType,
1907
+ * this enum contains the known values that the service supports.
1908
+ * ### Known values supported by the service
1909
+ * **lsilogic** \
1910
+ * **buslogic** \
1911
+ * **pvscsi** \
1912
+ * **lsilogicsas**
1913
+ */
1914
+ export type ScsiControllerType = string;
1915
+
1916
+ /** Known values of {@link VirtualScsiSharing} that the service accepts. */
1917
+ export enum KnownVirtualScsiSharing {
1918
+ /** NoSharing */
1919
+ NoSharing = "noSharing",
1920
+ /** PhysicalSharing */
1921
+ PhysicalSharing = "physicalSharing",
1922
+ /** VirtualSharing */
1923
+ VirtualSharing = "virtualSharing"
2496
1924
  }
2497
1925
 
2498
1926
  /**
2499
- * Defines values for StatusLevelTypes. \
2500
- * {@link KnownStatusLevelTypes} can be used interchangeably with StatusLevelTypes,
1927
+ * Defines values for VirtualScsiSharing. \
1928
+ * {@link KnownVirtualScsiSharing} can be used interchangeably with VirtualScsiSharing,
2501
1929
  * this enum contains the known values that the service supports.
2502
1930
  * ### Known values supported by the service
2503
- * **Info** \
2504
- * **Warning** \
2505
- * **Error**
1931
+ * **noSharing** \
1932
+ * **physicalSharing** \
1933
+ * **virtualSharing**
2506
1934
  */
2507
- export type StatusLevelTypes = string;
1935
+ export type VirtualScsiSharing = string;
2508
1936
 
2509
1937
  /** Known values of {@link ProvisioningAction} that the service accepts. */
2510
1938
  export enum KnownProvisioningAction {
@@ -2541,135 +1969,6 @@ export interface OperationsListNextOptionalParams
2541
1969
  /** Contains response data for the listNext operation. */
2542
1970
  export type OperationsListNextResponse = OperationsList;
2543
1971
 
2544
- /** Optional parameters. */
2545
- export interface VirtualMachinesAssessPatchesOptionalParams
2546
- extends coreClient.OperationOptions {
2547
- /** Delay to wait until next poll, in milliseconds. */
2548
- updateIntervalInMs?: number;
2549
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2550
- resumeFrom?: string;
2551
- }
2552
-
2553
- /** Contains response data for the assessPatches operation. */
2554
- export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult;
2555
-
2556
- /** Optional parameters. */
2557
- export interface VirtualMachinesInstallPatchesOptionalParams
2558
- extends coreClient.OperationOptions {
2559
- /** Delay to wait until next poll, in milliseconds. */
2560
- updateIntervalInMs?: number;
2561
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2562
- resumeFrom?: string;
2563
- }
2564
-
2565
- /** Contains response data for the installPatches operation. */
2566
- export type VirtualMachinesInstallPatchesResponse = VirtualMachineInstallPatchesResult;
2567
-
2568
- /** Optional parameters. */
2569
- export interface VirtualMachinesCreateOptionalParams
2570
- extends coreClient.OperationOptions {
2571
- /** Request payload. */
2572
- body?: VirtualMachine;
2573
- /** Delay to wait until next poll, in milliseconds. */
2574
- updateIntervalInMs?: number;
2575
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2576
- resumeFrom?: string;
2577
- }
2578
-
2579
- /** Contains response data for the create operation. */
2580
- export type VirtualMachinesCreateResponse = VirtualMachine;
2581
-
2582
- /** Optional parameters. */
2583
- export interface VirtualMachinesGetOptionalParams
2584
- extends coreClient.OperationOptions {}
2585
-
2586
- /** Contains response data for the get operation. */
2587
- export type VirtualMachinesGetResponse = VirtualMachine;
2588
-
2589
- /** Optional parameters. */
2590
- export interface VirtualMachinesUpdateOptionalParams
2591
- extends coreClient.OperationOptions {
2592
- /** Resource properties to update. */
2593
- body?: VirtualMachineUpdate;
2594
- /** Delay to wait until next poll, in milliseconds. */
2595
- updateIntervalInMs?: number;
2596
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2597
- resumeFrom?: string;
2598
- }
2599
-
2600
- /** Contains response data for the update operation. */
2601
- export type VirtualMachinesUpdateResponse = VirtualMachine;
2602
-
2603
- /** Optional parameters. */
2604
- export interface VirtualMachinesDeleteOptionalParams
2605
- extends coreClient.OperationOptions {
2606
- /** Whether force delete was specified. */
2607
- force?: boolean;
2608
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
2609
- retain?: boolean;
2610
- /** Delay to wait until next poll, in milliseconds. */
2611
- updateIntervalInMs?: number;
2612
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2613
- resumeFrom?: string;
2614
- }
2615
-
2616
- /** Optional parameters. */
2617
- export interface VirtualMachinesStopOptionalParams
2618
- extends coreClient.OperationOptions {
2619
- /** Virtualmachine stop action payload. */
2620
- body?: StopVirtualMachineOptions;
2621
- /** Delay to wait until next poll, in milliseconds. */
2622
- updateIntervalInMs?: number;
2623
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2624
- resumeFrom?: string;
2625
- }
2626
-
2627
- /** Optional parameters. */
2628
- export interface VirtualMachinesStartOptionalParams
2629
- extends coreClient.OperationOptions {
2630
- /** Delay to wait until next poll, in milliseconds. */
2631
- updateIntervalInMs?: number;
2632
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2633
- resumeFrom?: string;
2634
- }
2635
-
2636
- /** Optional parameters. */
2637
- export interface VirtualMachinesRestartOptionalParams
2638
- extends coreClient.OperationOptions {
2639
- /** Delay to wait until next poll, in milliseconds. */
2640
- updateIntervalInMs?: number;
2641
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2642
- resumeFrom?: string;
2643
- }
2644
-
2645
- /** Optional parameters. */
2646
- export interface VirtualMachinesListOptionalParams
2647
- extends coreClient.OperationOptions {}
2648
-
2649
- /** Contains response data for the list operation. */
2650
- export type VirtualMachinesListResponse = VirtualMachinesList;
2651
-
2652
- /** Optional parameters. */
2653
- export interface VirtualMachinesListByResourceGroupOptionalParams
2654
- extends coreClient.OperationOptions {}
2655
-
2656
- /** Contains response data for the listByResourceGroup operation. */
2657
- export type VirtualMachinesListByResourceGroupResponse = VirtualMachinesList;
2658
-
2659
- /** Optional parameters. */
2660
- export interface VirtualMachinesListNextOptionalParams
2661
- extends coreClient.OperationOptions {}
2662
-
2663
- /** Contains response data for the listNext operation. */
2664
- export type VirtualMachinesListNextResponse = VirtualMachinesList;
2665
-
2666
- /** Optional parameters. */
2667
- export interface VirtualMachinesListByResourceGroupNextOptionalParams
2668
- extends coreClient.OperationOptions {}
2669
-
2670
- /** Contains response data for the listByResourceGroupNext operation. */
2671
- export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachinesList;
2672
-
2673
1972
  /** Optional parameters. */
2674
1973
  export interface ResourcePoolsCreateOptionalParams
2675
1974
  extends coreClient.OperationOptions {
@@ -3191,54 +2490,79 @@ export interface InventoryItemsListByVCenterNextOptionalParams
3191
2490
  export type InventoryItemsListByVCenterNextResponse = InventoryItemsList;
3192
2491
 
3193
2492
  /** Optional parameters. */
3194
- export interface HybridIdentityMetadataCreateOptionalParams
2493
+ export interface VirtualMachineInstancesCreateOrUpdateOptionalParams
3195
2494
  extends coreClient.OperationOptions {
3196
2495
  /** Request payload. */
3197
- body?: HybridIdentityMetadata;
2496
+ body?: VirtualMachineInstance;
2497
+ /** Delay to wait until next poll, in milliseconds. */
2498
+ updateIntervalInMs?: number;
2499
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2500
+ resumeFrom?: string;
3198
2501
  }
3199
2502
 
3200
- /** Contains response data for the create operation. */
3201
- export type HybridIdentityMetadataCreateResponse = HybridIdentityMetadata;
2503
+ /** Contains response data for the createOrUpdate operation. */
2504
+ export type VirtualMachineInstancesCreateOrUpdateResponse = VirtualMachineInstance;
3202
2505
 
3203
2506
  /** Optional parameters. */
3204
- export interface HybridIdentityMetadataGetOptionalParams
2507
+ export interface VirtualMachineInstancesGetOptionalParams
3205
2508
  extends coreClient.OperationOptions {}
3206
2509
 
3207
2510
  /** Contains response data for the get operation. */
3208
- export type HybridIdentityMetadataGetResponse = HybridIdentityMetadata;
2511
+ export type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
3209
2512
 
3210
2513
  /** Optional parameters. */
3211
- export interface HybridIdentityMetadataDeleteOptionalParams
3212
- extends coreClient.OperationOptions {}
2514
+ export interface VirtualMachineInstancesUpdateOptionalParams
2515
+ extends coreClient.OperationOptions {
2516
+ /** Resource properties to update. */
2517
+ body?: VirtualMachineInstanceUpdate;
2518
+ /** Delay to wait until next poll, in milliseconds. */
2519
+ updateIntervalInMs?: number;
2520
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2521
+ resumeFrom?: string;
2522
+ }
2523
+
2524
+ /** Contains response data for the update operation. */
2525
+ export type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance;
3213
2526
 
3214
2527
  /** Optional parameters. */
3215
- export interface HybridIdentityMetadataListByVmOptionalParams
3216
- extends coreClient.OperationOptions {}
2528
+ export interface VirtualMachineInstancesDeleteOptionalParams
2529
+ extends coreClient.OperationOptions {
2530
+ /** Whether force delete was specified. */
2531
+ force?: boolean;
2532
+ /** Whether to delete the VM from the vCenter. */
2533
+ deleteFromHost?: boolean;
2534
+ /** Delay to wait until next poll, in milliseconds. */
2535
+ updateIntervalInMs?: number;
2536
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2537
+ resumeFrom?: string;
2538
+ }
3217
2539
 
3218
- /** Contains response data for the listByVm operation. */
3219
- export type HybridIdentityMetadataListByVmResponse = HybridIdentityMetadataList;
2540
+ /** Contains response data for the delete operation. */
2541
+ export type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders;
3220
2542
 
3221
2543
  /** Optional parameters. */
3222
- export interface HybridIdentityMetadataListByVmNextOptionalParams
2544
+ export interface VirtualMachineInstancesListOptionalParams
3223
2545
  extends coreClient.OperationOptions {}
3224
2546
 
3225
- /** Contains response data for the listByVmNext operation. */
3226
- export type HybridIdentityMetadataListByVmNextResponse = HybridIdentityMetadataList;
2547
+ /** Contains response data for the list operation. */
2548
+ export type VirtualMachineInstancesListResponse = VirtualMachineInstancesList;
3227
2549
 
3228
2550
  /** Optional parameters. */
3229
- export interface MachineExtensionsCreateOrUpdateOptionalParams
2551
+ export interface VirtualMachineInstancesStopOptionalParams
3230
2552
  extends coreClient.OperationOptions {
2553
+ /** Virtualmachine stop action payload. */
2554
+ body?: StopVirtualMachineOptions;
3231
2555
  /** Delay to wait until next poll, in milliseconds. */
3232
2556
  updateIntervalInMs?: number;
3233
2557
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3234
2558
  resumeFrom?: string;
3235
2559
  }
3236
2560
 
3237
- /** Contains response data for the createOrUpdate operation. */
3238
- export type MachineExtensionsCreateOrUpdateResponse = MachineExtension;
2561
+ /** Contains response data for the stop operation. */
2562
+ export type VirtualMachineInstancesStopResponse = VirtualMachineInstancesStopHeaders;
3239
2563
 
3240
2564
  /** Optional parameters. */
3241
- export interface MachineExtensionsUpdateOptionalParams
2565
+ export interface VirtualMachineInstancesStartOptionalParams
3242
2566
  extends coreClient.OperationOptions {
3243
2567
  /** Delay to wait until next poll, in milliseconds. */
3244
2568
  updateIntervalInMs?: number;
@@ -3246,11 +2570,11 @@ export interface MachineExtensionsUpdateOptionalParams
3246
2570
  resumeFrom?: string;
3247
2571
  }
3248
2572
 
3249
- /** Contains response data for the update operation. */
3250
- export type MachineExtensionsUpdateResponse = MachineExtension;
2573
+ /** Contains response data for the start operation. */
2574
+ export type VirtualMachineInstancesStartResponse = VirtualMachineInstancesStartHeaders;
3251
2575
 
3252
2576
  /** Optional parameters. */
3253
- export interface MachineExtensionsDeleteOptionalParams
2577
+ export interface VirtualMachineInstancesRestartOptionalParams
3254
2578
  extends coreClient.OperationOptions {
3255
2579
  /** Delay to wait until next poll, in milliseconds. */
3256
2580
  updateIntervalInMs?: number;
@@ -3258,32 +2582,39 @@ export interface MachineExtensionsDeleteOptionalParams
3258
2582
  resumeFrom?: string;
3259
2583
  }
3260
2584
 
2585
+ /** Contains response data for the restart operation. */
2586
+ export type VirtualMachineInstancesRestartResponse = VirtualMachineInstancesRestartHeaders;
2587
+
2588
+ /** Optional parameters. */
2589
+ export interface VirtualMachineInstancesListNextOptionalParams
2590
+ extends coreClient.OperationOptions {}
2591
+
2592
+ /** Contains response data for the listNext operation. */
2593
+ export type VirtualMachineInstancesListNextResponse = VirtualMachineInstancesList;
2594
+
3261
2595
  /** Optional parameters. */
3262
- export interface MachineExtensionsGetOptionalParams
2596
+ export interface VmInstanceHybridIdentityMetadataGetOptionalParams
3263
2597
  extends coreClient.OperationOptions {}
3264
2598
 
3265
2599
  /** Contains response data for the get operation. */
3266
- export type MachineExtensionsGetResponse = MachineExtension;
2600
+ export type VmInstanceHybridIdentityMetadataGetResponse = VmInstanceHybridIdentityMetadata;
3267
2601
 
3268
2602
  /** Optional parameters. */
3269
- export interface MachineExtensionsListOptionalParams
3270
- extends coreClient.OperationOptions {
3271
- /** The expand expression to apply on the operation. */
3272
- expand?: string;
3273
- }
2603
+ export interface VmInstanceHybridIdentityMetadataListOptionalParams
2604
+ extends coreClient.OperationOptions {}
3274
2605
 
3275
2606
  /** Contains response data for the list operation. */
3276
- export type MachineExtensionsListResponse = MachineExtensionsListResult;
2607
+ export type VmInstanceHybridIdentityMetadataListResponse = VmInstanceHybridIdentityMetadataList;
3277
2608
 
3278
2609
  /** Optional parameters. */
3279
- export interface MachineExtensionsListNextOptionalParams
2610
+ export interface VmInstanceHybridIdentityMetadataListNextOptionalParams
3280
2611
  extends coreClient.OperationOptions {}
3281
2612
 
3282
2613
  /** Contains response data for the listNext operation. */
3283
- export type MachineExtensionsListNextResponse = MachineExtensionsListResult;
2614
+ export type VmInstanceHybridIdentityMetadataListNextResponse = VmInstanceHybridIdentityMetadataList;
3284
2615
 
3285
2616
  /** Optional parameters. */
3286
- export interface GuestAgentsCreateOptionalParams
2617
+ export interface VMInstanceGuestAgentsCreateOptionalParams
3287
2618
  extends coreClient.OperationOptions {
3288
2619
  /** Request payload. */
3289
2620
  body?: GuestAgent;
@@ -3294,17 +2625,17 @@ export interface GuestAgentsCreateOptionalParams
3294
2625
  }
3295
2626
 
3296
2627
  /** Contains response data for the create operation. */
3297
- export type GuestAgentsCreateResponse = GuestAgent;
2628
+ export type VMInstanceGuestAgentsCreateResponse = GuestAgent;
3298
2629
 
3299
2630
  /** Optional parameters. */
3300
- export interface GuestAgentsGetOptionalParams
2631
+ export interface VMInstanceGuestAgentsGetOptionalParams
3301
2632
  extends coreClient.OperationOptions {}
3302
2633
 
3303
2634
  /** Contains response data for the get operation. */
3304
- export type GuestAgentsGetResponse = GuestAgent;
2635
+ export type VMInstanceGuestAgentsGetResponse = GuestAgent;
3305
2636
 
3306
2637
  /** Optional parameters. */
3307
- export interface GuestAgentsDeleteOptionalParams
2638
+ export interface VMInstanceGuestAgentsDeleteOptionalParams
3308
2639
  extends coreClient.OperationOptions {
3309
2640
  /** Delay to wait until next poll, in milliseconds. */
3310
2641
  updateIntervalInMs?: number;
@@ -3312,19 +2643,22 @@ export interface GuestAgentsDeleteOptionalParams
3312
2643
  resumeFrom?: string;
3313
2644
  }
3314
2645
 
2646
+ /** Contains response data for the delete operation. */
2647
+ export type VMInstanceGuestAgentsDeleteResponse = VMInstanceGuestAgentsDeleteHeaders;
2648
+
3315
2649
  /** Optional parameters. */
3316
- export interface GuestAgentsListByVmOptionalParams
2650
+ export interface VMInstanceGuestAgentsListOptionalParams
3317
2651
  extends coreClient.OperationOptions {}
3318
2652
 
3319
- /** Contains response data for the listByVm operation. */
3320
- export type GuestAgentsListByVmResponse = GuestAgentList;
2653
+ /** Contains response data for the list operation. */
2654
+ export type VMInstanceGuestAgentsListResponse = GuestAgentList;
3321
2655
 
3322
2656
  /** Optional parameters. */
3323
- export interface GuestAgentsListByVmNextOptionalParams
2657
+ export interface VMInstanceGuestAgentsListNextOptionalParams
3324
2658
  extends coreClient.OperationOptions {}
3325
2659
 
3326
- /** Contains response data for the listByVmNext operation. */
3327
- export type GuestAgentsListByVmNextResponse = GuestAgentList;
2660
+ /** Contains response data for the listNext operation. */
2661
+ export type VMInstanceGuestAgentsListNextResponse = GuestAgentList;
3328
2662
 
3329
2663
  /** Optional parameters. */
3330
2664
  export interface AzureArcVMwareManagementServiceAPIOptionalParams