@azure/arm-connectedvmware 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +3202 -4456
  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 +12 -4
  9. package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/clustersDeleteSample.js +12 -4
  11. package/dist-esm/samples-dev/clustersDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/clustersGetSample.js +12 -4
  13. package/dist-esm/samples-dev/clustersGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +18 -8
  15. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/clustersListSample.js +17 -7
  17. package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
  18. package/dist-esm/samples-dev/clustersUpdateSample.js +12 -4
  19. package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/datastoresCreateSample.js +12 -4
  21. package/dist-esm/samples-dev/datastoresCreateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/datastoresDeleteSample.js +12 -4
  23. package/dist-esm/samples-dev/datastoresDeleteSample.js.map +1 -1
  24. package/dist-esm/samples-dev/datastoresGetSample.js +12 -4
  25. package/dist-esm/samples-dev/datastoresGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js +18 -8
  27. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/datastoresListSample.js +17 -7
  29. package/dist-esm/samples-dev/datastoresListSample.js.map +1 -1
  30. package/dist-esm/samples-dev/datastoresUpdateSample.js +12 -4
  31. package/dist-esm/samples-dev/datastoresUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/hostsCreateSample.js +12 -4
  33. package/dist-esm/samples-dev/hostsCreateSample.js.map +1 -1
  34. package/dist-esm/samples-dev/hostsDeleteSample.js +12 -4
  35. package/dist-esm/samples-dev/hostsDeleteSample.js.map +1 -1
  36. package/dist-esm/samples-dev/hostsGetSample.js +12 -4
  37. package/dist-esm/samples-dev/hostsGetSample.js.map +1 -1
  38. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js +18 -8
  39. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js.map +1 -1
  40. package/dist-esm/samples-dev/hostsListSample.js +17 -7
  41. package/dist-esm/samples-dev/hostsListSample.js.map +1 -1
  42. package/dist-esm/samples-dev/hostsUpdateSample.js +12 -4
  43. package/dist-esm/samples-dev/hostsUpdateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/inventoryItemsCreateSample.js +12 -4
  45. package/dist-esm/samples-dev/inventoryItemsCreateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +12 -4
  47. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js.map +1 -1
  48. package/dist-esm/samples-dev/inventoryItemsGetSample.js +12 -4
  49. package/dist-esm/samples-dev/inventoryItemsGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js +18 -8
  51. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js.map +1 -1
  52. package/dist-esm/samples-dev/operationsListSample.js +17 -7
  53. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  54. package/dist-esm/samples-dev/resourcePoolsCreateSample.js +12 -4
  55. package/dist-esm/samples-dev/resourcePoolsCreateSample.js.map +1 -1
  56. package/dist-esm/samples-dev/resourcePoolsDeleteSample.js +12 -4
  57. package/dist-esm/samples-dev/resourcePoolsDeleteSample.js.map +1 -1
  58. package/dist-esm/samples-dev/resourcePoolsGetSample.js +12 -4
  59. package/dist-esm/samples-dev/resourcePoolsGetSample.js.map +1 -1
  60. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js +18 -8
  61. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js.map +1 -1
  62. package/dist-esm/samples-dev/resourcePoolsListSample.js +17 -7
  63. package/dist-esm/samples-dev/resourcePoolsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/resourcePoolsUpdateSample.js +12 -4
  65. package/dist-esm/samples-dev/resourcePoolsUpdateSample.js.map +1 -1
  66. package/dist-esm/samples-dev/vCentersCreateSample.js +12 -4
  67. package/dist-esm/samples-dev/vCentersCreateSample.js.map +1 -1
  68. package/dist-esm/samples-dev/vCentersDeleteSample.js +12 -4
  69. package/dist-esm/samples-dev/vCentersDeleteSample.js.map +1 -1
  70. package/dist-esm/samples-dev/vCentersGetSample.js +12 -4
  71. package/dist-esm/samples-dev/vCentersGetSample.js.map +1 -1
  72. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js +18 -8
  73. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js.map +1 -1
  74. package/dist-esm/samples-dev/vCentersListSample.js +17 -7
  75. package/dist-esm/samples-dev/vCentersListSample.js.map +1 -1
  76. package/dist-esm/samples-dev/vCentersUpdateSample.js +12 -4
  77. package/dist-esm/samples-dev/vCentersUpdateSample.js.map +1 -1
  78. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
  79. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
  80. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js +51 -0
  81. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
  82. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
  83. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
  84. package/dist-esm/samples-dev/{virtualMachinesDeleteSample.js → virtualMachineInstancesDeleteSample.js} +15 -10
  85. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
  86. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
  87. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
  88. package/dist-esm/samples-dev/{virtualMachinesGetSample.js → virtualMachineInstancesGetSample.js} +15 -10
  89. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
  90. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
  91. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
  92. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js +52 -0
  93. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
  94. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
  95. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
  96. package/dist-esm/samples-dev/{virtualMachinesRestartSample.js → virtualMachineInstancesRestartSample.js} +15 -10
  97. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
  98. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/{virtualMachinesStartSample.js → virtualMachineInstancesStartSample.js} +15 -10
  101. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
  102. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
  103. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
  104. package/dist-esm/samples-dev/{virtualMachinesStopSample.js → virtualMachineInstancesStopSample.js} +15 -10
  105. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
  106. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
  107. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/{virtualMachinesUpdateSample.js → virtualMachineInstancesUpdateSample.js} +16 -11
  109. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
  110. package/dist-esm/samples-dev/virtualMachineTemplatesCreateSample.js +12 -4
  111. package/dist-esm/samples-dev/virtualMachineTemplatesCreateSample.js.map +1 -1
  112. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +12 -4
  113. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js.map +1 -1
  114. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +12 -4
  115. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -1
  116. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +18 -8
  117. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  118. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js +17 -7
  119. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js.map +1 -1
  120. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +12 -4
  121. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js.map +1 -1
  122. package/dist-esm/samples-dev/virtualNetworksCreateSample.js +12 -4
  123. package/dist-esm/samples-dev/virtualNetworksCreateSample.js.map +1 -1
  124. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +12 -4
  125. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js.map +1 -1
  126. package/dist-esm/samples-dev/virtualNetworksGetSample.js +12 -4
  127. package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -1
  128. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +18 -8
  129. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  130. package/dist-esm/samples-dev/virtualNetworksListSample.js +17 -7
  131. package/dist-esm/samples-dev/virtualNetworksListSample.js.map +1 -1
  132. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +12 -4
  133. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js.map +1 -1
  134. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts +2 -0
  135. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts.map +1 -0
  136. package/dist-esm/samples-dev/{guestAgentsCreateSample.js → vmInstanceGuestAgentsCreateSample.js} +14 -9
  137. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.js.map +1 -0
  138. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts +2 -0
  139. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts.map +1 -0
  140. package/dist-esm/samples-dev/{guestAgentsDeleteSample.js → vmInstanceGuestAgentsDeleteSample.js} +13 -9
  141. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.js.map +1 -0
  142. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts +2 -0
  143. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts.map +1 -0
  144. package/dist-esm/samples-dev/{guestAgentsGetSample.js → vmInstanceGuestAgentsGetSample.js} +13 -9
  145. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.js.map +1 -0
  146. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts +2 -0
  147. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts.map +1 -0
  148. package/dist-esm/samples-dev/{guestAgentsListByVMSample.js → vmInstanceGuestAgentsListSample.js} +18 -11
  149. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.js.map +1 -0
  150. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts +2 -0
  151. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts.map +1 -0
  152. package/dist-esm/samples-dev/{hybridIdentityMetadataGetSample.js → vmInstanceHybridIdentityMetadataGetSample.js} +13 -9
  153. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.js.map +1 -0
  154. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts +2 -0
  155. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts.map +1 -0
  156. package/dist-esm/samples-dev/{hybridIdentityMetadataListByVMSample.js → vmInstanceHybridIdentityMetadataListSample.js} +18 -11
  157. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.js.map +1 -0
  158. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts +6 -6
  159. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts.map +1 -1
  160. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js +16 -22
  161. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js.map +1 -1
  162. package/dist-esm/src/index.d.ts +1 -0
  163. package/dist-esm/src/index.d.ts.map +1 -1
  164. package/dist-esm/src/index.js +1 -0
  165. package/dist-esm/src/index.js.map +1 -1
  166. package/dist-esm/src/lroImpl.d.ts +6 -11
  167. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  168. package/dist-esm/src/lroImpl.js +12 -20
  169. package/dist-esm/src/lroImpl.js.map +1 -1
  170. package/dist-esm/src/models/index.d.ts +633 -1256
  171. package/dist-esm/src/models/index.d.ts.map +1 -1
  172. package/dist-esm/src/models/index.js +34 -164
  173. package/dist-esm/src/models/index.js.map +1 -1
  174. package/dist-esm/src/models/mappers.d.ts +32 -37
  175. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  176. package/dist-esm/src/models/mappers.js +1394 -2011
  177. package/dist-esm/src/models/mappers.js.map +1 -1
  178. package/dist-esm/src/models/parameters.d.ts +12 -20
  179. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  180. package/dist-esm/src/models/parameters.js +45 -99
  181. package/dist-esm/src/models/parameters.js.map +1 -1
  182. package/dist-esm/src/operations/clusters.d.ts +3 -3
  183. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  184. package/dist-esm/src/operations/clusters.js +70 -37
  185. package/dist-esm/src/operations/clusters.js.map +1 -1
  186. package/dist-esm/src/operations/datastores.d.ts +3 -3
  187. package/dist-esm/src/operations/datastores.d.ts.map +1 -1
  188. package/dist-esm/src/operations/datastores.js +70 -37
  189. package/dist-esm/src/operations/datastores.js.map +1 -1
  190. package/dist-esm/src/operations/hosts.d.ts +3 -3
  191. package/dist-esm/src/operations/hosts.d.ts.map +1 -1
  192. package/dist-esm/src/operations/hosts.js +70 -37
  193. package/dist-esm/src/operations/hosts.js.map +1 -1
  194. package/dist-esm/src/operations/index.d.ts +3 -4
  195. package/dist-esm/src/operations/index.d.ts.map +1 -1
  196. package/dist-esm/src/operations/index.js +3 -4
  197. package/dist-esm/src/operations/index.js.map +1 -1
  198. package/dist-esm/src/operations/inventoryItems.d.ts.map +1 -1
  199. package/dist-esm/src/operations/inventoryItems.js +26 -13
  200. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  201. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  202. package/dist-esm/src/operations/operations.js +25 -12
  203. package/dist-esm/src/operations/operations.js.map +1 -1
  204. package/dist-esm/src/operations/resourcePools.d.ts +3 -3
  205. package/dist-esm/src/operations/resourcePools.d.ts.map +1 -1
  206. package/dist-esm/src/operations/resourcePools.js +70 -37
  207. package/dist-esm/src/operations/resourcePools.js.map +1 -1
  208. package/dist-esm/src/operations/vCenters.d.ts +3 -3
  209. package/dist-esm/src/operations/vCenters.d.ts.map +1 -1
  210. package/dist-esm/src/operations/vCenters.js +70 -37
  211. package/dist-esm/src/operations/vCenters.js.map +1 -1
  212. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts +74 -0
  213. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts.map +1 -0
  214. package/dist-esm/src/operations/{guestAgents.js → vMInstanceGuestAgents.js} +108 -109
  215. package/dist-esm/src/operations/vMInstanceGuestAgents.js.map +1 -0
  216. package/dist-esm/src/operations/virtualMachineInstances.d.ts +132 -0
  217. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  218. package/dist-esm/src/operations/virtualMachineInstances.js +668 -0
  219. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  220. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +3 -3
  221. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  222. package/dist-esm/src/operations/virtualMachineTemplates.js +70 -37
  223. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  224. package/dist-esm/src/operations/virtualNetworks.d.ts +3 -3
  225. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  226. package/dist-esm/src/operations/virtualNetworks.js +70 -37
  227. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  228. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts +45 -0
  229. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  230. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js +168 -0
  231. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/clusters.d.ts +3 -3
  233. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
  234. package/dist-esm/src/operationsInterfaces/datastores.d.ts +3 -3
  235. package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -1
  236. package/dist-esm/src/operationsInterfaces/hosts.d.ts +3 -3
  237. package/dist-esm/src/operationsInterfaces/hosts.d.ts.map +1 -1
  238. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -4
  239. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  240. package/dist-esm/src/operationsInterfaces/index.js +3 -4
  241. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  242. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +3 -3
  243. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -1
  244. package/dist-esm/src/operationsInterfaces/vCenters.d.ts +3 -3
  245. package/dist-esm/src/operationsInterfaces/vCenters.d.ts.map +1 -1
  246. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts +49 -0
  247. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts.map +1 -0
  248. package/dist-esm/src/operationsInterfaces/{guestAgents.js → vMInstanceGuestAgents.js} +1 -1
  249. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.js.map +1 -0
  250. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +107 -0
  251. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  252. package/dist-esm/src/operationsInterfaces/{machineExtensions.js → virtualMachineInstances.js} +1 -1
  253. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  254. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +3 -3
  255. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  256. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +3 -3
  257. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  258. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts +20 -0
  259. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  260. package/dist-esm/src/operationsInterfaces/{hybridIdentityMetadataOperations.js → vmInstanceHybridIdentityMetadataOperations.js} +1 -1
  261. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  262. package/dist-esm/src/pagingHelper.d.ts +13 -0
  263. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  264. package/dist-esm/src/pagingHelper.js +32 -0
  265. package/dist-esm/src/pagingHelper.js.map +1 -0
  266. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts +4 -0
  267. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts.map +1 -0
  268. package/dist-esm/test/connectedvmware_operations_test.spec.js +71 -0
  269. package/dist-esm/test/connectedvmware_operations_test.spec.js.map +1 -0
  270. package/package.json +19 -23
  271. package/review/arm-connectedvmware.api.md +298 -606
  272. package/src/azureArcVMwareManagementServiceAPI.ts +37 -26
  273. package/src/index.ts +1 -0
  274. package/src/lroImpl.ts +31 -23
  275. package/src/models/index.ts +599 -1268
  276. package/src/models/mappers.ts +1397 -2017
  277. package/src/models/parameters.ts +47 -113
  278. package/src/operations/clusters.ts +77 -43
  279. package/src/operations/datastores.ts +77 -43
  280. package/src/operations/hosts.ts +76 -42
  281. package/src/operations/index.ts +3 -4
  282. package/src/operations/inventoryItems.ts +28 -15
  283. package/src/operations/operations.ts +21 -9
  284. package/src/operations/resourcePools.ts +77 -43
  285. package/src/operations/vCenters.ts +77 -43
  286. package/src/operations/vMInstanceGuestAgents.ts +436 -0
  287. package/src/operations/virtualMachineInstances.ts +899 -0
  288. package/src/operations/virtualMachineTemplates.ts +77 -43
  289. package/src/operations/virtualNetworks.ts +77 -43
  290. package/src/operations/vmInstanceHybridIdentityMetadataOperations.ts +204 -0
  291. package/src/operationsInterfaces/clusters.ts +4 -4
  292. package/src/operationsInterfaces/datastores.ts +4 -4
  293. package/src/operationsInterfaces/hosts.ts +3 -3
  294. package/src/operationsInterfaces/index.ts +3 -4
  295. package/src/operationsInterfaces/resourcePools.ts +4 -4
  296. package/src/operationsInterfaces/vCenters.ts +4 -4
  297. package/src/operationsInterfaces/vMInstanceGuestAgents.ts +95 -0
  298. package/src/operationsInterfaces/virtualMachineInstances.ts +205 -0
  299. package/src/operationsInterfaces/virtualMachineTemplates.ts +4 -4
  300. package/src/operationsInterfaces/virtualNetworks.ts +4 -4
  301. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.ts +40 -0
  302. package/src/pagingHelper.ts +39 -0
  303. package/types/arm-connectedvmware.d.ts +644 -1427
  304. package/types/tsdoc-metadata.json +1 -1
  305. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +0 -1
  308. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +0 -1
  311. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +0 -1
  314. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/guestAgentsListByVMSample.js.map +0 -1
  317. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js +0 -37
  320. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js.map +0 -1
  321. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js +0 -32
  324. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js.map +0 -1
  325. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.js.map +0 -1
  328. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.js.map +0 -1
  331. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +0 -41
  334. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js.map +0 -1
  335. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +0 -32
  338. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js.map +0 -1
  339. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/machineExtensionsGetSample.js +0 -32
  342. package/dist-esm/samples-dev/machineExtensionsGetSample.js.map +0 -1
  343. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/machineExtensionsListSample.js +0 -45
  346. package/dist-esm/samples-dev/machineExtensionsListSample.js.map +0 -1
  347. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +0 -40
  350. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js.map +0 -1
  351. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts +0 -2
  352. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts.map +0 -1
  353. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +0 -31
  354. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js.map +0 -1
  355. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/virtualMachinesCreateSample.js +0 -43
  358. package/dist-esm/samples-dev/virtualMachinesCreateSample.js.map +0 -1
  359. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  362. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  363. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  364. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  365. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +0 -39
  368. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js.map +0 -1
  369. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -44
  372. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  373. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/virtualMachinesListSample.js +0 -43
  376. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +0 -1
  377. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  380. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  381. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  382. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  383. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  386. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  389. package/dist-esm/src/operations/guestAgents.d.ts +0 -79
  390. package/dist-esm/src/operations/guestAgents.d.ts.map +0 -1
  391. package/dist-esm/src/operations/guestAgents.js.map +0 -1
  392. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts +0 -62
  393. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts.map +0 -1
  394. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js +0 -234
  395. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js.map +0 -1
  396. package/dist-esm/src/operations/machineExtensions.d.ts +0 -99
  397. package/dist-esm/src/operations/machineExtensions.d.ts.map +0 -1
  398. package/dist-esm/src/operations/machineExtensions.js +0 -424
  399. package/dist-esm/src/operations/machineExtensions.js.map +0 -1
  400. package/dist-esm/src/operations/virtualMachines.d.ts +0 -175
  401. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  402. package/dist-esm/src/operations/virtualMachines.js +0 -892
  403. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  404. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +0 -54
  405. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +0 -1
  406. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +0 -1
  407. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts +0 -37
  408. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts.map +0 -1
  409. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.js.map +0 -1
  410. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +0 -74
  411. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +0 -1
  412. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +0 -1
  413. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -139
  414. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  415. package/dist-esm/src/operationsInterfaces/virtualMachines.js +0 -9
  416. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  417. package/dist-esm/test/sampleTest.d.ts +0 -2
  418. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  419. package/dist-esm/test/sampleTest.js +0 -38
  420. package/dist-esm/test/sampleTest.js.map +0 -1
  421. package/rollup.config.js +0 -122
  422. package/src/operations/guestAgents.ts +0 -476
  423. package/src/operations/hybridIdentityMetadataOperations.ts +0 -322
  424. package/src/operations/machineExtensions.ts +0 -603
  425. package/src/operations/virtualMachines.ts +0 -1237
  426. package/src/operationsInterfaces/guestAgents.ts +0 -105
  427. package/src/operationsInterfaces/hybridIdentityMetadataOperations.ts +0 -73
  428. package/src/operationsInterfaces/machineExtensions.ts +0 -147
  429. package/src/operationsInterfaces/virtualMachines.ts +0 -262
@@ -1,5 +1,5 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- export declare type InventoryItemPropertiesUnion = InventoryItemProperties | ResourcePoolInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem | ClusterInventoryItem | DatastoreInventoryItem | HostInventoryItem;
2
+ export type InventoryItemPropertiesUnion = InventoryItemProperties | ResourcePoolInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem | ClusterInventoryItem | DatastoreInventoryItem | HostInventoryItem;
3
3
  /** Lists the operations available. */
4
4
  export interface OperationsList {
5
5
  /** Url to follow for getting next page of operations. */
@@ -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[];
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;
1492
1019
  }
1493
- /** Describes a Machine Extension. */
1494
- export interface MachineExtension {
1495
- /** Gets or sets the location. */
1496
- location?: string;
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[];
1592
1210
  }
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. */
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;
1215
+ }
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 declare 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 declare 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 declare 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;
1503
+ }
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;
1927
1519
  }
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 declare 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"
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 declare 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 declare 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 declare 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 declare 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 declare type CreatedByType = string;
2059
1540
  /** Known values of {@link ProvisioningState} that the service accepts. */
2060
1541
  export declare enum KnownProvisioningState {
2061
1542
  /** Succeeded */
@@ -2089,7 +1570,29 @@ export declare enum KnownProvisioningState {
2089
1570
  * **Accepted** \
2090
1571
  * **Created**
2091
1572
  */
2092
- export declare type ProvisioningState = string;
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 */
@@ -2108,7 +1611,7 @@ export declare enum KnownOsType {
2108
1611
  * **Linux** \
2109
1612
  * **Other**
2110
1613
  */
2111
- export declare type OsType = string;
1614
+ export type OsType = string;
2112
1615
  /** Known values of {@link NICType} that the service accepts. */
2113
1616
  export declare enum KnownNICType {
2114
1617
  /** Vmxnet3 */
@@ -2136,7 +1639,7 @@ export declare enum KnownNICType {
2136
1639
  * **e1000e** \
2137
1640
  * **pcnet32**
2138
1641
  */
2139
- export declare type NICType = string;
1642
+ export type NICType = string;
2140
1643
  /** Known values of {@link PowerOnBootOption} that the service accepts. */
2141
1644
  export declare enum KnownPowerOnBootOption {
2142
1645
  /** Enabled */
@@ -2152,7 +1655,7 @@ export declare enum KnownPowerOnBootOption {
2152
1655
  * **enabled** \
2153
1656
  * **disabled**
2154
1657
  */
2155
- export declare type PowerOnBootOption = string;
1658
+ export type PowerOnBootOption = string;
2156
1659
  /** Known values of {@link IPAddressAllocationMethod} that the service accepts. */
2157
1660
  export declare enum KnownIPAddressAllocationMethod {
2158
1661
  /** Unset */
@@ -2180,7 +1683,7 @@ export declare enum KnownIPAddressAllocationMethod {
2180
1683
  * **random** \
2181
1684
  * **other**
2182
1685
  */
2183
- export declare type IPAddressAllocationMethod = string;
1686
+ export type IPAddressAllocationMethod = string;
2184
1687
  /** Known values of {@link DiskMode} that the service accepts. */
2185
1688
  export declare enum KnownDiskMode {
2186
1689
  /** Persistent */
@@ -2199,7 +1702,7 @@ export declare enum KnownDiskMode {
2199
1702
  * **independent_persistent** \
2200
1703
  * **independent_nonpersistent**
2201
1704
  */
2202
- export declare type DiskMode = string;
1705
+ export type DiskMode = string;
2203
1706
  /** Known values of {@link DiskType} that the service accepts. */
2204
1707
  export declare enum KnownDiskType {
2205
1708
  /** Flat */
@@ -2230,67 +1733,7 @@ export declare enum KnownDiskType {
2230
1733
  * **sesparse** \
2231
1734
  * **unknown**
2232
1735
  */
2233
- export declare 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 declare 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 declare 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 declare type StatusTypes = string;
1736
+ export type DiskType = string;
2294
1737
  /** Known values of {@link FirmwareType} that the service accepts. */
2295
1738
  export declare enum KnownFirmwareType {
2296
1739
  /** Bios */
@@ -2306,23 +1749,7 @@ export declare enum KnownFirmwareType {
2306
1749
  * **bios** \
2307
1750
  * **efi**
2308
1751
  */
2309
- export declare 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 declare type IdentityType = string;
1752
+ export type FirmwareType = string;
2326
1753
  /** Known values of {@link InventoryType} that the service accepts. */
2327
1754
  export declare enum KnownInventoryType {
2328
1755
  /** ResourcePool */
@@ -2353,26 +1780,48 @@ export declare enum KnownInventoryType {
2353
1780
  * **Datastore** \
2354
1781
  * **Host**
2355
1782
  */
2356
- export declare 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"
1783
+ export type InventoryType = string;
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 declare 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 */
@@ -2391,116 +1840,17 @@ export declare enum KnownProvisioningAction {
2391
1840
  * **uninstall** \
2392
1841
  * **repair**
2393
1842
  */
2394
- export declare type ProvisioningAction = string;
1843
+ export type ProvisioningAction = string;
2395
1844
  /** Optional parameters. */
2396
1845
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
2397
1846
  }
2398
1847
  /** Contains response data for the list operation. */
2399
- export declare type OperationsListResponse = OperationsList;
1848
+ export type OperationsListResponse = OperationsList;
2400
1849
  /** Optional parameters. */
2401
1850
  export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
2402
1851
  }
2403
1852
  /** Contains response data for the listNext operation. */
2404
- export declare type OperationsListNextResponse = OperationsList;
2405
- /** 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 declare 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 declare 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 declare type VirtualMachinesCreateResponse = VirtualMachine;
2434
- /** Optional parameters. */
2435
- export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
2436
- }
2437
- /** Contains response data for the get operation. */
2438
- export declare 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 declare 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 declare type VirtualMachinesListResponse = VirtualMachinesList;
2489
- /** Optional parameters. */
2490
- export interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2491
- }
2492
- /** Contains response data for the listByResourceGroup operation. */
2493
- export declare type VirtualMachinesListByResourceGroupResponse = VirtualMachinesList;
2494
- /** Optional parameters. */
2495
- export interface VirtualMachinesListNextOptionalParams extends coreClient.OperationOptions {
2496
- }
2497
- /** Contains response data for the listNext operation. */
2498
- export declare type VirtualMachinesListNextResponse = VirtualMachinesList;
2499
- /** Optional parameters. */
2500
- export interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2501
- }
2502
- /** Contains response data for the listByResourceGroupNext operation. */
2503
- export declare type VirtualMachinesListByResourceGroupNextResponse = VirtualMachinesList;
1853
+ export type OperationsListNextResponse = OperationsList;
2504
1854
  /** Optional parameters. */
2505
1855
  export interface ResourcePoolsCreateOptionalParams extends coreClient.OperationOptions {
2506
1856
  /** Request payload. */
@@ -2511,19 +1861,19 @@ export interface ResourcePoolsCreateOptionalParams extends coreClient.OperationO
2511
1861
  resumeFrom?: string;
2512
1862
  }
2513
1863
  /** Contains response data for the create operation. */
2514
- export declare type ResourcePoolsCreateResponse = ResourcePool;
1864
+ export type ResourcePoolsCreateResponse = ResourcePool;
2515
1865
  /** Optional parameters. */
2516
1866
  export interface ResourcePoolsGetOptionalParams extends coreClient.OperationOptions {
2517
1867
  }
2518
1868
  /** Contains response data for the get operation. */
2519
- export declare type ResourcePoolsGetResponse = ResourcePool;
1869
+ export type ResourcePoolsGetResponse = ResourcePool;
2520
1870
  /** Optional parameters. */
2521
1871
  export interface ResourcePoolsUpdateOptionalParams extends coreClient.OperationOptions {
2522
1872
  /** Resource properties to update. */
2523
1873
  body?: ResourcePatch;
2524
1874
  }
2525
1875
  /** Contains response data for the update operation. */
2526
- export declare type ResourcePoolsUpdateResponse = ResourcePool;
1876
+ export type ResourcePoolsUpdateResponse = ResourcePool;
2527
1877
  /** Optional parameters. */
2528
1878
  export interface ResourcePoolsDeleteOptionalParams extends coreClient.OperationOptions {
2529
1879
  /** Whether force delete was specified. */
@@ -2537,22 +1887,22 @@ export interface ResourcePoolsDeleteOptionalParams extends coreClient.OperationO
2537
1887
  export interface ResourcePoolsListOptionalParams extends coreClient.OperationOptions {
2538
1888
  }
2539
1889
  /** Contains response data for the list operation. */
2540
- export declare type ResourcePoolsListResponse = ResourcePoolsList;
1890
+ export type ResourcePoolsListResponse = ResourcePoolsList;
2541
1891
  /** Optional parameters. */
2542
1892
  export interface ResourcePoolsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2543
1893
  }
2544
1894
  /** Contains response data for the listByResourceGroup operation. */
2545
- export declare type ResourcePoolsListByResourceGroupResponse = ResourcePoolsList;
1895
+ export type ResourcePoolsListByResourceGroupResponse = ResourcePoolsList;
2546
1896
  /** Optional parameters. */
2547
1897
  export interface ResourcePoolsListNextOptionalParams extends coreClient.OperationOptions {
2548
1898
  }
2549
1899
  /** Contains response data for the listNext operation. */
2550
- export declare type ResourcePoolsListNextResponse = ResourcePoolsList;
1900
+ export type ResourcePoolsListNextResponse = ResourcePoolsList;
2551
1901
  /** Optional parameters. */
2552
1902
  export interface ResourcePoolsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2553
1903
  }
2554
1904
  /** Contains response data for the listByResourceGroupNext operation. */
2555
- export declare type ResourcePoolsListByResourceGroupNextResponse = ResourcePoolsList;
1905
+ export type ResourcePoolsListByResourceGroupNextResponse = ResourcePoolsList;
2556
1906
  /** Optional parameters. */
2557
1907
  export interface ClustersCreateOptionalParams extends coreClient.OperationOptions {
2558
1908
  /** Request payload. */
@@ -2563,19 +1913,19 @@ export interface ClustersCreateOptionalParams extends coreClient.OperationOption
2563
1913
  resumeFrom?: string;
2564
1914
  }
2565
1915
  /** Contains response data for the create operation. */
2566
- export declare type ClustersCreateResponse = Cluster;
1916
+ export type ClustersCreateResponse = Cluster;
2567
1917
  /** Optional parameters. */
2568
1918
  export interface ClustersGetOptionalParams extends coreClient.OperationOptions {
2569
1919
  }
2570
1920
  /** Contains response data for the get operation. */
2571
- export declare type ClustersGetResponse = Cluster;
1921
+ export type ClustersGetResponse = Cluster;
2572
1922
  /** Optional parameters. */
2573
1923
  export interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
2574
1924
  /** Resource properties to update. */
2575
1925
  body?: ResourcePatch;
2576
1926
  }
2577
1927
  /** Contains response data for the update operation. */
2578
- export declare type ClustersUpdateResponse = Cluster;
1928
+ export type ClustersUpdateResponse = Cluster;
2579
1929
  /** Optional parameters. */
2580
1930
  export interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
2581
1931
  /** Whether force delete was specified. */
@@ -2589,22 +1939,22 @@ export interface ClustersDeleteOptionalParams extends coreClient.OperationOption
2589
1939
  export interface ClustersListOptionalParams extends coreClient.OperationOptions {
2590
1940
  }
2591
1941
  /** Contains response data for the list operation. */
2592
- export declare type ClustersListResponse = ClustersList;
1942
+ export type ClustersListResponse = ClustersList;
2593
1943
  /** Optional parameters. */
2594
1944
  export interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2595
1945
  }
2596
1946
  /** Contains response data for the listByResourceGroup operation. */
2597
- export declare type ClustersListByResourceGroupResponse = ClustersList;
1947
+ export type ClustersListByResourceGroupResponse = ClustersList;
2598
1948
  /** Optional parameters. */
2599
1949
  export interface ClustersListNextOptionalParams extends coreClient.OperationOptions {
2600
1950
  }
2601
1951
  /** Contains response data for the listNext operation. */
2602
- export declare type ClustersListNextResponse = ClustersList;
1952
+ export type ClustersListNextResponse = ClustersList;
2603
1953
  /** Optional parameters. */
2604
1954
  export interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2605
1955
  }
2606
1956
  /** Contains response data for the listByResourceGroupNext operation. */
2607
- export declare type ClustersListByResourceGroupNextResponse = ClustersList;
1957
+ export type ClustersListByResourceGroupNextResponse = ClustersList;
2608
1958
  /** Optional parameters. */
2609
1959
  export interface HostsCreateOptionalParams extends coreClient.OperationOptions {
2610
1960
  /** Request payload. */
@@ -2615,19 +1965,19 @@ export interface HostsCreateOptionalParams extends coreClient.OperationOptions {
2615
1965
  resumeFrom?: string;
2616
1966
  }
2617
1967
  /** Contains response data for the create operation. */
2618
- export declare type HostsCreateResponse = Host;
1968
+ export type HostsCreateResponse = Host;
2619
1969
  /** Optional parameters. */
2620
1970
  export interface HostsGetOptionalParams extends coreClient.OperationOptions {
2621
1971
  }
2622
1972
  /** Contains response data for the get operation. */
2623
- export declare type HostsGetResponse = Host;
1973
+ export type HostsGetResponse = Host;
2624
1974
  /** Optional parameters. */
2625
1975
  export interface HostsUpdateOptionalParams extends coreClient.OperationOptions {
2626
1976
  /** Resource properties to update. */
2627
1977
  body?: ResourcePatch;
2628
1978
  }
2629
1979
  /** Contains response data for the update operation. */
2630
- export declare type HostsUpdateResponse = Host;
1980
+ export type HostsUpdateResponse = Host;
2631
1981
  /** Optional parameters. */
2632
1982
  export interface HostsDeleteOptionalParams extends coreClient.OperationOptions {
2633
1983
  /** Whether force delete was specified. */
@@ -2641,22 +1991,22 @@ export interface HostsDeleteOptionalParams extends coreClient.OperationOptions {
2641
1991
  export interface HostsListOptionalParams extends coreClient.OperationOptions {
2642
1992
  }
2643
1993
  /** Contains response data for the list operation. */
2644
- export declare type HostsListResponse = HostsList;
1994
+ export type HostsListResponse = HostsList;
2645
1995
  /** Optional parameters. */
2646
1996
  export interface HostsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2647
1997
  }
2648
1998
  /** Contains response data for the listByResourceGroup operation. */
2649
- export declare type HostsListByResourceGroupResponse = HostsList;
1999
+ export type HostsListByResourceGroupResponse = HostsList;
2650
2000
  /** Optional parameters. */
2651
2001
  export interface HostsListNextOptionalParams extends coreClient.OperationOptions {
2652
2002
  }
2653
2003
  /** Contains response data for the listNext operation. */
2654
- export declare type HostsListNextResponse = HostsList;
2004
+ export type HostsListNextResponse = HostsList;
2655
2005
  /** Optional parameters. */
2656
2006
  export interface HostsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2657
2007
  }
2658
2008
  /** Contains response data for the listByResourceGroupNext operation. */
2659
- export declare type HostsListByResourceGroupNextResponse = HostsList;
2009
+ export type HostsListByResourceGroupNextResponse = HostsList;
2660
2010
  /** Optional parameters. */
2661
2011
  export interface DatastoresCreateOptionalParams extends coreClient.OperationOptions {
2662
2012
  /** Request payload. */
@@ -2667,19 +2017,19 @@ export interface DatastoresCreateOptionalParams extends coreClient.OperationOpti
2667
2017
  resumeFrom?: string;
2668
2018
  }
2669
2019
  /** Contains response data for the create operation. */
2670
- export declare type DatastoresCreateResponse = Datastore;
2020
+ export type DatastoresCreateResponse = Datastore;
2671
2021
  /** Optional parameters. */
2672
2022
  export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {
2673
2023
  }
2674
2024
  /** Contains response data for the get operation. */
2675
- export declare type DatastoresGetResponse = Datastore;
2025
+ export type DatastoresGetResponse = Datastore;
2676
2026
  /** Optional parameters. */
2677
2027
  export interface DatastoresUpdateOptionalParams extends coreClient.OperationOptions {
2678
2028
  /** Resource properties to update. */
2679
2029
  body?: ResourcePatch;
2680
2030
  }
2681
2031
  /** Contains response data for the update operation. */
2682
- export declare type DatastoresUpdateResponse = Datastore;
2032
+ export type DatastoresUpdateResponse = Datastore;
2683
2033
  /** Optional parameters. */
2684
2034
  export interface DatastoresDeleteOptionalParams extends coreClient.OperationOptions {
2685
2035
  /** Whether force delete was specified. */
@@ -2693,22 +2043,22 @@ export interface DatastoresDeleteOptionalParams extends coreClient.OperationOpti
2693
2043
  export interface DatastoresListOptionalParams extends coreClient.OperationOptions {
2694
2044
  }
2695
2045
  /** Contains response data for the list operation. */
2696
- export declare type DatastoresListResponse = DatastoresList;
2046
+ export type DatastoresListResponse = DatastoresList;
2697
2047
  /** Optional parameters. */
2698
2048
  export interface DatastoresListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2699
2049
  }
2700
2050
  /** Contains response data for the listByResourceGroup operation. */
2701
- export declare type DatastoresListByResourceGroupResponse = DatastoresList;
2051
+ export type DatastoresListByResourceGroupResponse = DatastoresList;
2702
2052
  /** Optional parameters. */
2703
2053
  export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {
2704
2054
  }
2705
2055
  /** Contains response data for the listNext operation. */
2706
- export declare type DatastoresListNextResponse = DatastoresList;
2056
+ export type DatastoresListNextResponse = DatastoresList;
2707
2057
  /** Optional parameters. */
2708
2058
  export interface DatastoresListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2709
2059
  }
2710
2060
  /** Contains response data for the listByResourceGroupNext operation. */
2711
- export declare type DatastoresListByResourceGroupNextResponse = DatastoresList;
2061
+ export type DatastoresListByResourceGroupNextResponse = DatastoresList;
2712
2062
  /** Optional parameters. */
2713
2063
  export interface VCentersCreateOptionalParams extends coreClient.OperationOptions {
2714
2064
  /** Request payload. */
@@ -2719,19 +2069,19 @@ export interface VCentersCreateOptionalParams extends coreClient.OperationOption
2719
2069
  resumeFrom?: string;
2720
2070
  }
2721
2071
  /** Contains response data for the create operation. */
2722
- export declare type VCentersCreateResponse = VCenter;
2072
+ export type VCentersCreateResponse = VCenter;
2723
2073
  /** Optional parameters. */
2724
2074
  export interface VCentersGetOptionalParams extends coreClient.OperationOptions {
2725
2075
  }
2726
2076
  /** Contains response data for the get operation. */
2727
- export declare type VCentersGetResponse = VCenter;
2077
+ export type VCentersGetResponse = VCenter;
2728
2078
  /** Optional parameters. */
2729
2079
  export interface VCentersUpdateOptionalParams extends coreClient.OperationOptions {
2730
2080
  /** Resource properties to update. */
2731
2081
  body?: ResourcePatch;
2732
2082
  }
2733
2083
  /** Contains response data for the update operation. */
2734
- export declare type VCentersUpdateResponse = VCenter;
2084
+ export type VCentersUpdateResponse = VCenter;
2735
2085
  /** Optional parameters. */
2736
2086
  export interface VCentersDeleteOptionalParams extends coreClient.OperationOptions {
2737
2087
  /** Whether force delete was specified. */
@@ -2745,22 +2095,22 @@ export interface VCentersDeleteOptionalParams extends coreClient.OperationOption
2745
2095
  export interface VCentersListOptionalParams extends coreClient.OperationOptions {
2746
2096
  }
2747
2097
  /** Contains response data for the list operation. */
2748
- export declare type VCentersListResponse = VCentersList;
2098
+ export type VCentersListResponse = VCentersList;
2749
2099
  /** Optional parameters. */
2750
2100
  export interface VCentersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2751
2101
  }
2752
2102
  /** Contains response data for the listByResourceGroup operation. */
2753
- export declare type VCentersListByResourceGroupResponse = VCentersList;
2103
+ export type VCentersListByResourceGroupResponse = VCentersList;
2754
2104
  /** Optional parameters. */
2755
2105
  export interface VCentersListNextOptionalParams extends coreClient.OperationOptions {
2756
2106
  }
2757
2107
  /** Contains response data for the listNext operation. */
2758
- export declare type VCentersListNextResponse = VCentersList;
2108
+ export type VCentersListNextResponse = VCentersList;
2759
2109
  /** Optional parameters. */
2760
2110
  export interface VCentersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2761
2111
  }
2762
2112
  /** Contains response data for the listByResourceGroupNext operation. */
2763
- export declare type VCentersListByResourceGroupNextResponse = VCentersList;
2113
+ export type VCentersListByResourceGroupNextResponse = VCentersList;
2764
2114
  /** Optional parameters. */
2765
2115
  export interface VirtualMachineTemplatesCreateOptionalParams extends coreClient.OperationOptions {
2766
2116
  /** Request payload. */
@@ -2771,19 +2121,19 @@ export interface VirtualMachineTemplatesCreateOptionalParams extends coreClient.
2771
2121
  resumeFrom?: string;
2772
2122
  }
2773
2123
  /** Contains response data for the create operation. */
2774
- export declare type VirtualMachineTemplatesCreateResponse = VirtualMachineTemplate;
2124
+ export type VirtualMachineTemplatesCreateResponse = VirtualMachineTemplate;
2775
2125
  /** Optional parameters. */
2776
2126
  export interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions {
2777
2127
  }
2778
2128
  /** Contains response data for the get operation. */
2779
- export declare type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
2129
+ export type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
2780
2130
  /** Optional parameters. */
2781
2131
  export interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient.OperationOptions {
2782
2132
  /** Resource properties to update. */
2783
2133
  body?: ResourcePatch;
2784
2134
  }
2785
2135
  /** Contains response data for the update operation. */
2786
- export declare type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
2136
+ export type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
2787
2137
  /** Optional parameters. */
2788
2138
  export interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions {
2789
2139
  /** Whether force delete was specified. */
@@ -2797,22 +2147,22 @@ export interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.
2797
2147
  export interface VirtualMachineTemplatesListOptionalParams extends coreClient.OperationOptions {
2798
2148
  }
2799
2149
  /** Contains response data for the list operation. */
2800
- export declare type VirtualMachineTemplatesListResponse = VirtualMachineTemplatesList;
2150
+ export type VirtualMachineTemplatesListResponse = VirtualMachineTemplatesList;
2801
2151
  /** Optional parameters. */
2802
2152
  export interface VirtualMachineTemplatesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2803
2153
  }
2804
2154
  /** Contains response data for the listByResourceGroup operation. */
2805
- export declare type VirtualMachineTemplatesListByResourceGroupResponse = VirtualMachineTemplatesList;
2155
+ export type VirtualMachineTemplatesListByResourceGroupResponse = VirtualMachineTemplatesList;
2806
2156
  /** Optional parameters. */
2807
2157
  export interface VirtualMachineTemplatesListNextOptionalParams extends coreClient.OperationOptions {
2808
2158
  }
2809
2159
  /** Contains response data for the listNext operation. */
2810
- export declare type VirtualMachineTemplatesListNextResponse = VirtualMachineTemplatesList;
2160
+ export type VirtualMachineTemplatesListNextResponse = VirtualMachineTemplatesList;
2811
2161
  /** Optional parameters. */
2812
2162
  export interface VirtualMachineTemplatesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2813
2163
  }
2814
2164
  /** Contains response data for the listByResourceGroupNext operation. */
2815
- export declare type VirtualMachineTemplatesListByResourceGroupNextResponse = VirtualMachineTemplatesList;
2165
+ export type VirtualMachineTemplatesListByResourceGroupNextResponse = VirtualMachineTemplatesList;
2816
2166
  /** Optional parameters. */
2817
2167
  export interface VirtualNetworksCreateOptionalParams extends coreClient.OperationOptions {
2818
2168
  /** Request payload. */
@@ -2823,19 +2173,19 @@ export interface VirtualNetworksCreateOptionalParams extends coreClient.Operatio
2823
2173
  resumeFrom?: string;
2824
2174
  }
2825
2175
  /** Contains response data for the create operation. */
2826
- export declare type VirtualNetworksCreateResponse = VirtualNetwork;
2176
+ export type VirtualNetworksCreateResponse = VirtualNetwork;
2827
2177
  /** Optional parameters. */
2828
2178
  export interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions {
2829
2179
  }
2830
2180
  /** Contains response data for the get operation. */
2831
- export declare type VirtualNetworksGetResponse = VirtualNetwork;
2181
+ export type VirtualNetworksGetResponse = VirtualNetwork;
2832
2182
  /** Optional parameters. */
2833
2183
  export interface VirtualNetworksUpdateOptionalParams extends coreClient.OperationOptions {
2834
2184
  /** Resource properties to update. */
2835
2185
  body?: ResourcePatch;
2836
2186
  }
2837
2187
  /** Contains response data for the update operation. */
2838
- export declare type VirtualNetworksUpdateResponse = VirtualNetwork;
2188
+ export type VirtualNetworksUpdateResponse = VirtualNetwork;
2839
2189
  /** Optional parameters. */
2840
2190
  export interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions {
2841
2191
  /** Whether force delete was specified. */
@@ -2849,34 +2199,34 @@ export interface VirtualNetworksDeleteOptionalParams extends coreClient.Operatio
2849
2199
  export interface VirtualNetworksListOptionalParams extends coreClient.OperationOptions {
2850
2200
  }
2851
2201
  /** Contains response data for the list operation. */
2852
- export declare type VirtualNetworksListResponse = VirtualNetworksList;
2202
+ export type VirtualNetworksListResponse = VirtualNetworksList;
2853
2203
  /** Optional parameters. */
2854
2204
  export interface VirtualNetworksListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2855
2205
  }
2856
2206
  /** Contains response data for the listByResourceGroup operation. */
2857
- export declare type VirtualNetworksListByResourceGroupResponse = VirtualNetworksList;
2207
+ export type VirtualNetworksListByResourceGroupResponse = VirtualNetworksList;
2858
2208
  /** Optional parameters. */
2859
2209
  export interface VirtualNetworksListNextOptionalParams extends coreClient.OperationOptions {
2860
2210
  }
2861
2211
  /** Contains response data for the listNext operation. */
2862
- export declare type VirtualNetworksListNextResponse = VirtualNetworksList;
2212
+ export type VirtualNetworksListNextResponse = VirtualNetworksList;
2863
2213
  /** Optional parameters. */
2864
2214
  export interface VirtualNetworksListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2865
2215
  }
2866
2216
  /** Contains response data for the listByResourceGroupNext operation. */
2867
- export declare type VirtualNetworksListByResourceGroupNextResponse = VirtualNetworksList;
2217
+ export type VirtualNetworksListByResourceGroupNextResponse = VirtualNetworksList;
2868
2218
  /** Optional parameters. */
2869
2219
  export interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions {
2870
2220
  /** Request payload. */
2871
2221
  body?: InventoryItem;
2872
2222
  }
2873
2223
  /** Contains response data for the create operation. */
2874
- export declare type InventoryItemsCreateResponse = InventoryItem;
2224
+ export type InventoryItemsCreateResponse = InventoryItem;
2875
2225
  /** Optional parameters. */
2876
2226
  export interface InventoryItemsGetOptionalParams extends coreClient.OperationOptions {
2877
2227
  }
2878
2228
  /** Contains response data for the get operation. */
2879
- export declare type InventoryItemsGetResponse = InventoryItem;
2229
+ export type InventoryItemsGetResponse = InventoryItem;
2880
2230
  /** Optional parameters. */
2881
2231
  export interface InventoryItemsDeleteOptionalParams extends coreClient.OperationOptions {
2882
2232
  }
@@ -2884,83 +2234,108 @@ export interface InventoryItemsDeleteOptionalParams extends coreClient.Operation
2884
2234
  export interface InventoryItemsListByVCenterOptionalParams extends coreClient.OperationOptions {
2885
2235
  }
2886
2236
  /** Contains response data for the listByVCenter operation. */
2887
- export declare type InventoryItemsListByVCenterResponse = InventoryItemsList;
2237
+ export type InventoryItemsListByVCenterResponse = InventoryItemsList;
2888
2238
  /** Optional parameters. */
2889
2239
  export interface InventoryItemsListByVCenterNextOptionalParams extends coreClient.OperationOptions {
2890
2240
  }
2891
2241
  /** Contains response data for the listByVCenterNext operation. */
2892
- export declare type InventoryItemsListByVCenterNextResponse = InventoryItemsList;
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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare type MachineExtensionsListResponse = MachineExtensionsListResult;
2331
+ export type VmInstanceHybridIdentityMetadataListResponse = VmInstanceHybridIdentityMetadataList;
2955
2332
  /** Optional parameters. */
2956
- export interface MachineExtensionsListNextOptionalParams extends coreClient.OperationOptions {
2957
- /** The expand expression to apply on the operation. */
2958
- expand?: string;
2333
+ export interface VmInstanceHybridIdentityMetadataListNextOptionalParams extends coreClient.OperationOptions {
2959
2334
  }
2960
2335
  /** Contains response data for the listNext operation. */
2961
- export declare type MachineExtensionsListNextResponse = MachineExtensionsListResult;
2336
+ export type VmInstanceHybridIdentityMetadataListNextResponse = VmInstanceHybridIdentityMetadataList;
2962
2337
  /** Optional parameters. */
2963
- export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
2338
+ export interface VMInstanceGuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
2964
2339
  /** Request payload. */
2965
2340
  body?: GuestAgent;
2966
2341
  /** Delay to wait until next poll, in milliseconds. */
@@ -2969,29 +2344,31 @@ export interface GuestAgentsCreateOptionalParams extends coreClient.OperationOpt
2969
2344
  resumeFrom?: string;
2970
2345
  }
2971
2346
  /** Contains response data for the create operation. */
2972
- export declare type GuestAgentsCreateResponse = GuestAgent;
2347
+ export type VMInstanceGuestAgentsCreateResponse = GuestAgent;
2973
2348
  /** Optional parameters. */
2974
- export interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions {
2349
+ export interface VMInstanceGuestAgentsGetOptionalParams extends coreClient.OperationOptions {
2975
2350
  }
2976
2351
  /** Contains response data for the get operation. */
2977
- export declare type GuestAgentsGetResponse = GuestAgent;
2352
+ export type VMInstanceGuestAgentsGetResponse = GuestAgent;
2978
2353
  /** Optional parameters. */
2979
- export interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
2354
+ export interface VMInstanceGuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
2980
2355
  /** Delay to wait until next poll, in milliseconds. */
2981
2356
  updateIntervalInMs?: number;
2982
2357
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2983
2358
  resumeFrom?: string;
2984
2359
  }
2360
+ /** Contains response data for the delete operation. */
2361
+ export type VMInstanceGuestAgentsDeleteResponse = VMInstanceGuestAgentsDeleteHeaders;
2985
2362
  /** Optional parameters. */
2986
- export interface GuestAgentsListByVmOptionalParams extends coreClient.OperationOptions {
2363
+ export interface VMInstanceGuestAgentsListOptionalParams extends coreClient.OperationOptions {
2987
2364
  }
2988
- /** Contains response data for the listByVm operation. */
2989
- export declare type GuestAgentsListByVmResponse = GuestAgentList;
2365
+ /** Contains response data for the list operation. */
2366
+ export type VMInstanceGuestAgentsListResponse = GuestAgentList;
2990
2367
  /** Optional parameters. */
2991
- export interface GuestAgentsListByVmNextOptionalParams extends coreClient.OperationOptions {
2368
+ export interface VMInstanceGuestAgentsListNextOptionalParams extends coreClient.OperationOptions {
2992
2369
  }
2993
- /** Contains response data for the listByVmNext operation. */
2994
- export declare type GuestAgentsListByVmNextResponse = GuestAgentList;
2370
+ /** Contains response data for the listNext operation. */
2371
+ export type VMInstanceGuestAgentsListNextResponse = GuestAgentList;
2995
2372
  /** Optional parameters. */
2996
2373
  export interface AzureArcVMwareManagementServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
2997
2374
  /** server parameter */