@azure/arm-scvmm 1.0.0-alpha.20240625.1 → 1.0.0-alpha.20240627.1

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