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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/CHANGELOG.md +2 -9
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +2869 -4363
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/clustersCreateSample.js +1 -1
  9. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/clustersGetSample.js +1 -1
  11. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +7 -5
  12. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  13. package/dist-esm/samples-dev/clustersListSample.js +7 -5
  14. package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/clustersUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/datastoresCreateSample.js +1 -1
  17. package/dist-esm/samples-dev/datastoresDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/datastoresGetSample.js +1 -1
  19. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js +7 -5
  20. package/dist-esm/samples-dev/datastoresListByResourceGroupSample.js.map +1 -1
  21. package/dist-esm/samples-dev/datastoresListSample.js +7 -5
  22. package/dist-esm/samples-dev/datastoresListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/datastoresUpdateSample.js +1 -1
  24. package/dist-esm/samples-dev/hostsCreateSample.js +1 -1
  25. package/dist-esm/samples-dev/hostsDeleteSample.js +1 -1
  26. package/dist-esm/samples-dev/hostsGetSample.js +1 -1
  27. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js +7 -5
  28. package/dist-esm/samples-dev/hostsListByResourceGroupSample.js.map +1 -1
  29. package/dist-esm/samples-dev/hostsListSample.js +7 -5
  30. package/dist-esm/samples-dev/hostsListSample.js.map +1 -1
  31. package/dist-esm/samples-dev/hostsUpdateSample.js +1 -1
  32. package/dist-esm/samples-dev/inventoryItemsCreateSample.js +1 -1
  33. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +1 -1
  34. package/dist-esm/samples-dev/inventoryItemsGetSample.js +1 -1
  35. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js +7 -5
  36. package/dist-esm/samples-dev/inventoryItemsListByVCenterSample.js.map +1 -1
  37. package/dist-esm/samples-dev/operationsListSample.js +7 -5
  38. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  39. package/dist-esm/samples-dev/resourcePoolsCreateSample.js +1 -1
  40. package/dist-esm/samples-dev/resourcePoolsDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/resourcePoolsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js +7 -5
  43. package/dist-esm/samples-dev/resourcePoolsListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/resourcePoolsListSample.js +7 -5
  45. package/dist-esm/samples-dev/resourcePoolsListSample.js.map +1 -1
  46. package/dist-esm/samples-dev/resourcePoolsUpdateSample.js +1 -1
  47. package/dist-esm/samples-dev/vCentersCreateSample.js +1 -1
  48. package/dist-esm/samples-dev/vCentersDeleteSample.js +1 -1
  49. package/dist-esm/samples-dev/vCentersGetSample.js +1 -1
  50. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js +7 -5
  51. package/dist-esm/samples-dev/vCentersListByResourceGroupSample.js.map +1 -1
  52. package/dist-esm/samples-dev/vCentersListSample.js +7 -5
  53. package/dist-esm/samples-dev/vCentersListSample.js.map +1 -1
  54. package/dist-esm/samples-dev/vCentersUpdateSample.js +1 -1
  55. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/{virtualMachinesCreateSample.js → virtualMachineInstancesCreateOrUpdateSample.js} +14 -14
  58. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/{virtualMachinesDeleteSample.js → virtualMachineInstancesDeleteSample.js} +7 -10
  62. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
  63. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/{virtualMachinesGetSample.js → virtualMachineInstancesGetSample.js} +7 -10
  66. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/{virtualMachinesListSample.js → virtualMachineInstancesListSample.js} +14 -13
  70. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
  71. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/{virtualMachinesRestartSample.js → virtualMachineInstancesRestartSample.js} +7 -10
  74. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
  75. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/{virtualMachinesStartSample.js → virtualMachineInstancesStartSample.js} +7 -10
  78. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
  79. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/{virtualMachinesStopSample.js → virtualMachineInstancesStopSample.js} +7 -10
  82. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
  83. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/{virtualMachinesUpdateSample.js → virtualMachineInstancesUpdateSample.js} +8 -11
  86. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
  87. package/dist-esm/samples-dev/virtualMachineTemplatesCreateSample.js +1 -1
  88. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +1 -1
  89. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +1 -1
  90. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +7 -5
  91. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  92. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js +7 -5
  93. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js.map +1 -1
  94. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +1 -1
  95. package/dist-esm/samples-dev/virtualNetworksCreateSample.js +1 -1
  96. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +1 -1
  97. package/dist-esm/samples-dev/virtualNetworksGetSample.js +1 -1
  98. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +7 -5
  99. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  100. package/dist-esm/samples-dev/virtualNetworksListSample.js +7 -5
  101. package/dist-esm/samples-dev/virtualNetworksListSample.js.map +1 -1
  102. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +1 -1
  103. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/{guestAgentsCreateSample.js → vmInstanceGuestAgentsCreateSample.js} +6 -9
  106. package/dist-esm/samples-dev/vmInstanceGuestAgentsCreateSample.js.map +1 -0
  107. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/{guestAgentsDeleteSample.js → vmInstanceGuestAgentsDeleteSample.js} +5 -9
  110. package/dist-esm/samples-dev/vmInstanceGuestAgentsDeleteSample.js.map +1 -0
  111. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/{guestAgentsGetSample.js → vmInstanceGuestAgentsGetSample.js} +5 -9
  114. package/dist-esm/samples-dev/vmInstanceGuestAgentsGetSample.js.map +1 -0
  115. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/{guestAgentsListByVMSample.js → vmInstanceGuestAgentsListSample.js} +10 -11
  118. package/dist-esm/samples-dev/vmInstanceGuestAgentsListSample.js.map +1 -0
  119. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/{hybridIdentityMetadataGetSample.js → vmInstanceHybridIdentityMetadataGetSample.js} +5 -9
  122. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataGetSample.js.map +1 -0
  123. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/{hybridIdentityMetadataListByVMSample.js → vmInstanceHybridIdentityMetadataListSample.js} +10 -11
  126. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadataListSample.js.map +1 -0
  127. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts +6 -6
  128. package/dist-esm/src/azureArcVMwareManagementServiceAPI.d.ts.map +1 -1
  129. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js +13 -16
  130. package/dist-esm/src/azureArcVMwareManagementServiceAPI.js.map +1 -1
  131. package/dist-esm/src/lroImpl.d.ts +6 -11
  132. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  133. package/dist-esm/src/lroImpl.js +12 -20
  134. package/dist-esm/src/lroImpl.js.map +1 -1
  135. package/dist-esm/src/models/index.d.ts +633 -1254
  136. package/dist-esm/src/models/index.d.ts.map +1 -1
  137. package/dist-esm/src/models/index.js +34 -164
  138. package/dist-esm/src/models/index.js.map +1 -1
  139. package/dist-esm/src/models/mappers.d.ts +32 -37
  140. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  141. package/dist-esm/src/models/mappers.js +1394 -2011
  142. package/dist-esm/src/models/mappers.js.map +1 -1
  143. package/dist-esm/src/models/parameters.d.ts +12 -20
  144. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  145. package/dist-esm/src/models/parameters.js +45 -99
  146. package/dist-esm/src/models/parameters.js.map +1 -1
  147. package/dist-esm/src/operations/clusters.d.ts +3 -3
  148. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  149. package/dist-esm/src/operations/clusters.js +33 -21
  150. package/dist-esm/src/operations/clusters.js.map +1 -1
  151. package/dist-esm/src/operations/datastores.d.ts +3 -3
  152. package/dist-esm/src/operations/datastores.d.ts.map +1 -1
  153. package/dist-esm/src/operations/datastores.js +33 -21
  154. package/dist-esm/src/operations/datastores.js.map +1 -1
  155. package/dist-esm/src/operations/hosts.d.ts +3 -3
  156. package/dist-esm/src/operations/hosts.d.ts.map +1 -1
  157. package/dist-esm/src/operations/hosts.js +33 -21
  158. package/dist-esm/src/operations/hosts.js.map +1 -1
  159. package/dist-esm/src/operations/index.d.ts +3 -4
  160. package/dist-esm/src/operations/index.d.ts.map +1 -1
  161. package/dist-esm/src/operations/index.js +3 -4
  162. package/dist-esm/src/operations/index.js.map +1 -1
  163. package/dist-esm/src/operations/inventoryItems.js +7 -5
  164. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  165. package/dist-esm/src/operations/operations.js +6 -4
  166. package/dist-esm/src/operations/operations.js.map +1 -1
  167. package/dist-esm/src/operations/resourcePools.d.ts +3 -3
  168. package/dist-esm/src/operations/resourcePools.d.ts.map +1 -1
  169. package/dist-esm/src/operations/resourcePools.js +33 -21
  170. package/dist-esm/src/operations/resourcePools.js.map +1 -1
  171. package/dist-esm/src/operations/vCenters.d.ts +3 -3
  172. package/dist-esm/src/operations/vCenters.d.ts.map +1 -1
  173. package/dist-esm/src/operations/vCenters.js +33 -21
  174. package/dist-esm/src/operations/vCenters.js.map +1 -1
  175. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts +74 -0
  176. package/dist-esm/src/operations/vMInstanceGuestAgents.d.ts.map +1 -0
  177. package/dist-esm/src/operations/{guestAgents.js → vMInstanceGuestAgents.js} +92 -104
  178. package/dist-esm/src/operations/vMInstanceGuestAgents.js.map +1 -0
  179. package/dist-esm/src/operations/virtualMachineInstances.d.ts +132 -0
  180. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  181. package/dist-esm/src/operations/virtualMachineInstances.js +668 -0
  182. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  183. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +3 -3
  184. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  185. package/dist-esm/src/operations/virtualMachineTemplates.js +33 -21
  186. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  187. package/dist-esm/src/operations/virtualNetworks.d.ts +3 -3
  188. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  189. package/dist-esm/src/operations/virtualNetworks.js +33 -21
  190. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  191. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts +45 -0
  192. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  193. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js +168 -0
  194. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  195. package/dist-esm/src/operationsInterfaces/clusters.d.ts +3 -3
  196. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
  197. package/dist-esm/src/operationsInterfaces/datastores.d.ts +3 -3
  198. package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -1
  199. package/dist-esm/src/operationsInterfaces/hosts.d.ts +3 -3
  200. package/dist-esm/src/operationsInterfaces/hosts.d.ts.map +1 -1
  201. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -4
  202. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/index.js +3 -4
  204. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  205. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +3 -3
  206. package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -1
  207. package/dist-esm/src/operationsInterfaces/vCenters.d.ts +3 -3
  208. package/dist-esm/src/operationsInterfaces/vCenters.d.ts.map +1 -1
  209. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts +49 -0
  210. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.d.ts.map +1 -0
  211. package/dist-esm/src/operationsInterfaces/{guestAgents.js → vMInstanceGuestAgents.js} +1 -1
  212. package/dist-esm/src/operationsInterfaces/vMInstanceGuestAgents.js.map +1 -0
  213. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +107 -0
  214. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  215. package/dist-esm/src/operationsInterfaces/{machineExtensions.js → virtualMachineInstances.js} +1 -1
  216. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  217. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +3 -3
  218. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  219. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +3 -3
  220. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  221. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts +20 -0
  222. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.d.ts.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/{hybridIdentityMetadataOperations.js → vmInstanceHybridIdentityMetadataOperations.js} +1 -1
  224. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.js.map +1 -0
  225. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts +4 -0
  226. package/dist-esm/test/connectedvmware_operations_test.spec.d.ts.map +1 -0
  227. package/dist-esm/test/connectedvmware_operations_test.spec.js +71 -0
  228. package/dist-esm/test/connectedvmware_operations_test.spec.js.map +1 -0
  229. package/package.json +17 -23
  230. package/review/arm-connectedvmware.api.md +295 -605
  231. package/src/azureArcVMwareManagementServiceAPI.ts +33 -21
  232. package/src/lroImpl.ts +31 -23
  233. package/src/models/index.ts +606 -1272
  234. package/src/models/mappers.ts +1397 -2017
  235. package/src/models/parameters.ts +47 -113
  236. package/src/operations/clusters.ts +31 -24
  237. package/src/operations/datastores.ts +31 -24
  238. package/src/operations/hosts.ts +30 -23
  239. package/src/operations/index.ts +3 -4
  240. package/src/operations/inventoryItems.ts +1 -1
  241. package/src/operations/resourcePools.ts +31 -24
  242. package/src/operations/vCenters.ts +31 -24
  243. package/src/operations/{guestAgents.ts → vMInstanceGuestAgents.ts} +139 -192
  244. package/src/operations/virtualMachineInstances.ts +899 -0
  245. package/src/operations/virtualMachineTemplates.ts +31 -24
  246. package/src/operations/virtualNetworks.ts +31 -24
  247. package/src/operations/vmInstanceHybridIdentityMetadataOperations.ts +204 -0
  248. package/src/operationsInterfaces/clusters.ts +4 -4
  249. package/src/operationsInterfaces/datastores.ts +4 -4
  250. package/src/operationsInterfaces/hosts.ts +3 -3
  251. package/src/operationsInterfaces/index.ts +3 -4
  252. package/src/operationsInterfaces/resourcePools.ts +4 -4
  253. package/src/operationsInterfaces/vCenters.ts +4 -4
  254. package/src/operationsInterfaces/vMInstanceGuestAgents.ts +95 -0
  255. package/src/operationsInterfaces/virtualMachineInstances.ts +205 -0
  256. package/src/operationsInterfaces/virtualMachineTemplates.ts +4 -4
  257. package/src/operationsInterfaces/virtualNetworks.ts +4 -4
  258. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadataOperations.ts +40 -0
  259. package/types/arm-connectedvmware.d.ts +636 -1426
  260. package/types/tsdoc-metadata.json +1 -1
  261. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +0 -1
  264. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +0 -2
  265. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +0 -1
  266. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +0 -1
  267. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +0 -1
  270. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/guestAgentsListByVMSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/guestAgentsListByVMSample.js.map +0 -1
  273. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js +0 -45
  276. package/dist-esm/samples-dev/hybridIdentityMetadataCreateSample.js.map +0 -1
  277. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js +0 -40
  280. package/dist-esm/samples-dev/hybridIdentityMetadataDeleteSample.js.map +0 -1
  281. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/hybridIdentityMetadataGetSample.js.map +0 -1
  284. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/hybridIdentityMetadataListByVMSample.js.map +0 -1
  287. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +0 -48
  290. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js.map +0 -1
  291. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/machineExtensionsDeleteSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +0 -39
  294. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js.map +0 -1
  295. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/machineExtensionsGetSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/machineExtensionsGetSample.js +0 -39
  298. package/dist-esm/samples-dev/machineExtensionsGetSample.js.map +0 -1
  299. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/machineExtensionsListSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/machineExtensionsListSample.js +0 -52
  302. package/dist-esm/samples-dev/machineExtensionsListSample.js.map +0 -1
  303. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/machineExtensionsUpdateSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +0 -47
  306. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js.map +0 -1
  307. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +0 -38
  310. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js.map +0 -1
  311. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/virtualMachinesCreateSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/virtualMachinesCreateSample.js.map +0 -1
  314. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  317. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  320. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts +0 -2
  321. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +0 -46
  323. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js.map +0 -1
  324. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -52
  327. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  328. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/virtualMachinesListSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +0 -1
  331. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  334. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  337. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  338. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  340. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  341. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  343. package/dist-esm/src/operations/guestAgents.d.ts +0 -79
  344. package/dist-esm/src/operations/guestAgents.d.ts.map +0 -1
  345. package/dist-esm/src/operations/guestAgents.js.map +0 -1
  346. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts +0 -62
  347. package/dist-esm/src/operations/hybridIdentityMetadataOperations.d.ts.map +0 -1
  348. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js +0 -245
  349. package/dist-esm/src/operations/hybridIdentityMetadataOperations.js.map +0 -1
  350. package/dist-esm/src/operations/machineExtensions.d.ts +0 -99
  351. package/dist-esm/src/operations/machineExtensions.d.ts.map +0 -1
  352. package/dist-esm/src/operations/machineExtensions.js +0 -435
  353. package/dist-esm/src/operations/machineExtensions.js.map +0 -1
  354. package/dist-esm/src/operations/virtualMachines.d.ts +0 -175
  355. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  356. package/dist-esm/src/operations/virtualMachines.js +0 -913
  357. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  358. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +0 -54
  359. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +0 -1
  361. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts +0 -37
  362. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.d.ts.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/hybridIdentityMetadataOperations.js.map +0 -1
  364. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +0 -74
  365. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +0 -1
  366. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +0 -1
  367. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -139
  368. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/virtualMachines.js +0 -9
  370. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  371. package/dist-esm/test/sampleTest.d.ts +0 -2
  372. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  373. package/dist-esm/test/sampleTest.js +0 -38
  374. package/dist-esm/test/sampleTest.js.map +0 -1
  375. package/rollup.config.js +0 -122
  376. package/src/operations/hybridIdentityMetadataOperations.ts +0 -335
  377. package/src/operations/machineExtensions.ts +0 -615
  378. package/src/operations/virtualMachines.ts +0 -1264
  379. package/src/operationsInterfaces/guestAgents.ts +0 -105
  380. package/src/operationsInterfaces/hybridIdentityMetadataOperations.ts +0 -73
  381. package/src/operationsInterfaces/machineExtensions.ts +0 -147
  382. package/src/operationsInterfaces/virtualMachines.ts +0 -262
@@ -1,62 +1,13 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /** Summarization of patches available for installation on the machine by classification. */
8
- export declare interface AvailablePatchCountByClassification {
9
- /**
10
- * Number of security patches available for installation.
11
- * NOTE: This property will not be serialized. It can only be populated by the server.
12
- */
13
- readonly security?: number;
14
- /**
15
- * Number of critical patches available for installation.
16
- * NOTE: This property will not be serialized. It can only be populated by the server.
17
- */
18
- readonly critical?: number;
19
- /**
20
- * Number of definition patches available for installation.
21
- * NOTE: This property will not be serialized. It can only be populated by the server.
22
- */
23
- readonly definition?: number;
24
- /**
25
- * Number of update Rollup patches available for installation.
26
- * NOTE: This property will not be serialized. It can only be populated by the server.
27
- */
28
- readonly updateRollup?: number;
29
- /**
30
- * Number of feature pack patches available for installation.
31
- * NOTE: This property will not be serialized. It can only be populated by the server.
32
- */
33
- readonly featurePack?: number;
34
- /**
35
- * Number of service pack patches available for installation.
36
- * NOTE: This property will not be serialized. It can only be populated by the server.
37
- */
38
- readonly servicePack?: number;
39
- /**
40
- * Number of tools patches available for installation.
41
- * NOTE: This property will not be serialized. It can only be populated by the server.
42
- */
43
- readonly tools?: number;
44
- /**
45
- * Number of updates category patches available for installation.
46
- * NOTE: This property will not be serialized. It can only be populated by the server.
47
- */
48
- readonly updates?: number;
49
- /**
50
- * Number of other patches available for installation.
51
- * NOTE: This property will not be serialized. It can only be populated by the server.
52
- */
53
- readonly other?: number;
54
- }
5
+ import { SimplePollerLike } from '@azure/core-lro';
55
6
 
56
7
  export declare class AzureArcVMwareManagementServiceAPI extends coreClient.ServiceClient {
57
8
  $host: string;
58
9
  apiVersion: string;
59
- subscriptionId: string;
10
+ subscriptionId?: string;
60
11
  /**
61
12
  * Initializes a new instance of the AzureArcVMwareManagementServiceAPI class.
62
13
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -64,10 +15,10 @@ export declare class AzureArcVMwareManagementServiceAPI extends coreClient.Servi
64
15
  * @param options The parameter options
65
16
  */
66
17
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureArcVMwareManagementServiceAPIOptionalParams);
18
+ constructor(credentials: coreAuth.TokenCredential, options?: AzureArcVMwareManagementServiceAPIOptionalParams);
67
19
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
68
20
  private addCustomApiVersionPolicy;
69
21
  operations: Operations;
70
- virtualMachines: VirtualMachines;
71
22
  resourcePools: ResourcePools;
72
23
  clusters: Clusters;
73
24
  hosts: Hosts;
@@ -76,9 +27,9 @@ export declare class AzureArcVMwareManagementServiceAPI extends coreClient.Servi
76
27
  virtualMachineTemplates: VirtualMachineTemplates;
77
28
  virtualNetworks: VirtualNetworks;
78
29
  inventoryItems: InventoryItems;
79
- hybridIdentityMetadataOperations: HybridIdentityMetadataOperations;
80
- machineExtensions: MachineExtensions;
81
- guestAgents: GuestAgents;
30
+ virtualMachineInstances: VirtualMachineInstances;
31
+ vmInstanceHybridIdentityMetadataOperations: VmInstanceHybridIdentityMetadataOperations;
32
+ vMInstanceGuestAgents: VMInstanceGuestAgents;
82
33
  }
83
34
 
84
35
  /** Optional parameters. */
@@ -150,20 +101,40 @@ export declare interface Cluster {
150
101
  */
151
102
  readonly customResourceName?: string;
152
103
  /**
153
- * Gets or sets the datastore ARM ids.
104
+ * Gets the used physical memory on the cluster in GB.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly usedMemoryGB?: number;
108
+ /**
109
+ * Gets the total amount of physical memory on the cluster in GB.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly totalMemoryGB?: number;
113
+ /**
114
+ * Gets the used CPU usage across all cores on the cluster in MHz.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly usedCpuMHz?: number;
118
+ /**
119
+ * Gets the max CPU usage across all cores on the cluster in MHz.
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly totalCpuMHz?: number;
123
+ /**
124
+ * Gets the datastore ARM ids.
154
125
  * NOTE: This property will not be serialized. It can only be populated by the server.
155
126
  */
156
127
  readonly datastoreIds?: string[];
157
128
  /**
158
- * Gets or sets the network ARM ids.
129
+ * Gets the network ARM ids.
159
130
  * NOTE: This property will not be serialized. It can only be populated by the server.
160
131
  */
161
132
  readonly networkIds?: string[];
162
133
  /**
163
- * Gets or sets the provisioning state.
134
+ * Gets the provisioning state.
164
135
  * NOTE: This property will not be serialized. It can only be populated by the server.
165
136
  */
166
- readonly provisioningState?: string;
137
+ readonly provisioningState?: ProvisioningState;
167
138
  }
168
139
 
169
140
  /** The cluster inventory item. */
@@ -191,7 +162,7 @@ export declare interface Clusters {
191
162
  * @param clusterName Name of the cluster.
192
163
  * @param options The options parameters.
193
164
  */
194
- beginCreate(resourceGroupName: string, clusterName: string, options?: ClustersCreateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateResponse>, ClustersCreateResponse>>;
165
+ beginCreate(resourceGroupName: string, clusterName: string, options?: ClustersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersCreateResponse>, ClustersCreateResponse>>;
195
166
  /**
196
167
  * Create Or Update cluster.
197
168
  * @param resourceGroupName The Resource Group Name.
@@ -219,7 +190,7 @@ export declare interface Clusters {
219
190
  * @param clusterName Name of the cluster.
220
191
  * @param options The options parameters.
221
192
  */
222
- beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
193
+ beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
223
194
  /**
224
195
  * Implements cluster DELETE method.
225
196
  * @param resourceGroupName The Resource Group Name.
@@ -242,6 +213,11 @@ export declare interface ClustersCreateOptionalParams extends coreClient.Operati
242
213
  /** Contains response data for the create operation. */
243
214
  export declare type ClustersCreateResponse = Cluster;
244
215
 
216
+ /** Defines headers for Clusters_delete operation. */
217
+ export declare interface ClustersDeleteHeaders {
218
+ location?: string;
219
+ }
220
+
245
221
  /** Optional parameters. */
246
222
  export declare interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
247
223
  /** Whether force delete was specified. */
@@ -398,6 +374,16 @@ export declare interface Datastore {
398
374
  * NOTE: This property will not be serialized. It can only be populated by the server.
399
375
  */
400
376
  readonly customResourceName?: string;
377
+ /**
378
+ * Gets or sets Maximum capacity of this datastore in GBs.
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
380
+ */
381
+ readonly capacityGB?: number;
382
+ /**
383
+ * Gets or sets Available space of this datastore in GBs.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly freeSpaceGB?: number;
401
387
  /**
402
388
  * Provisioning state of the resource.
403
389
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -434,7 +420,7 @@ export declare interface Datastores {
434
420
  * @param datastoreName Name of the datastore.
435
421
  * @param options The options parameters.
436
422
  */
437
- beginCreate(resourceGroupName: string, datastoreName: string, options?: DatastoresCreateOptionalParams): Promise<PollerLike<PollOperationState<DatastoresCreateResponse>, DatastoresCreateResponse>>;
423
+ beginCreate(resourceGroupName: string, datastoreName: string, options?: DatastoresCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatastoresCreateResponse>, DatastoresCreateResponse>>;
438
424
  /**
439
425
  * Create Or Update datastore.
440
426
  * @param resourceGroupName The Resource Group Name.
@@ -462,7 +448,7 @@ export declare interface Datastores {
462
448
  * @param datastoreName Name of the datastore.
463
449
  * @param options The options parameters.
464
450
  */
465
- beginDelete(resourceGroupName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
451
+ beginDelete(resourceGroupName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
466
452
  /**
467
453
  * Implements datastore DELETE method.
468
454
  * @param resourceGroupName The Resource Group Name.
@@ -485,6 +471,11 @@ export declare interface DatastoresCreateOptionalParams extends coreClient.Opera
485
471
  /** Contains response data for the create operation. */
486
472
  export declare type DatastoresCreateResponse = Datastore;
487
473
 
474
+ /** Defines headers for Datastores_delete operation. */
475
+ export declare interface DatastoresDeleteHeaders {
476
+ location?: string;
477
+ }
478
+
488
479
  /** Optional parameters. */
489
480
  export declare interface DatastoresDeleteOptionalParams extends coreClient.OperationOptions {
490
481
  /** Whether force delete was specified. */
@@ -573,41 +564,53 @@ export declare type DiskMode = string;
573
564
  */
574
565
  export declare type DiskType = string;
575
566
 
576
- /** Error definition. */
577
- export declare interface ErrorDefinition {
567
+ /** The resource management error additional info. */
568
+ export declare interface ErrorAdditionalInfo {
569
+ /**
570
+ * The additional info type.
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
572
+ */
573
+ readonly type?: string;
574
+ /**
575
+ * The additional info.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
577
+ */
578
+ readonly info?: Record<string, unknown>;
579
+ }
580
+
581
+ /** The error detail. */
582
+ export declare interface ErrorDetail {
578
583
  /**
579
- * Service specific error code which serves as the substatus for the HTTP error code.
584
+ * The error code.
580
585
  * NOTE: This property will not be serialized. It can only be populated by the server.
581
586
  */
582
587
  readonly code?: string;
583
588
  /**
584
- * Description of the error.
589
+ * The error message.
585
590
  * NOTE: This property will not be serialized. It can only be populated by the server.
586
591
  */
587
592
  readonly message?: string;
588
593
  /**
589
- * Internal error details.
594
+ * The error target.
590
595
  * NOTE: This property will not be serialized. It can only be populated by the server.
591
596
  */
592
- readonly details?: ErrorDefinition[];
593
- }
594
-
595
- /** Error details. */
596
- export declare interface ErrorDetail {
597
- /** The error's code. */
598
- code: string;
599
- /** A human readable error message. */
600
- message: string;
601
- /** Indicates which property in the request is responsible for the error. */
602
- target?: string;
603
- /** Additional error details. */
604
- details?: ErrorDetail[];
597
+ readonly target?: string;
598
+ /**
599
+ * The error details.
600
+ * NOTE: This property will not be serialized. It can only be populated by the server.
601
+ */
602
+ readonly details?: ErrorDetail[];
603
+ /**
604
+ * The error additional info.
605
+ * NOTE: This property will not be serialized. It can only be populated by the server.
606
+ */
607
+ readonly additionalInfo?: ErrorAdditionalInfo[];
605
608
  }
606
609
 
607
- /** Error response. */
610
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
608
611
  export declare interface ErrorResponse {
609
- /** The error details. */
610
- error?: ErrorDefinition;
612
+ /** The error object. */
613
+ error?: ErrorDetail;
611
614
  }
612
615
 
613
616
  /** The extended location. */
@@ -639,11 +642,6 @@ export declare function getContinuationToken(page: unknown): string | undefined;
639
642
 
640
643
  /** Defines the GuestAgent. */
641
644
  export declare interface GuestAgent extends ProxyResource {
642
- /**
643
- * The system data.
644
- * NOTE: This property will not be serialized. It can only be populated by the server.
645
- */
646
- readonly systemData?: SystemData;
647
645
  /**
648
646
  * Gets or sets a unique identifier for this resource.
649
647
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -651,6 +649,8 @@ export declare interface GuestAgent extends ProxyResource {
651
649
  readonly uuid?: string;
652
650
  /** Username / Password Credentials to provision guest agent. */
653
651
  credentials?: GuestCredential;
652
+ /** The resource id of the private link scope this machine is assigned to, if any. */
653
+ privateLinkScopeResourceId?: string;
654
654
  /** HTTP Proxy configuration for the VM. */
655
655
  httpProxyConfig?: HttpProxyConfiguration;
656
656
  /** Gets or sets the guest agent provisioning action. */
@@ -671,10 +671,10 @@ export declare interface GuestAgent extends ProxyResource {
671
671
  */
672
672
  readonly statuses?: ResourceStatus[];
673
673
  /**
674
- * Gets or sets the provisioning state.
674
+ * Gets the provisioning state.
675
675
  * NOTE: This property will not be serialized. It can only be populated by the server.
676
676
  */
677
- readonly provisioningState?: string;
677
+ readonly provisioningState?: ProvisioningState;
678
678
  }
679
679
 
680
680
  /** List of GuestAgent. */
@@ -685,128 +685,6 @@ export declare interface GuestAgentList {
685
685
  value: GuestAgent[];
686
686
  }
687
687
 
688
- /** Defines the resource properties. */
689
- export declare interface GuestAgentProfile {
690
- /**
691
- * Specifies the VM's unique SMBIOS ID.
692
- * NOTE: This property will not be serialized. It can only be populated by the server.
693
- */
694
- readonly vmUuid?: string;
695
- /**
696
- * The status of the hybrid machine agent.
697
- * NOTE: This property will not be serialized. It can only be populated by the server.
698
- */
699
- readonly status?: StatusTypes;
700
- /**
701
- * The time of the last status change.
702
- * NOTE: This property will not be serialized. It can only be populated by the server.
703
- */
704
- readonly lastStatusChange?: Date;
705
- /**
706
- * The hybrid machine agent full version.
707
- * NOTE: This property will not be serialized. It can only be populated by the server.
708
- */
709
- readonly agentVersion?: string;
710
- /**
711
- * Details about the error state.
712
- * NOTE: This property will not be serialized. It can only be populated by the server.
713
- */
714
- readonly errorDetails?: ErrorDetail[];
715
- }
716
-
717
- /** Interface representing a GuestAgents. */
718
- export declare interface GuestAgents {
719
- /**
720
- * Returns the list of GuestAgent of the given vm.
721
- * @param resourceGroupName The Resource Group Name.
722
- * @param virtualMachineName Name of the vm.
723
- * @param options The options parameters.
724
- */
725
- listByVm(resourceGroupName: string, virtualMachineName: string, options?: GuestAgentsListByVmOptionalParams): PagedAsyncIterableIterator<GuestAgent>;
726
- /**
727
- * Create Or Update GuestAgent.
728
- * @param resourceGroupName The Resource Group Name.
729
- * @param virtualMachineName Name of the vm.
730
- * @param name Name of the guestAgents.
731
- * @param options The options parameters.
732
- */
733
- beginCreate(resourceGroupName: string, virtualMachineName: string, name: string, options?: GuestAgentsCreateOptionalParams): Promise<PollerLike<PollOperationState<GuestAgentsCreateResponse>, GuestAgentsCreateResponse>>;
734
- /**
735
- * Create Or Update GuestAgent.
736
- * @param resourceGroupName The Resource Group Name.
737
- * @param virtualMachineName Name of the vm.
738
- * @param name Name of the guestAgents.
739
- * @param options The options parameters.
740
- */
741
- beginCreateAndWait(resourceGroupName: string, virtualMachineName: string, name: string, options?: GuestAgentsCreateOptionalParams): Promise<GuestAgentsCreateResponse>;
742
- /**
743
- * Implements GuestAgent GET method.
744
- * @param resourceGroupName The Resource Group Name.
745
- * @param virtualMachineName Name of the vm.
746
- * @param name Name of the GuestAgent.
747
- * @param options The options parameters.
748
- */
749
- get(resourceGroupName: string, virtualMachineName: string, name: string, options?: GuestAgentsGetOptionalParams): Promise<GuestAgentsGetResponse>;
750
- /**
751
- * Implements GuestAgent DELETE method.
752
- * @param resourceGroupName The Resource Group Name.
753
- * @param virtualMachineName Name of the vm.
754
- * @param name Name of the GuestAgent.
755
- * @param options The options parameters.
756
- */
757
- beginDelete(resourceGroupName: string, virtualMachineName: string, name: string, options?: GuestAgentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
758
- /**
759
- * Implements GuestAgent DELETE method.
760
- * @param resourceGroupName The Resource Group Name.
761
- * @param virtualMachineName Name of the vm.
762
- * @param name Name of the GuestAgent.
763
- * @param options The options parameters.
764
- */
765
- beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, name: string, options?: GuestAgentsDeleteOptionalParams): Promise<void>;
766
- }
767
-
768
- /** Optional parameters. */
769
- export declare interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
770
- /** Request payload. */
771
- body?: GuestAgent;
772
- /** Delay to wait until next poll, in milliseconds. */
773
- updateIntervalInMs?: number;
774
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
775
- resumeFrom?: string;
776
- }
777
-
778
- /** Contains response data for the create operation. */
779
- export declare type GuestAgentsCreateResponse = GuestAgent;
780
-
781
- /** Optional parameters. */
782
- export declare interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
783
- /** Delay to wait until next poll, in milliseconds. */
784
- updateIntervalInMs?: number;
785
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
786
- resumeFrom?: string;
787
- }
788
-
789
- /** Optional parameters. */
790
- export declare interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions {
791
- }
792
-
793
- /** Contains response data for the get operation. */
794
- export declare type GuestAgentsGetResponse = GuestAgent;
795
-
796
- /** Optional parameters. */
797
- export declare interface GuestAgentsListByVmNextOptionalParams extends coreClient.OperationOptions {
798
- }
799
-
800
- /** Contains response data for the listByVmNext operation. */
801
- export declare type GuestAgentsListByVmNextResponse = GuestAgentList;
802
-
803
- /** Optional parameters. */
804
- export declare interface GuestAgentsListByVmOptionalParams extends coreClient.OperationOptions {
805
- }
806
-
807
- /** Contains response data for the listByVm operation. */
808
- export declare type GuestAgentsListByVmResponse = GuestAgentList;
809
-
810
688
  /** Username / Password Credentials to connect to guest. */
811
689
  export declare interface GuestCredential {
812
690
  /** Gets or sets username to connect with the guest. */
@@ -815,7 +693,7 @@ export declare interface GuestCredential {
815
693
  password?: string;
816
694
  }
817
695
 
818
- /** Defines the resource properties. */
696
+ /** Specifies the hardware settings for the virtual machine. */
819
697
  export declare interface HardwareProfile {
820
698
  /** Gets or sets memory size in MBs for the vm. */
821
699
  memorySizeMB?: number;
@@ -899,10 +777,40 @@ export declare interface Host {
899
777
  */
900
778
  readonly customResourceName?: string;
901
779
  /**
902
- * Gets or sets the provisioning state.
780
+ * Gets the used physical memory on the host in GB.
781
+ * NOTE: This property will not be serialized. It can only be populated by the server.
782
+ */
783
+ readonly overallMemoryUsageGB?: number;
784
+ /**
785
+ * Gets the total amount of physical memory on the host in GB.
786
+ * NOTE: This property will not be serialized. It can only be populated by the server.
787
+ */
788
+ readonly memorySizeGB?: number;
789
+ /**
790
+ * Gets the used CPU usage across all cores in MHz.
791
+ * NOTE: This property will not be serialized. It can only be populated by the server.
792
+ */
793
+ readonly overallCpuUsageMHz?: number;
794
+ /**
795
+ * Gets the max CPU usage across all cores in MHz.
796
+ * NOTE: This property will not be serialized. It can only be populated by the server.
797
+ */
798
+ readonly cpuMhz?: number;
799
+ /**
800
+ * Gets the datastore ARM ids.
801
+ * NOTE: This property will not be serialized. It can only be populated by the server.
802
+ */
803
+ readonly datastoreIds?: string[];
804
+ /**
805
+ * Gets the network ARM ids.
806
+ * NOTE: This property will not be serialized. It can only be populated by the server.
807
+ */
808
+ readonly networkIds?: string[];
809
+ /**
810
+ * Gets the provisioning state.
903
811
  * NOTE: This property will not be serialized. It can only be populated by the server.
904
812
  */
905
- readonly provisioningState?: string;
813
+ readonly provisioningState?: ProvisioningState;
906
814
  }
907
815
 
908
816
  /** The host inventory item. */
@@ -932,7 +840,7 @@ export declare interface Hosts {
932
840
  * @param hostName Name of the host.
933
841
  * @param options The options parameters.
934
842
  */
935
- beginCreate(resourceGroupName: string, hostName: string, options?: HostsCreateOptionalParams): Promise<PollerLike<PollOperationState<HostsCreateResponse>, HostsCreateResponse>>;
843
+ beginCreate(resourceGroupName: string, hostName: string, options?: HostsCreateOptionalParams): Promise<SimplePollerLike<OperationState<HostsCreateResponse>, HostsCreateResponse>>;
936
844
  /**
937
845
  * Create Or Update host.
938
846
  * @param resourceGroupName The Resource Group Name.
@@ -960,7 +868,7 @@ export declare interface Hosts {
960
868
  * @param hostName Name of the host.
961
869
  * @param options The options parameters.
962
870
  */
963
- beginDelete(resourceGroupName: string, hostName: string, options?: HostsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
871
+ beginDelete(resourceGroupName: string, hostName: string, options?: HostsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
964
872
  /**
965
873
  * Implements host DELETE method.
966
874
  * @param resourceGroupName The Resource Group Name.
@@ -983,6 +891,11 @@ export declare interface HostsCreateOptionalParams extends coreClient.OperationO
983
891
  /** Contains response data for the create operation. */
984
892
  export declare type HostsCreateResponse = Host;
985
893
 
894
+ /** Defines headers for Hosts_delete operation. */
895
+ export declare interface HostsDeleteHeaders {
896
+ location?: string;
897
+ }
898
+
986
899
  /** Optional parameters. */
987
900
  export declare interface HostsDeleteOptionalParams extends coreClient.OperationOptions {
988
901
  /** Whether force delete was specified. */
@@ -1051,182 +964,92 @@ export declare interface HttpProxyConfiguration {
1051
964
  httpsProxy?: string;
1052
965
  }
1053
966
 
1054
- /** Defines the HybridIdentityMetadata. */
1055
- export declare interface HybridIdentityMetadata extends ProxyResource {
967
+ /** Specifies the vCenter infrastructure specific settings for the virtual machine. */
968
+ export declare interface InfrastructureProfile {
969
+ /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
970
+ templateId?: string;
971
+ /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
972
+ vCenterId?: string;
1056
973
  /**
1057
- * The system data.
974
+ * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.
1058
975
  * NOTE: This property will not be serialized. It can only be populated by the server.
1059
976
  */
1060
- readonly systemData?: SystemData;
1061
- /** Gets or sets the Vm Id. */
1062
- vmId?: string;
1063
- /** Gets or sets the Public Key. */
1064
- publicKey?: string;
977
+ readonly moRefId?: string;
978
+ /** Gets or sets the inventory Item ID for the virtual machine. */
979
+ inventoryItemId?: string;
980
+ /**
981
+ * Gets or sets the vCenter Managed Object name for the virtual machine.
982
+ * NOTE: This property will not be serialized. It can only be populated by the server.
983
+ */
984
+ readonly moName?: string;
985
+ /**
986
+ * Gets or sets the folder path of the vm.
987
+ * NOTE: This property will not be serialized. It can only be populated by the server.
988
+ */
989
+ readonly folderPath?: string;
1065
990
  /**
1066
- * The identity of the resource.
991
+ * Gets or sets the instance uuid of the vm.
1067
992
  * NOTE: This property will not be serialized. It can only be populated by the server.
1068
993
  */
1069
- readonly identity?: Identity;
994
+ readonly instanceUuid?: string;
995
+ /** Gets or sets the SMBIOS UUID of the vm. */
996
+ smbiosUuid?: string;
997
+ /** Firmware type */
998
+ firmwareType?: FirmwareType;
1070
999
  /**
1071
- * Gets or sets the provisioning state.
1000
+ * Gets the name of the corresponding resource in Kubernetes.
1072
1001
  * NOTE: This property will not be serialized. It can only be populated by the server.
1073
1002
  */
1074
- readonly provisioningState?: string;
1003
+ readonly customResourceName?: string;
1075
1004
  }
1076
1005
 
1077
- /** Optional parameters. */
1078
- export declare interface HybridIdentityMetadataCreateOptionalParams extends coreClient.OperationOptions {
1079
- /** Request payload. */
1080
- body?: HybridIdentityMetadata;
1006
+ /** Defines the inventory item. */
1007
+ export declare interface InventoryItem extends ProxyResource {
1008
+ /** 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. */
1009
+ kind?: string;
1010
+ /** They inventory type. */
1011
+ inventoryType: InventoryType;
1012
+ /** Gets or sets the tracked resource id corresponding to the inventory resource. */
1013
+ managedResourceId?: string;
1014
+ /** Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. */
1015
+ moRefId?: string;
1016
+ /** Gets or sets the vCenter Managed Object name for the inventory item. */
1017
+ moName?: string;
1018
+ /**
1019
+ * Gets the provisioning state.
1020
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1021
+ */
1022
+ readonly provisioningState?: ProvisioningState;
1081
1023
  }
1082
1024
 
1083
- /** Contains response data for the create operation. */
1084
- export declare type HybridIdentityMetadataCreateResponse = HybridIdentityMetadata;
1085
-
1086
- /** Optional parameters. */
1087
- export declare interface HybridIdentityMetadataDeleteOptionalParams extends coreClient.OperationOptions {
1025
+ /** Describes the properties of an Inventory Item reference. */
1026
+ export declare interface InventoryItemDetails {
1027
+ /** Gets or sets the inventory Item ID for the resource. */
1028
+ inventoryItemId?: string;
1029
+ /** Gets or sets the vCenter Managed Object name for the resource. */
1030
+ moName?: string;
1031
+ /** The inventory type. */
1032
+ inventoryType?: InventoryType;
1088
1033
  }
1089
1034
 
1090
- /** Optional parameters. */
1091
- export declare interface HybridIdentityMetadataGetOptionalParams extends coreClient.OperationOptions {
1035
+ /** Describes the properties of an Inventory Item. */
1036
+ export declare interface InventoryItemProperties {
1037
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1038
+ inventoryType: "ResourcePool" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork" | "Cluster" | "Datastore" | "Host";
1039
+ /** Gets or sets the tracked resource id corresponding to the inventory resource. */
1040
+ managedResourceId?: string;
1041
+ /** Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. */
1042
+ moRefId?: string;
1043
+ /** Gets or sets the vCenter Managed Object name for the inventory item. */
1044
+ moName?: string;
1045
+ /**
1046
+ * Gets the provisioning state.
1047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1048
+ */
1049
+ readonly provisioningState?: ProvisioningState;
1092
1050
  }
1093
1051
 
1094
- /** Contains response data for the get operation. */
1095
- export declare type HybridIdentityMetadataGetResponse = HybridIdentityMetadata;
1096
-
1097
- /** List of HybridIdentityMetadata. */
1098
- export declare interface HybridIdentityMetadataList {
1099
- /** Url to follow for getting next page of HybridIdentityMetadata. */
1100
- nextLink?: string;
1101
- /** Array of HybridIdentityMetadata */
1102
- value: HybridIdentityMetadata[];
1103
- }
1104
-
1105
- /** Optional parameters. */
1106
- export declare interface HybridIdentityMetadataListByVmNextOptionalParams extends coreClient.OperationOptions {
1107
- }
1108
-
1109
- /** Contains response data for the listByVmNext operation. */
1110
- export declare type HybridIdentityMetadataListByVmNextResponse = HybridIdentityMetadataList;
1111
-
1112
- /** Optional parameters. */
1113
- export declare interface HybridIdentityMetadataListByVmOptionalParams extends coreClient.OperationOptions {
1114
- }
1115
-
1116
- /** Contains response data for the listByVm operation. */
1117
- export declare type HybridIdentityMetadataListByVmResponse = HybridIdentityMetadataList;
1118
-
1119
- /** Interface representing a HybridIdentityMetadataOperations. */
1120
- export declare interface HybridIdentityMetadataOperations {
1121
- /**
1122
- * Returns the list of HybridIdentityMetadata of the given vm.
1123
- * @param resourceGroupName The Resource Group Name.
1124
- * @param virtualMachineName Name of the vm.
1125
- * @param options The options parameters.
1126
- */
1127
- listByVm(resourceGroupName: string, virtualMachineName: string, options?: HybridIdentityMetadataListByVmOptionalParams): PagedAsyncIterableIterator<HybridIdentityMetadata>;
1128
- /**
1129
- * Create Or Update HybridIdentityMetadata.
1130
- * @param resourceGroupName The Resource Group Name.
1131
- * @param virtualMachineName Name of the vm.
1132
- * @param metadataName Name of the hybridIdentityMetadata.
1133
- * @param options The options parameters.
1134
- */
1135
- create(resourceGroupName: string, virtualMachineName: string, metadataName: string, options?: HybridIdentityMetadataCreateOptionalParams): Promise<HybridIdentityMetadataCreateResponse>;
1136
- /**
1137
- * Implements HybridIdentityMetadata GET method.
1138
- * @param resourceGroupName The Resource Group Name.
1139
- * @param virtualMachineName Name of the vm.
1140
- * @param metadataName Name of the HybridIdentityMetadata.
1141
- * @param options The options parameters.
1142
- */
1143
- get(resourceGroupName: string, virtualMachineName: string, metadataName: string, options?: HybridIdentityMetadataGetOptionalParams): Promise<HybridIdentityMetadataGetResponse>;
1144
- /**
1145
- * Implements HybridIdentityMetadata DELETE method.
1146
- * @param resourceGroupName The Resource Group Name.
1147
- * @param virtualMachineName Name of the vm.
1148
- * @param metadataName Name of the HybridIdentityMetadata.
1149
- * @param options The options parameters.
1150
- */
1151
- delete(resourceGroupName: string, virtualMachineName: string, metadataName: string, options?: HybridIdentityMetadataDeleteOptionalParams): Promise<void>;
1152
- }
1153
-
1154
- /** Managed service identity. */
1155
- export declare interface Identity {
1156
- /**
1157
- * The principal id of managed service identity.
1158
- * NOTE: This property will not be serialized. It can only be populated by the server.
1159
- */
1160
- readonly principalId?: string;
1161
- /**
1162
- * The tenant of managed service identity.
1163
- * NOTE: This property will not be serialized. It can only be populated by the server.
1164
- */
1165
- readonly tenantId?: string;
1166
- /** The type of managed service identity. */
1167
- type: IdentityType;
1168
- }
1169
-
1170
- /**
1171
- * Defines values for IdentityType. \
1172
- * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1173
- * this enum contains the known values that the service supports.
1174
- * ### Known values supported by the service
1175
- * **None** \
1176
- * **SystemAssigned**
1177
- */
1178
- export declare type IdentityType = string;
1179
-
1180
- /** Defines the inventory item. */
1181
- export declare interface InventoryItem extends ProxyResource {
1182
- /**
1183
- * The system data.
1184
- * NOTE: This property will not be serialized. It can only be populated by the server.
1185
- */
1186
- readonly systemData?: SystemData;
1187
- /** 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. */
1188
- kind?: string;
1189
- /** They inventory type. */
1190
- inventoryType: InventoryType;
1191
- /** Gets or sets the tracked resource id corresponding to the inventory resource. */
1192
- managedResourceId?: string;
1193
- /** Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. */
1194
- moRefId?: string;
1195
- /** Gets or sets the vCenter Managed Object name for the inventory item. */
1196
- moName?: string;
1197
- /**
1198
- * Gets or sets the provisioning state.
1199
- * NOTE: This property will not be serialized. It can only be populated by the server.
1200
- */
1201
- readonly provisioningState?: string;
1202
- }
1203
-
1204
- /** Defines the resource properties. */
1205
- export declare interface InventoryItemDetails {
1206
- /** Gets or sets the inventory Item ID for the resource. */
1207
- inventoryItemId?: string;
1208
- /** Gets or sets the vCenter Managed Object name for the resource. */
1209
- moName?: string;
1210
- }
1211
-
1212
- /** Defines the resource properties. */
1213
- export declare interface InventoryItemProperties {
1214
- /** Polymorphic discriminator, which specifies the different types this object can be */
1215
- inventoryType: "ResourcePool" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork" | "Cluster" | "Datastore" | "Host";
1216
- /** Gets or sets the tracked resource id corresponding to the inventory resource. */
1217
- managedResourceId?: string;
1218
- /** Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. */
1219
- moRefId?: string;
1220
- /** Gets or sets the vCenter Managed Object name for the inventory item. */
1221
- moName?: string;
1222
- /**
1223
- * Gets or sets the provisioning state.
1224
- * NOTE: This property will not be serialized. It can only be populated by the server.
1225
- */
1226
- readonly provisioningState?: string;
1227
- }
1228
-
1229
- export declare type InventoryItemPropertiesUnion = InventoryItemProperties | ResourcePoolInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem | ClusterInventoryItem | DatastoreInventoryItem | HostInventoryItem;
1052
+ export declare type InventoryItemPropertiesUnion = InventoryItemProperties | ResourcePoolInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem | ClusterInventoryItem | DatastoreInventoryItem | HostInventoryItem;
1230
1053
 
1231
1054
  /** Interface representing a InventoryItems. */
1232
1055
  export declare interface InventoryItems {
@@ -1382,14 +1205,6 @@ export declare enum KnownFirmwareType {
1382
1205
  Efi = "efi"
1383
1206
  }
1384
1207
 
1385
- /** Known values of {@link IdentityType} that the service accepts. */
1386
- export declare enum KnownIdentityType {
1387
- /** None */
1388
- None = "None",
1389
- /** SystemAssigned */
1390
- SystemAssigned = "SystemAssigned"
1391
- }
1392
-
1393
1208
  /** Known values of {@link InventoryType} that the service accepts. */
1394
1209
  export declare enum KnownInventoryType {
1395
1210
  /** ResourcePool */
@@ -1450,52 +1265,6 @@ export declare enum KnownOsType {
1450
1265
  Other = "Other"
1451
1266
  }
1452
1267
 
1453
- /** Known values of {@link OsTypeUM} that the service accepts. */
1454
- export declare enum KnownOsTypeUM {
1455
- /** Windows */
1456
- Windows = "Windows",
1457
- /** Linux */
1458
- Linux = "Linux"
1459
- }
1460
-
1461
- /** Known values of {@link PatchOperationStartedBy} that the service accepts. */
1462
- export declare enum KnownPatchOperationStartedBy {
1463
- /** User */
1464
- User = "User",
1465
- /** Platform */
1466
- Platform = "Platform"
1467
- }
1468
-
1469
- /** Known values of {@link PatchOperationStatus} that the service accepts. */
1470
- export declare enum KnownPatchOperationStatus {
1471
- /** Unknown */
1472
- Unknown = "Unknown",
1473
- /** InProgress */
1474
- InProgress = "InProgress",
1475
- /** Failed */
1476
- Failed = "Failed",
1477
- /** Succeeded */
1478
- Succeeded = "Succeeded",
1479
- /** CompletedWithWarnings */
1480
- CompletedWithWarnings = "CompletedWithWarnings"
1481
- }
1482
-
1483
- /** Known values of {@link PatchServiceUsed} that the service accepts. */
1484
- export declare enum KnownPatchServiceUsed {
1485
- /** Unknown */
1486
- Unknown = "Unknown",
1487
- /** WU */
1488
- WU = "WU",
1489
- /** WUWsus */
1490
- WUWsus = "WU_WSUS",
1491
- /** YUM */
1492
- YUM = "YUM",
1493
- /** APT */
1494
- APT = "APT",
1495
- /** Zypper */
1496
- Zypper = "Zypper"
1497
- }
1498
-
1499
1268
  /** Known values of {@link PowerOnBootOption} that the service accepts. */
1500
1269
  export declare enum KnownPowerOnBootOption {
1501
1270
  /** Enabled */
@@ -1546,26 +1315,6 @@ export declare enum KnownScsiControllerType {
1546
1315
  Lsilogicsas = "lsilogicsas"
1547
1316
  }
1548
1317
 
1549
- /** Known values of {@link StatusLevelTypes} that the service accepts. */
1550
- export declare enum KnownStatusLevelTypes {
1551
- /** Info */
1552
- Info = "Info",
1553
- /** Warning */
1554
- Warning = "Warning",
1555
- /** Error */
1556
- Error = "Error"
1557
- }
1558
-
1559
- /** Known values of {@link StatusTypes} that the service accepts. */
1560
- export declare enum KnownStatusTypes {
1561
- /** Connected */
1562
- Connected = "Connected",
1563
- /** Disconnected */
1564
- Disconnected = "Disconnected",
1565
- /** Error */
1566
- Error = "Error"
1567
- }
1568
-
1569
1318
  /** Known values of {@link VirtualScsiSharing} that the service accepts. */
1570
1319
  export declare enum KnownVirtualScsiSharing {
1571
1320
  /** NoSharing */
@@ -1576,331 +1325,6 @@ export declare enum KnownVirtualScsiSharing {
1576
1325
  VirtualSharing = "virtualSharing"
1577
1326
  }
1578
1327
 
1579
- /** Known values of {@link VMGuestPatchClassificationLinux} that the service accepts. */
1580
- export declare enum KnownVMGuestPatchClassificationLinux {
1581
- /** Critical */
1582
- Critical = "Critical",
1583
- /** Security */
1584
- Security = "Security",
1585
- /** Other */
1586
- Other = "Other"
1587
- }
1588
-
1589
- /** Known values of {@link VMGuestPatchClassificationWindows} that the service accepts. */
1590
- export declare enum KnownVMGuestPatchClassificationWindows {
1591
- /** Critical */
1592
- Critical = "Critical",
1593
- /** Security */
1594
- Security = "Security",
1595
- /** UpdateRollUp */
1596
- UpdateRollUp = "UpdateRollUp",
1597
- /** FeaturePack */
1598
- FeaturePack = "FeaturePack",
1599
- /** ServicePack */
1600
- ServicePack = "ServicePack",
1601
- /** Definition */
1602
- Definition = "Definition",
1603
- /** Tools */
1604
- Tools = "Tools",
1605
- /** Updates */
1606
- Updates = "Updates"
1607
- }
1608
-
1609
- /** Known values of {@link VMGuestPatchRebootSetting} that the service accepts. */
1610
- export declare enum KnownVMGuestPatchRebootSetting {
1611
- /** IfRequired */
1612
- IfRequired = "IfRequired",
1613
- /** Never */
1614
- Never = "Never",
1615
- /** Always */
1616
- Always = "Always"
1617
- }
1618
-
1619
- /** Known values of {@link VMGuestPatchRebootStatus} that the service accepts. */
1620
- export declare enum KnownVMGuestPatchRebootStatus {
1621
- /** Unknown */
1622
- Unknown = "Unknown",
1623
- /** NotNeeded */
1624
- NotNeeded = "NotNeeded",
1625
- /** Required */
1626
- Required = "Required",
1627
- /** Started */
1628
- Started = "Started",
1629
- /** Failed */
1630
- Failed = "Failed",
1631
- /** Completed */
1632
- Completed = "Completed"
1633
- }
1634
-
1635
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
1636
- export declare interface LinuxParameters {
1637
- /** The update classifications to select when installing patches for Linux. */
1638
- classificationsToInclude?: VMGuestPatchClassificationLinux[];
1639
- /** packages to include in the patch operation. Format: packageName_packageVersion */
1640
- packageNameMasksToInclude?: string[];
1641
- /** packages to exclude in the patch operation. Format: packageName_packageVersion */
1642
- packageNameMasksToExclude?: string[];
1643
- }
1644
-
1645
- /** Describes a Machine Extension. */
1646
- export declare interface MachineExtension {
1647
- /** Gets or sets the location. */
1648
- location?: string;
1649
- /**
1650
- * The system data.
1651
- * NOTE: This property will not be serialized. It can only be populated by the server.
1652
- */
1653
- readonly systemData?: SystemData;
1654
- /** Gets or sets the Resource tags. */
1655
- tags?: {
1656
- [propertyName: string]: string;
1657
- };
1658
- /**
1659
- * Gets or sets the name.
1660
- * NOTE: This property will not be serialized. It can only be populated by the server.
1661
- */
1662
- readonly name?: string;
1663
- /**
1664
- * Gets or sets the Id.
1665
- * NOTE: This property will not be serialized. It can only be populated by the server.
1666
- */
1667
- readonly id?: string;
1668
- /**
1669
- * Gets or sets the type of the resource.
1670
- * NOTE: This property will not be serialized. It can only be populated by the server.
1671
- */
1672
- readonly type?: string;
1673
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1674
- forceUpdateTag?: string;
1675
- /** The name of the extension handler publisher. */
1676
- publisher?: string;
1677
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1678
- typePropertiesType?: string;
1679
- /** Specifies the version of the script handler. */
1680
- typeHandlerVersion?: string;
1681
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1682
- enableAutomaticUpgrade?: boolean;
1683
- /** 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. */
1684
- autoUpgradeMinorVersion?: boolean;
1685
- /** Json formatted public settings for the extension. */
1686
- settings?: Record<string, unknown>;
1687
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1688
- protectedSettings?: Record<string, unknown>;
1689
- /**
1690
- * The provisioning state, which only appears in the response.
1691
- * NOTE: This property will not be serialized. It can only be populated by the server.
1692
- */
1693
- readonly provisioningState?: string;
1694
- /** The machine extension instance view. */
1695
- instanceView?: MachineExtensionPropertiesInstanceView;
1696
- }
1697
-
1698
- /** Describes the Machine Extension Instance View. */
1699
- export declare interface MachineExtensionInstanceView {
1700
- /**
1701
- * The machine extension name.
1702
- * NOTE: This property will not be serialized. It can only be populated by the server.
1703
- */
1704
- readonly name?: string;
1705
- /**
1706
- * Specifies the type of the extension; an example is "CustomScriptExtension".
1707
- * NOTE: This property will not be serialized. It can only be populated by the server.
1708
- */
1709
- readonly type?: string;
1710
- /**
1711
- * Specifies the version of the script handler.
1712
- * NOTE: This property will not be serialized. It can only be populated by the server.
1713
- */
1714
- readonly typeHandlerVersion?: string;
1715
- /** Instance view status. */
1716
- status?: MachineExtensionInstanceViewStatus;
1717
- }
1718
-
1719
- /** Instance view status. */
1720
- export declare interface MachineExtensionInstanceViewStatus {
1721
- /**
1722
- * The status code.
1723
- * NOTE: This property will not be serialized. It can only be populated by the server.
1724
- */
1725
- readonly code?: string;
1726
- /**
1727
- * The level code.
1728
- * NOTE: This property will not be serialized. It can only be populated by the server.
1729
- */
1730
- readonly level?: StatusLevelTypes;
1731
- /**
1732
- * The short localizable label for the status.
1733
- * NOTE: This property will not be serialized. It can only be populated by the server.
1734
- */
1735
- readonly displayStatus?: string;
1736
- /**
1737
- * The detailed status message, including for alerts and error messages.
1738
- * NOTE: This property will not be serialized. It can only be populated by the server.
1739
- */
1740
- readonly message?: string;
1741
- /**
1742
- * The time of the status.
1743
- * NOTE: This property will not be serialized. It can only be populated by the server.
1744
- */
1745
- readonly time?: Date;
1746
- }
1747
-
1748
- /** The machine extension instance view. */
1749
- export declare interface MachineExtensionPropertiesInstanceView extends MachineExtensionInstanceView {
1750
- }
1751
-
1752
- /** Interface representing a MachineExtensions. */
1753
- export declare interface MachineExtensions {
1754
- /**
1755
- * The operation to get all extensions of a non-Azure machine
1756
- * @param resourceGroupName The Resource Group Name.
1757
- * @param name The name of the machine containing the extension.
1758
- * @param options The options parameters.
1759
- */
1760
- list(resourceGroupName: string, name: string, options?: MachineExtensionsListOptionalParams): PagedAsyncIterableIterator<MachineExtension>;
1761
- /**
1762
- * The operation to create or update the extension.
1763
- * @param resourceGroupName The Resource Group Name.
1764
- * @param name The name of the machine where the extension should be created or updated.
1765
- * @param extensionName The name of the machine extension.
1766
- * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
1767
- * @param options The options parameters.
1768
- */
1769
- beginCreateOrUpdate(resourceGroupName: string, name: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<MachineExtensionsCreateOrUpdateResponse>, MachineExtensionsCreateOrUpdateResponse>>;
1770
- /**
1771
- * The operation to create or update the extension.
1772
- * @param resourceGroupName The Resource Group Name.
1773
- * @param name The name of the machine where the extension should be created or updated.
1774
- * @param extensionName The name of the machine extension.
1775
- * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
1776
- * @param options The options parameters.
1777
- */
1778
- beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<MachineExtensionsCreateOrUpdateResponse>;
1779
- /**
1780
- * The operation to update the extension.
1781
- * @param resourceGroupName The Resource Group Name.
1782
- * @param name The name of the machine where the extension should be created or updated.
1783
- * @param extensionName The name of the machine extension.
1784
- * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
1785
- * @param options The options parameters.
1786
- */
1787
- beginUpdate(resourceGroupName: string, name: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<MachineExtensionsUpdateResponse>, MachineExtensionsUpdateResponse>>;
1788
- /**
1789
- * The operation to update the extension.
1790
- * @param resourceGroupName The Resource Group Name.
1791
- * @param name The name of the machine where the extension should be created or updated.
1792
- * @param extensionName The name of the machine extension.
1793
- * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
1794
- * @param options The options parameters.
1795
- */
1796
- beginUpdateAndWait(resourceGroupName: string, name: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<MachineExtensionsUpdateResponse>;
1797
- /**
1798
- * The operation to delete the extension.
1799
- * @param resourceGroupName The Resource Group Name.
1800
- * @param name The name of the machine where the extension should be deleted.
1801
- * @param extensionName The name of the machine extension.
1802
- * @param options The options parameters.
1803
- */
1804
- beginDelete(resourceGroupName: string, name: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1805
- /**
1806
- * The operation to delete the extension.
1807
- * @param resourceGroupName The Resource Group Name.
1808
- * @param name The name of the machine where the extension should be deleted.
1809
- * @param extensionName The name of the machine extension.
1810
- * @param options The options parameters.
1811
- */
1812
- beginDeleteAndWait(resourceGroupName: string, name: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<void>;
1813
- /**
1814
- * The operation to get the extension.
1815
- * @param resourceGroupName The Resource Group Name.
1816
- * @param name The name of the machine containing the extension.
1817
- * @param extensionName The name of the machine extension.
1818
- * @param options The options parameters.
1819
- */
1820
- get(resourceGroupName: string, name: string, extensionName: string, options?: MachineExtensionsGetOptionalParams): Promise<MachineExtensionsGetResponse>;
1821
- }
1822
-
1823
- /** Optional parameters. */
1824
- export declare interface MachineExtensionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1825
- /** Delay to wait until next poll, in milliseconds. */
1826
- updateIntervalInMs?: number;
1827
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1828
- resumeFrom?: string;
1829
- }
1830
-
1831
- /** Contains response data for the createOrUpdate operation. */
1832
- export declare type MachineExtensionsCreateOrUpdateResponse = MachineExtension;
1833
-
1834
- /** Optional parameters. */
1835
- export declare interface MachineExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
1836
- /** Delay to wait until next poll, in milliseconds. */
1837
- updateIntervalInMs?: number;
1838
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1839
- resumeFrom?: string;
1840
- }
1841
-
1842
- /** Optional parameters. */
1843
- export declare interface MachineExtensionsGetOptionalParams extends coreClient.OperationOptions {
1844
- }
1845
-
1846
- /** Contains response data for the get operation. */
1847
- export declare type MachineExtensionsGetResponse = MachineExtension;
1848
-
1849
- /** Optional parameters. */
1850
- export declare interface MachineExtensionsListNextOptionalParams extends coreClient.OperationOptions {
1851
- }
1852
-
1853
- /** Contains response data for the listNext operation. */
1854
- export declare type MachineExtensionsListNextResponse = MachineExtensionsListResult;
1855
-
1856
- /** Optional parameters. */
1857
- export declare interface MachineExtensionsListOptionalParams extends coreClient.OperationOptions {
1858
- /** The expand expression to apply on the operation. */
1859
- expand?: string;
1860
- }
1861
-
1862
- /** Contains response data for the list operation. */
1863
- export declare type MachineExtensionsListResponse = MachineExtensionsListResult;
1864
-
1865
- /** Describes the Machine Extensions List Result. */
1866
- export declare interface MachineExtensionsListResult {
1867
- /** The list of extensions */
1868
- value?: MachineExtension[];
1869
- /** The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions. */
1870
- nextLink?: string;
1871
- }
1872
-
1873
- /** Optional parameters. */
1874
- export declare interface MachineExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
1875
- /** Delay to wait until next poll, in milliseconds. */
1876
- updateIntervalInMs?: number;
1877
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1878
- resumeFrom?: string;
1879
- }
1880
-
1881
- /** Contains response data for the update operation. */
1882
- export declare type MachineExtensionsUpdateResponse = MachineExtension;
1883
-
1884
- /** Describes a Machine Extension Update. */
1885
- export declare interface MachineExtensionUpdate extends ResourcePatch {
1886
- /** How the extension handler should be forced to update even if the extension configuration has not changed. */
1887
- forceUpdateTag?: string;
1888
- /** The name of the extension handler publisher. */
1889
- publisher?: string;
1890
- /** Specifies the type of the extension; an example is "CustomScriptExtension". */
1891
- type?: string;
1892
- /** Specifies the version of the script handler. */
1893
- typeHandlerVersion?: string;
1894
- /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */
1895
- enableAutomaticUpgrade?: boolean;
1896
- /** 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. */
1897
- autoUpgradeMinorVersion?: boolean;
1898
- /** Json formatted public settings for the extension. */
1899
- settings?: Record<string, unknown>;
1900
- /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
1901
- protectedSettings?: Record<string, unknown>;
1902
- }
1903
-
1904
1328
  /** Network Interface model */
1905
1329
  export declare interface NetworkInterface {
1906
1330
  /** Gets or sets the name of the network interface. */
@@ -1957,13 +1381,13 @@ export declare interface NetworkInterfaceUpdate {
1957
1381
  deviceKey?: number;
1958
1382
  }
1959
1383
 
1960
- /** Defines the resource properties. */
1384
+ /** Specifies the network interfaces of the virtual machine. */
1961
1385
  export declare interface NetworkProfile {
1962
1386
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
1963
1387
  networkInterfaces?: NetworkInterface[];
1964
1388
  }
1965
1389
 
1966
- /** Defines the update resource properties. */
1390
+ /** Specifies the network interfaces of the virtual machine. */
1967
1391
  export declare interface NetworkProfileUpdate {
1968
1392
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
1969
1393
  networkInterfaces?: NetworkInterfaceUpdate[];
@@ -2084,28 +1508,23 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
2084
1508
  /** Contains response data for the list operation. */
2085
1509
  export declare type OperationsListResponse = OperationsList;
2086
1510
 
2087
- /** Defines the resource properties. */
2088
- export declare interface OsProfile {
1511
+ /** Specifies the operating system settings for the virtual machine. */
1512
+ export declare interface OsProfileForVMInstance {
2089
1513
  /** Gets or sets computer name. */
2090
1514
  computerName?: string;
2091
1515
  /** Gets or sets administrator username. */
2092
1516
  adminUsername?: string;
2093
- /** Gets or sets administrator password. */
1517
+ /** Sets administrator password. */
2094
1518
  adminPassword?: string;
2095
1519
  /** Gets or sets the guestId. */
2096
1520
  guestId?: string;
2097
- /**
2098
- * Gets or sets a value indicating whether the VM is ready for extension operations.
2099
- * NOTE: This property will not be serialized. It can only be populated by the server.
2100
- */
2101
- readonly allowExtensionOperations?: boolean;
2102
1521
  /** Gets or sets the type of the os. */
2103
1522
  osType?: OsType;
2104
1523
  /**
2105
- * Gets or sets os name.
1524
+ * Gets or sets os sku.
2106
1525
  * NOTE: This property will not be serialized. It can only be populated by the server.
2107
1526
  */
2108
- readonly osName?: string;
1527
+ readonly osSku?: string;
2109
1528
  /**
2110
1529
  * Gets or sets the current running status of VMware Tools running in the guest operating system.
2111
1530
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2121,111 +1540,20 @@ export declare interface OsProfile {
2121
1540
  * NOTE: This property will not be serialized. It can only be populated by the server.
2122
1541
  */
2123
1542
  readonly toolsVersion?: string;
2124
- /** Specifies the windows configuration for update management. */
2125
- windowsConfiguration?: OsProfileWindowsConfiguration;
2126
- /** Specifies the linux configuration for update management. */
2127
- linuxConfiguration?: OsProfileLinuxConfiguration;
2128
- }
2129
-
2130
- /** Specifies the linux configuration for update management. */
2131
- export declare interface OsProfileLinuxConfiguration {
2132
- /** Specifies the assessment mode. */
2133
- assessmentMode?: string;
2134
- /** Specifies the patch mode. */
2135
- patchMode?: string;
2136
- }
2137
-
2138
- /** Defines the os update properties. */
2139
- export declare interface OsProfileUpdate {
2140
- /** Specifies the windows configuration for update management. */
2141
- windowsConfiguration?: OsProfileUpdateWindowsConfiguration;
2142
- /** Specifies the linux configuration for update management. */
2143
- linuxConfiguration?: OsProfileUpdateLinuxConfiguration;
2144
- }
2145
-
2146
- /** Specifies the linux configuration for update management. */
2147
- export declare interface OsProfileUpdateLinuxConfiguration {
2148
- /** Specifies the assessment mode. */
2149
- assessmentMode?: string;
2150
- /** Specifies the patch mode. */
2151
- patchMode?: string;
2152
- }
2153
-
2154
- /** Specifies the windows configuration for update management. */
2155
- export declare interface OsProfileUpdateWindowsConfiguration {
2156
- /** Specifies the assessment mode. */
2157
- assessmentMode?: string;
2158
- /** Specifies the patch mode. */
2159
- patchMode?: string;
2160
- }
2161
-
2162
- /** Specifies the windows configuration for update management. */
2163
- export declare interface OsProfileWindowsConfiguration {
2164
- /** Specifies the assessment mode. */
2165
- assessmentMode?: string;
2166
- /** Specifies the patch mode. */
2167
- patchMode?: string;
2168
- }
2169
-
2170
- /**
2171
- * Defines values for OsType. \
2172
- * {@link KnownOsType} can be used interchangeably with OsType,
2173
- * this enum contains the known values that the service supports.
2174
- * ### Known values supported by the service
2175
- * **Windows** \
2176
- * **Linux** \
2177
- * **Other**
2178
- */
2179
- export declare type OsType = string;
2180
-
2181
- /**
2182
- * Defines values for OsTypeUM. \
2183
- * {@link KnownOsTypeUM} can be used interchangeably with OsTypeUM,
2184
- * this enum contains the known values that the service supports.
2185
- * ### Known values supported by the service
2186
- * **Windows** \
2187
- * **Linux**
2188
- */
2189
- export declare type OsTypeUM = string;
2190
-
2191
- /**
2192
- * Defines values for PatchOperationStartedBy. \
2193
- * {@link KnownPatchOperationStartedBy} can be used interchangeably with PatchOperationStartedBy,
2194
- * this enum contains the known values that the service supports.
2195
- * ### Known values supported by the service
2196
- * **User** \
2197
- * **Platform**
2198
- */
2199
- export declare type PatchOperationStartedBy = string;
2200
-
2201
- /**
2202
- * Defines values for PatchOperationStatus. \
2203
- * {@link KnownPatchOperationStatus} can be used interchangeably with PatchOperationStatus,
2204
- * this enum contains the known values that the service supports.
2205
- * ### Known values supported by the service
2206
- * **Unknown** \
2207
- * **InProgress** \
2208
- * **Failed** \
2209
- * **Succeeded** \
2210
- * **CompletedWithWarnings**
2211
- */
2212
- export declare type PatchOperationStatus = string;
1543
+ }
2213
1544
 
2214
1545
  /**
2215
- * Defines values for PatchServiceUsed. \
2216
- * {@link KnownPatchServiceUsed} can be used interchangeably with PatchServiceUsed,
1546
+ * Defines values for OsType. \
1547
+ * {@link KnownOsType} can be used interchangeably with OsType,
2217
1548
  * this enum contains the known values that the service supports.
2218
1549
  * ### Known values supported by the service
2219
- * **Unknown** \
2220
- * **WU** \
2221
- * **WU_WSUS** \
2222
- * **YUM** \
2223
- * **APT** \
2224
- * **Zypper**
1550
+ * **Windows** \
1551
+ * **Linux** \
1552
+ * **Other**
2225
1553
  */
2226
- export declare type PatchServiceUsed = string;
1554
+ export declare type OsType = string;
2227
1555
 
2228
- /** Defines the resource properties. */
1556
+ /** Specifies the compute and storage placement settings for the virtual machine. */
2229
1557
  export declare interface PlacementProfile {
2230
1558
  /** Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. */
2231
1559
  resourcePoolId?: string;
@@ -2281,7 +1609,7 @@ export declare interface ProxyResource extends Resource {
2281
1609
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
2282
1610
  export declare interface Resource {
2283
1611
  /**
2284
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1612
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
2285
1613
  * NOTE: This property will not be serialized. It can only be populated by the server.
2286
1614
  */
2287
1615
  readonly id?: string;
@@ -2295,6 +1623,11 @@ export declare interface Resource {
2295
1623
  * NOTE: This property will not be serialized. It can only be populated by the server.
2296
1624
  */
2297
1625
  readonly type?: string;
1626
+ /**
1627
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1628
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1629
+ */
1630
+ readonly systemData?: SystemData;
2298
1631
  }
2299
1632
 
2300
1633
  /** Object containing updates for patch operations. */
@@ -2389,21 +1722,51 @@ export declare interface ResourcePool {
2389
1722
  * NOTE: This property will not be serialized. It can only be populated by the server.
2390
1723
  */
2391
1724
  readonly memLimitMB?: number;
1725
+ /**
1726
+ * Gets the used physical memory on the pool in GB.
1727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1728
+ */
1729
+ readonly memOverallUsageGB?: number;
1730
+ /**
1731
+ * Gets the total amount of physical memory on the pool in GB.
1732
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1733
+ */
1734
+ readonly memCapacityGB?: number;
1735
+ /**
1736
+ * Gets the used CPU usage across all cores on the pool in MHz.
1737
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1738
+ */
1739
+ readonly cpuOverallUsageMHz?: number;
1740
+ /**
1741
+ * Gets the max CPU usage across all cores on the pool in MHz.
1742
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1743
+ */
1744
+ readonly cpuCapacityMHz?: number;
2392
1745
  /**
2393
1746
  * Gets the name of the corresponding resource in Kubernetes.
2394
1747
  * NOTE: This property will not be serialized. It can only be populated by the server.
2395
1748
  */
2396
1749
  readonly customResourceName?: string;
1750
+ /**
1751
+ * Gets the datastore ARM ids.
1752
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1753
+ */
1754
+ readonly datastoreIds?: string[];
1755
+ /**
1756
+ * Gets the network ARM ids.
1757
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1758
+ */
1759
+ readonly networkIds?: string[];
2397
1760
  /**
2398
1761
  * The resource status information.
2399
1762
  * NOTE: This property will not be serialized. It can only be populated by the server.
2400
1763
  */
2401
1764
  readonly statuses?: ResourceStatus[];
2402
1765
  /**
2403
- * Gets or sets the provisioning state.
1766
+ * Gets the provisioning state.
2404
1767
  * NOTE: This property will not be serialized. It can only be populated by the server.
2405
1768
  */
2406
- readonly provisioningState?: string;
1769
+ readonly provisioningState?: ProvisioningState;
2407
1770
  }
2408
1771
 
2409
1772
  /** The resource pool inventory item. */
@@ -2433,7 +1796,7 @@ export declare interface ResourcePools {
2433
1796
  * @param resourcePoolName Name of the resourcePool.
2434
1797
  * @param options The options parameters.
2435
1798
  */
2436
- beginCreate(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsCreateOptionalParams): Promise<PollerLike<PollOperationState<ResourcePoolsCreateResponse>, ResourcePoolsCreateResponse>>;
1799
+ beginCreate(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcePoolsCreateResponse>, ResourcePoolsCreateResponse>>;
2437
1800
  /**
2438
1801
  * Create Or Update resourcePool.
2439
1802
  * @param resourceGroupName The Resource Group Name.
@@ -2461,7 +1824,7 @@ export declare interface ResourcePools {
2461
1824
  * @param resourcePoolName Name of the resourcePool.
2462
1825
  * @param options The options parameters.
2463
1826
  */
2464
- beginDelete(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1827
+ beginDelete(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2465
1828
  /**
2466
1829
  * Implements resourcePool DELETE method.
2467
1830
  * @param resourceGroupName The Resource Group Name.
@@ -2484,6 +1847,11 @@ export declare interface ResourcePoolsCreateOptionalParams extends coreClient.Op
2484
1847
  /** Contains response data for the create operation. */
2485
1848
  export declare type ResourcePoolsCreateResponse = ResourcePool;
2486
1849
 
1850
+ /** Defines headers for ResourcePools_delete operation. */
1851
+ export declare interface ResourcePoolsDeleteHeaders {
1852
+ location?: string;
1853
+ }
1854
+
2487
1855
  /** Optional parameters. */
2488
1856
  export declare interface ResourcePoolsDeleteOptionalParams extends coreClient.OperationOptions {
2489
1857
  /** Whether force delete was specified. */
@@ -2598,35 +1966,13 @@ export declare interface SecurityProfile {
2598
1966
  uefiSettings?: UefiSettings;
2599
1967
  }
2600
1968
 
2601
- /**
2602
- * Defines values for StatusLevelTypes. \
2603
- * {@link KnownStatusLevelTypes} can be used interchangeably with StatusLevelTypes,
2604
- * this enum contains the known values that the service supports.
2605
- * ### Known values supported by the service
2606
- * **Info** \
2607
- * **Warning** \
2608
- * **Error**
2609
- */
2610
- export declare type StatusLevelTypes = string;
2611
-
2612
- /**
2613
- * Defines values for StatusTypes. \
2614
- * {@link KnownStatusTypes} can be used interchangeably with StatusTypes,
2615
- * this enum contains the known values that the service supports.
2616
- * ### Known values supported by the service
2617
- * **Connected** \
2618
- * **Disconnected** \
2619
- * **Error**
2620
- */
2621
- export declare type StatusTypes = string;
2622
-
2623
1969
  /** Defines the stop action properties. */
2624
1970
  export declare interface StopVirtualMachineOptions {
2625
1971
  /** 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. */
2626
1972
  skipShutdown?: boolean;
2627
1973
  }
2628
1974
 
2629
- /** Defines the resource properties. */
1975
+ /** Specifies the storage settings for the virtual machine disks. */
2630
1976
  export declare interface StorageProfile {
2631
1977
  /** Gets or sets the list of virtual disks associated with the virtual machine. */
2632
1978
  disks?: VirtualDisk[];
@@ -2637,7 +1983,7 @@ export declare interface StorageProfile {
2637
1983
  readonly scsiControllers?: VirtualScsiController[];
2638
1984
  }
2639
1985
 
2640
- /** Defines the resource update properties. */
1986
+ /** Specifies the storage settings for the virtual machine disks. */
2641
1987
  export declare interface StorageProfileUpdate {
2642
1988
  /** Gets or sets the list of virtual disks associated with the virtual machine. */
2643
1989
  disks?: VirtualDiskUpdate[];
@@ -2734,10 +2080,10 @@ export declare interface VCenter {
2734
2080
  */
2735
2081
  readonly statuses?: ResourceStatus[];
2736
2082
  /**
2737
- * Gets or sets the provisioning state.
2083
+ * Gets the provisioning state.
2738
2084
  * NOTE: This property will not be serialized. It can only be populated by the server.
2739
2085
  */
2740
- readonly provisioningState?: string;
2086
+ readonly provisioningState?: ProvisioningState;
2741
2087
  }
2742
2088
 
2743
2089
  /** Interface representing a VCenters. */
@@ -2759,7 +2105,7 @@ export declare interface VCenters {
2759
2105
  * @param vcenterName Name of the vCenter.
2760
2106
  * @param options The options parameters.
2761
2107
  */
2762
- beginCreate(resourceGroupName: string, vcenterName: string, options?: VCentersCreateOptionalParams): Promise<PollerLike<PollOperationState<VCentersCreateResponse>, VCentersCreateResponse>>;
2108
+ beginCreate(resourceGroupName: string, vcenterName: string, options?: VCentersCreateOptionalParams): Promise<SimplePollerLike<OperationState<VCentersCreateResponse>, VCentersCreateResponse>>;
2763
2109
  /**
2764
2110
  * Create Or Update vCenter.
2765
2111
  * @param resourceGroupName The Resource Group Name.
@@ -2787,7 +2133,7 @@ export declare interface VCenters {
2787
2133
  * @param vcenterName Name of the vCenter.
2788
2134
  * @param options The options parameters.
2789
2135
  */
2790
- beginDelete(resourceGroupName: string, vcenterName: string, options?: VCentersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2136
+ beginDelete(resourceGroupName: string, vcenterName: string, options?: VCentersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2791
2137
  /**
2792
2138
  * Implements vCenter DELETE method.
2793
2139
  * @param resourceGroupName The Resource Group Name.
@@ -2810,6 +2156,11 @@ export declare interface VCentersCreateOptionalParams extends coreClient.Operati
2810
2156
  /** Contains response data for the create operation. */
2811
2157
  export declare type VCentersCreateResponse = VCenter;
2812
2158
 
2159
+ /** Defines headers for VCenters_delete operation. */
2160
+ export declare interface VCentersDeleteHeaders {
2161
+ location?: string;
2162
+ }
2163
+
2813
2164
  /** Optional parameters. */
2814
2165
  export declare interface VCentersDeleteOptionalParams extends coreClient.OperationOptions {
2815
2166
  /** Whether force delete was specified. */
@@ -2930,546 +2281,251 @@ export declare interface VirtualDiskUpdate {
2930
2281
  diskType?: DiskType;
2931
2282
  }
2932
2283
 
2933
- /** Define the virtualMachine. */
2934
- export declare interface VirtualMachine {
2935
- /** Gets or sets the location. */
2936
- location: string;
2284
+ /** Define the virtualMachineInstance. */
2285
+ export declare interface VirtualMachineInstance extends ProxyResource {
2937
2286
  /** Gets or sets the extended location. */
2938
2287
  extendedLocation?: ExtendedLocation;
2939
- /**
2940
- * The system data.
2941
- * NOTE: This property will not be serialized. It can only be populated by the server.
2942
- */
2943
- readonly systemData?: SystemData;
2944
- /** Gets or sets the Resource tags. */
2945
- tags?: {
2946
- [propertyName: string]: string;
2947
- };
2948
- /**
2949
- * Gets or sets the name.
2950
- * NOTE: This property will not be serialized. It can only be populated by the server.
2951
- */
2952
- readonly name?: string;
2953
- /**
2954
- * Gets or sets the Id.
2955
- * NOTE: This property will not be serialized. It can only be populated by the server.
2956
- */
2957
- readonly id?: string;
2958
- /**
2959
- * Gets or sets the type of the resource.
2960
- * NOTE: This property will not be serialized. It can only be populated by the server.
2961
- */
2962
- readonly type?: string;
2963
- /** 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. */
2964
- kind?: string;
2965
- /** The identity of the resource. */
2966
- identity?: Identity;
2967
- /**
2968
- * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will
2969
- * deploy.
2970
- */
2971
- resourcePoolId?: string;
2972
- /** Gets or sets the ARM Id of the template resource to deploy the virtual machine. */
2973
- templateId?: string;
2974
- /** Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. */
2975
- vCenterId?: string;
2976
2288
  /** Placement properties. */
2977
2289
  placementProfile?: PlacementProfile;
2978
2290
  /** OS properties. */
2979
- osProfile?: OsProfile;
2291
+ osProfile?: OsProfileForVMInstance;
2980
2292
  /** Hardware properties. */
2981
2293
  hardwareProfile?: HardwareProfile;
2982
2294
  /** Network properties. */
2983
2295
  networkProfile?: NetworkProfile;
2984
2296
  /** Storage properties. */
2985
2297
  storageProfile?: StorageProfile;
2986
- /** Guest agent status properties. */
2987
- guestAgentProfile?: GuestAgentProfile;
2988
2298
  /** Gets the security profile. */
2989
2299
  securityProfile?: SecurityProfile;
2990
- /** Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. */
2991
- moRefId?: string;
2992
- /** Gets or sets the inventory Item ID for the virtual machine. */
2993
- inventoryItemId?: string;
2994
- /**
2995
- * Gets or sets the vCenter Managed Object name for the virtual machine.
2996
- * NOTE: This property will not be serialized. It can only be populated by the server.
2997
- */
2998
- readonly moName?: string;
2999
- /**
3000
- * Gets or sets the folder path of the vm.
3001
- * NOTE: This property will not be serialized. It can only be populated by the server.
3002
- */
3003
- readonly folderPath?: string;
3004
- /**
3005
- * Gets or sets the instance uuid of the vm.
3006
- * NOTE: This property will not be serialized. It can only be populated by the server.
3007
- */
3008
- readonly instanceUuid?: string;
3009
- /** Gets or sets the SMBIOS UUID of the vm. */
3010
- smbiosUuid?: string;
3011
- /** Firmware type */
3012
- firmwareType?: FirmwareType;
2300
+ /** Gets the infrastructure profile. */
2301
+ infrastructureProfile?: InfrastructureProfile;
3013
2302
  /**
3014
2303
  * Gets the power state of the virtual machine.
3015
2304
  * NOTE: This property will not be serialized. It can only be populated by the server.
3016
2305
  */
3017
2306
  readonly powerState?: string;
3018
- /**
3019
- * Gets the name of the corresponding resource in Kubernetes.
3020
- * NOTE: This property will not be serialized. It can only be populated by the server.
3021
- */
3022
- readonly customResourceName?: string;
3023
- /**
3024
- * Gets or sets a unique identifier for this resource.
3025
- * NOTE: This property will not be serialized. It can only be populated by the server.
3026
- */
3027
- readonly uuid?: string;
3028
2307
  /**
3029
2308
  * The resource status information.
3030
2309
  * NOTE: This property will not be serialized. It can only be populated by the server.
3031
2310
  */
3032
2311
  readonly statuses?: ResourceStatus[];
3033
2312
  /**
3034
- * Gets or sets the provisioning state.
3035
- * NOTE: This property will not be serialized. It can only be populated by the server.
3036
- */
3037
- readonly provisioningState?: string;
3038
- /**
3039
- * Gets or sets a unique identifier for the vm resource.
3040
- * NOTE: This property will not be serialized. It can only be populated by the server.
3041
- */
3042
- readonly vmId?: string;
3043
- }
3044
-
3045
- /** Describes the properties of an AssessPatches result. */
3046
- export declare interface VirtualMachineAssessPatchesResult {
3047
- /**
3048
- * 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."
3049
- * NOTE: This property will not be serialized. It can only be populated by the server.
3050
- */
3051
- readonly status?: PatchOperationStatus;
3052
- /**
3053
- * The activity ID of the operation that produced this result.
3054
- * NOTE: This property will not be serialized. It can only be populated by the server.
3055
- */
3056
- readonly assessmentActivityId?: string;
3057
- /**
3058
- * 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.
3059
- * NOTE: This property will not be serialized. It can only be populated by the server.
3060
- */
3061
- readonly rebootPending?: boolean;
3062
- /** Summarization of patches available for installation on the machine by classification. */
3063
- availablePatchCountByClassification?: AvailablePatchCountByClassification;
3064
- /**
3065
- * The UTC timestamp when the operation began.
3066
- * NOTE: This property will not be serialized. It can only be populated by the server.
3067
- */
3068
- readonly startDateTime?: Date;
3069
- /**
3070
- * The UTC timestamp when the operation finished.
3071
- * NOTE: This property will not be serialized. It can only be populated by the server.
3072
- */
3073
- readonly lastModifiedDateTime?: Date;
3074
- /**
3075
- * Indicates if operation was triggered by user or by platform.
3076
- * NOTE: This property will not be serialized. It can only be populated by the server.
3077
- */
3078
- readonly startedBy?: PatchOperationStartedBy;
3079
- /**
3080
- * Specifies the patch service used for the operation.
3081
- * NOTE: This property will not be serialized. It can only be populated by the server.
3082
- */
3083
- readonly patchServiceUsed?: PatchServiceUsed;
3084
- /**
3085
- * The operating system type of the machine.
3086
- * NOTE: This property will not be serialized. It can only be populated by the server.
3087
- */
3088
- readonly osType?: OsTypeUM;
3089
- /**
3090
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
3091
- * NOTE: This property will not be serialized. It can only be populated by the server.
3092
- */
3093
- readonly errorDetails?: ErrorDetail;
3094
- }
3095
-
3096
- /** Input for InstallPatches as directly received by the API */
3097
- export declare interface VirtualMachineInstallPatchesParameters {
3098
- /** 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) */
3099
- maximumDuration: string;
3100
- /** Defines when it is acceptable to reboot a VM during a software update operation. */
3101
- rebootSetting: VMGuestPatchRebootSetting;
3102
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
3103
- windowsParameters?: WindowsParameters;
3104
- /** Input for InstallPatches on a Linux VM, as directly received by the API */
3105
- linuxParameters?: LinuxParameters;
3106
- }
3107
-
3108
- /** The result summary of an installation operation. */
3109
- export declare interface VirtualMachineInstallPatchesResult {
3110
- /**
3111
- * 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."
3112
- * NOTE: This property will not be serialized. It can only be populated by the server.
3113
- */
3114
- readonly status?: PatchOperationStatus;
3115
- /**
3116
- * The activity ID of the operation that produced this result.
3117
- * NOTE: This property will not be serialized. It can only be populated by the server.
3118
- */
3119
- readonly installationActivityId?: string;
3120
- /**
3121
- * The reboot state of the VM following completion of the operation.
3122
- * NOTE: This property will not be serialized. It can only be populated by the server.
3123
- */
3124
- readonly rebootStatus?: VMGuestPatchRebootStatus;
3125
- /**
3126
- * Whether the operation ran out of time before it completed all its intended actions.
3127
- * NOTE: This property will not be serialized. It can only be populated by the server.
3128
- */
3129
- readonly maintenanceWindowExceeded?: boolean;
3130
- /**
3131
- * The number of patches that were not installed due to the user blocking their installation.
3132
- * NOTE: This property will not be serialized. It can only be populated by the server.
3133
- */
3134
- readonly excludedPatchCount?: number;
3135
- /**
3136
- * The number of patches that were detected as available for install, but did not meet the operation's criteria.
3137
- * NOTE: This property will not be serialized. It can only be populated by the server.
3138
- */
3139
- readonly notSelectedPatchCount?: number;
3140
- /**
3141
- * 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.
3142
- * NOTE: This property will not be serialized. It can only be populated by the server.
3143
- */
3144
- readonly pendingPatchCount?: number;
3145
- /**
3146
- * The number of patches successfully installed.
3147
- * NOTE: This property will not be serialized. It can only be populated by the server.
3148
- */
3149
- readonly installedPatchCount?: number;
3150
- /**
3151
- * The number of patches that could not be installed due to some issue. See errors for details.
3152
- * NOTE: This property will not be serialized. It can only be populated by the server.
3153
- */
3154
- readonly failedPatchCount?: number;
3155
- /**
3156
- * The UTC timestamp when the operation began.
3157
- * NOTE: This property will not be serialized. It can only be populated by the server.
3158
- */
3159
- readonly startDateTime?: Date;
3160
- /**
3161
- * The UTC timestamp when the operation finished.
3162
- * NOTE: This property will not be serialized. It can only be populated by the server.
3163
- */
3164
- readonly lastModifiedDateTime?: Date;
3165
- /**
3166
- * Indicates if operation was triggered by user or by platform.
3167
- * NOTE: This property will not be serialized. It can only be populated by the server.
3168
- */
3169
- readonly startedBy?: PatchOperationStartedBy;
3170
- /**
3171
- * Specifies the patch service used for the operation.
3172
- * NOTE: This property will not be serialized. It can only be populated by the server.
3173
- */
3174
- readonly patchServiceUsed?: PatchServiceUsed;
3175
- /**
3176
- * The operating system type of the machine.
3177
- * NOTE: This property will not be serialized. It can only be populated by the server.
3178
- */
3179
- readonly osType?: OsTypeUM;
3180
- /**
3181
- * The errors that were encountered during execution of the operation. The details array contains the list of them.
3182
- * NOTE: This property will not be serialized. It can only be populated by the server.
3183
- */
3184
- readonly errorDetails?: ErrorDetail;
3185
- }
3186
-
3187
- /** The VM inventory item. */
3188
- export declare interface VirtualMachineInventoryItem extends InventoryItemProperties {
3189
- /** Polymorphic discriminator, which specifies the different types this object can be */
3190
- inventoryType: "VirtualMachine";
3191
- /** Gets or sets the type of the os. */
3192
- osType?: OsType;
3193
- /** Gets or sets os name. */
3194
- osName?: string;
3195
- /** Gets or sets the nic ip addresses. */
3196
- ipAddresses?: string[];
3197
- /** Gets or sets the folder path of the vm. */
3198
- folderPath?: string;
3199
- /** Host inventory resource details. */
3200
- host?: InventoryItemDetails;
3201
- /** ResourcePool inventory resource details. */
3202
- resourcePool?: InventoryItemDetails;
3203
- /** Gets or sets the instance uuid of the vm. */
3204
- instanceUuid?: string;
3205
- /** Gets or sets the SMBIOS UUID of the vm. */
3206
- smbiosUuid?: string;
3207
- /**
3208
- * Gets the power state of the virtual machine.
3209
- * NOTE: This property will not be serialized. It can only be populated by the server.
3210
- */
3211
- readonly powerState?: string;
3212
- /**
3213
- * Gets or sets the current running status of VMware Tools running in the guest operating system.
3214
- * NOTE: This property will not be serialized. It can only be populated by the server.
3215
- */
3216
- readonly toolsRunningStatus?: string;
3217
- /**
3218
- * Gets or sets the current version status of VMware Tools installed in the guest operating system.
3219
- * NOTE: This property will not be serialized. It can only be populated by the server.
3220
- */
3221
- readonly toolsVersionStatus?: string;
3222
- /**
3223
- * Gets or sets the current version of VMware Tools.
3224
- * NOTE: This property will not be serialized. It can only be populated by the server.
3225
- */
3226
- readonly toolsVersion?: string;
3227
- }
3228
-
3229
- /** Interface representing a VirtualMachines. */
3230
- export declare interface VirtualMachines {
3231
- /**
3232
- * List of virtualMachines in a subscription.
3233
- * @param options The options parameters.
3234
- */
3235
- list(options?: VirtualMachinesListOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
3236
- /**
3237
- * List of virtualMachines in a resource group.
3238
- * @param resourceGroupName The Resource Group Name.
3239
- * @param options The options parameters.
3240
- */
3241
- listByResourceGroup(resourceGroupName: string, options?: VirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
3242
- /**
3243
- * The operation to assess patches on a vSphere VMware machine identity in Azure.
3244
- * @param resourceGroupName The name of the resource group.
3245
- * @param name The name of the vSphere VMware machine.
3246
- * @param options The options parameters.
3247
- */
3248
- beginAssessPatches(resourceGroupName: string, name: string, options?: VirtualMachinesAssessPatchesOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesAssessPatchesResponse>, VirtualMachinesAssessPatchesResponse>>;
3249
- /**
3250
- * The operation to assess patches on a vSphere VMware machine identity in Azure.
3251
- * @param resourceGroupName The name of the resource group.
3252
- * @param name The name of the vSphere VMware machine.
3253
- * @param options The options parameters.
2313
+ * Gets the provisioning state.
2314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3254
2315
  */
3255
- beginAssessPatchesAndWait(resourceGroupName: string, name: string, options?: VirtualMachinesAssessPatchesOptionalParams): Promise<VirtualMachinesAssessPatchesResponse>;
2316
+ readonly provisioningState?: ProvisioningState;
3256
2317
  /**
3257
- * The operation to install patches on a vSphere VMware machine identity in Azure.
3258
- * @param resourceGroupName The name of the resource group.
3259
- * @param name The name of the vSphere VMware machine.
3260
- * @param installPatchesInput Input for InstallPatches as directly received by the API
3261
- * @param options The options parameters.
2318
+ * Gets or sets a unique identifier for the vm resource.
2319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3262
2320
  */
3263
- beginInstallPatches(resourceGroupName: string, name: string, installPatchesInput: VirtualMachineInstallPatchesParameters, options?: VirtualMachinesInstallPatchesOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesInstallPatchesResponse>, VirtualMachinesInstallPatchesResponse>>;
2321
+ readonly resourceUid?: string;
2322
+ }
2323
+
2324
+ /** Interface representing a VirtualMachineInstances. */
2325
+ export declare interface VirtualMachineInstances {
3264
2326
  /**
3265
- * The operation to install patches on a vSphere VMware machine identity in Azure.
3266
- * @param resourceGroupName The name of the resource group.
3267
- * @param name The name of the vSphere VMware machine.
3268
- * @param installPatchesInput Input for InstallPatches as directly received by the API
2327
+ * Lists all of the virtual machine instances within the specified parent resource.
2328
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2329
+ * machine resource to be extended.
3269
2330
  * @param options The options parameters.
3270
2331
  */
3271
- beginInstallPatchesAndWait(resourceGroupName: string, name: string, installPatchesInput: VirtualMachineInstallPatchesParameters, options?: VirtualMachinesInstallPatchesOptionalParams): Promise<VirtualMachinesInstallPatchesResponse>;
2332
+ list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineInstance>;
3272
2333
  /**
3273
- * Create Or Update virtual machine.
3274
- * @param resourceGroupName The Resource Group Name.
3275
- * @param virtualMachineName Name of the virtual machine resource.
2334
+ * The operation to create or update a virtual machine instance. Please note some properties can be set
2335
+ * only during virtual machine instance creation.
2336
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2337
+ * machine resource to be extended.
3276
2338
  * @param options The options parameters.
3277
2339
  */
3278
- beginCreate(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesCreateResponse>, VirtualMachinesCreateResponse>>;
2340
+ beginCreateOrUpdate(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesCreateOrUpdateResponse>, VirtualMachineInstancesCreateOrUpdateResponse>>;
3279
2341
  /**
3280
- * Create Or Update virtual machine.
3281
- * @param resourceGroupName The Resource Group Name.
3282
- * @param virtualMachineName Name of the virtual machine resource.
2342
+ * The operation to create or update a virtual machine instance. Please note some properties can be set
2343
+ * only during virtual machine instance creation.
2344
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2345
+ * machine resource to be extended.
3283
2346
  * @param options The options parameters.
3284
2347
  */
3285
- beginCreateAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateOptionalParams): Promise<VirtualMachinesCreateResponse>;
2348
+ beginCreateOrUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<VirtualMachineInstancesCreateOrUpdateResponse>;
3286
2349
  /**
3287
- * Implements virtual machine GET method.
3288
- * @param resourceGroupName The Resource Group Name.
3289
- * @param virtualMachineName Name of the virtual machine resource.
2350
+ * Retrieves information about a virtual machine instance.
2351
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2352
+ * machine resource to be extended.
3290
2353
  * @param options The options parameters.
3291
2354
  */
3292
- get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
2355
+ get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise<VirtualMachineInstancesGetResponse>;
3293
2356
  /**
3294
- * API to update certain properties of the virtual machine resource.
3295
- * @param resourceGroupName The Resource Group Name.
3296
- * @param virtualMachineName Name of the virtual machine resource.
2357
+ * The operation to update a virtual machine instance.
2358
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2359
+ * machine resource to be extended.
3297
2360
  * @param options The options parameters.
3298
2361
  */
3299
- beginUpdate(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesUpdateResponse>, VirtualMachinesUpdateResponse>>;
2362
+ beginUpdate(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesUpdateResponse>, VirtualMachineInstancesUpdateResponse>>;
3300
2363
  /**
3301
- * API to update certain properties of the virtual machine resource.
3302
- * @param resourceGroupName The Resource Group Name.
3303
- * @param virtualMachineName Name of the virtual machine resource.
2364
+ * The operation to update a virtual machine instance.
2365
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2366
+ * machine resource to be extended.
3304
2367
  * @param options The options parameters.
3305
2368
  */
3306
- beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesUpdateOptionalParams): Promise<VirtualMachinesUpdateResponse>;
2369
+ beginUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<VirtualMachineInstancesUpdateResponse>;
3307
2370
  /**
3308
- * Implements virtual machine DELETE method.
3309
- * @param resourceGroupName The Resource Group Name.
3310
- * @param virtualMachineName Name of the virtual machine resource.
2371
+ * The operation to delete a virtual machine instance.
2372
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2373
+ * machine resource to be extended.
3311
2374
  * @param options The options parameters.
3312
2375
  */
3313
- beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2376
+ beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteResponse>, VirtualMachineInstancesDeleteResponse>>;
3314
2377
  /**
3315
- * Implements virtual machine DELETE method.
3316
- * @param resourceGroupName The Resource Group Name.
3317
- * @param virtualMachineName Name of the virtual machine resource.
2378
+ * The operation to delete a virtual machine instance.
2379
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2380
+ * machine resource to be extended.
3318
2381
  * @param options The options parameters.
3319
2382
  */
3320
- beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<void>;
2383
+ beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<VirtualMachineInstancesDeleteResponse>;
3321
2384
  /**
3322
- * Stop virtual machine.
3323
- * @param resourceGroupName The Resource Group Name.
3324
- * @param virtualMachineName Name of the virtual machine resource.
2385
+ * The operation to power off (stop) a virtual machine instance.
2386
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2387
+ * machine resource to be extended.
3325
2388
  * @param options The options parameters.
3326
2389
  */
3327
- beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2390
+ beginStop(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStopResponse>, VirtualMachineInstancesStopResponse>>;
3328
2391
  /**
3329
- * Stop virtual machine.
3330
- * @param resourceGroupName The Resource Group Name.
3331
- * @param virtualMachineName Name of the virtual machine resource.
2392
+ * The operation to power off (stop) a virtual machine instance.
2393
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2394
+ * machine resource to be extended.
3332
2395
  * @param options The options parameters.
3333
2396
  */
3334
- beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
2397
+ beginStopAndWait(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<VirtualMachineInstancesStopResponse>;
3335
2398
  /**
3336
- * Start virtual machine.
3337
- * @param resourceGroupName The Resource Group Name.
3338
- * @param virtualMachineName Name of the virtual machine resource.
2399
+ * The operation to start a virtual machine instance.
2400
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2401
+ * machine resource to be extended.
3339
2402
  * @param options The options parameters.
3340
2403
  */
3341
- beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2404
+ beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStartResponse>, VirtualMachineInstancesStartResponse>>;
3342
2405
  /**
3343
- * Start virtual machine.
3344
- * @param resourceGroupName The Resource Group Name.
3345
- * @param virtualMachineName Name of the virtual machine resource.
2406
+ * The operation to start a virtual machine instance.
2407
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2408
+ * machine resource to be extended.
3346
2409
  * @param options The options parameters.
3347
2410
  */
3348
- beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
2411
+ beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<VirtualMachineInstancesStartResponse>;
3349
2412
  /**
3350
- * Restart virtual machine.
3351
- * @param resourceGroupName The Resource Group Name.
3352
- * @param virtualMachineName Name of the virtual machine resource.
2413
+ * The operation to restart a virtual machine instance.
2414
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2415
+ * machine resource to be extended.
3353
2416
  * @param options The options parameters.
3354
2417
  */
3355
- beginRestart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2418
+ beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestartResponse>, VirtualMachineInstancesRestartResponse>>;
3356
2419
  /**
3357
- * Restart virtual machine.
3358
- * @param resourceGroupName The Resource Group Name.
3359
- * @param virtualMachineName Name of the virtual machine resource.
2420
+ * The operation to restart a virtual machine instance.
2421
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
2422
+ * machine resource to be extended.
3360
2423
  * @param options The options parameters.
3361
2424
  */
3362
- beginRestartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<void>;
2425
+ beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<VirtualMachineInstancesRestartResponse>;
3363
2426
  }
3364
2427
 
3365
2428
  /** Optional parameters. */
3366
- export declare interface VirtualMachinesAssessPatchesOptionalParams extends coreClient.OperationOptions {
2429
+ export declare interface VirtualMachineInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2430
+ /** Request payload. */
2431
+ body?: VirtualMachineInstance;
3367
2432
  /** Delay to wait until next poll, in milliseconds. */
3368
2433
  updateIntervalInMs?: number;
3369
2434
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3370
2435
  resumeFrom?: string;
3371
2436
  }
3372
2437
 
3373
- /** Contains response data for the assessPatches operation. */
3374
- export declare type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult;
2438
+ /** Contains response data for the createOrUpdate operation. */
2439
+ export declare type VirtualMachineInstancesCreateOrUpdateResponse = VirtualMachineInstance;
3375
2440
 
3376
- /** Optional parameters. */
3377
- export declare interface VirtualMachinesCreateOptionalParams extends coreClient.OperationOptions {
3378
- /** Request payload. */
3379
- body?: VirtualMachine;
3380
- /** Delay to wait until next poll, in milliseconds. */
3381
- updateIntervalInMs?: number;
3382
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3383
- resumeFrom?: string;
2441
+ /** Defines headers for VirtualMachineInstances_delete operation. */
2442
+ export declare interface VirtualMachineInstancesDeleteHeaders {
2443
+ location?: string;
3384
2444
  }
3385
2445
 
3386
- /** Contains response data for the create operation. */
3387
- export declare type VirtualMachinesCreateResponse = VirtualMachine;
3388
-
3389
2446
  /** Optional parameters. */
3390
- export declare interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
2447
+ export declare interface VirtualMachineInstancesDeleteOptionalParams extends coreClient.OperationOptions {
3391
2448
  /** Whether force delete was specified. */
3392
2449
  force?: boolean;
3393
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
3394
- retain?: boolean;
2450
+ /** Whether to delete the VM from the vCenter. */
2451
+ deleteFromHost?: boolean;
3395
2452
  /** Delay to wait until next poll, in milliseconds. */
3396
2453
  updateIntervalInMs?: number;
3397
2454
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3398
2455
  resumeFrom?: string;
3399
2456
  }
3400
2457
 
3401
- /** Optional parameters. */
3402
- export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
3403
- }
3404
-
3405
- /** Contains response data for the get operation. */
3406
- export declare type VirtualMachinesGetResponse = VirtualMachine;
2458
+ /** Contains response data for the delete operation. */
2459
+ export declare type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders;
3407
2460
 
3408
2461
  /** Optional parameters. */
3409
- export declare interface VirtualMachinesInstallPatchesOptionalParams extends coreClient.OperationOptions {
3410
- /** Delay to wait until next poll, in milliseconds. */
3411
- updateIntervalInMs?: number;
3412
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3413
- resumeFrom?: string;
2462
+ export declare interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions {
3414
2463
  }
3415
2464
 
3416
- /** Contains response data for the installPatches operation. */
3417
- export declare type VirtualMachinesInstallPatchesResponse = VirtualMachineInstallPatchesResult;
2465
+ /** Contains response data for the get operation. */
2466
+ export declare type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
3418
2467
 
3419
- /** List of VirtualMachines. */
3420
- export declare interface VirtualMachinesList {
2468
+ /** List of VirtualMachineInstances. */
2469
+ export declare interface VirtualMachineInstancesList {
3421
2470
  /** Url to follow for getting next page of VirtualMachines. */
3422
2471
  nextLink?: string;
3423
2472
  /** Array of VirtualMachines */
3424
- value: VirtualMachine[];
3425
- }
3426
-
3427
- /** Optional parameters. */
3428
- export declare interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3429
- }
3430
-
3431
- /** Contains response data for the listByResourceGroupNext operation. */
3432
- export declare type VirtualMachinesListByResourceGroupNextResponse = VirtualMachinesList;
3433
-
3434
- /** Optional parameters. */
3435
- export declare interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2473
+ value: VirtualMachineInstance[];
3436
2474
  }
3437
2475
 
3438
- /** Contains response data for the listByResourceGroup operation. */
3439
- export declare type VirtualMachinesListByResourceGroupResponse = VirtualMachinesList;
3440
-
3441
2476
  /** Optional parameters. */
3442
- export declare interface VirtualMachinesListNextOptionalParams extends coreClient.OperationOptions {
2477
+ export declare interface VirtualMachineInstancesListNextOptionalParams extends coreClient.OperationOptions {
3443
2478
  }
3444
2479
 
3445
2480
  /** Contains response data for the listNext operation. */
3446
- export declare type VirtualMachinesListNextResponse = VirtualMachinesList;
2481
+ export declare type VirtualMachineInstancesListNextResponse = VirtualMachineInstancesList;
3447
2482
 
3448
2483
  /** Optional parameters. */
3449
- export declare interface VirtualMachinesListOptionalParams extends coreClient.OperationOptions {
2484
+ export declare interface VirtualMachineInstancesListOptionalParams extends coreClient.OperationOptions {
3450
2485
  }
3451
2486
 
3452
2487
  /** Contains response data for the list operation. */
3453
- export declare type VirtualMachinesListResponse = VirtualMachinesList;
2488
+ export declare type VirtualMachineInstancesListResponse = VirtualMachineInstancesList;
2489
+
2490
+ /** Defines headers for VirtualMachineInstances_restart operation. */
2491
+ export declare interface VirtualMachineInstancesRestartHeaders {
2492
+ location?: string;
2493
+ }
3454
2494
 
3455
2495
  /** Optional parameters. */
3456
- export declare interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions {
2496
+ export declare interface VirtualMachineInstancesRestartOptionalParams extends coreClient.OperationOptions {
3457
2497
  /** Delay to wait until next poll, in milliseconds. */
3458
2498
  updateIntervalInMs?: number;
3459
2499
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3460
2500
  resumeFrom?: string;
3461
2501
  }
3462
2502
 
2503
+ /** Contains response data for the restart operation. */
2504
+ export declare type VirtualMachineInstancesRestartResponse = VirtualMachineInstancesRestartHeaders;
2505
+
2506
+ /** Defines headers for VirtualMachineInstances_start operation. */
2507
+ export declare interface VirtualMachineInstancesStartHeaders {
2508
+ location?: string;
2509
+ }
2510
+
3463
2511
  /** Optional parameters. */
3464
- export declare interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
2512
+ export declare interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions {
3465
2513
  /** Delay to wait until next poll, in milliseconds. */
3466
2514
  updateIntervalInMs?: number;
3467
2515
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3468
2516
  resumeFrom?: string;
3469
2517
  }
3470
2518
 
2519
+ /** Contains response data for the start operation. */
2520
+ export declare type VirtualMachineInstancesStartResponse = VirtualMachineInstancesStartHeaders;
2521
+
2522
+ /** Defines headers for VirtualMachineInstances_stop operation. */
2523
+ export declare interface VirtualMachineInstancesStopHeaders {
2524
+ location?: string;
2525
+ }
2526
+
3471
2527
  /** Optional parameters. */
3472
- export declare interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
2528
+ export declare interface VirtualMachineInstancesStopOptionalParams extends coreClient.OperationOptions {
3473
2529
  /** Virtualmachine stop action payload. */
3474
2530
  body?: StopVirtualMachineOptions;
3475
2531
  /** Delay to wait until next poll, in milliseconds. */
@@ -3478,10 +2534,18 @@ export declare interface VirtualMachinesStopOptionalParams extends coreClient.Op
3478
2534
  resumeFrom?: string;
3479
2535
  }
3480
2536
 
2537
+ /** Contains response data for the stop operation. */
2538
+ export declare type VirtualMachineInstancesStopResponse = VirtualMachineInstancesStopHeaders;
2539
+
2540
+ /** Defines headers for VirtualMachineInstances_update operation. */
2541
+ export declare interface VirtualMachineInstancesUpdateHeaders {
2542
+ location?: string;
2543
+ }
2544
+
3481
2545
  /** Optional parameters. */
3482
- export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
2546
+ export declare interface VirtualMachineInstancesUpdateOptionalParams extends coreClient.OperationOptions {
3483
2547
  /** Resource properties to update. */
3484
- body?: VirtualMachineUpdate;
2548
+ body?: VirtualMachineInstanceUpdate;
3485
2549
  /** Delay to wait until next poll, in milliseconds. */
3486
2550
  updateIntervalInMs?: number;
3487
2551
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -3489,7 +2553,61 @@ export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.
3489
2553
  }
3490
2554
 
3491
2555
  /** Contains response data for the update operation. */
3492
- export declare type VirtualMachinesUpdateResponse = VirtualMachine;
2556
+ export declare type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance;
2557
+
2558
+ /** Defines the virtualMachineInstanceUpdate. */
2559
+ export declare interface VirtualMachineInstanceUpdate {
2560
+ /** Specifies the hardware settings for the virtual machine. */
2561
+ hardwareProfile?: HardwareProfile;
2562
+ /** Specifies the storage settings for the virtual machine disks. */
2563
+ storageProfile?: StorageProfileUpdate;
2564
+ /** Specifies the network interfaces of the virtual machine. */
2565
+ networkProfile?: NetworkProfileUpdate;
2566
+ }
2567
+
2568
+ /** The VM inventory item. */
2569
+ export declare interface VirtualMachineInventoryItem extends InventoryItemProperties {
2570
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2571
+ inventoryType: "VirtualMachine";
2572
+ /** Gets or sets the type of the os. */
2573
+ osType?: OsType;
2574
+ /** Gets or sets os name. */
2575
+ osName?: string;
2576
+ /** Gets or sets the nic ip addresses. */
2577
+ ipAddresses?: string[];
2578
+ /** Gets or sets the folder path of the vm. */
2579
+ folderPath?: string;
2580
+ /** Host inventory resource details. */
2581
+ host?: InventoryItemDetails;
2582
+ /** ResourcePool inventory resource details. */
2583
+ resourcePool?: InventoryItemDetails;
2584
+ /** Cluster inventory resource details. */
2585
+ cluster?: InventoryItemDetails;
2586
+ /** Gets or sets the instance uuid of the vm. */
2587
+ instanceUuid?: string;
2588
+ /** Gets or sets the SMBIOS UUID of the vm. */
2589
+ smbiosUuid?: string;
2590
+ /**
2591
+ * Gets the power state of the virtual machine.
2592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2593
+ */
2594
+ readonly powerState?: string;
2595
+ /**
2596
+ * Gets or sets the current running status of VMware Tools running in the guest operating system.
2597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2598
+ */
2599
+ readonly toolsRunningStatus?: string;
2600
+ /**
2601
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
2602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2603
+ */
2604
+ readonly toolsVersionStatus?: string;
2605
+ /**
2606
+ * Gets or sets the current version of VMware Tools.
2607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2608
+ */
2609
+ readonly toolsVersion?: string;
2610
+ }
3493
2611
 
3494
2612
  /** Define the virtualMachineTemplate. */
3495
2613
  export declare interface VirtualMachineTemplate {
@@ -3609,10 +2727,10 @@ export declare interface VirtualMachineTemplate {
3609
2727
  */
3610
2728
  readonly statuses?: ResourceStatus[];
3611
2729
  /**
3612
- * Gets or sets the provisioning state.
2730
+ * Gets the provisioning state.
3613
2731
  * NOTE: This property will not be serialized. It can only be populated by the server.
3614
2732
  */
3615
- readonly provisioningState?: string;
2733
+ readonly provisioningState?: ProvisioningState;
3616
2734
  }
3617
2735
 
3618
2736
  /** The VM Template inventory item. */
@@ -3632,6 +2750,16 @@ export declare interface VirtualMachineTemplateInventoryItem extends InventoryIt
3632
2750
  osType?: OsType;
3633
2751
  /** Gets or sets os name. */
3634
2752
  osName?: string;
2753
+ /**
2754
+ * Gets or sets the current version status of VMware Tools installed in the guest operating system.
2755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2756
+ */
2757
+ readonly toolsVersionStatus?: string;
2758
+ /**
2759
+ * Gets or sets the current version of VMware Tools.
2760
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2761
+ */
2762
+ readonly toolsVersion?: string;
3635
2763
  /** Gets or sets the folder path of the template. */
3636
2764
  folderPath?: string;
3637
2765
  }
@@ -3655,7 +2783,7 @@ export declare interface VirtualMachineTemplates {
3655
2783
  * @param virtualMachineTemplateName Name of the virtual machine template resource.
3656
2784
  * @param options The options parameters.
3657
2785
  */
3658
- beginCreate(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachineTemplatesCreateResponse>, VirtualMachineTemplatesCreateResponse>>;
2786
+ beginCreate(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplatesCreateResponse>, VirtualMachineTemplatesCreateResponse>>;
3659
2787
  /**
3660
2788
  * Create Or Update virtual machine template.
3661
2789
  * @param resourceGroupName The Resource Group Name.
@@ -3683,7 +2811,7 @@ export declare interface VirtualMachineTemplates {
3683
2811
  * @param virtualMachineTemplateName Name of the virtual machine template resource.
3684
2812
  * @param options The options parameters.
3685
2813
  */
3686
- beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2814
+ beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
3687
2815
  /**
3688
2816
  * Implements virtual machine template DELETE method.
3689
2817
  * @param resourceGroupName The Resource Group Name.
@@ -3706,6 +2834,11 @@ export declare interface VirtualMachineTemplatesCreateOptionalParams extends cor
3706
2834
  /** Contains response data for the create operation. */
3707
2835
  export declare type VirtualMachineTemplatesCreateResponse = VirtualMachineTemplate;
3708
2836
 
2837
+ /** Defines headers for VirtualMachineTemplates_delete operation. */
2838
+ export declare interface VirtualMachineTemplatesDeleteHeaders {
2839
+ location?: string;
2840
+ }
2841
+
3709
2842
  /** Optional parameters. */
3710
2843
  export declare interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions {
3711
2844
  /** Whether force delete was specified. */
@@ -3768,24 +2901,6 @@ export declare interface VirtualMachineTemplatesUpdateOptionalParams extends cor
3768
2901
  /** Contains response data for the update operation. */
3769
2902
  export declare type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
3770
2903
 
3771
- /** Defines the virtualMachineUpdate. */
3772
- export declare interface VirtualMachineUpdate {
3773
- /** Gets or sets the Resource tags. */
3774
- tags?: {
3775
- [propertyName: string]: string;
3776
- };
3777
- /** The identity of the resource. */
3778
- identity?: Identity;
3779
- /** Defines the resource properties. */
3780
- hardwareProfile?: HardwareProfile;
3781
- /** OS properties. */
3782
- osProfile?: OsProfileUpdate;
3783
- /** Defines the resource update properties. */
3784
- storageProfile?: StorageProfileUpdate;
3785
- /** Defines the update resource properties. */
3786
- networkProfile?: NetworkProfileUpdate;
3787
- }
3788
-
3789
2904
  /** Define the virtualNetwork. */
3790
2905
  export declare interface VirtualNetwork {
3791
2906
  /** Gets or sets the location. */
@@ -3845,10 +2960,10 @@ export declare interface VirtualNetwork {
3845
2960
  */
3846
2961
  readonly statuses?: ResourceStatus[];
3847
2962
  /**
3848
- * Gets or sets the provisioning state.
2963
+ * Gets the provisioning state.
3849
2964
  * NOTE: This property will not be serialized. It can only be populated by the server.
3850
2965
  */
3851
- readonly provisioningState?: string;
2966
+ readonly provisioningState?: ProvisioningState;
3852
2967
  }
3853
2968
 
3854
2969
  /** The Virtual network inventory item. */
@@ -3876,7 +2991,7 @@ export declare interface VirtualNetworks {
3876
2991
  * @param virtualNetworkName Name of the virtual network resource.
3877
2992
  * @param options The options parameters.
3878
2993
  */
3879
- beginCreate(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksCreateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworksCreateResponse>, VirtualNetworksCreateResponse>>;
2994
+ beginCreate(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworksCreateResponse>, VirtualNetworksCreateResponse>>;
3880
2995
  /**
3881
2996
  * Create Or Update virtual network.
3882
2997
  * @param resourceGroupName The Resource Group Name.
@@ -3904,7 +3019,7 @@ export declare interface VirtualNetworks {
3904
3019
  * @param virtualNetworkName Name of the virtual network resource.
3905
3020
  * @param options The options parameters.
3906
3021
  */
3907
- beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3022
+ beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
3908
3023
  /**
3909
3024
  * Implements virtual network DELETE method.
3910
3025
  * @param resourceGroupName The Resource Group Name.
@@ -3927,6 +3042,11 @@ export declare interface VirtualNetworksCreateOptionalParams extends coreClient.
3927
3042
  /** Contains response data for the create operation. */
3928
3043
  export declare type VirtualNetworksCreateResponse = VirtualNetwork;
3929
3044
 
3045
+ /** Defines headers for VirtualNetworks_delete operation. */
3046
+ export declare interface VirtualNetworksDeleteHeaders {
3047
+ location?: string;
3048
+ }
3049
+
3930
3050
  /** Optional parameters. */
3931
3051
  export declare interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions {
3932
3052
  /** Whether force delete was specified. */
@@ -4014,70 +3134,160 @@ export declare interface VirtualScsiController {
4014
3134
  */
4015
3135
  export declare type VirtualScsiSharing = string;
4016
3136
 
4017
- /**
4018
- * Defines values for VMGuestPatchClassificationLinux. \
4019
- * {@link KnownVMGuestPatchClassificationLinux} can be used interchangeably with VMGuestPatchClassificationLinux,
4020
- * this enum contains the known values that the service supports.
4021
- * ### Known values supported by the service
4022
- * **Critical** \
4023
- * **Security** \
4024
- * **Other**
4025
- */
4026
- export declare type VMGuestPatchClassificationLinux = string;
3137
+ /** Interface representing a VMInstanceGuestAgents. */
3138
+ export declare interface VMInstanceGuestAgents {
3139
+ /**
3140
+ * Returns the list of GuestAgent of the given vm.
3141
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3142
+ * machine resource to be extended.
3143
+ * @param options The options parameters.
3144
+ */
3145
+ list(resourceUri: string, options?: VMInstanceGuestAgentsListOptionalParams): PagedAsyncIterableIterator<GuestAgent>;
3146
+ /**
3147
+ * Create Or Update GuestAgent.
3148
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3149
+ * machine resource to be extended.
3150
+ * @param options The options parameters.
3151
+ */
3152
+ beginCreate(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VMInstanceGuestAgentsCreateResponse>, VMInstanceGuestAgentsCreateResponse>>;
3153
+ /**
3154
+ * Create Or Update GuestAgent.
3155
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3156
+ * machine resource to be extended.
3157
+ * @param options The options parameters.
3158
+ */
3159
+ beginCreateAndWait(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<VMInstanceGuestAgentsCreateResponse>;
3160
+ /**
3161
+ * Implements GuestAgent GET method.
3162
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3163
+ * machine resource to be extended.
3164
+ * @param options The options parameters.
3165
+ */
3166
+ get(resourceUri: string, options?: VMInstanceGuestAgentsGetOptionalParams): Promise<VMInstanceGuestAgentsGetResponse>;
3167
+ /**
3168
+ * Implements GuestAgent DELETE method.
3169
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3170
+ * machine resource to be extended.
3171
+ * @param options The options parameters.
3172
+ */
3173
+ beginDelete(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VMInstanceGuestAgentsDeleteResponse>, VMInstanceGuestAgentsDeleteResponse>>;
3174
+ /**
3175
+ * Implements GuestAgent DELETE method.
3176
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3177
+ * machine resource to be extended.
3178
+ * @param options The options parameters.
3179
+ */
3180
+ beginDeleteAndWait(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<VMInstanceGuestAgentsDeleteResponse>;
3181
+ }
4027
3182
 
4028
- /**
4029
- * Defines values for VMGuestPatchClassificationWindows. \
4030
- * {@link KnownVMGuestPatchClassificationWindows} can be used interchangeably with VMGuestPatchClassificationWindows,
4031
- * this enum contains the known values that the service supports.
4032
- * ### Known values supported by the service
4033
- * **Critical** \
4034
- * **Security** \
4035
- * **UpdateRollUp** \
4036
- * **FeaturePack** \
4037
- * **ServicePack** \
4038
- * **Definition** \
4039
- * **Tools** \
4040
- * **Updates**
4041
- */
4042
- export declare type VMGuestPatchClassificationWindows = string;
3183
+ /** Optional parameters. */
3184
+ export declare interface VMInstanceGuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
3185
+ /** Request payload. */
3186
+ body?: GuestAgent;
3187
+ /** Delay to wait until next poll, in milliseconds. */
3188
+ updateIntervalInMs?: number;
3189
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3190
+ resumeFrom?: string;
3191
+ }
4043
3192
 
4044
- /**
4045
- * Defines values for VMGuestPatchRebootSetting. \
4046
- * {@link KnownVMGuestPatchRebootSetting} can be used interchangeably with VMGuestPatchRebootSetting,
4047
- * this enum contains the known values that the service supports.
4048
- * ### Known values supported by the service
4049
- * **IfRequired** \
4050
- * **Never** \
4051
- * **Always**
4052
- */
4053
- export declare type VMGuestPatchRebootSetting = string;
3193
+ /** Contains response data for the create operation. */
3194
+ export declare type VMInstanceGuestAgentsCreateResponse = GuestAgent;
4054
3195
 
4055
- /**
4056
- * Defines values for VMGuestPatchRebootStatus. \
4057
- * {@link KnownVMGuestPatchRebootStatus} can be used interchangeably with VMGuestPatchRebootStatus,
4058
- * this enum contains the known values that the service supports.
4059
- * ### Known values supported by the service
4060
- * **Unknown** \
4061
- * **NotNeeded** \
4062
- * **Required** \
4063
- * **Started** \
4064
- * **Failed** \
4065
- * **Completed**
4066
- */
4067
- export declare type VMGuestPatchRebootStatus = string;
4068
-
4069
- /** Input for InstallPatches on a Windows VM, as directly received by the API */
4070
- export declare interface WindowsParameters {
4071
- /** The update classifications to select when installing patches for Windows. */
4072
- classificationsToInclude?: VMGuestPatchClassificationWindows[];
4073
- /** Kbs to include in the patch operation */
4074
- kbNumbersToInclude?: string[];
4075
- /** Kbs to exclude in the patch operation */
4076
- kbNumbersToExclude?: string[];
4077
- /** Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true. */
4078
- excludeKbsRequiringReboot?: boolean;
4079
- /** This is used to install patches that were published on or before this given max published date. */
4080
- maxPatchPublishDate?: Date;
3196
+ /** Defines headers for VMInstanceGuestAgents_delete operation. */
3197
+ export declare interface VMInstanceGuestAgentsDeleteHeaders {
3198
+ location?: string;
3199
+ }
3200
+
3201
+ /** Optional parameters. */
3202
+ export declare interface VMInstanceGuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
3203
+ /** Delay to wait until next poll, in milliseconds. */
3204
+ updateIntervalInMs?: number;
3205
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3206
+ resumeFrom?: string;
3207
+ }
3208
+
3209
+ /** Contains response data for the delete operation. */
3210
+ export declare type VMInstanceGuestAgentsDeleteResponse = VMInstanceGuestAgentsDeleteHeaders;
3211
+
3212
+ /** Optional parameters. */
3213
+ export declare interface VMInstanceGuestAgentsGetOptionalParams extends coreClient.OperationOptions {
3214
+ }
3215
+
3216
+ /** Contains response data for the get operation. */
3217
+ export declare type VMInstanceGuestAgentsGetResponse = GuestAgent;
3218
+
3219
+ /** Optional parameters. */
3220
+ export declare interface VMInstanceGuestAgentsListNextOptionalParams extends coreClient.OperationOptions {
3221
+ }
3222
+
3223
+ /** Contains response data for the listNext operation. */
3224
+ export declare type VMInstanceGuestAgentsListNextResponse = GuestAgentList;
3225
+
3226
+ /** Optional parameters. */
3227
+ export declare interface VMInstanceGuestAgentsListOptionalParams extends coreClient.OperationOptions {
3228
+ }
3229
+
3230
+ /** Contains response data for the list operation. */
3231
+ export declare type VMInstanceGuestAgentsListResponse = GuestAgentList;
3232
+
3233
+ /** Defines the HybridIdentityMetadata. */
3234
+ export declare interface VmInstanceHybridIdentityMetadata extends ProxyResource {
3235
+ /** The unique identifier for the resource. */
3236
+ resourceUid?: string;
3237
+ /** Gets or sets the Public Key. */
3238
+ publicKey?: string;
3239
+ /**
3240
+ * Gets the provisioning state.
3241
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3242
+ */
3243
+ readonly provisioningState?: ProvisioningState;
3244
+ }
3245
+
3246
+ /** Optional parameters. */
3247
+ export declare interface VmInstanceHybridIdentityMetadataGetOptionalParams extends coreClient.OperationOptions {
3248
+ }
3249
+
3250
+ /** Contains response data for the get operation. */
3251
+ export declare type VmInstanceHybridIdentityMetadataGetResponse = VmInstanceHybridIdentityMetadata;
3252
+
3253
+ /** List of HybridIdentityMetadata. */
3254
+ export declare interface VmInstanceHybridIdentityMetadataList {
3255
+ /** Url to follow for getting next page of HybridIdentityMetadata. */
3256
+ nextLink?: string;
3257
+ /** Array of HybridIdentityMetadata */
3258
+ value: VmInstanceHybridIdentityMetadata[];
3259
+ }
3260
+
3261
+ /** Optional parameters. */
3262
+ export declare interface VmInstanceHybridIdentityMetadataListNextOptionalParams extends coreClient.OperationOptions {
3263
+ }
3264
+
3265
+ /** Contains response data for the listNext operation. */
3266
+ export declare type VmInstanceHybridIdentityMetadataListNextResponse = VmInstanceHybridIdentityMetadataList;
3267
+
3268
+ /** Optional parameters. */
3269
+ export declare interface VmInstanceHybridIdentityMetadataListOptionalParams extends coreClient.OperationOptions {
3270
+ }
3271
+
3272
+ /** Contains response data for the list operation. */
3273
+ export declare type VmInstanceHybridIdentityMetadataListResponse = VmInstanceHybridIdentityMetadataList;
3274
+
3275
+ /** Interface representing a VmInstanceHybridIdentityMetadataOperations. */
3276
+ export declare interface VmInstanceHybridIdentityMetadataOperations {
3277
+ /**
3278
+ * Returns the list of HybridIdentityMetadata of the given vm.
3279
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3280
+ * machine resource to be extended.
3281
+ * @param options The options parameters.
3282
+ */
3283
+ list(resourceUri: string, options?: VmInstanceHybridIdentityMetadataListOptionalParams): PagedAsyncIterableIterator<VmInstanceHybridIdentityMetadata>;
3284
+ /**
3285
+ * Implements HybridIdentityMetadata GET method.
3286
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute
3287
+ * machine resource to be extended.
3288
+ * @param options The options parameters.
3289
+ */
3290
+ get(resourceUri: string, options?: VmInstanceHybridIdentityMetadataGetOptionalParams): Promise<VmInstanceHybridIdentityMetadataGetResponse>;
4081
3291
  }
4082
3292
 
4083
3293
  export { }