@azure/arm-connectedvmware 1.0.0-alpha.20231016.1 → 1.0.0-alpha.20231025.3

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 (380) hide show
  1. package/CHANGELOG.md +2 -19
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +2768 -4406
  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 +4 -9
  12. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  13. package/dist-esm/samples-dev/clustersListSample.js +4 -9
  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 +4 -9
  20. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js.map +1 -1
  21. package/dist-esm/samples-dev/datastoresListSample.js +4 -9
  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 +4 -9
  28. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js.map +1 -1
  29. package/dist-esm/samples-dev/hostsListSample.js +4 -9
  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 +4 -9
  36. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js.map +1 -1
  37. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  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 +4 -9
  43. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/resourcePoolsListSample.js +4 -9
  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 +4 -9
  51. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js.map +1 -1
  52. package/dist-esm/samples-dev/vCentersListSample.js +4 -9
  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} +11 -17
  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 +4 -9
  91. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  92. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js +4 -9
  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 +4 -9
  99. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  100. package/dist-esm/samples-dev/virtualNetworksListSample.js +4 -9
  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} +7 -15
  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} +7 -15
  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 +568 -1189
  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 +27 -29
  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 +27 -29
  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 +27 -29
  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 +4 -9
  164. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  165. package/dist-esm/src/operations/operations.js +3 -8
  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 +27 -29
  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 +27 -29
  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} +89 -108
  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 +27 -29
  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 +27 -29
  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 +7 -7
  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/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +0 -1
  263. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +0 -1
  266. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +0 -1
  269. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/guestAgentsListByVMSample.js.map +0 -1
  272. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js +0 -45
  275. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js.map +0 -1
  276. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts +0 -2
  277. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts.map +0 -1
  278. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js +0 -40
  279. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js.map +0 -1
  280. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.js.map +0 -1
  283. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.js.map +0 -1
  286. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts +0 -2
  287. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +0 -48
  289. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js.map +0 -1
  290. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts +0 -2
  291. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +0 -39
  293. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js.map +0 -1
  294. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts +0 -2
  295. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/machineExtensionsGetSample.js +0 -39
  297. package/dist-esm/samples-dev/machineExtensionsGetSample.js.map +0 -1
  298. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts +0 -2
  299. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/machineExtensionsListSample.js +0 -59
  301. package/dist-esm/samples-dev/machineExtensionsListSample.js.map +0 -1
  302. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts +0 -2
  303. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +0 -47
  305. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js.map +0 -1
  306. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +0 -38
  309. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js.map +0 -1
  310. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts +0 -2
  311. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts.map +0 -1
  312. package/dist-esm/samples-dev/virtualMachinesCreateSample.js.map +0 -1
  313. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  316. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  317. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  319. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +0 -46
  322. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js.map +0 -1
  323. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -59
  326. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  327. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +0 -1
  330. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  331. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  332. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  333. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  336. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  337. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  338. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  339. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  342. package/dist-esm/src/operations/guestAgents.d.ts +0 -79
  343. package/dist-esm/src/operations/guestAgents.d.ts.map +0 -1
  344. package/dist-esm/src/operations/guestAgents.js.map +0 -1
  345. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts +0 -62
  346. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts.map +0 -1
  347. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js +0 -252
  348. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js.map +0 -1
  349. package/dist-esm/src/operations/machineExtensions.d.ts +0 -99
  350. package/dist-esm/src/operations/machineExtensions.d.ts.map +0 -1
  351. package/dist-esm/src/operations/machineExtensions.js +0 -442
  352. package/dist-esm/src/operations/machineExtensions.js.map +0 -1
  353. package/dist-esm/src/operations/virtualMachines.d.ts +0 -175
  354. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  355. package/dist-esm/src/operations/virtualMachines.js +0 -927
  356. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  357. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +0 -54
  358. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +0 -1
  359. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts +0 -37
  361. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts.map +0 -1
  362. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.js.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +0 -74
  364. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +0 -1
  365. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +0 -1
  366. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -139
  367. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  368. package/dist-esm/src/operationsInterfaces/virtualMachines.js +0 -9
  369. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  370. package/dist-esm/test/sampleTest.d.ts +0 -2
  371. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  372. package/dist-esm/test/sampleTest.js +0 -38
  373. package/dist-esm/test/sampleTest.js.map +0 -1
  374. package/src/operations/hybridIdentityMetadataOperations.ts +0 -335
  375. package/src/operations/machineExtensions.ts +0 -615
  376. package/src/operations/virtualMachines.ts +0 -1264
  377. package/src/operationsInterfaces/guestAgents.ts +0 -105
  378. package/src/operationsInterfaces/hybridIdentityMetadataOperations.ts +0 -73
  379. package/src/operationsInterfaces/machineExtensions.ts +0 -147
  380. package/src/operationsInterfaces/virtualMachines.ts +0 -262
@@ -27,248 +27,51 @@ export interface OperationDisplay {
27
27
  /** Description of the operation */
28
28
  description?: string;
29
29
  }
30
- /** Error response. */
30
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
31
31
  export interface ErrorResponse {
32
- /** The error details. */
33
- error?: ErrorDefinition;
32
+ /** The error object. */
33
+ error?: ErrorDetail;
34
34
  }
35
- /** Error definition. */
36
- export interface ErrorDefinition {
35
+ /** The error detail. */
36
+ export interface ErrorDetail {
37
37
  /**
38
- * Service specific error code which serves as the substatus for the HTTP error code.
38
+ * The error code.
39
39
  * NOTE: This property will not be serialized. It can only be populated by the server.
40
40
  */
41
41
  readonly code?: string;
42
42
  /**
43
- * Description of the error.
43
+ * The error message.
44
44
  * NOTE: This property will not be serialized. It can only be populated by the server.
45
45
  */
46
46
  readonly message?: string;
47
47
  /**
48
- * Internal error details.
49
- * NOTE: This property will not be serialized. It can only be populated by the server.
50
- */
51
- readonly details?: ErrorDefinition[];
52
- }
53
- /** Describes the properties of an AssessPatches result. */
54
- export interface VirtualMachineAssessPatchesResult {
55
- /**
56
- * 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."
57
- * NOTE: This property will not be serialized. It can only be populated by the server.
58
- */
59
- readonly status?: PatchOperationStatus;
60
- /**
61
- * The activity ID of the operation that produced this result.
62
- * NOTE: This property will not be serialized. It can only be populated by the server.
63
- */
64
- readonly assessmentActivityId?: string;
65
- /**
66
- * 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.
67
- * NOTE: This property will not be serialized. It can only be populated by the server.
68
- */
69
- readonly rebootPending?: boolean;
70
- /** Summarization of patches available for installation on the machine by classification. */
71
- availablePatchCountByClassification?: AvailablePatchCountByClassification;
72
- /**
73
- * The UTC timestamp when the operation began.
74
- * NOTE: This property will not be serialized. It can only be populated by the server.
75
- */
76
- readonly startDateTime?: Date;
77
- /**
78
- * The UTC timestamp when the operation finished.
79
- * NOTE: This property will not be serialized. It can only be populated by the server.
80
- */
81
- readonly lastModifiedDateTime?: Date;
82
- /**
83
- * Indicates if operation was triggered by user or by platform.
84
- * NOTE: This property will not be serialized. It can only be populated by the server.
85
- */
86
- readonly startedBy?: PatchOperationStartedBy;
87
- /**
88
- * Specifies the patch service used for the operation.
89
- * NOTE: This property will not be serialized. It can only be populated by the server.
90
- */
91
- readonly patchServiceUsed?: PatchServiceUsed;
92
- /**
93
- * The operating system type of the machine.
94
- * NOTE: This property will not be serialized. It can only be populated by the server.
95
- */
96
- readonly osType?: OsTypeUM;
97
- /**
98
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
99
- * NOTE: This property will not be serialized. It can only be populated by the server.
100
- */
101
- readonly errorDetails?: ErrorDetail;
102
- }
103
- /** Summarization of patches available for installation on the machine by classification. */
104
- export interface AvailablePatchCountByClassification {
105
- /**
106
- * Number of security patches available for installation.
107
- * NOTE: This property will not be serialized. It can only be populated by the server.
108
- */
109
- readonly security?: number;
110
- /**
111
- * Number of critical patches available for installation.
112
- * NOTE: This property will not be serialized. It can only be populated by the server.
113
- */
114
- readonly critical?: number;
115
- /**
116
- * Number of definition patches available for installation.
117
- * NOTE: This property will not be serialized. It can only be populated by the server.
118
- */
119
- readonly definition?: number;
120
- /**
121
- * Number of update Rollup patches available for installation.
122
- * NOTE: This property will not be serialized. It can only be populated by the server.
123
- */
124
- readonly updateRollup?: number;
125
- /**
126
- * Number of feature pack patches available for installation.
127
- * NOTE: This property will not be serialized. It can only be populated by the server.
128
- */
129
- readonly featurePack?: number;
130
- /**
131
- * Number of service pack patches available for installation.
48
+ * The error target.
132
49
  * NOTE: This property will not be serialized. It can only be populated by the server.
133
50
  */
134
- readonly servicePack?: number;
51
+ readonly target?: string;
135
52
  /**
136
- * Number of tools patches available for installation.
53
+ * The error details.
137
54
  * NOTE: This property will not be serialized. It can only be populated by the server.
138
55
  */
139
- readonly tools?: number;
56
+ readonly details?: ErrorDetail[];
140
57
  /**
141
- * Number of updates category patches available for installation.
58
+ * The error additional info.
142
59
  * NOTE: This property will not be serialized. It can only be populated by the server.
143
60
  */
144
- readonly updates?: number;
145
- /**
146
- * Number of other patches available for installation.
147
- * NOTE: This property will not be serialized. It can only be populated by the server.
148
- */
149
- readonly other?: number;
150
- }
151
- /** Error details. */
152
- export interface ErrorDetail {
153
- /** The error's code. */
154
- code: string;
155
- /** A human readable error message. */
156
- message: string;
157
- /** Indicates which property in the request is responsible for the error. */
158
- target?: string;
159
- /** Additional error details. */
160
- details?: ErrorDetail[];
161
- }
162
- /** Input for InstallPatches as directly received by the API */
163
- export interface VirtualMachineInstallPatchesParameters {
164
- /** 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) */
165
- maximumDuration: string;
166
- /** Defines when it is acceptable to reboot a VM during a software update operation. */
167
- rebootSetting: VMGuestPatchRebootSetting;
168
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
169
- windowsParameters?: WindowsParameters;
170
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
171
- linuxParameters?: LinuxParameters;
172
- }
173
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
174
- export interface WindowsParameters {
175
- /** The update classifications to select when installing patches for Windows. */
176
- classificationsToInclude?: VMGuestPatchClassificationWindows[];
177
- /** Kbs to include in the patch operation */
178
- kbNumbersToInclude?: string[];
179
- /** Kbs to exclude in the patch operation */
180
- kbNumbersToExclude?: string[];
181
- /** Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true. */
182
- excludeKbsRequiringReboot?: boolean;
183
- /** This is used to install patches that were published on or before this given max published date. */
184
- maxPatchPublishDate?: Date;
185
- }
186
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
187
- export interface LinuxParameters {
188
- /** The update classifications to select when installing patches for Linux. */
189
- classificationsToInclude?: VMGuestPatchClassificationLinux[];
190
- /** packages to include in the patch operation. Format: packageName_packageVersion */
191
- packageNameMasksToInclude?: string[];
192
- /** packages to exclude in the patch operation. Format: packageName_packageVersion */
193
- packageNameMasksToExclude?: string[];
61
+ readonly additionalInfo?: ErrorAdditionalInfo[];
194
62
  }
195
- /** The result summary of an installation operation. */
196
- export interface VirtualMachineInstallPatchesResult {
197
- /**
198
- * 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."
199
- * NOTE: This property will not be serialized. It can only be populated by the server.
200
- */
201
- readonly status?: PatchOperationStatus;
202
- /**
203
- * The activity ID of the operation that produced this result.
204
- * NOTE: This property will not be serialized. It can only be populated by the server.
205
- */
206
- readonly installationActivityId?: string;
207
- /**
208
- * The reboot state of the VM following completion of the operation.
209
- * NOTE: This property will not be serialized. It can only be populated by the server.
210
- */
211
- readonly rebootStatus?: VMGuestPatchRebootStatus;
212
- /**
213
- * Whether the operation ran out of time before it completed all its intended actions.
214
- * NOTE: This property will not be serialized. It can only be populated by the server.
215
- */
216
- readonly maintenanceWindowExceeded?: boolean;
217
- /**
218
- * The number of patches that were not installed due to the user blocking their installation.
219
- * NOTE: This property will not be serialized. It can only be populated by the server.
220
- */
221
- readonly excludedPatchCount?: number;
222
- /**
223
- * The number of patches that were detected as available for install, but did not meet the operation's criteria.
224
- * NOTE: This property will not be serialized. It can only be populated by the server.
225
- */
226
- readonly notSelectedPatchCount?: number;
227
- /**
228
- * 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.
229
- * NOTE: This property will not be serialized. It can only be populated by the server.
230
- */
231
- readonly pendingPatchCount?: number;
232
- /**
233
- * The number of patches successfully installed.
234
- * NOTE: This property will not be serialized. It can only be populated by the server.
235
- */
236
- readonly installedPatchCount?: number;
63
+ /** The resource management error additional info. */
64
+ export interface ErrorAdditionalInfo {
237
65
  /**
238
- * The number of patches that could not be installed due to some issue. See errors for details.
66
+ * The additional info type.
239
67
  * NOTE: This property will not be serialized. It can only be populated by the server.
240
68
  */
241
- readonly failedPatchCount?: number;
242
- /**
243
- * The UTC timestamp when the operation began.
244
- * NOTE: This property will not be serialized. It can only be populated by the server.
245
- */
246
- readonly startDateTime?: Date;
247
- /**
248
- * The UTC timestamp when the operation finished.
249
- * NOTE: This property will not be serialized. It can only be populated by the server.
250
- */
251
- readonly lastModifiedDateTime?: Date;
252
- /**
253
- * Indicates if operation was triggered by user or by platform.
254
- * NOTE: This property will not be serialized. It can only be populated by the server.
255
- */
256
- readonly startedBy?: PatchOperationStartedBy;
257
- /**
258
- * Specifies the patch service used for the operation.
259
- * NOTE: This property will not be serialized. It can only be populated by the server.
260
- */
261
- readonly patchServiceUsed?: PatchServiceUsed;
262
- /**
263
- * The operating system type of the machine.
264
- * NOTE: This property will not be serialized. It can only be populated by the server.
265
- */
266
- readonly osType?: OsTypeUM;
69
+ readonly type?: string;
267
70
  /**
268
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
71
+ * The additional info.
269
72
  * NOTE: This property will not be serialized. It can only be populated by the server.
270
73
  */
271
- readonly errorDetails?: ErrorDetail;
74
+ readonly info?: Record<string, unknown>;
272
75
  }
273
76
  /** Define the resourcePool. */
274
77
  export interface ResourcePool {
@@ -354,21 +157,51 @@ export interface ResourcePool {
354
157
  * NOTE: This property will not be serialized. It can only be populated by the server.
355
158
  */
356
159
  readonly memLimitMB?: number;
160
+ /**
161
+ * Gets the used physical memory on the pool in GB.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
+ */
164
+ readonly memOverallUsageGB?: number;
165
+ /**
166
+ * Gets the total amount of physical memory on the pool in GB.
167
+ * NOTE: This property will not be serialized. It can only be populated by the server.
168
+ */
169
+ readonly memCapacityGB?: number;
170
+ /**
171
+ * Gets the used CPU usage across all cores on the pool in MHz.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
173
+ */
174
+ readonly cpuOverallUsageMHz?: number;
175
+ /**
176
+ * Gets the max CPU usage across all cores on the pool in MHz.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly cpuCapacityMHz?: number;
357
180
  /**
358
181
  * Gets the name of the corresponding resource in Kubernetes.
359
182
  * NOTE: This property will not be serialized. It can only be populated by the server.
360
183
  */
361
184
  readonly customResourceName?: string;
185
+ /**
186
+ * Gets the datastore ARM ids.
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly datastoreIds?: string[];
190
+ /**
191
+ * Gets the network ARM ids.
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly networkIds?: string[];
362
195
  /**
363
196
  * The resource status information.
364
197
  * NOTE: This property will not be serialized. It can only be populated by the server.
365
198
  */
366
199
  readonly statuses?: ResourceStatus[];
367
200
  /**
368
- * Gets or sets the provisioning state.
201
+ * Gets the provisioning state.
369
202
  * NOTE: This property will not be serialized. It can only be populated by the server.
370
203
  */
371
- readonly provisioningState?: string;
204
+ readonly provisioningState?: ProvisioningState;
372
205
  }
373
206
  /** The resource status information. */
374
207
  export interface ResourceStatus {
@@ -498,20 +331,40 @@ export interface Cluster {
498
331
  */
499
332
  readonly customResourceName?: string;
500
333
  /**
501
- * Gets or sets the datastore ARM ids.
334
+ * Gets the used physical memory on the cluster in GB.
335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
336
+ */
337
+ readonly usedMemoryGB?: number;
338
+ /**
339
+ * Gets the total amount of physical memory on the cluster in GB.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly totalMemoryGB?: number;
343
+ /**
344
+ * Gets the used CPU usage across all cores on the cluster in MHz.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly usedCpuMHz?: number;
348
+ /**
349
+ * Gets the max CPU usage across all cores on the cluster in MHz.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly totalCpuMHz?: number;
353
+ /**
354
+ * Gets the datastore ARM ids.
502
355
  * NOTE: This property will not be serialized. It can only be populated by the server.
503
356
  */
504
357
  readonly datastoreIds?: string[];
505
358
  /**
506
- * Gets or sets the network ARM ids.
359
+ * Gets the network ARM ids.
507
360
  * NOTE: This property will not be serialized. It can only be populated by the server.
508
361
  */
509
362
  readonly networkIds?: string[];
510
363
  /**
511
- * Gets or sets the provisioning state.
364
+ * Gets the provisioning state.
512
365
  * NOTE: This property will not be serialized. It can only be populated by the server.
513
366
  */
514
- readonly provisioningState?: string;
367
+ readonly provisioningState?: ProvisioningState;
515
368
  }
516
369
  /** List of Clusters. */
517
370
  export interface ClustersList {
@@ -579,10 +432,40 @@ export interface Host {
579
432
  */
580
433
  readonly customResourceName?: string;
581
434
  /**
582
- * Gets or sets the provisioning state.
435
+ * Gets the used physical memory on the host in GB.
436
+ * NOTE: This property will not be serialized. It can only be populated by the server.
437
+ */
438
+ readonly overallMemoryUsageGB?: number;
439
+ /**
440
+ * Gets the total amount of physical memory on the host in GB.
441
+ * NOTE: This property will not be serialized. It can only be populated by the server.
442
+ */
443
+ readonly memorySizeGB?: number;
444
+ /**
445
+ * Gets the used CPU usage across all cores in MHz.
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
447
+ */
448
+ readonly overallCpuUsageMHz?: number;
449
+ /**
450
+ * Gets the max CPU usage across all cores in MHz.
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
452
+ */
453
+ readonly cpuMhz?: number;
454
+ /**
455
+ * Gets the datastore ARM ids.
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
457
+ */
458
+ readonly datastoreIds?: string[];
459
+ /**
460
+ * Gets the network ARM ids.
461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
462
+ */
463
+ readonly networkIds?: string[];
464
+ /**
465
+ * Gets the provisioning state.
583
466
  * NOTE: This property will not be serialized. It can only be populated by the server.
584
467
  */
585
- readonly provisioningState?: string;
468
+ readonly provisioningState?: ProvisioningState;
586
469
  }
587
470
  /** List of Hosts. */
588
471
  export interface HostsList {
@@ -649,6 +532,16 @@ export interface Datastore {
649
532
  * NOTE: This property will not be serialized. It can only be populated by the server.
650
533
  */
651
534
  readonly customResourceName?: string;
535
+ /**
536
+ * Gets or sets Maximum capacity of this datastore in GBs.
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly capacityGB?: number;
540
+ /**
541
+ * Gets or sets Available space of this datastore in GBs.
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
543
+ */
544
+ readonly freeSpaceGB?: number;
652
545
  /**
653
546
  * Provisioning state of the resource.
654
547
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -731,10 +624,10 @@ export interface VCenter {
731
624
  */
732
625
  readonly statuses?: ResourceStatus[];
733
626
  /**
734
- * Gets or sets the provisioning state.
627
+ * Gets the provisioning state.
735
628
  * NOTE: This property will not be serialized. It can only be populated by the server.
736
629
  */
737
- readonly provisioningState?: string;
630
+ readonly provisioningState?: ProvisioningState;
738
631
  }
739
632
  /** Username / Password Credentials to connect to vcenter. */
740
633
  export interface VICredential {
@@ -750,8 +643,8 @@ export interface VCentersList {
750
643
  /** Array of VCenters */
751
644
  value: VCenter[];
752
645
  }
753
- /** Define the virtualMachine. */
754
- export interface VirtualMachine {
646
+ /** Define the virtualMachineTemplate. */
647
+ export interface VirtualMachineTemplate {
755
648
  /** Gets or sets the location. */
756
649
  location: string;
757
650
  /** Gets or sets the extended location. */
@@ -782,123 +675,71 @@ export interface VirtualMachine {
782
675
  readonly type?: string;
783
676
  /** 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. */
784
677
  kind?: string;
785
- /** The identity of the resource. */
786
- identity?: Identity;
787
678
  /**
788
- * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will
789
- * deploy.
679
+ * Gets or sets a unique identifier for this resource.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
790
681
  */
791
- resourcePoolId?: string;
792
- /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
793
- templateId?: string;
794
- /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
682
+ readonly uuid?: string;
683
+ /** Gets or sets the ARM Id of the vCenter resource in which this template resides. */
795
684
  vCenterId?: string;
796
- /** Placement properties. */
797
- placementProfile?: PlacementProfile;
798
- /** OS properties. */
799
- osProfile?: OsProfile;
800
- /** Hardware properties. */
801
- hardwareProfile?: HardwareProfile;
802
- /** Network properties. */
803
- networkProfile?: NetworkProfile;
804
- /** Storage properties. */
805
- storageProfile?: StorageProfile;
806
- /** Guest agent status properties. */
807
- guestAgentProfile?: GuestAgentProfile;
808
- /** Gets the security profile. */
809
- securityProfile?: SecurityProfile;
810
- /** Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. */
685
+ /**
686
+ * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
687
+ * template.
688
+ */
811
689
  moRefId?: string;
812
- /** Gets or sets the inventory Item ID for the virtual machine. */
690
+ /** Gets or sets the inventory Item ID for the virtual machine template. */
813
691
  inventoryItemId?: string;
814
692
  /**
815
- * Gets or sets the vCenter Managed Object name for the virtual machine.
693
+ * Gets or sets the vCenter Managed Object name for the virtual machine template.
816
694
  * NOTE: This property will not be serialized. It can only be populated by the server.
817
695
  */
818
696
  readonly moName?: string;
819
697
  /**
820
- * Gets or sets the folder path of the vm.
821
- * NOTE: This property will not be serialized. It can only be populated by the server.
822
- */
823
- readonly folderPath?: string;
824
- /**
825
- * Gets or sets the instance uuid of the vm.
826
- * NOTE: This property will not be serialized. It can only be populated by the server.
827
- */
828
- readonly instanceUuid?: string;
829
- /** Gets or sets the SMBIOS UUID of the vm. */
830
- smbiosUuid?: string;
831
- /** Firmware type */
832
- firmwareType?: FirmwareType;
833
- /**
834
- * Gets the power state of the virtual machine.
698
+ * Gets or sets memory size in MBs for the template.
835
699
  * NOTE: This property will not be serialized. It can only be populated by the server.
836
700
  */
837
- readonly powerState?: string;
701
+ readonly memorySizeMB?: number;
838
702
  /**
839
- * Gets the name of the corresponding resource in Kubernetes.
703
+ * Gets or sets the number of vCPUs for the template.
840
704
  * NOTE: This property will not be serialized. It can only be populated by the server.
841
705
  */
842
- readonly customResourceName?: string;
706
+ readonly numCPUs?: number;
843
707
  /**
844
- * Gets or sets a unique identifier for this resource.
708
+ * Gets or sets the number of cores per socket for the template.
709
+ * Defaults to 1 if unspecified.
845
710
  * NOTE: This property will not be serialized. It can only be populated by the server.
846
711
  */
847
- readonly uuid?: string;
712
+ readonly numCoresPerSocket?: number;
848
713
  /**
849
- * The resource status information.
714
+ * Gets or sets the type of the os.
850
715
  * NOTE: This property will not be serialized. It can only be populated by the server.
851
716
  */
852
- readonly statuses?: ResourceStatus[];
717
+ readonly osType?: OsType;
853
718
  /**
854
- * Gets or sets the provisioning state.
719
+ * Gets or sets os name.
855
720
  * NOTE: This property will not be serialized. It can only be populated by the server.
856
721
  */
857
- readonly provisioningState?: string;
722
+ readonly osName?: string;
858
723
  /**
859
- * Gets or sets a unique identifier for the vm resource.
724
+ * Gets or sets the folder path of the template.
860
725
  * NOTE: This property will not be serialized. It can only be populated by the server.
861
726
  */
862
- readonly vmId?: string;
863
- }
864
- /** Defines the resource properties. */
865
- export interface PlacementProfile {
866
- /** Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. */
867
- resourcePoolId?: string;
868
- /** Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. */
869
- clusterId?: string;
870
- /** Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. */
871
- hostId?: string;
872
- /** Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. */
873
- datastoreId?: string;
874
- }
875
- /** Defines the resource properties. */
876
- export interface OsProfile {
877
- /** Gets or sets computer name. */
878
- computerName?: string;
879
- /** Gets or sets administrator username. */
880
- adminUsername?: string;
881
- /** Gets or sets administrator password. */
882
- adminPassword?: string;
883
- /** Gets or sets the guestId. */
884
- guestId?: string;
727
+ readonly folderPath?: string;
885
728
  /**
886
- * Gets or sets a value indicating whether the VM is ready for extension operations.
729
+ * Gets or sets the network interfaces of the template.
887
730
  * NOTE: This property will not be serialized. It can only be populated by the server.
888
731
  */
889
- readonly allowExtensionOperations?: boolean;
890
- /** Gets or sets the type of the os. */
891
- osType?: OsType;
732
+ readonly networkInterfaces?: NetworkInterface[];
892
733
  /**
893
- * Gets or sets os name.
734
+ * Gets or sets the disks the template.
894
735
  * NOTE: This property will not be serialized. It can only be populated by the server.
895
736
  */
896
- readonly osName?: string;
737
+ readonly disks?: VirtualDisk[];
897
738
  /**
898
- * Gets or sets the current running status of VMware Tools running in the guest operating system.
739
+ * Gets the name of the corresponding resource in Kubernetes.
899
740
  * NOTE: This property will not be serialized. It can only be populated by the server.
900
741
  */
901
- readonly toolsRunningStatus?: string;
742
+ readonly customResourceName?: string;
902
743
  /**
903
744
  * Gets or sets the current version status of VMware Tools installed in the guest operating system.
904
745
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -909,53 +750,21 @@ export interface OsProfile {
909
750
  * NOTE: This property will not be serialized. It can only be populated by the server.
910
751
  */
911
752
  readonly toolsVersion?: string;
912
- /** Specifies the windows configuration for update management. */
913
- windowsConfiguration?: OsProfileWindowsConfiguration;
914
- /** Specifies the linux configuration for update management. */
915
- linuxConfiguration?: OsProfileLinuxConfiguration;
916
- }
917
- /** Specifies the windows configuration for update management. */
918
- export interface OsProfileWindowsConfiguration {
919
- /** Specifies the assessment mode. */
920
- assessmentMode?: string;
921
- /** Specifies the patch mode. */
922
- patchMode?: string;
923
- }
924
- /** Specifies the linux configuration for update management. */
925
- export interface OsProfileLinuxConfiguration {
926
- /** Specifies the assessment mode. */
927
- assessmentMode?: string;
928
- /** Specifies the patch mode. */
929
- patchMode?: string;
930
- }
931
- /** Defines the resource properties. */
932
- export interface HardwareProfile {
933
- /** Gets or sets memory size in MBs for the vm. */
934
- memorySizeMB?: number;
935
- /** Gets or sets the number of vCPUs for the vm. */
936
- numCPUs?: number;
937
- /** Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. */
938
- numCoresPerSocket?: number;
939
753
  /**
940
- * Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.
754
+ * Firmware type
941
755
  * NOTE: This property will not be serialized. It can only be populated by the server.
942
756
  */
943
- readonly cpuHotAddEnabled?: boolean;
757
+ readonly firmwareType?: FirmwareType;
944
758
  /**
945
- * Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.
759
+ * The resource status information.
946
760
  * NOTE: This property will not be serialized. It can only be populated by the server.
947
761
  */
948
- readonly cpuHotRemoveEnabled?: boolean;
762
+ readonly statuses?: ResourceStatus[];
949
763
  /**
950
- * Gets or sets a value indicating whether memory can be added while this virtual machine is running.
764
+ * Gets the provisioning state.
951
765
  * NOTE: This property will not be serialized. It can only be populated by the server.
952
766
  */
953
- readonly memoryHotAddEnabled?: boolean;
954
- }
955
- /** Defines the resource properties. */
956
- export interface NetworkProfile {
957
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
958
- networkInterfaces?: NetworkInterface[];
767
+ readonly provisioningState?: ProvisioningState;
959
768
  }
960
769
  /** Network Interface model */
961
770
  export interface NetworkInterface {
@@ -1044,16 +853,6 @@ export interface NicIPAddressSettings {
1044
853
  */
1045
854
  readonly subnetMask?: string;
1046
855
  }
1047
- /** Defines the resource properties. */
1048
- export interface StorageProfile {
1049
- /** Gets or sets the list of virtual disks associated with the virtual machine. */
1050
- disks?: VirtualDisk[];
1051
- /**
1052
- * Gets or sets the list of virtual SCSI controllers associated with the virtual machine.
1053
- * NOTE: This property will not be serialized. It can only be populated by the server.
1054
- */
1055
- readonly scsiControllers?: VirtualScsiController[];
1056
- }
1057
856
  /** Virtual disk model */
1058
857
  export interface VirtualDisk {
1059
858
  /** Gets or sets the name of the virtual disk. */
@@ -1083,287 +882,6 @@ export interface VirtualDisk {
1083
882
  /** Gets or sets the disk backing type. */
1084
883
  diskType?: DiskType;
1085
884
  }
1086
- /** This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. */
1087
- export interface VirtualScsiController {
1088
- /** Gets or sets the controller type. */
1089
- type?: ScsiControllerType;
1090
- /** Gets or sets the key of the controller. */
1091
- controllerKey?: number;
1092
- /** Gets or sets the bus number of the controller. */
1093
- busNumber?: number;
1094
- /** Gets or sets the SCSI controller unit number. */
1095
- scsiCtlrUnitNumber?: number;
1096
- /** Gets or sets the sharing mode. */
1097
- sharing?: VirtualScsiSharing;
1098
- }
1099
- /** Defines the resource properties. */
1100
- export interface GuestAgentProfile {
1101
- /**
1102
- * Specifies the VM's unique SMBIOS ID.
1103
- * NOTE: This property will not be serialized. It can only be populated by the server.
1104
- */
1105
- readonly vmUuid?: string;
1106
- /**
1107
- * The status of the hybrid machine agent.
1108
- * NOTE: This property will not be serialized. It can only be populated by the server.
1109
- */
1110
- readonly status?: StatusTypes;
1111
- /**
1112
- * The time of the last status change.
1113
- * NOTE: This property will not be serialized. It can only be populated by the server.
1114
- */
1115
- readonly lastStatusChange?: Date;
1116
- /**
1117
- * The hybrid machine agent full version.
1118
- * NOTE: This property will not be serialized. It can only be populated by the server.
1119
- */
1120
- readonly agentVersion?: string;
1121
- /**
1122
- * Details about the error state.
1123
- * NOTE: This property will not be serialized. It can only be populated by the server.
1124
- */
1125
- readonly errorDetails?: ErrorDetail[];
1126
- }
1127
- /** Specifies the Security profile settings for the virtual machine. */
1128
- export interface SecurityProfile {
1129
- /** Specifies the security settings like secure boot used while creating the virtual machine. */
1130
- uefiSettings?: UefiSettings;
1131
- }
1132
- /** Specifies the security settings like secure boot used while creating the virtual machine. */
1133
- export interface UefiSettings {
1134
- /** Specifies whether secure boot should be enabled on the virtual machine. */
1135
- secureBootEnabled?: boolean;
1136
- }
1137
- /** Managed service identity. */
1138
- export interface Identity {
1139
- /**
1140
- * The principal id of managed service identity.
1141
- * NOTE: This property will not be serialized. It can only be populated by the server.
1142
- */
1143
- readonly principalId?: string;
1144
- /**
1145
- * The tenant of managed service identity.
1146
- * NOTE: This property will not be serialized. It can only be populated by the server.
1147
- */
1148
- readonly tenantId?: string;
1149
- /** The type of managed service identity. */
1150
- type: IdentityType;
1151
- }
1152
- /** Defines the virtualMachineUpdate. */
1153
- export interface VirtualMachineUpdate {
1154
- /** Gets or sets the Resource tags. */
1155
- tags?: {
1156
- [propertyName: string]: string;
1157
- };
1158
- /** The identity of the resource. */
1159
- identity?: Identity;
1160
- /** Defines the resource properties. */
1161
- hardwareProfile?: HardwareProfile;
1162
- /** OS properties. */
1163
- osProfile?: OsProfileUpdate;
1164
- /** Defines the resource update properties. */
1165
- storageProfile?: StorageProfileUpdate;
1166
- /** Defines the update resource properties. */
1167
- networkProfile?: NetworkProfileUpdate;
1168
- }
1169
- /** Defines the os update properties. */
1170
- export interface OsProfileUpdate {
1171
- /** Specifies the windows configuration for update management. */
1172
- windowsConfiguration?: OsProfileUpdateWindowsConfiguration;
1173
- /** Specifies the linux configuration for update management. */
1174
- linuxConfiguration?: OsProfileUpdateLinuxConfiguration;
1175
- }
1176
- /** Specifies the windows configuration for update management. */
1177
- export interface OsProfileUpdateWindowsConfiguration {
1178
- /** Specifies the assessment mode. */
1179
- assessmentMode?: string;
1180
- /** Specifies the patch mode. */
1181
- patchMode?: string;
1182
- }
1183
- /** Specifies the linux configuration for update management. */
1184
- export interface OsProfileUpdateLinuxConfiguration {
1185
- /** Specifies the assessment mode. */
1186
- assessmentMode?: string;
1187
- /** Specifies the patch mode. */
1188
- patchMode?: string;
1189
- }
1190
- /** Defines the resource update properties. */
1191
- export interface StorageProfileUpdate {
1192
- /** Gets or sets the list of virtual disks associated with the virtual machine. */
1193
- disks?: VirtualDiskUpdate[];
1194
- }
1195
- /** Defines the virtual disk update. */
1196
- export interface VirtualDiskUpdate {
1197
- /** Gets or sets the name of the virtual disk. */
1198
- name?: string;
1199
- /** Gets or sets the disk total size. */
1200
- diskSizeGB?: number;
1201
- /** Gets or sets the device key value. */
1202
- deviceKey?: number;
1203
- /** Gets or sets the disk mode. */
1204
- diskMode?: DiskMode;
1205
- /** Gets or sets the controller id. */
1206
- controllerKey?: number;
1207
- /** Gets or sets the unit number of the disk on the controller. */
1208
- unitNumber?: number;
1209
- /** Gets or sets the device name. */
1210
- deviceName?: string;
1211
- /** Gets or sets the disk backing type. */
1212
- diskType?: DiskType;
1213
- }
1214
- /** Defines the update resource properties. */
1215
- export interface NetworkProfileUpdate {
1216
- /** Gets or sets the list of network interfaces associated with the virtual machine. */
1217
- networkInterfaces?: NetworkInterfaceUpdate[];
1218
- }
1219
- /** Defines the network interface update. */
1220
- export interface NetworkInterfaceUpdate {
1221
- /** Gets or sets the name of the network interface. */
1222
- name?: string;
1223
- /** Gets or sets the ARM Id of the network resource to connect the virtual machine. */
1224
- networkId?: string;
1225
- /** NIC type */
1226
- nicType?: NICType;
1227
- /** Gets or sets the power on boot. */
1228
- powerOnBoot?: PowerOnBootOption;
1229
- /** Gets or sets the device key value. */
1230
- deviceKey?: number;
1231
- }
1232
- /** Defines the stop action properties. */
1233
- export interface StopVirtualMachineOptions {
1234
- /** 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. */
1235
- skipShutdown?: boolean;
1236
- }
1237
- /** List of VirtualMachines. */
1238
- export interface VirtualMachinesList {
1239
- /** Url to follow for getting next page of VirtualMachines. */
1240
- nextLink?: string;
1241
- /** Array of VirtualMachines */
1242
- value: VirtualMachine[];
1243
- }
1244
- /** Define the virtualMachineTemplate. */
1245
- export interface VirtualMachineTemplate {
1246
- /** Gets or sets the location. */
1247
- location: string;
1248
- /** Gets or sets the extended location. */
1249
- extendedLocation?: ExtendedLocation;
1250
- /**
1251
- * The system data.
1252
- * NOTE: This property will not be serialized. It can only be populated by the server.
1253
- */
1254
- readonly systemData?: SystemData;
1255
- /** Gets or sets the Resource tags. */
1256
- tags?: {
1257
- [propertyName: string]: string;
1258
- };
1259
- /**
1260
- * Gets or sets the name.
1261
- * NOTE: This property will not be serialized. It can only be populated by the server.
1262
- */
1263
- readonly name?: string;
1264
- /**
1265
- * Gets or sets the Id.
1266
- * NOTE: This property will not be serialized. It can only be populated by the server.
1267
- */
1268
- readonly id?: string;
1269
- /**
1270
- * Gets or sets the type of the resource.
1271
- * NOTE: This property will not be serialized. It can only be populated by the server.
1272
- */
1273
- readonly type?: string;
1274
- /** 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. */
1275
- kind?: string;
1276
- /**
1277
- * Gets or sets a unique identifier for this resource.
1278
- * NOTE: This property will not be serialized. It can only be populated by the server.
1279
- */
1280
- readonly uuid?: string;
1281
- /** Gets or sets the ARM Id of the vCenter resource in which this template resides. */
1282
- vCenterId?: string;
1283
- /**
1284
- * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
1285
- * template.
1286
- */
1287
- moRefId?: string;
1288
- /** Gets or sets the inventory Item ID for the virtual machine template. */
1289
- inventoryItemId?: string;
1290
- /**
1291
- * Gets or sets the vCenter Managed Object name for the virtual machine template.
1292
- * NOTE: This property will not be serialized. It can only be populated by the server.
1293
- */
1294
- readonly moName?: string;
1295
- /**
1296
- * Gets or sets memory size in MBs for the template.
1297
- * NOTE: This property will not be serialized. It can only be populated by the server.
1298
- */
1299
- readonly memorySizeMB?: number;
1300
- /**
1301
- * Gets or sets the number of vCPUs for the template.
1302
- * NOTE: This property will not be serialized. It can only be populated by the server.
1303
- */
1304
- readonly numCPUs?: number;
1305
- /**
1306
- * Gets or sets the number of cores per socket for the template.
1307
- * Defaults to 1 if unspecified.
1308
- * NOTE: This property will not be serialized. It can only be populated by the server.
1309
- */
1310
- readonly numCoresPerSocket?: number;
1311
- /**
1312
- * Gets or sets the type of the os.
1313
- * NOTE: This property will not be serialized. It can only be populated by the server.
1314
- */
1315
- readonly osType?: OsType;
1316
- /**
1317
- * Gets or sets os name.
1318
- * NOTE: This property will not be serialized. It can only be populated by the server.
1319
- */
1320
- readonly osName?: string;
1321
- /**
1322
- * Gets or sets the folder path of the template.
1323
- * NOTE: This property will not be serialized. It can only be populated by the server.
1324
- */
1325
- readonly folderPath?: string;
1326
- /**
1327
- * Gets or sets the network interfaces of the template.
1328
- * NOTE: This property will not be serialized. It can only be populated by the server.
1329
- */
1330
- readonly networkInterfaces?: NetworkInterface[];
1331
- /**
1332
- * Gets or sets the disks the template.
1333
- * NOTE: This property will not be serialized. It can only be populated by the server.
1334
- */
1335
- readonly disks?: VirtualDisk[];
1336
- /**
1337
- * Gets the name of the corresponding resource in Kubernetes.
1338
- * NOTE: This property will not be serialized. It can only be populated by the server.
1339
- */
1340
- readonly customResourceName?: string;
1341
- /**
1342
- * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1343
- * NOTE: This property will not be serialized. It can only be populated by the server.
1344
- */
1345
- readonly toolsVersionStatus?: string;
1346
- /**
1347
- * Gets or sets the current version of VMware Tools.
1348
- * NOTE: This property will not be serialized. It can only be populated by the server.
1349
- */
1350
- readonly toolsVersion?: string;
1351
- /**
1352
- * Firmware type
1353
- * NOTE: This property will not be serialized. It can only be populated by the server.
1354
- */
1355
- readonly firmwareType?: FirmwareType;
1356
- /**
1357
- * The resource status information.
1358
- * NOTE: This property will not be serialized. It can only be populated by the server.
1359
- */
1360
- readonly statuses?: ResourceStatus[];
1361
- /**
1362
- * Gets or sets the provisioning state.
1363
- * NOTE: This property will not be serialized. It can only be populated by the server.
1364
- */
1365
- readonly provisioningState?: string;
1366
- }
1367
885
  /** List of VirtualMachineTemplates. */
1368
886
  export interface VirtualMachineTemplatesList {
1369
887
  /** Url to follow for getting next page of VirtualMachineTemplates. */
@@ -1430,10 +948,10 @@ export interface VirtualNetwork {
1430
948
  */
1431
949
  readonly statuses?: ResourceStatus[];
1432
950
  /**
1433
- * Gets or sets the provisioning state.
951
+ * Gets the provisioning state.
1434
952
  * NOTE: This property will not be serialized. It can only be populated by the server.
1435
953
  */
1436
- readonly provisioningState?: string;
954
+ readonly provisioningState?: ProvisioningState;
1437
955
  }
1438
956
  /** List of VirtualNetworks. */
1439
957
  export interface VirtualNetworksList {
@@ -1442,7 +960,7 @@ export interface VirtualNetworksList {
1442
960
  /** Array of VirtualNetworks */
1443
961
  value: VirtualNetwork[];
1444
962
  }
1445
- /** Defines the resource properties. */
963
+ /** Describes the properties of an Inventory Item. */
1446
964
  export interface InventoryItemProperties {
1447
965
  /** Polymorphic discriminator, which specifies the different types this object can be */
1448
966
  inventoryType: "ResourcePool" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork" | "Cluster" | "Datastore" | "Host";
@@ -1453,15 +971,15 @@ export interface InventoryItemProperties {
1453
971
  /** Gets or sets the vCenter Managed Object name for the inventory item. */
1454
972
  moName?: string;
1455
973
  /**
1456
- * Gets or sets the provisioning state.
974
+ * Gets the provisioning state.
1457
975
  * NOTE: This property will not be serialized. It can only be populated by the server.
1458
976
  */
1459
- readonly provisioningState?: string;
977
+ readonly provisioningState?: ProvisioningState;
1460
978
  }
1461
979
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1462
980
  export interface Resource {
1463
981
  /**
1464
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
982
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1465
983
  * NOTE: This property will not be serialized. It can only be populated by the server.
1466
984
  */
1467
985
  readonly id?: string;
@@ -1475,6 +993,11 @@ export interface Resource {
1475
993
  * NOTE: This property will not be serialized. It can only be populated by the server.
1476
994
  */
1477
995
  readonly type?: string;
996
+ /**
997
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
998
+ * NOTE: This property will not be serialized. It can only be populated by the server.
999
+ */
1000
+ readonly systemData?: SystemData;
1478
1001
  }
1479
1002
  /** List of InventoryItems. */
1480
1003
  export interface InventoryItemsList {
@@ -1483,119 +1006,219 @@ export interface InventoryItemsList {
1483
1006
  /** Array of InventoryItems */
1484
1007
  value: InventoryItem[];
1485
1008
  }
1486
- /** List of HybridIdentityMetadata. */
1487
- export interface HybridIdentityMetadataList {
1488
- /** Url to follow for getting next page of HybridIdentityMetadata. */
1489
- nextLink?: string;
1490
- /** Array of HybridIdentityMetadata */
1491
- value: HybridIdentityMetadata[];
1492
- }
1493
- /** Describes a Machine Extension. */
1494
- export interface MachineExtension {
1495
- /** Gets or sets the location. */
1496
- location?: string;
1009
+ /** Specifies the compute and storage placement settings for the virtual machine. */
1010
+ export interface PlacementProfile {
1011
+ /** Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. */
1012
+ resourcePoolId?: string;
1013
+ /** Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. */
1014
+ clusterId?: string;
1015
+ /** Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. */
1016
+ hostId?: string;
1017
+ /** Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. */
1018
+ datastoreId?: string;
1019
+ }
1020
+ /** Specifies the operating system settings for the virtual machine. */
1021
+ export interface OsProfileForVMInstance {
1022
+ /** Gets or sets computer name. */
1023
+ computerName?: string;
1024
+ /** Gets or sets administrator username. */
1025
+ adminUsername?: string;
1026
+ /** Sets administrator password. */
1027
+ adminPassword?: string;
1028
+ /** Gets or sets the guestId. */
1029
+ guestId?: string;
1030
+ /** Gets or sets the type of the os. */
1031
+ osType?: OsType;
1497
1032
  /**
1498
- * The system data.
1033
+ * Gets or sets os sku.
1499
1034
  * NOTE: This property will not be serialized. It can only be populated by the server.
1500
1035
  */
1501
- readonly systemData?: SystemData;
1502
- /** Gets or sets the Resource tags. */
1503
- tags?: {
1504
- [propertyName: string]: string;
1505
- };
1036
+ readonly osSku?: string;
1506
1037
  /**
1507
- * Gets or sets the name.
1038
+ * Gets or sets the current running status of VMware Tools running in the guest operating system.
1508
1039
  * NOTE: This property will not be serialized. It can only be populated by the server.
1509
1040
  */
1510
- readonly name?: string;
1041
+ readonly toolsRunningStatus?: string;
1511
1042
  /**
1512
- * Gets or sets the Id.
1043
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1513
1044
  * NOTE: This property will not be serialized. It can only be populated by the server.
1514
1045
  */
1515
- readonly id?: string;
1046
+ readonly toolsVersionStatus?: string;
1516
1047
  /**
1517
- * Gets or sets the type of the resource.
1048
+ * Gets or sets the current version of VMware Tools.
1518
1049
  * NOTE: This property will not be serialized. It can only be populated by the server.
1519
1050
  */
1520
- readonly type?: string;
1521
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1522
- forceUpdateTag?: string;
1523
- /** The name of the extension handler publisher. */
1524
- publisher?: string;
1525
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1526
- typePropertiesType?: string;
1527
- /** Specifies the version of the script handler. */
1528
- typeHandlerVersion?: string;
1529
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1530
- enableAutomaticUpgrade?: boolean;
1531
- /** 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. */
1532
- autoUpgradeMinorVersion?: boolean;
1533
- /** Json formatted public settings for the extension. */
1534
- settings?: Record<string, unknown>;
1535
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1536
- protectedSettings?: Record<string, unknown>;
1051
+ readonly toolsVersion?: string;
1052
+ }
1053
+ /** Specifies the hardware settings for the virtual machine. */
1054
+ export interface HardwareProfile {
1055
+ /** Gets or sets memory size in MBs for the vm. */
1056
+ memorySizeMB?: number;
1057
+ /** Gets or sets the number of vCPUs for the vm. */
1058
+ numCPUs?: number;
1059
+ /** Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. */
1060
+ numCoresPerSocket?: number;
1537
1061
  /**
1538
- * The provisioning state, which only appears in the response.
1062
+ * Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.
1539
1063
  * NOTE: This property will not be serialized. It can only be populated by the server.
1540
1064
  */
1541
- readonly provisioningState?: string;
1542
- /** The machine extension instance view. */
1543
- instanceView?: MachineExtensionPropertiesInstanceView;
1544
- }
1545
- /** Describes the Machine Extension Instance View. */
1546
- export interface MachineExtensionInstanceView {
1065
+ readonly cpuHotAddEnabled?: boolean;
1547
1066
  /**
1548
- * The machine extension name.
1067
+ * Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.
1549
1068
  * NOTE: This property will not be serialized. It can only be populated by the server.
1550
1069
  */
1551
- readonly name?: string;
1070
+ readonly cpuHotRemoveEnabled?: boolean;
1552
1071
  /**
1553
- * Specifies the type of the extension; an example is "CustomScriptExtension".
1072
+ * Gets or sets a value indicating whether memory can be added while this virtual machine is running.
1554
1073
  * NOTE: This property will not be serialized. It can only be populated by the server.
1555
1074
  */
1556
- readonly type?: string;
1075
+ readonly memoryHotAddEnabled?: boolean;
1076
+ }
1077
+ /** Specifies the network interfaces of the virtual machine. */
1078
+ export interface NetworkProfile {
1079
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
1080
+ networkInterfaces?: NetworkInterface[];
1081
+ }
1082
+ /** Specifies the storage settings for the virtual machine disks. */
1083
+ export interface StorageProfile {
1084
+ /** Gets or sets the list of virtual disks associated with the virtual machine. */
1085
+ disks?: VirtualDisk[];
1557
1086
  /**
1558
- * Specifies the version of the script handler.
1087
+ * Gets or sets the list of virtual SCSI controllers associated with the virtual machine.
1559
1088
  * NOTE: This property will not be serialized. It can only be populated by the server.
1560
1089
  */
1561
- readonly typeHandlerVersion?: string;
1562
- /** Instance view status. */
1563
- status?: MachineExtensionInstanceViewStatus;
1090
+ readonly scsiControllers?: VirtualScsiController[];
1091
+ }
1092
+ /** This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. */
1093
+ export interface VirtualScsiController {
1094
+ /** Gets or sets the controller type. */
1095
+ type?: ScsiControllerType;
1096
+ /** Gets or sets the key of the controller. */
1097
+ controllerKey?: number;
1098
+ /** Gets or sets the bus number of the controller. */
1099
+ busNumber?: number;
1100
+ /** Gets or sets the SCSI controller unit number. */
1101
+ scsiCtlrUnitNumber?: number;
1102
+ /** Gets or sets the sharing mode. */
1103
+ sharing?: VirtualScsiSharing;
1104
+ }
1105
+ /** Specifies the Security profile settings for the virtual machine. */
1106
+ export interface SecurityProfile {
1107
+ /** Specifies the security settings like secure boot used while creating the virtual machine. */
1108
+ uefiSettings?: UefiSettings;
1109
+ }
1110
+ /** Specifies the security settings like secure boot used while creating the virtual machine. */
1111
+ export interface UefiSettings {
1112
+ /** Specifies whether secure boot should be enabled on the virtual machine. */
1113
+ secureBootEnabled?: boolean;
1564
1114
  }
1565
- /** Instance view status. */
1566
- export interface MachineExtensionInstanceViewStatus {
1115
+ /** Specifies the vCenter infrastructure specific settings for the virtual machine. */
1116
+ export interface InfrastructureProfile {
1117
+ /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
1118
+ templateId?: string;
1119
+ /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
1120
+ vCenterId?: string;
1567
1121
  /**
1568
- * The status code.
1122
+ * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.
1569
1123
  * NOTE: This property will not be serialized. It can only be populated by the server.
1570
1124
  */
1571
- readonly code?: string;
1125
+ readonly moRefId?: string;
1126
+ /** Gets or sets the inventory Item ID for the virtual machine. */
1127
+ inventoryItemId?: string;
1572
1128
  /**
1573
- * The level code.
1129
+ * Gets or sets the vCenter Managed Object name for the virtual machine.
1574
1130
  * NOTE: This property will not be serialized. It can only be populated by the server.
1575
1131
  */
1576
- readonly level?: StatusLevelTypes;
1132
+ readonly moName?: string;
1577
1133
  /**
1578
- * The short localizable label for the status.
1134
+ * Gets or sets the folder path of the vm.
1579
1135
  * NOTE: This property will not be serialized. It can only be populated by the server.
1580
1136
  */
1581
- readonly displayStatus?: string;
1137
+ readonly folderPath?: string;
1582
1138
  /**
1583
- * The detailed status message, including for alerts and error messages.
1139
+ * Gets or sets the instance uuid of the vm.
1584
1140
  * NOTE: This property will not be serialized. It can only be populated by the server.
1585
1141
  */
1586
- readonly message?: string;
1142
+ readonly instanceUuid?: string;
1143
+ /** Gets or sets the SMBIOS UUID of the vm. */
1144
+ smbiosUuid?: string;
1145
+ /** Firmware type */
1146
+ firmwareType?: FirmwareType;
1587
1147
  /**
1588
- * The time of the status.
1148
+ * Gets the name of the corresponding resource in Kubernetes.
1589
1149
  * NOTE: This property will not be serialized. It can only be populated by the server.
1590
1150
  */
1591
- readonly time?: Date;
1151
+ readonly customResourceName?: string;
1152
+ }
1153
+ /** Defines the virtualMachineInstanceUpdate. */
1154
+ export interface VirtualMachineInstanceUpdate {
1155
+ /** Specifies the hardware settings for the virtual machine. */
1156
+ hardwareProfile?: HardwareProfile;
1157
+ /** Specifies the storage settings for the virtual machine disks. */
1158
+ storageProfile?: StorageProfileUpdate;
1159
+ /** Specifies the network interfaces of the virtual machine. */
1160
+ networkProfile?: NetworkProfileUpdate;
1161
+ }
1162
+ /** Specifies the storage settings for the virtual machine disks. */
1163
+ export interface StorageProfileUpdate {
1164
+ /** Gets or sets the list of virtual disks associated with the virtual machine. */
1165
+ disks?: VirtualDiskUpdate[];
1166
+ }
1167
+ /** Defines the virtual disk update. */
1168
+ export interface VirtualDiskUpdate {
1169
+ /** Gets or sets the name of the virtual disk. */
1170
+ name?: string;
1171
+ /** Gets or sets the disk total size. */
1172
+ diskSizeGB?: number;
1173
+ /** Gets or sets the device key value. */
1174
+ deviceKey?: number;
1175
+ /** Gets or sets the disk mode. */
1176
+ diskMode?: DiskMode;
1177
+ /** Gets or sets the controller id. */
1178
+ controllerKey?: number;
1179
+ /** Gets or sets the unit number of the disk on the controller. */
1180
+ unitNumber?: number;
1181
+ /** Gets or sets the device name. */
1182
+ deviceName?: string;
1183
+ /** Gets or sets the disk backing type. */
1184
+ diskType?: DiskType;
1185
+ }
1186
+ /** Specifies the network interfaces of the virtual machine. */
1187
+ export interface NetworkProfileUpdate {
1188
+ /** Gets or sets the list of network interfaces associated with the virtual machine. */
1189
+ networkInterfaces?: NetworkInterfaceUpdate[];
1190
+ }
1191
+ /** Defines the network interface update. */
1192
+ export interface NetworkInterfaceUpdate {
1193
+ /** Gets or sets the name of the network interface. */
1194
+ name?: string;
1195
+ /** Gets or sets the ARM Id of the network resource to connect the virtual machine. */
1196
+ networkId?: string;
1197
+ /** NIC type */
1198
+ nicType?: NICType;
1199
+ /** Gets or sets the power on boot. */
1200
+ powerOnBoot?: PowerOnBootOption;
1201
+ /** Gets or sets the device key value. */
1202
+ deviceKey?: number;
1203
+ }
1204
+ /** List of VirtualMachineInstances. */
1205
+ export interface VirtualMachineInstancesList {
1206
+ /** Url to follow for getting next page of VirtualMachines. */
1207
+ nextLink?: string;
1208
+ /** Array of VirtualMachines */
1209
+ value: VirtualMachineInstance[];
1210
+ }
1211
+ /** Defines the stop action properties. */
1212
+ export interface StopVirtualMachineOptions {
1213
+ /** 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. */
1214
+ skipShutdown?: boolean;
1592
1215
  }
1593
- /** Describes the Machine Extensions List Result. */
1594
- export interface MachineExtensionsListResult {
1595
- /** The list of extensions */
1596
- value?: MachineExtension[];
1597
- /** The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions. */
1216
+ /** List of HybridIdentityMetadata. */
1217
+ export interface VmInstanceHybridIdentityMetadataList {
1218
+ /** Url to follow for getting next page of HybridIdentityMetadata. */
1598
1219
  nextLink?: string;
1220
+ /** Array of HybridIdentityMetadata */
1221
+ value: VmInstanceHybridIdentityMetadata[];
1599
1222
  }
1600
1223
  /** Username / Password Credentials to connect to guest. */
1601
1224
  export interface GuestCredential {
@@ -1639,31 +1262,14 @@ export interface Condition {
1639
1262
  */
1640
1263
  readonly severity?: string;
1641
1264
  }
1642
- /** Defines the resource properties. */
1265
+ /** Describes the properties of an Inventory Item reference. */
1643
1266
  export interface InventoryItemDetails {
1644
1267
  /** Gets or sets the inventory Item ID for the resource. */
1645
1268
  inventoryItemId?: string;
1646
1269
  /** Gets or sets the vCenter Managed Object name for the resource. */
1647
1270
  moName?: string;
1648
- }
1649
- /** Describes a Machine Extension Update. */
1650
- export interface MachineExtensionUpdate extends ResourcePatch {
1651
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1652
- forceUpdateTag?: string;
1653
- /** The name of the extension handler publisher. */
1654
- publisher?: string;
1655
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1656
- type?: string;
1657
- /** Specifies the version of the script handler. */
1658
- typeHandlerVersion?: string;
1659
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1660
- enableAutomaticUpgrade?: boolean;
1661
- /** 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. */
1662
- autoUpgradeMinorVersion?: boolean;
1663
- /** Json formatted public settings for the extension. */
1664
- settings?: Record<string, unknown>;
1665
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1666
- protectedSettings?: Record<string, unknown>;
1271
+ /** The inventory type. */
1272
+ inventoryType?: InventoryType;
1667
1273
  }
1668
1274
  /** The resource pool inventory item. */
1669
1275
  export interface ResourcePoolInventoryItem extends InventoryItemProperties {
@@ -1688,6 +1294,8 @@ export interface VirtualMachineInventoryItem extends InventoryItemProperties {
1688
1294
  host?: InventoryItemDetails;
1689
1295
  /** ResourcePool inventory resource details. */
1690
1296
  resourcePool?: InventoryItemDetails;
1297
+ /** Cluster inventory resource details. */
1298
+ cluster?: InventoryItemDetails;
1691
1299
  /** Gets or sets the instance uuid of the vm. */
1692
1300
  instanceUuid?: string;
1693
1301
  /** Gets or sets the SMBIOS UUID of the vm. */
@@ -1730,6 +1338,16 @@ export interface VirtualMachineTemplateInventoryItem extends InventoryItemProper
1730
1338
  osType?: OsType;
1731
1339
  /** Gets or sets os name. */
1732
1340
  osName?: string;
1341
+ /**
1342
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
1343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1344
+ */
1345
+ readonly toolsVersionStatus?: string;
1346
+ /**
1347
+ * Gets or sets the current version of VMware Tools.
1348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1349
+ */
1350
+ readonly toolsVersion?: string;
1733
1351
  /** Gets or sets the folder path of the template. */
1734
1352
  folderPath?: string;
1735
1353
  }
@@ -1762,16 +1380,8 @@ export interface HostInventoryItem extends InventoryItemProperties {
1762
1380
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1763
1381
  export interface ProxyResource extends Resource {
1764
1382
  }
1765
- /** The machine extension instance view. */
1766
- export interface MachineExtensionPropertiesInstanceView extends MachineExtensionInstanceView {
1767
- }
1768
1383
  /** Defines the inventory item. */
1769
1384
  export interface InventoryItem extends ProxyResource {
1770
- /**
1771
- * The system data.
1772
- * NOTE: This property will not be serialized. It can only be populated by the server.
1773
- */
1774
- readonly systemData?: SystemData;
1775
1385
  /** 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. */
1776
1386
  kind?: string;
1777
1387
  /** They inventory type. */
@@ -1783,40 +1393,64 @@ export interface InventoryItem extends ProxyResource {
1783
1393
  /** Gets or sets the vCenter Managed Object name for the inventory item. */
1784
1394
  moName?: string;
1785
1395
  /**
1786
- * Gets or sets the provisioning state.
1396
+ * Gets the provisioning state.
1787
1397
  * NOTE: This property will not be serialized. It can only be populated by the server.
1788
1398
  */
1789
- readonly provisioningState?: string;
1399
+ readonly provisioningState?: ProvisioningState;
1790
1400
  }
1791
- /** Defines the HybridIdentityMetadata. */
1792
- export interface HybridIdentityMetadata extends ProxyResource {
1401
+ /** Define the virtualMachineInstance. */
1402
+ export interface VirtualMachineInstance extends ProxyResource {
1403
+ /** Gets or sets the extended location. */
1404
+ extendedLocation?: ExtendedLocation;
1405
+ /** Placement properties. */
1406
+ placementProfile?: PlacementProfile;
1407
+ /** OS properties. */
1408
+ osProfile?: OsProfileForVMInstance;
1409
+ /** Hardware properties. */
1410
+ hardwareProfile?: HardwareProfile;
1411
+ /** Network properties. */
1412
+ networkProfile?: NetworkProfile;
1413
+ /** Storage properties. */
1414
+ storageProfile?: StorageProfile;
1415
+ /** Gets the security profile. */
1416
+ securityProfile?: SecurityProfile;
1417
+ /** Gets the infrastructure profile. */
1418
+ infrastructureProfile?: InfrastructureProfile;
1793
1419
  /**
1794
- * The system data.
1420
+ * Gets the power state of the virtual machine.
1795
1421
  * NOTE: This property will not be serialized. It can only be populated by the server.
1796
1422
  */
1797
- readonly systemData?: SystemData;
1798
- /** Gets or sets the Vm Id. */
1799
- vmId?: string;
1800
- /** Gets or sets the Public Key. */
1801
- publicKey?: string;
1423
+ readonly powerState?: string;
1424
+ /**
1425
+ * The resource status information.
1426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1427
+ */
1428
+ readonly statuses?: ResourceStatus[];
1802
1429
  /**
1803
- * The identity of the resource.
1430
+ * Gets the provisioning state.
1804
1431
  * NOTE: This property will not be serialized. It can only be populated by the server.
1805
1432
  */
1806
- readonly identity?: Identity;
1433
+ readonly provisioningState?: ProvisioningState;
1807
1434
  /**
1808
- * Gets or sets the provisioning state.
1435
+ * Gets or sets a unique identifier for the vm resource.
1809
1436
  * NOTE: This property will not be serialized. It can only be populated by the server.
1810
1437
  */
1811
- readonly provisioningState?: string;
1438
+ readonly resourceUid?: string;
1812
1439
  }
1813
- /** Defines the GuestAgent. */
1814
- export interface GuestAgent extends ProxyResource {
1440
+ /** Defines the HybridIdentityMetadata. */
1441
+ export interface VmInstanceHybridIdentityMetadata extends ProxyResource {
1442
+ /** The unique identifier for the resource. */
1443
+ resourceUid?: string;
1444
+ /** Gets or sets the Public Key. */
1445
+ publicKey?: string;
1815
1446
  /**
1816
- * The system data.
1447
+ * Gets the provisioning state.
1817
1448
  * NOTE: This property will not be serialized. It can only be populated by the server.
1818
1449
  */
1819
- readonly systemData?: SystemData;
1450
+ readonly provisioningState?: ProvisioningState;
1451
+ }
1452
+ /** Defines the GuestAgent. */
1453
+ export interface GuestAgent extends ProxyResource {
1820
1454
  /**
1821
1455
  * Gets or sets a unique identifier for this resource.
1822
1456
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1824,6 +1458,8 @@ export interface GuestAgent extends ProxyResource {
1824
1458
  readonly uuid?: string;
1825
1459
  /** Username / Password Credentials to provision guest agent. */
1826
1460
  credentials?: GuestCredential;
1461
+ /** The resource id of the private link scope this machine is assigned to, if any. */
1462
+ privateLinkScopeResourceId?: string;
1827
1463
  /** HTTP Proxy configuration for the VM. */
1828
1464
  httpProxyConfig?: HttpProxyConfiguration;
1829
1465
  /** Gets or sets the guest agent provisioning action. */
@@ -1844,218 +1480,63 @@ export interface GuestAgent extends ProxyResource {
1844
1480
  */
1845
1481
  readonly statuses?: ResourceStatus[];
1846
1482
  /**
1847
- * Gets or sets the provisioning state.
1483
+ * Gets the provisioning state.
1848
1484
  * NOTE: This property will not be serialized. It can only be populated by the server.
1849
1485
  */
1850
- readonly provisioningState?: string;
1486
+ readonly provisioningState?: ProvisioningState;
1851
1487
  }
1852
- /** Known values of {@link PatchOperationStatus} that the service accepts. */
1853
- export declare enum KnownPatchOperationStatus {
1854
- /** Unknown */
1855
- Unknown = "Unknown",
1856
- /** InProgress */
1857
- InProgress = "InProgress",
1858
- /** Failed */
1859
- Failed = "Failed",
1860
- /** Succeeded */
1861
- Succeeded = "Succeeded",
1862
- /** CompletedWithWarnings */
1863
- CompletedWithWarnings = "CompletedWithWarnings"
1488
+ /** Defines headers for ResourcePools_delete operation. */
1489
+ export interface ResourcePoolsDeleteHeaders {
1490
+ location?: string;
1864
1491
  }
1865
- /**
1866
- * Defines values for PatchOperationStatus. \
1867
- * {@link KnownPatchOperationStatus} can be used interchangeably with PatchOperationStatus,
1868
- * this enum contains the known values that the service supports.
1869
- * ### Known values supported by the service
1870
- * **Unknown** \
1871
- * **InProgress** \
1872
- * **Failed** \
1873
- * **Succeeded** \
1874
- * **CompletedWithWarnings**
1875
- */
1876
- export type PatchOperationStatus = string;
1877
- /** Known values of {@link PatchOperationStartedBy} that the service accepts. */
1878
- export declare enum KnownPatchOperationStartedBy {
1879
- /** User */
1880
- User = "User",
1881
- /** Platform */
1882
- Platform = "Platform"
1492
+ /** Defines headers for Clusters_delete operation. */
1493
+ export interface ClustersDeleteHeaders {
1494
+ location?: string;
1883
1495
  }
1884
- /**
1885
- * Defines values for PatchOperationStartedBy. \
1886
- * {@link KnownPatchOperationStartedBy} can be used interchangeably with PatchOperationStartedBy,
1887
- * this enum contains the known values that the service supports.
1888
- * ### Known values supported by the service
1889
- * **User** \
1890
- * **Platform**
1891
- */
1892
- export type PatchOperationStartedBy = string;
1893
- /** Known values of {@link PatchServiceUsed} that the service accepts. */
1894
- export declare enum KnownPatchServiceUsed {
1895
- /** Unknown */
1896
- Unknown = "Unknown",
1897
- /** WU */
1898
- WU = "WU",
1899
- /** WUWsus */
1900
- WUWsus = "WU_WSUS",
1901
- /** YUM */
1902
- YUM = "YUM",
1903
- /** APT */
1904
- APT = "APT",
1905
- /** Zypper */
1906
- Zypper = "Zypper"
1496
+ /** Defines headers for Hosts_delete operation. */
1497
+ export interface HostsDeleteHeaders {
1498
+ location?: string;
1907
1499
  }
1908
- /**
1909
- * Defines values for PatchServiceUsed. \
1910
- * {@link KnownPatchServiceUsed} can be used interchangeably with PatchServiceUsed,
1911
- * this enum contains the known values that the service supports.
1912
- * ### Known values supported by the service
1913
- * **Unknown** \
1914
- * **WU** \
1915
- * **WU_WSUS** \
1916
- * **YUM** \
1917
- * **APT** \
1918
- * **Zypper**
1919
- */
1920
- export type PatchServiceUsed = string;
1921
- /** Known values of {@link OsTypeUM} that the service accepts. */
1922
- export declare enum KnownOsTypeUM {
1923
- /** Windows */
1924
- Windows = "Windows",
1925
- /** Linux */
1926
- Linux = "Linux"
1500
+ /** Defines headers for Datastores_delete operation. */
1501
+ export interface DatastoresDeleteHeaders {
1502
+ location?: string;
1927
1503
  }
1928
- /**
1929
- * Defines values for OsTypeUM. \
1930
- * {@link KnownOsTypeUM} can be used interchangeably with OsTypeUM,
1931
- * this enum contains the known values that the service supports.
1932
- * ### Known values supported by the service
1933
- * **Windows** \
1934
- * **Linux**
1935
- */
1936
- export type OsTypeUM = string;
1937
- /** Known values of {@link VMGuestPatchRebootSetting} that the service accepts. */
1938
- export declare enum KnownVMGuestPatchRebootSetting {
1939
- /** IfRequired */
1940
- IfRequired = "IfRequired",
1941
- /** Never */
1942
- Never = "Never",
1943
- /** Always */
1944
- Always = "Always"
1504
+ /** Defines headers for VCenters_delete operation. */
1505
+ export interface VCentersDeleteHeaders {
1506
+ location?: string;
1507
+ }
1508
+ /** Defines headers for VirtualMachineTemplates_delete operation. */
1509
+ export interface VirtualMachineTemplatesDeleteHeaders {
1510
+ location?: string;
1511
+ }
1512
+ /** Defines headers for VirtualNetworks_delete operation. */
1513
+ export interface VirtualNetworksDeleteHeaders {
1514
+ location?: string;
1515
+ }
1516
+ /** Defines headers for VirtualMachineInstances_update operation. */
1517
+ export interface VirtualMachineInstancesUpdateHeaders {
1518
+ location?: string;
1519
+ }
1520
+ /** Defines headers for VirtualMachineInstances_delete operation. */
1521
+ export interface VirtualMachineInstancesDeleteHeaders {
1522
+ location?: string;
1945
1523
  }
1946
- /**
1947
- * Defines values for VMGuestPatchRebootSetting. \
1948
- * {@link KnownVMGuestPatchRebootSetting} can be used interchangeably with VMGuestPatchRebootSetting,
1949
- * this enum contains the known values that the service supports.
1950
- * ### Known values supported by the service
1951
- * **IfRequired** \
1952
- * **Never** \
1953
- * **Always**
1954
- */
1955
- export type VMGuestPatchRebootSetting = string;
1956
- /** Known values of {@link VMGuestPatchClassificationWindows} that the service accepts. */
1957
- export declare enum KnownVMGuestPatchClassificationWindows {
1958
- /** Critical */
1959
- Critical = "Critical",
1960
- /** Security */
1961
- Security = "Security",
1962
- /** UpdateRollUp */
1963
- UpdateRollUp = "UpdateRollUp",
1964
- /** FeaturePack */
1965
- FeaturePack = "FeaturePack",
1966
- /** ServicePack */
1967
- ServicePack = "ServicePack",
1968
- /** Definition */
1969
- Definition = "Definition",
1970
- /** Tools */
1971
- Tools = "Tools",
1972
- /** Updates */
1973
- Updates = "Updates"
1524
+ /** Defines headers for VirtualMachineInstances_stop operation. */
1525
+ export interface VirtualMachineInstancesStopHeaders {
1526
+ location?: string;
1974
1527
  }
1975
- /**
1976
- * Defines values for VMGuestPatchClassificationWindows. \
1977
- * {@link KnownVMGuestPatchClassificationWindows} can be used interchangeably with VMGuestPatchClassificationWindows,
1978
- * this enum contains the known values that the service supports.
1979
- * ### Known values supported by the service
1980
- * **Critical** \
1981
- * **Security** \
1982
- * **UpdateRollUp** \
1983
- * **FeaturePack** \
1984
- * **ServicePack** \
1985
- * **Definition** \
1986
- * **Tools** \
1987
- * **Updates**
1988
- */
1989
- export type VMGuestPatchClassificationWindows = string;
1990
- /** Known values of {@link VMGuestPatchClassificationLinux} that the service accepts. */
1991
- export declare enum KnownVMGuestPatchClassificationLinux {
1992
- /** Critical */
1993
- Critical = "Critical",
1994
- /** Security */
1995
- Security = "Security",
1996
- /** Other */
1997
- Other = "Other"
1528
+ /** Defines headers for VirtualMachineInstances_start operation. */
1529
+ export interface VirtualMachineInstancesStartHeaders {
1530
+ location?: string;
1998
1531
  }
1999
- /**
2000
- * Defines values for VMGuestPatchClassificationLinux. \
2001
- * {@link KnownVMGuestPatchClassificationLinux} can be used interchangeably with VMGuestPatchClassificationLinux,
2002
- * this enum contains the known values that the service supports.
2003
- * ### Known values supported by the service
2004
- * **Critical** \
2005
- * **Security** \
2006
- * **Other**
2007
- */
2008
- export type VMGuestPatchClassificationLinux = string;
2009
- /** Known values of {@link VMGuestPatchRebootStatus} that the service accepts. */
2010
- export declare enum KnownVMGuestPatchRebootStatus {
2011
- /** Unknown */
2012
- Unknown = "Unknown",
2013
- /** NotNeeded */
2014
- NotNeeded = "NotNeeded",
2015
- /** Required */
2016
- Required = "Required",
2017
- /** Started */
2018
- Started = "Started",
2019
- /** Failed */
2020
- Failed = "Failed",
2021
- /** Completed */
2022
- Completed = "Completed"
1532
+ /** Defines headers for VirtualMachineInstances_restart operation. */
1533
+ export interface VirtualMachineInstancesRestartHeaders {
1534
+ location?: string;
2023
1535
  }
2024
- /**
2025
- * Defines values for VMGuestPatchRebootStatus. \
2026
- * {@link KnownVMGuestPatchRebootStatus} can be used interchangeably with VMGuestPatchRebootStatus,
2027
- * this enum contains the known values that the service supports.
2028
- * ### Known values supported by the service
2029
- * **Unknown** \
2030
- * **NotNeeded** \
2031
- * **Required** \
2032
- * **Started** \
2033
- * **Failed** \
2034
- * **Completed**
2035
- */
2036
- export type VMGuestPatchRebootStatus = string;
2037
- /** Known values of {@link CreatedByType} that the service accepts. */
2038
- export declare enum KnownCreatedByType {
2039
- /** User */
2040
- User = "User",
2041
- /** Application */
2042
- Application = "Application",
2043
- /** ManagedIdentity */
2044
- ManagedIdentity = "ManagedIdentity",
2045
- /** Key */
2046
- Key = "Key"
1536
+ /** Defines headers for VMInstanceGuestAgents_delete operation. */
1537
+ export interface VMInstanceGuestAgentsDeleteHeaders {
1538
+ location?: string;
2047
1539
  }
2048
- /**
2049
- * Defines values for CreatedByType. \
2050
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2051
- * this enum contains the known values that the service supports.
2052
- * ### Known values supported by the service
2053
- * **User** \
2054
- * **Application** \
2055
- * **ManagedIdentity** \
2056
- * **Key**
2057
- */
2058
- export type CreatedByType = string;
2059
1540
  /** Known values of {@link ProvisioningState} that the service accepts. */
2060
1541
  export declare enum KnownProvisioningState {
2061
1542
  /** Succeeded */
@@ -2090,6 +1571,28 @@ export declare enum KnownProvisioningState {
2090
1571
  * **Created**
2091
1572
  */
2092
1573
  export type ProvisioningState = string;
1574
+ /** Known values of {@link CreatedByType} that the service accepts. */
1575
+ export declare enum KnownCreatedByType {
1576
+ /** User */
1577
+ User = "User",
1578
+ /** Application */
1579
+ Application = "Application",
1580
+ /** ManagedIdentity */
1581
+ ManagedIdentity = "ManagedIdentity",
1582
+ /** Key */
1583
+ Key = "Key"
1584
+ }
1585
+ /**
1586
+ * Defines values for CreatedByType. \
1587
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1588
+ * this enum contains the known values that the service supports.
1589
+ * ### Known values supported by the service
1590
+ * **User** \
1591
+ * **Application** \
1592
+ * **ManagedIdentity** \
1593
+ * **Key**
1594
+ */
1595
+ export type CreatedByType = string;
2093
1596
  /** Known values of {@link OsType} that the service accepts. */
2094
1597
  export declare enum KnownOsType {
2095
1598
  /** Windows */
@@ -2231,66 +1734,6 @@ export declare enum KnownDiskType {
2231
1734
  * **unknown**
2232
1735
  */
2233
1736
  export type DiskType = string;
2234
- /** Known values of {@link ScsiControllerType} that the service accepts. */
2235
- export declare enum KnownScsiControllerType {
2236
- /** Lsilogic */
2237
- Lsilogic = "lsilogic",
2238
- /** Buslogic */
2239
- Buslogic = "buslogic",
2240
- /** Pvscsi */
2241
- Pvscsi = "pvscsi",
2242
- /** Lsilogicsas */
2243
- Lsilogicsas = "lsilogicsas"
2244
- }
2245
- /**
2246
- * Defines values for ScsiControllerType. \
2247
- * {@link KnownScsiControllerType} can be used interchangeably with ScsiControllerType,
2248
- * this enum contains the known values that the service supports.
2249
- * ### Known values supported by the service
2250
- * **lsilogic** \
2251
- * **buslogic** \
2252
- * **pvscsi** \
2253
- * **lsilogicsas**
2254
- */
2255
- export type ScsiControllerType = string;
2256
- /** Known values of {@link VirtualScsiSharing} that the service accepts. */
2257
- export declare enum KnownVirtualScsiSharing {
2258
- /** NoSharing */
2259
- NoSharing = "noSharing",
2260
- /** PhysicalSharing */
2261
- PhysicalSharing = "physicalSharing",
2262
- /** VirtualSharing */
2263
- VirtualSharing = "virtualSharing"
2264
- }
2265
- /**
2266
- * Defines values for VirtualScsiSharing. \
2267
- * {@link KnownVirtualScsiSharing} can be used interchangeably with VirtualScsiSharing,
2268
- * this enum contains the known values that the service supports.
2269
- * ### Known values supported by the service
2270
- * **noSharing** \
2271
- * **physicalSharing** \
2272
- * **virtualSharing**
2273
- */
2274
- export type VirtualScsiSharing = string;
2275
- /** Known values of {@link StatusTypes} that the service accepts. */
2276
- export declare enum KnownStatusTypes {
2277
- /** Connected */
2278
- Connected = "Connected",
2279
- /** Disconnected */
2280
- Disconnected = "Disconnected",
2281
- /** Error */
2282
- Error = "Error"
2283
- }
2284
- /**
2285
- * Defines values for StatusTypes. \
2286
- * {@link KnownStatusTypes} can be used interchangeably with StatusTypes,
2287
- * this enum contains the known values that the service supports.
2288
- * ### Known values supported by the service
2289
- * **Connected** \
2290
- * **Disconnected** \
2291
- * **Error**
2292
- */
2293
- export type StatusTypes = string;
2294
1737
  /** Known values of {@link FirmwareType} that the service accepts. */
2295
1738
  export declare enum KnownFirmwareType {
2296
1739
  /** Bios */
@@ -2307,22 +1750,6 @@ export declare enum KnownFirmwareType {
2307
1750
  * **efi**
2308
1751
  */
2309
1752
  export type FirmwareType = string;
2310
- /** Known values of {@link IdentityType} that the service accepts. */
2311
- export declare enum KnownIdentityType {
2312
- /** None */
2313
- None = "None",
2314
- /** SystemAssigned */
2315
- SystemAssigned = "SystemAssigned"
2316
- }
2317
- /**
2318
- * Defines values for IdentityType. \
2319
- * {@link KnownIdentityType} can be used interchangeably with IdentityType,
2320
- * this enum contains the known values that the service supports.
2321
- * ### Known values supported by the service
2322
- * **None** \
2323
- * **SystemAssigned**
2324
- */
2325
- export type IdentityType = string;
2326
1753
  /** Known values of {@link InventoryType} that the service accepts. */
2327
1754
  export declare enum KnownInventoryType {
2328
1755
  /** ResourcePool */
@@ -2354,25 +1781,47 @@ export declare enum KnownInventoryType {
2354
1781
  * **Host**
2355
1782
  */
2356
1783
  export type InventoryType = string;
2357
- /** Known values of {@link StatusLevelTypes} that the service accepts. */
2358
- export declare enum KnownStatusLevelTypes {
2359
- /** Info */
2360
- Info = "Info",
2361
- /** Warning */
2362
- Warning = "Warning",
2363
- /** Error */
2364
- Error = "Error"
1784
+ /** Known values of {@link ScsiControllerType} that the service accepts. */
1785
+ export declare enum KnownScsiControllerType {
1786
+ /** Lsilogic */
1787
+ Lsilogic = "lsilogic",
1788
+ /** Buslogic */
1789
+ Buslogic = "buslogic",
1790
+ /** Pvscsi */
1791
+ Pvscsi = "pvscsi",
1792
+ /** Lsilogicsas */
1793
+ Lsilogicsas = "lsilogicsas"
1794
+ }
1795
+ /**
1796
+ * Defines values for ScsiControllerType. \
1797
+ * {@link KnownScsiControllerType} can be used interchangeably with ScsiControllerType,
1798
+ * this enum contains the known values that the service supports.
1799
+ * ### Known values supported by the service
1800
+ * **lsilogic** \
1801
+ * **buslogic** \
1802
+ * **pvscsi** \
1803
+ * **lsilogicsas**
1804
+ */
1805
+ export type ScsiControllerType = string;
1806
+ /** Known values of {@link VirtualScsiSharing} that the service accepts. */
1807
+ export declare enum KnownVirtualScsiSharing {
1808
+ /** NoSharing */
1809
+ NoSharing = "noSharing",
1810
+ /** PhysicalSharing */
1811
+ PhysicalSharing = "physicalSharing",
1812
+ /** VirtualSharing */
1813
+ VirtualSharing = "virtualSharing"
2365
1814
  }
2366
1815
  /**
2367
- * Defines values for StatusLevelTypes. \
2368
- * {@link KnownStatusLevelTypes} can be used interchangeably with StatusLevelTypes,
1816
+ * Defines values for VirtualScsiSharing. \
1817
+ * {@link KnownVirtualScsiSharing} can be used interchangeably with VirtualScsiSharing,
2369
1818
  * this enum contains the known values that the service supports.
2370
1819
  * ### Known values supported by the service
2371
- * **Info** \
2372
- * **Warning** \
2373
- * **Error**
1820
+ * **noSharing** \
1821
+ * **physicalSharing** \
1822
+ * **virtualSharing**
2374
1823
  */
2375
- export type StatusLevelTypes = string;
1824
+ export type VirtualScsiSharing = string;
2376
1825
  /** Known values of {@link ProvisioningAction} that the service accepts. */
2377
1826
  export declare enum KnownProvisioningAction {
2378
1827
  /** Install */
@@ -2403,105 +1852,6 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp
2403
1852
  /** Contains response data for the listNext operation. */
2404
1853
  export type OperationsListNextResponse = OperationsList;
2405
1854
  /** Optional parameters. */
2406
- export interface VirtualMachinesAssessPatchesOptionalParams extends coreClient.OperationOptions {
2407
- /** Delay to wait until next poll, in milliseconds. */
2408
- updateIntervalInMs?: number;
2409
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2410
- resumeFrom?: string;
2411
- }
2412
- /** Contains response data for the assessPatches operation. */
2413
- export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult;
2414
- /** Optional parameters. */
2415
- export interface VirtualMachinesInstallPatchesOptionalParams extends coreClient.OperationOptions {
2416
- /** Delay to wait until next poll, in milliseconds. */
2417
- updateIntervalInMs?: number;
2418
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2419
- resumeFrom?: string;
2420
- }
2421
- /** Contains response data for the installPatches operation. */
2422
- export type VirtualMachinesInstallPatchesResponse = VirtualMachineInstallPatchesResult;
2423
- /** Optional parameters. */
2424
- export interface VirtualMachinesCreateOptionalParams extends coreClient.OperationOptions {
2425
- /** Request payload. */
2426
- body?: VirtualMachine;
2427
- /** Delay to wait until next poll, in milliseconds. */
2428
- updateIntervalInMs?: number;
2429
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2430
- resumeFrom?: string;
2431
- }
2432
- /** Contains response data for the create operation. */
2433
- export type VirtualMachinesCreateResponse = VirtualMachine;
2434
- /** Optional parameters. */
2435
- export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
2436
- }
2437
- /** Contains response data for the get operation. */
2438
- export type VirtualMachinesGetResponse = VirtualMachine;
2439
- /** Optional parameters. */
2440
- export interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
2441
- /** Resource properties to update. */
2442
- body?: VirtualMachineUpdate;
2443
- /** Delay to wait until next poll, in milliseconds. */
2444
- updateIntervalInMs?: number;
2445
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2446
- resumeFrom?: string;
2447
- }
2448
- /** Contains response data for the update operation. */
2449
- export type VirtualMachinesUpdateResponse = VirtualMachine;
2450
- /** Optional parameters. */
2451
- export interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
2452
- /** Whether force delete was specified. */
2453
- force?: boolean;
2454
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
2455
- retain?: boolean;
2456
- /** Delay to wait until next poll, in milliseconds. */
2457
- updateIntervalInMs?: number;
2458
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2459
- resumeFrom?: string;
2460
- }
2461
- /** Optional parameters. */
2462
- export interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
2463
- /** Virtualmachine stop action payload. */
2464
- body?: StopVirtualMachineOptions;
2465
- /** Delay to wait until next poll, in milliseconds. */
2466
- updateIntervalInMs?: number;
2467
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2468
- resumeFrom?: string;
2469
- }
2470
- /** Optional parameters. */
2471
- export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
2472
- /** Delay to wait until next poll, in milliseconds. */
2473
- updateIntervalInMs?: number;
2474
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2475
- resumeFrom?: string;
2476
- }
2477
- /** Optional parameters. */
2478
- export interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions {
2479
- /** Delay to wait until next poll, in milliseconds. */
2480
- updateIntervalInMs?: number;
2481
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2482
- resumeFrom?: string;
2483
- }
2484
- /** Optional parameters. */
2485
- export interface VirtualMachinesListOptionalParams extends coreClient.OperationOptions {
2486
- }
2487
- /** Contains response data for the list operation. */
2488
- export type VirtualMachinesListResponse = VirtualMachinesList;
2489
- /** Optional parameters. */
2490
- export interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2491
- }
2492
- /** Contains response data for the listByResourceGroup operation. */
2493
- export type VirtualMachinesListByResourceGroupResponse = VirtualMachinesList;
2494
- /** Optional parameters. */
2495
- export interface VirtualMachinesListNextOptionalParams extends coreClient.OperationOptions {
2496
- }
2497
- /** Contains response data for the listNext operation. */
2498
- export type VirtualMachinesListNextResponse = VirtualMachinesList;
2499
- /** Optional parameters. */
2500
- export interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2501
- }
2502
- /** Contains response data for the listByResourceGroupNext operation. */
2503
- export type VirtualMachinesListByResourceGroupNextResponse = VirtualMachinesList;
2504
- /** Optional parameters. */
2505
1855
  export interface ResourcePoolsCreateOptionalParams extends coreClient.OperationOptions {
2506
1856
  /** Request payload. */
2507
1857
  body?: ResourcePool;
@@ -2891,74 +2241,101 @@ export interface InventoryItemsListByVCenterNextOptionalParams extends coreClien
2891
2241
  /** Contains response data for the listByVCenterNext operation. */
2892
2242
  export type InventoryItemsListByVCenterNextResponse = InventoryItemsList;
2893
2243
  /** Optional parameters. */
2894
- export interface HybridIdentityMetadataCreateOptionalParams extends coreClient.OperationOptions {
2244
+ export interface VirtualMachineInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2895
2245
  /** Request payload. */
2896
- body?: HybridIdentityMetadata;
2246
+ body?: VirtualMachineInstance;
2247
+ /** Delay to wait until next poll, in milliseconds. */
2248
+ updateIntervalInMs?: number;
2249
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2250
+ resumeFrom?: string;
2897
2251
  }
2898
- /** Contains response data for the create operation. */
2899
- export type HybridIdentityMetadataCreateResponse = HybridIdentityMetadata;
2252
+ /** Contains response data for the createOrUpdate operation. */
2253
+ export type VirtualMachineInstancesCreateOrUpdateResponse = VirtualMachineInstance;
2900
2254
  /** Optional parameters. */
2901
- export interface HybridIdentityMetadataGetOptionalParams extends coreClient.OperationOptions {
2255
+ export interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions {
2902
2256
  }
2903
2257
  /** Contains response data for the get operation. */
2904
- export type HybridIdentityMetadataGetResponse = HybridIdentityMetadata;
2258
+ export type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
2905
2259
  /** Optional parameters. */
2906
- export interface HybridIdentityMetadataDeleteOptionalParams extends coreClient.OperationOptions {
2260
+ export interface VirtualMachineInstancesUpdateOptionalParams extends coreClient.OperationOptions {
2261
+ /** Resource properties to update. */
2262
+ body?: VirtualMachineInstanceUpdate;
2263
+ /** Delay to wait until next poll, in milliseconds. */
2264
+ updateIntervalInMs?: number;
2265
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2266
+ resumeFrom?: string;
2907
2267
  }
2268
+ /** Contains response data for the update operation. */
2269
+ export type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance;
2908
2270
  /** Optional parameters. */
2909
- export interface HybridIdentityMetadataListByVmOptionalParams extends coreClient.OperationOptions {
2271
+ export interface VirtualMachineInstancesDeleteOptionalParams extends coreClient.OperationOptions {
2272
+ /** Whether force delete was specified. */
2273
+ force?: boolean;
2274
+ /** Whether to delete the VM from the vCenter. */
2275
+ deleteFromHost?: boolean;
2276
+ /** Delay to wait until next poll, in milliseconds. */
2277
+ updateIntervalInMs?: number;
2278
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2279
+ resumeFrom?: string;
2910
2280
  }
2911
- /** Contains response data for the listByVm operation. */
2912
- export type HybridIdentityMetadataListByVmResponse = HybridIdentityMetadataList;
2281
+ /** Contains response data for the delete operation. */
2282
+ export type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders;
2913
2283
  /** Optional parameters. */
2914
- export interface HybridIdentityMetadataListByVmNextOptionalParams extends coreClient.OperationOptions {
2284
+ export interface VirtualMachineInstancesListOptionalParams extends coreClient.OperationOptions {
2915
2285
  }
2916
- /** Contains response data for the listByVmNext operation. */
2917
- export type HybridIdentityMetadataListByVmNextResponse = HybridIdentityMetadataList;
2286
+ /** Contains response data for the list operation. */
2287
+ export type VirtualMachineInstancesListResponse = VirtualMachineInstancesList;
2918
2288
  /** Optional parameters. */
2919
- export interface MachineExtensionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2289
+ export interface VirtualMachineInstancesStopOptionalParams extends coreClient.OperationOptions {
2290
+ /** Virtualmachine stop action payload. */
2291
+ body?: StopVirtualMachineOptions;
2920
2292
  /** Delay to wait until next poll, in milliseconds. */
2921
2293
  updateIntervalInMs?: number;
2922
2294
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2923
2295
  resumeFrom?: string;
2924
2296
  }
2925
- /** Contains response data for the createOrUpdate operation. */
2926
- export type MachineExtensionsCreateOrUpdateResponse = MachineExtension;
2297
+ /** Contains response data for the stop operation. */
2298
+ export type VirtualMachineInstancesStopResponse = VirtualMachineInstancesStopHeaders;
2927
2299
  /** Optional parameters. */
2928
- export interface MachineExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
2300
+ export interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions {
2929
2301
  /** Delay to wait until next poll, in milliseconds. */
2930
2302
  updateIntervalInMs?: number;
2931
2303
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2932
2304
  resumeFrom?: string;
2933
2305
  }
2934
- /** Contains response data for the update operation. */
2935
- export type MachineExtensionsUpdateResponse = MachineExtension;
2306
+ /** Contains response data for the start operation. */
2307
+ export type VirtualMachineInstancesStartResponse = VirtualMachineInstancesStartHeaders;
2936
2308
  /** Optional parameters. */
2937
- export interface MachineExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
2309
+ export interface VirtualMachineInstancesRestartOptionalParams extends coreClient.OperationOptions {
2938
2310
  /** Delay to wait until next poll, in milliseconds. */
2939
2311
  updateIntervalInMs?: number;
2940
2312
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2941
2313
  resumeFrom?: string;
2942
2314
  }
2315
+ /** Contains response data for the restart operation. */
2316
+ export type VirtualMachineInstancesRestartResponse = VirtualMachineInstancesRestartHeaders;
2317
+ /** Optional parameters. */
2318
+ export interface VirtualMachineInstancesListNextOptionalParams extends coreClient.OperationOptions {
2319
+ }
2320
+ /** Contains response data for the listNext operation. */
2321
+ export type VirtualMachineInstancesListNextResponse = VirtualMachineInstancesList;
2943
2322
  /** Optional parameters. */
2944
- export interface MachineExtensionsGetOptionalParams extends coreClient.OperationOptions {
2323
+ export interface VmInstanceHybridIdentityMetadataGetOptionalParams extends coreClient.OperationOptions {
2945
2324
  }
2946
2325
  /** Contains response data for the get operation. */
2947
- export type MachineExtensionsGetResponse = MachineExtension;
2326
+ export type VmInstanceHybridIdentityMetadataGetResponse = VmInstanceHybridIdentityMetadata;
2948
2327
  /** Optional parameters. */
2949
- export interface MachineExtensionsListOptionalParams extends coreClient.OperationOptions {
2950
- /** The expand expression to apply on the operation. */
2951
- expand?: string;
2328
+ export interface VmInstanceHybridIdentityMetadataListOptionalParams extends coreClient.OperationOptions {
2952
2329
  }
2953
2330
  /** Contains response data for the list operation. */
2954
- export type MachineExtensionsListResponse = MachineExtensionsListResult;
2331
+ export type VmInstanceHybridIdentityMetadataListResponse = VmInstanceHybridIdentityMetadataList;
2955
2332
  /** Optional parameters. */
2956
- export interface MachineExtensionsListNextOptionalParams extends coreClient.OperationOptions {
2333
+ export interface VmInstanceHybridIdentityMetadataListNextOptionalParams extends coreClient.OperationOptions {
2957
2334
  }
2958
2335
  /** Contains response data for the listNext operation. */
2959
- export type MachineExtensionsListNextResponse = MachineExtensionsListResult;
2336
+ export type VmInstanceHybridIdentityMetadataListNextResponse = VmInstanceHybridIdentityMetadataList;
2960
2337
  /** Optional parameters. */
2961
- export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
2338
+ export interface VMInstanceGuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
2962
2339
  /** Request payload. */
2963
2340
  body?: GuestAgent;
2964
2341
  /** Delay to wait until next poll, in milliseconds. */
@@ -2967,29 +2344,31 @@ export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOpt
2967
2344
  resumeFrom?: string;
2968
2345
  }
2969
2346
  /** Contains response data for the create operation. */
2970
- export type GuestAgentsCreateResponse = GuestAgent;
2347
+ export type VMInstanceGuestAgentsCreateResponse = GuestAgent;
2971
2348
  /** Optional parameters. */
2972
- export interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions {
2349
+ export interface VMInstanceGuestAgentsGetOptionalParams extends coreClient.OperationOptions {
2973
2350
  }
2974
2351
  /** Contains response data for the get operation. */
2975
- export type GuestAgentsGetResponse = GuestAgent;
2352
+ export type VMInstanceGuestAgentsGetResponse = GuestAgent;
2976
2353
  /** Optional parameters. */
2977
- export interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
2354
+ export interface VMInstanceGuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
2978
2355
  /** Delay to wait until next poll, in milliseconds. */
2979
2356
  updateIntervalInMs?: number;
2980
2357
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2981
2358
  resumeFrom?: string;
2982
2359
  }
2360
+ /** Contains response data for the delete operation. */
2361
+ export type VMInstanceGuestAgentsDeleteResponse = VMInstanceGuestAgentsDeleteHeaders;
2983
2362
  /** Optional parameters. */
2984
- export interface GuestAgentsListByVmOptionalParams extends coreClient.OperationOptions {
2363
+ export interface VMInstanceGuestAgentsListOptionalParams extends coreClient.OperationOptions {
2985
2364
  }
2986
- /** Contains response data for the listByVm operation. */
2987
- export type GuestAgentsListByVmResponse = GuestAgentList;
2365
+ /** Contains response data for the list operation. */
2366
+ export type VMInstanceGuestAgentsListResponse = GuestAgentList;
2988
2367
  /** Optional parameters. */
2989
- export interface GuestAgentsListByVmNextOptionalParams extends coreClient.OperationOptions {
2368
+ export interface VMInstanceGuestAgentsListNextOptionalParams extends coreClient.OperationOptions {
2990
2369
  }
2991
- /** Contains response data for the listByVmNext operation. */
2992
- export type GuestAgentsListByVmNextResponse = GuestAgentList;
2370
+ /** Contains response data for the listNext operation. */
2371
+ export type VMInstanceGuestAgentsListNextResponse = GuestAgentList;
2993
2372
  /** Optional parameters. */
2994
2373
  export interface AzureArcVMwareManagementServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
2995
2374
  /** server parameter */