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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/CHANGELOG.md +3 -13
  2. package/LICENSE +1 -1
  3. package/README.md +14 -14
  4. package/dist/index.js +5281 -3757
  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 +49 -15
  9. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +38 -9
  11. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/availabilitySetsGetSample.js +36 -9
  13. package/dist-esm/samples-dev/availabilitySetsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js +55 -11
  15. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +53 -10
  17. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +40 -10
  19. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js +48 -15
  21. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/cloudsDeleteSample.js +38 -9
  23. package/dist-esm/samples-dev/cloudsDeleteSample.js.map +1 -1
  24. package/dist-esm/samples-dev/cloudsGetSample.js +36 -9
  25. package/dist-esm/samples-dev/cloudsGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js +55 -11
  27. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js +53 -10
  29. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js.map +1 -1
  30. package/dist-esm/samples-dev/cloudsUpdateSample.js +40 -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 +43 -12
  49. package/dist-esm/samples-dev/inventoryItemsCreateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +38 -10
  51. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/inventoryItemsGetSample.js +38 -10
  53. package/dist-esm/samples-dev/inventoryItemsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js +59 -14
  55. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js.map +1 -1
  56. package/dist-esm/samples-dev/operationsListSample.js +55 -12
  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 +55 -15
  103. package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js.map +1 -1
  104. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +37 -8
  105. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js.map +1 -1
  106. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +35 -8
  107. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -1
  108. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +55 -11
  109. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  110. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js +53 -10
  111. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js.map +1 -1
  112. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +40 -10
  113. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js.map +1 -1
  114. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js +47 -15
  115. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js.map +1 -1
  116. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +37 -8
  117. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js.map +1 -1
  118. package/dist-esm/samples-dev/virtualNetworksGetSample.js +35 -8
  119. package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -1
  120. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +55 -11
  121. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  122. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js +53 -10
  123. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js.map +1 -1
  124. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +38 -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 +52 -18
  135. package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js.map +1 -1
  136. package/dist-esm/samples-dev/vmmServersDeleteSample.js +39 -10
  137. package/dist-esm/samples-dev/vmmServersDeleteSample.js.map +1 -1
  138. package/dist-esm/samples-dev/vmmServersGetSample.js +37 -10
  139. package/dist-esm/samples-dev/vmmServersGetSample.js.map +1 -1
  140. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js +55 -11
  141. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js.map +1 -1
  142. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js +53 -10
  143. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js.map +1 -1
  144. package/dist-esm/samples-dev/vmmServersUpdateSample.js +40 -10
  145. package/dist-esm/samples-dev/vmmServersUpdateSample.js.map +1 -1
  146. package/dist-esm/src/index.d.ts +2 -1
  147. package/dist-esm/src/index.d.ts.map +1 -1
  148. package/dist-esm/src/index.js +2 -1
  149. package/dist-esm/src/index.js.map +1 -1
  150. package/dist-esm/src/lroImpl.d.ts +6 -11
  151. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  152. package/dist-esm/src/lroImpl.js +12 -20
  153. package/dist-esm/src/lroImpl.js.map +1 -1
  154. package/dist-esm/src/models/index.d.ts +1320 -859
  155. package/dist-esm/src/models/index.d.ts.map +1 -1
  156. package/dist-esm/src/models/index.js +112 -34
  157. package/dist-esm/src/models/index.js.map +1 -1
  158. package/dist-esm/src/models/mappers.d.ts +83 -38
  159. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  160. package/dist-esm/src/models/mappers.js +2251 -1581
  161. package/dist-esm/src/models/mappers.js.map +1 -1
  162. package/dist-esm/src/models/parameters.d.ts +25 -20
  163. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  164. package/dist-esm/src/models/parameters.js +184 -131
  165. package/dist-esm/src/models/parameters.js.map +1 -1
  166. package/dist-esm/src/operations/availabilitySets.d.ts +50 -50
  167. package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
  168. package/dist-esm/src/operations/availabilitySets.js +259 -203
  169. package/dist-esm/src/operations/availabilitySets.js.map +1 -1
  170. package/dist-esm/src/operations/clouds.d.ts +50 -50
  171. package/dist-esm/src/operations/clouds.d.ts.map +1 -1
  172. package/dist-esm/src/operations/clouds.js +248 -203
  173. package/dist-esm/src/operations/clouds.js.map +1 -1
  174. package/dist-esm/src/operations/guestAgents.d.ts +63 -0
  175. package/dist-esm/src/operations/guestAgents.d.ts.map +1 -0
  176. package/dist-esm/src/operations/guestAgents.js +273 -0
  177. package/dist-esm/src/operations/guestAgents.js.map +1 -0
  178. package/dist-esm/src/operations/index.d.ts +6 -4
  179. package/dist-esm/src/operations/index.d.ts.map +1 -1
  180. package/dist-esm/src/operations/index.js +6 -4
  181. package/dist-esm/src/operations/index.js.map +1 -1
  182. package/dist-esm/src/operations/inventoryItems.d.ts +33 -32
  183. package/dist-esm/src/operations/inventoryItems.d.ts.map +1 -1
  184. package/dist-esm/src/operations/inventoryItems.js +116 -93
  185. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  186. package/dist-esm/src/operations/operations.d.ts +6 -6
  187. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  188. package/dist-esm/src/operations/operations.js +36 -23
  189. package/dist-esm/src/operations/operations.js.map +1 -1
  190. package/dist-esm/src/operations/virtualMachineInstances.d.ts +164 -0
  191. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  192. package/dist-esm/src/operations/virtualMachineInstances.js +907 -0
  193. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  194. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +44 -44
  195. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  196. package/dist-esm/src/operations/virtualMachineTemplates.js +246 -191
  197. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  198. package/dist-esm/src/operations/virtualNetworks.d.ts +44 -44
  199. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  200. package/dist-esm/src/operations/virtualNetworks.js +236 -191
  201. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  202. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts +42 -0
  203. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  204. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js +165 -0
  205. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  206. package/dist-esm/src/operations/vmmServers.d.ts +52 -52
  207. package/dist-esm/src/operations/vmmServers.d.ts.map +1 -1
  208. package/dist-esm/src/operations/vmmServers.js +246 -201
  209. package/dist-esm/src/operations/vmmServers.js.map +1 -1
  210. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts +36 -36
  211. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts.map +1 -1
  212. package/dist-esm/src/operationsInterfaces/clouds.d.ts +36 -36
  213. package/dist-esm/src/operationsInterfaces/clouds.d.ts.map +1 -1
  214. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +39 -0
  215. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/{virtualMachines.js → guestAgents.js} +1 -1
  217. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -4
  219. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  220. package/dist-esm/src/operationsInterfaces/index.js +6 -4
  221. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  222. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts +20 -19
  223. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts.map +1 -1
  224. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
  225. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  226. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +141 -0
  227. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js +9 -0
  229. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +28 -28
  231. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  232. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +28 -28
  233. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  234. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts +18 -0
  235. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js +9 -0
  237. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts +38 -38
  239. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts.map +1 -1
  240. package/dist-esm/src/pagingHelper.d.ts +13 -0
  241. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  242. package/dist-esm/src/pagingHelper.js +32 -0
  243. package/dist-esm/src/pagingHelper.js.map +1 -0
  244. package/dist-esm/src/scVmm.d.ts +30 -0
  245. package/dist-esm/src/scVmm.d.ts.map +1 -0
  246. package/dist-esm/src/{scvmm.js → scVmm.js} +41 -39
  247. package/dist-esm/src/scVmm.js.map +1 -0
  248. package/dist-esm/test/scvmm_operations_test.spec.d.ts +4 -0
  249. package/dist-esm/test/scvmm_operations_test.spec.d.ts.map +1 -0
  250. package/dist-esm/test/scvmm_operations_test.spec.js +74 -0
  251. package/dist-esm/test/scvmm_operations_test.spec.js.map +1 -0
  252. package/package.json +26 -29
  253. package/review/arm-scvmm.api.md +727 -330
  254. package/src/index.ts +2 -1
  255. package/src/lroImpl.ts +31 -23
  256. package/src/models/index.ts +1487 -909
  257. package/src/models/mappers.ts +2339 -1570
  258. package/src/models/parameters.ts +209 -144
  259. package/src/operations/availabilitySets.ts +370 -314
  260. package/src/operations/clouds.ts +354 -311
  261. package/src/operations/guestAgents.ts +365 -0
  262. package/src/operations/index.ts +6 -4
  263. package/src/operations/inventoryItems.ts +148 -128
  264. package/src/operations/operations.ts +45 -33
  265. package/src/operations/virtualMachineInstances.ts +1239 -0
  266. package/src/operations/virtualMachineTemplates.ts +351 -296
  267. package/src/operations/virtualNetworks.ts +341 -296
  268. package/src/operations/vmInstanceHybridIdentityMetadatas.ts +214 -0
  269. package/src/operations/vmmServers.ts +357 -311
  270. package/src/operationsInterfaces/availabilitySets.ts +71 -65
  271. package/src/operationsInterfaces/clouds.ts +66 -63
  272. package/src/operationsInterfaces/guestAgents.ts +78 -0
  273. package/src/operationsInterfaces/index.ts +6 -4
  274. package/src/operationsInterfaces/inventoryItems.ts +32 -30
  275. package/src/operationsInterfaces/operations.ts +4 -7
  276. package/src/operationsInterfaces/virtualMachineInstances.ts +295 -0
  277. package/src/operationsInterfaces/virtualMachineTemplates.ts +57 -51
  278. package/src/operationsInterfaces/virtualNetworks.ts +57 -51
  279. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts +38 -0
  280. package/src/operationsInterfaces/vmmServers.ts +70 -64
  281. package/src/pagingHelper.ts +39 -0
  282. package/src/{scvmm.ts → scVmm.ts} +86 -57
  283. package/types/arm-scvmm.d.ts +1508 -913
  284. package/types/tsdoc-metadata.json +1 -1
  285. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js +0 -36
  288. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js.map +0 -1
  289. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +0 -42
  292. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js +0 -33
  296. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js.map +0 -1
  297. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +0 -31
  300. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -31
  304. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  305. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -44
  308. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  309. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +0 -43
  312. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js.map +0 -1
  313. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +0 -31
  316. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  317. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js +0 -33
  320. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js.map +0 -1
  321. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -31
  324. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  325. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -33
  328. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  329. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +0 -48
  332. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  333. package/dist-esm/src/operations/virtualMachines.d.ts +0 -191
  334. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  335. package/dist-esm/src/operations/virtualMachines.js +0 -955
  336. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  337. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -155
  338. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  339. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  340. package/dist-esm/src/scvmm.d.ts +0 -28
  341. package/dist-esm/src/scvmm.d.ts.map +0 -1
  342. package/dist-esm/src/scvmm.js.map +0 -1
  343. package/dist-esm/test/sampleTest.d.ts +0 -2
  344. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  345. package/dist-esm/test/sampleTest.js +0 -38
  346. package/dist-esm/test/sampleTest.js.map +0 -1
  347. package/rollup.config.js +0 -122
  348. package/src/operations/virtualMachines.ts +0 -1327
  349. package/src/operationsInterfaces/virtualMachines.ts +0 -277
@@ -1,58 +1,34 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for ActionType. \
9
+ * {@link KnownActionType} can be used interchangeably with ActionType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Internal**
13
+ */
14
+ export declare type ActionType = string;
6
15
 
7
16
  /**
8
17
  * Defines values for AllocationMethod. \
9
18
  * {@link KnownAllocationMethod} can be used interchangeably with AllocationMethod,
10
19
  * this enum contains the known values that the service supports.
11
20
  * ### Known values supported by the service
12
- * **Dynamic** \
13
- * **Static**
21
+ * **Dynamic**: Dynamically allocated address. \
22
+ * **Static**: Statically allocated address.
14
23
  */
15
24
  export declare type AllocationMethod = string;
16
25
 
17
26
  /** The AvailabilitySets resource definition. */
18
- export declare interface AvailabilitySet {
19
- /**
20
- * Resource Id
21
- * NOTE: This property will not be serialized. It can only be populated by the server.
22
- */
23
- readonly id?: string;
24
- /**
25
- * Resource Name
26
- * NOTE: This property will not be serialized. It can only be populated by the server.
27
- */
28
- readonly name?: string;
29
- /**
30
- * Resource Type
31
- * NOTE: This property will not be serialized. It can only be populated by the server.
32
- */
33
- readonly type?: string;
34
- /** Gets or sets the location. */
35
- location?: string;
36
- /** Resource tags */
37
- tags?: {
38
- [propertyName: string]: string;
39
- };
40
- /**
41
- * The system data.
42
- * NOTE: This property will not be serialized. It can only be populated by the server.
43
- */
44
- readonly systemData?: SystemData;
27
+ export declare interface AvailabilitySet extends TrackedResource {
28
+ /** The resource-specific properties for this resource. */
29
+ properties?: AvailabilitySetProperties;
45
30
  /** The extended location. */
46
- extendedLocation?: ExtendedLocation;
47
- /** Name of the availability set. */
48
- availabilitySetName?: string;
49
- /** ARM Id of the vmmServer resource in which this resource resides. */
50
- vmmServerId?: string;
51
- /**
52
- * Gets or sets the provisioning state.
53
- * NOTE: This property will not be serialized. It can only be populated by the server.
54
- */
55
- readonly provisioningState?: string;
31
+ extendedLocation: ExtendedLocation;
56
32
  }
57
33
 
58
34
  /** Availability Set model */
@@ -63,86 +39,104 @@ export declare interface AvailabilitySetListItem {
63
39
  name?: string;
64
40
  }
65
41
 
66
- /** List of AvailabilitySets. */
42
+ /** The response of a AvailabilitySet list operation. */
67
43
  export declare interface AvailabilitySetListResult {
68
- /** List of AvailabilitySets. */
69
- value?: AvailabilitySet[];
70
- /** Url to follow for getting next page of resources. */
71
- nextLink?: string;
44
+ /** The AvailabilitySet items on this page */
45
+ value: AvailabilitySet[];
46
+ /**
47
+ * The link to the next page of items
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
+ */
50
+ readonly nextLink?: string;
51
+ }
52
+
53
+ /** Defines the resource properties. */
54
+ export declare interface AvailabilitySetProperties {
55
+ /** Name of the availability set. */
56
+ availabilitySetName?: string;
57
+ /** ARM Id of the vmmServer resource in which this resource resides. */
58
+ vmmServerId?: string;
59
+ /**
60
+ * Provisioning state of the resource.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly provisioningState?: ProvisioningState;
72
64
  }
73
65
 
74
66
  /** Interface representing a AvailabilitySets. */
75
67
  export declare interface AvailabilitySets {
76
68
  /**
77
- * List of AvailabilitySets in a resource group.
78
- * @param resourceGroupName The name of the resource group.
69
+ * List of AvailabilitySets in a subscription.
79
70
  * @param options The options parameters.
80
71
  */
81
- listByResourceGroup(resourceGroupName: string, options?: AvailabilitySetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AvailabilitySet>;
72
+ listBySubscription(options?: AvailabilitySetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AvailabilitySet>;
82
73
  /**
83
- * List of AvailabilitySets in a subscription.
74
+ * List of AvailabilitySets in a resource group.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
76
  * @param options The options parameters.
85
77
  */
86
- listBySubscription(options?: AvailabilitySetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AvailabilitySet>;
78
+ listByResourceGroup(resourceGroupName: string, options?: AvailabilitySetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AvailabilitySet>;
87
79
  /**
88
80
  * Implements AvailabilitySet GET method.
89
- * @param resourceGroupName The name of the resource group.
90
- * @param availabilitySetName Name of the AvailabilitySet.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
91
83
  * @param options The options parameters.
92
84
  */
93
- get(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsGetOptionalParams): Promise<AvailabilitySetsGetResponse>;
85
+ get(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsGetOptionalParams): Promise<AvailabilitySetsGetResponse>;
94
86
  /**
95
87
  * Onboards the ScVmm availability set as an Azure resource.
96
- * @param resourceGroupName The name of the resource group.
97
- * @param availabilitySetName Name of the AvailabilitySet.
98
- * @param body Request payload.
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
90
+ * @param resource Resource create parameters.
99
91
  * @param options The options parameters.
100
92
  */
101
- beginCreateOrUpdate(resourceGroupName: string, availabilitySetName: string, body: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AvailabilitySetsCreateOrUpdateResponse>, AvailabilitySetsCreateOrUpdateResponse>>;
93
+ beginCreateOrUpdate(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySetsCreateOrUpdateResponse>, AvailabilitySetsCreateOrUpdateResponse>>;
102
94
  /**
103
95
  * Onboards the ScVmm availability set as an Azure resource.
104
- * @param resourceGroupName The name of the resource group.
105
- * @param availabilitySetName Name of the AvailabilitySet.
106
- * @param body Request payload.
96
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
97
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
98
+ * @param resource Resource create parameters.
107
99
  * @param options The options parameters.
108
100
  */
109
- beginCreateOrUpdateAndWait(resourceGroupName: string, availabilitySetName: string, body: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<AvailabilitySetsCreateOrUpdateResponse>;
101
+ beginCreateOrUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<AvailabilitySetsCreateOrUpdateResponse>;
110
102
  /**
111
- * Deregisters the ScVmm availability set from Azure.
112
- * @param resourceGroupName The name of the resource group.
113
- * @param availabilitySetName Name of the AvailabilitySet.
103
+ * Updates the AvailabilitySets resource.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
106
+ * @param properties The resource properties to be updated.
114
107
  * @param options The options parameters.
115
108
  */
116
- beginDelete(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
109
+ beginUpdate(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySetsUpdateResponse>, AvailabilitySetsUpdateResponse>>;
117
110
  /**
118
- * Deregisters the ScVmm availability set from Azure.
119
- * @param resourceGroupName The name of the resource group.
120
- * @param availabilitySetName Name of the AvailabilitySet.
111
+ * Updates the AvailabilitySets resource.
112
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
113
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
114
+ * @param properties The resource properties to be updated.
121
115
  * @param options The options parameters.
122
116
  */
123
- beginDeleteAndWait(resourceGroupName: string, availabilitySetName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<void>;
117
+ beginUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise<AvailabilitySetsUpdateResponse>;
124
118
  /**
125
- * Updates the AvailabilitySets resource.
126
- * @param resourceGroupName The name of the resource group.
127
- * @param availabilitySetName Name of the AvailabilitySet.
128
- * @param body AvailabilitySets patch payload.
119
+ * Deregisters the ScVmm availability set from Azure.
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
129
122
  * @param options The options parameters.
130
123
  */
131
- beginUpdate(resourceGroupName: string, availabilitySetName: string, body: ResourcePatch, options?: AvailabilitySetsUpdateOptionalParams): Promise<PollerLike<PollOperationState<AvailabilitySetsUpdateResponse>, AvailabilitySetsUpdateResponse>>;
124
+ beginDelete(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySetsDeleteResponse>, AvailabilitySetsDeleteResponse>>;
132
125
  /**
133
- * Updates the AvailabilitySets resource.
134
- * @param resourceGroupName The name of the resource group.
135
- * @param availabilitySetName Name of the AvailabilitySet.
136
- * @param body AvailabilitySets patch payload.
126
+ * Deregisters the ScVmm availability set from Azure.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
+ * @param availabilitySetResourceName Name of the AvailabilitySet.
137
129
  * @param options The options parameters.
138
130
  */
139
- beginUpdateAndWait(resourceGroupName: string, availabilitySetName: string, body: ResourcePatch, options?: AvailabilitySetsUpdateOptionalParams): Promise<AvailabilitySetsUpdateResponse>;
131
+ beginDeleteAndWait(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<AvailabilitySetsDeleteResponse>;
140
132
  }
141
133
 
142
134
  /** Defines headers for AvailabilitySets_createOrUpdate operation. */
143
135
  export declare interface AvailabilitySetsCreateOrUpdateHeaders {
144
- /** Tracking URL for long running operation. */
136
+ /** A link to the status monitor */
145
137
  azureAsyncOperation?: string;
138
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
139
+ retryAfter?: number;
146
140
  }
147
141
 
148
142
  /** Optional parameters. */
@@ -158,20 +152,27 @@ export declare type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet;
158
152
 
159
153
  /** Defines headers for AvailabilitySets_delete operation. */
160
154
  export declare interface AvailabilitySetsDeleteHeaders {
161
- /** Tracking URL for long running operation. */
155
+ /** A link to the status monitor */
162
156
  azureAsyncOperation?: string;
157
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
158
+ location?: string;
159
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
160
+ retryAfter?: number;
163
161
  }
164
162
 
165
163
  /** Optional parameters. */
166
164
  export declare interface AvailabilitySetsDeleteOptionalParams extends coreClient.OperationOptions {
167
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
168
- force?: boolean;
165
+ /** Forces the resource to be deleted. */
166
+ force?: ForceDelete;
169
167
  /** Delay to wait until next poll, in milliseconds. */
170
168
  updateIntervalInMs?: number;
171
169
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
172
170
  resumeFrom?: string;
173
171
  }
174
172
 
173
+ /** Contains response data for the delete operation. */
174
+ export declare type AvailabilitySetsDeleteResponse = AvailabilitySetsDeleteHeaders;
175
+
175
176
  /** Optional parameters. */
176
177
  export declare interface AvailabilitySetsGetOptionalParams extends coreClient.OperationOptions {
177
178
  }
@@ -207,6 +208,14 @@ export declare interface AvailabilitySetsListBySubscriptionOptionalParams extend
207
208
  /** Contains response data for the listBySubscription operation. */
208
209
  export declare type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult;
209
210
 
211
+ /** Defines headers for AvailabilitySets_update operation. */
212
+ export declare interface AvailabilitySetsUpdateHeaders {
213
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
214
+ location?: string;
215
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
216
+ retryAfter?: number;
217
+ }
218
+
210
219
  /** Optional parameters. */
211
220
  export declare interface AvailabilitySetsUpdateOptionalParams extends coreClient.OperationOptions {
212
221
  /** Delay to wait until next poll, in milliseconds. */
@@ -218,12 +227,20 @@ export declare interface AvailabilitySetsUpdateOptionalParams extends coreClient
218
227
  /** Contains response data for the update operation. */
219
228
  export declare type AvailabilitySetsUpdateResponse = AvailabilitySet;
220
229
 
230
+ /** The type used for updating tags in AvailabilitySet resources. */
231
+ export declare interface AvailabilitySetTagsUpdate {
232
+ /** Resource tags. */
233
+ tags?: {
234
+ [propertyName: string]: string;
235
+ };
236
+ }
237
+
221
238
  /** Defines the resource properties. */
222
239
  export declare interface Checkpoint {
223
240
  /** Gets ID of parent of the checkpoint. */
224
- parentCheckpointID?: string;
241
+ parentCheckpointId?: string;
225
242
  /** Gets ID of the checkpoint. */
226
- checkpointID?: string;
243
+ checkpointId?: string;
227
244
  /** Gets name of the checkpoint. */
228
245
  name?: string;
229
246
  /** Gets description of the checkpoint. */
@@ -231,35 +248,51 @@ export declare interface Checkpoint {
231
248
  }
232
249
 
233
250
  /** The Clouds resource definition. */
234
- export declare interface Cloud {
251
+ export declare interface Cloud extends TrackedResource {
252
+ /** The resource-specific properties for this resource. */
253
+ properties?: CloudProperties;
254
+ /** The extended location. */
255
+ extendedLocation: ExtendedLocation;
256
+ }
257
+
258
+ /** Cloud Capacity model */
259
+ export declare interface CloudCapacity {
235
260
  /**
236
- * Resource Id
261
+ * CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
237
262
  * NOTE: This property will not be serialized. It can only be populated by the server.
238
263
  */
239
- readonly id?: string;
264
+ readonly cpuCount?: number;
240
265
  /**
241
- * Resource Name
266
+ * MemoryMB specifies a memory usage limit in megabytes.
242
267
  * NOTE: This property will not be serialized. It can only be populated by the server.
243
268
  */
244
- readonly name?: string;
269
+ readonly memoryMB?: number;
245
270
  /**
246
- * Resource Type
271
+ * VMCount gives the max number of VMs that can be deployed in the cloud.
247
272
  * NOTE: This property will not be serialized. It can only be populated by the server.
248
273
  */
249
- readonly type?: string;
250
- /** Gets or sets the location. */
251
- location: string;
252
- /** Resource tags */
253
- tags?: {
254
- [propertyName: string]: string;
255
- };
274
+ readonly vmCount?: number;
275
+ }
276
+
277
+ /** The Cloud inventory item. */
278
+ export declare interface CloudInventoryItem extends InventoryItemProperties {
279
+ /** Polymorphic discriminator, which specifies the different types this object can be */
280
+ inventoryType: "Cloud";
281
+ }
282
+
283
+ /** The response of a Cloud list operation. */
284
+ export declare interface CloudListResult {
285
+ /** The Cloud items on this page */
286
+ value: Cloud[];
256
287
  /**
257
- * The system data.
288
+ * The link to the next page of items
258
289
  * NOTE: This property will not be serialized. It can only be populated by the server.
259
290
  */
260
- readonly systemData?: SystemData;
261
- /** The extended location. */
262
- extendedLocation: ExtendedLocation;
291
+ readonly nextLink?: string;
292
+ }
293
+
294
+ /** Defines the resource properties. */
295
+ export declare interface CloudProperties {
263
296
  /** Gets or sets the inventory Item ID for the resource. */
264
297
  inventoryItemId?: string;
265
298
  /** Unique ID of the cloud. */
@@ -267,7 +300,7 @@ export declare interface Cloud {
267
300
  /** ARM Id of the vmmServer resource in which this resource resides. */
268
301
  vmmServerId?: string;
269
302
  /**
270
- * Name of the cloud in VMMServer.
303
+ * Name of the cloud in VmmServer.
271
304
  * NOTE: This property will not be serialized. It can only be populated by the server.
272
305
  */
273
306
  readonly cloudName?: string;
@@ -280,104 +313,86 @@ export declare interface Cloud {
280
313
  * List of QoS policies available for the cloud.
281
314
  * NOTE: This property will not be serialized. It can only be populated by the server.
282
315
  */
283
- readonly storageQoSPolicies?: StorageQoSPolicy[];
316
+ readonly storageQosPolicies?: StorageQosPolicy[];
284
317
  /**
285
- * Gets or sets the provisioning state.
318
+ * Provisioning state of the resource.
286
319
  * NOTE: This property will not be serialized. It can only be populated by the server.
287
320
  */
288
- readonly provisioningState?: string;
289
- }
290
-
291
- /** Cloud Capacity model */
292
- export declare interface CloudCapacity {
293
- /** CPUCount specifies the maximum number of CPUs that can be allocated in the cloud. */
294
- cpuCount?: number;
295
- /** MemoryMB specifies a memory usage limit in megabytes. */
296
- memoryMB?: number;
297
- /** VMCount gives the max number of VMs that can be deployed in the cloud. */
298
- vmCount?: number;
299
- }
300
-
301
- /** The Cloud inventory item. */
302
- export declare interface CloudInventoryItem extends InventoryItemProperties {
303
- /** Polymorphic discriminator, which specifies the different types this object can be */
304
- inventoryType: "Cloud";
305
- }
306
-
307
- /** List of Clouds. */
308
- export declare interface CloudListResult {
309
- /** List of Clouds. */
310
- value?: Cloud[];
311
- /** Url to follow for getting next page of resources. */
312
- nextLink?: string;
321
+ readonly provisioningState?: ProvisioningState;
313
322
  }
314
323
 
315
324
  /** Interface representing a Clouds. */
316
325
  export declare interface Clouds {
317
326
  /**
318
- * List of Clouds in a resource group.
319
- * @param resourceGroupName The name of the resource group.
327
+ * List of Clouds in a subscription.
320
328
  * @param options The options parameters.
321
329
  */
322
- listByResourceGroup(resourceGroupName: string, options?: CloudsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cloud>;
330
+ listBySubscription(options?: CloudsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cloud>;
323
331
  /**
324
- * List of Clouds in a subscription.
332
+ * List of Clouds in a resource group.
333
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
325
334
  * @param options The options parameters.
326
335
  */
327
- listBySubscription(options?: CloudsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cloud>;
336
+ listByResourceGroup(resourceGroupName: string, options?: CloudsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cloud>;
328
337
  /**
329
338
  * Implements Cloud GET method.
330
- * @param resourceGroupName The name of the resource group.
331
- * @param cloudName Name of the Cloud.
339
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
340
+ * @param cloudResourceName Name of the Cloud.
332
341
  * @param options The options parameters.
333
342
  */
334
- get(resourceGroupName: string, cloudName: string, options?: CloudsGetOptionalParams): Promise<CloudsGetResponse>;
343
+ get(resourceGroupName: string, cloudResourceName: string, options?: CloudsGetOptionalParams): Promise<CloudsGetResponse>;
335
344
  /**
336
345
  * Onboards the ScVmm fabric cloud as an Azure cloud resource.
337
- * @param resourceGroupName The name of the resource group.
338
- * @param cloudName Name of the Cloud.
339
- * @param body Request payload.
346
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
347
+ * @param cloudResourceName Name of the Cloud.
348
+ * @param resource Resource create parameters.
340
349
  * @param options The options parameters.
341
350
  */
342
- beginCreateOrUpdate(resourceGroupName: string, cloudName: string, body: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CloudsCreateOrUpdateResponse>, CloudsCreateOrUpdateResponse>>;
351
+ beginCreateOrUpdate(resourceGroupName: string, cloudResourceName: string, resource: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudsCreateOrUpdateResponse>, CloudsCreateOrUpdateResponse>>;
343
352
  /**
344
353
  * Onboards the ScVmm fabric cloud as an Azure cloud resource.
345
- * @param resourceGroupName The name of the resource group.
346
- * @param cloudName Name of the Cloud.
347
- * @param body Request payload.
354
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
355
+ * @param cloudResourceName Name of the Cloud.
356
+ * @param resource Resource create parameters.
348
357
  * @param options The options parameters.
349
358
  */
350
- beginCreateOrUpdateAndWait(resourceGroupName: string, cloudName: string, body: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise<CloudsCreateOrUpdateResponse>;
359
+ beginCreateOrUpdateAndWait(resourceGroupName: string, cloudResourceName: string, resource: Cloud, options?: CloudsCreateOrUpdateOptionalParams): Promise<CloudsCreateOrUpdateResponse>;
351
360
  /**
352
- * Deregisters the ScVmm fabric cloud from Azure.
353
- * @param resourceGroupName The name of the resource group.
354
- * @param cloudName Name of the Cloud.
361
+ * Updates the Clouds resource.
362
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
363
+ * @param cloudResourceName Name of the Cloud.
364
+ * @param properties The resource properties to be updated.
355
365
  * @param options The options parameters.
356
366
  */
357
- beginDelete(resourceGroupName: string, cloudName: string, options?: CloudsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
367
+ beginUpdate(resourceGroupName: string, cloudResourceName: string, properties: CloudTagsUpdate, options?: CloudsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudsUpdateResponse>, CloudsUpdateResponse>>;
358
368
  /**
359
- * Deregisters the ScVmm fabric cloud from Azure.
360
- * @param resourceGroupName The name of the resource group.
361
- * @param cloudName Name of the Cloud.
369
+ * Updates the Clouds resource.
370
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
371
+ * @param cloudResourceName Name of the Cloud.
372
+ * @param properties The resource properties to be updated.
362
373
  * @param options The options parameters.
363
374
  */
364
- beginDeleteAndWait(resourceGroupName: string, cloudName: string, options?: CloudsDeleteOptionalParams): Promise<void>;
375
+ beginUpdateAndWait(resourceGroupName: string, cloudResourceName: string, properties: CloudTagsUpdate, options?: CloudsUpdateOptionalParams): Promise<CloudsUpdateResponse>;
365
376
  /**
366
- * Updates the Clouds resource.
367
- * @param resourceGroupName The name of the resource group.
368
- * @param cloudName Name of the Cloud.
369
- * @param body Clouds patch payload.
377
+ * Deregisters the ScVmm fabric cloud from Azure.
378
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
379
+ * @param cloudResourceName Name of the Cloud.
370
380
  * @param options The options parameters.
371
381
  */
372
- beginUpdate(resourceGroupName: string, cloudName: string, body: ResourcePatch, options?: CloudsUpdateOptionalParams): Promise<PollerLike<PollOperationState<CloudsUpdateResponse>, CloudsUpdateResponse>>;
382
+ beginDelete(resourceGroupName: string, cloudResourceName: string, options?: CloudsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CloudsDeleteResponse>, CloudsDeleteResponse>>;
373
383
  /**
374
- * Updates the Clouds resource.
375
- * @param resourceGroupName The name of the resource group.
376
- * @param cloudName Name of the Cloud.
377
- * @param body Clouds patch payload.
384
+ * Deregisters the ScVmm fabric cloud from Azure.
385
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
386
+ * @param cloudResourceName Name of the Cloud.
378
387
  * @param options The options parameters.
379
388
  */
380
- beginUpdateAndWait(resourceGroupName: string, cloudName: string, body: ResourcePatch, options?: CloudsUpdateOptionalParams): Promise<CloudsUpdateResponse>;
389
+ beginDeleteAndWait(resourceGroupName: string, cloudResourceName: string, options?: CloudsDeleteOptionalParams): Promise<CloudsDeleteResponse>;
390
+ }
391
+
392
+ /** Defines headers for Clouds_createOrUpdate operation. */
393
+ export declare interface CloudsCreateOrUpdateHeaders {
394
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
395
+ retryAfter?: number;
381
396
  }
382
397
 
383
398
  /** Optional parameters. */
@@ -391,16 +406,27 @@ export declare interface CloudsCreateOrUpdateOptionalParams extends coreClient.O
391
406
  /** Contains response data for the createOrUpdate operation. */
392
407
  export declare type CloudsCreateOrUpdateResponse = Cloud;
393
408
 
409
+ /** Defines headers for Clouds_delete operation. */
410
+ export declare interface CloudsDeleteHeaders {
411
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
412
+ location?: string;
413
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
414
+ retryAfter?: number;
415
+ }
416
+
394
417
  /** Optional parameters. */
395
418
  export declare interface CloudsDeleteOptionalParams extends coreClient.OperationOptions {
396
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
397
- force?: boolean;
419
+ /** Forces the resource to be deleted. */
420
+ force?: ForceDelete;
398
421
  /** Delay to wait until next poll, in milliseconds. */
399
422
  updateIntervalInMs?: number;
400
423
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
401
424
  resumeFrom?: string;
402
425
  }
403
426
 
427
+ /** Contains response data for the delete operation. */
428
+ export declare type CloudsDeleteResponse = CloudsDeleteHeaders;
429
+
404
430
  /** Optional parameters. */
405
431
  export declare interface CloudsGetOptionalParams extends coreClient.OperationOptions {
406
432
  }
@@ -436,6 +462,14 @@ export declare interface CloudsListBySubscriptionOptionalParams extends coreClie
436
462
  /** Contains response data for the listBySubscription operation. */
437
463
  export declare type CloudsListBySubscriptionResponse = CloudListResult;
438
464
 
465
+ /** Defines headers for Clouds_update operation. */
466
+ export declare interface CloudsUpdateHeaders {
467
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
468
+ location?: string;
469
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
470
+ retryAfter?: number;
471
+ }
472
+
439
473
  /** Optional parameters. */
440
474
  export declare interface CloudsUpdateOptionalParams extends coreClient.OperationOptions {
441
475
  /** Delay to wait until next poll, in milliseconds. */
@@ -447,6 +481,14 @@ export declare interface CloudsUpdateOptionalParams extends coreClient.Operation
447
481
  /** Contains response data for the update operation. */
448
482
  export declare type CloudsUpdateResponse = Cloud;
449
483
 
484
+ /** The type used for updating tags in Cloud resources. */
485
+ export declare interface CloudTagsUpdate {
486
+ /** Resource tags. */
487
+ tags?: {
488
+ [propertyName: string]: string;
489
+ };
490
+ }
491
+
450
492
  /**
451
493
  * Defines values for CreatedByType. \
452
494
  * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
@@ -464,44 +506,78 @@ export declare type CreatedByType = string;
464
506
  * {@link KnownCreateDiffDisk} can be used interchangeably with CreateDiffDisk,
465
507
  * this enum contains the known values that the service supports.
466
508
  * ### Known values supported by the service
467
- * **false** \
468
- * **true**
509
+ * **true**: Enable create diff disk. \
510
+ * **false**: Disable create diff disk.
469
511
  */
470
512
  export declare type CreateDiffDisk = string;
471
513
 
514
+ /**
515
+ * Defines values for DeleteFromHost. \
516
+ * {@link KnownDeleteFromHost} can be used interchangeably with DeleteFromHost,
517
+ * this enum contains the known values that the service supports.
518
+ * ### Known values supported by the service
519
+ * **true**: Enable delete from host. \
520
+ * **false**: Disable delete from host.
521
+ */
522
+ export declare type DeleteFromHost = string;
523
+
472
524
  /**
473
525
  * Defines values for DynamicMemoryEnabled. \
474
526
  * {@link KnownDynamicMemoryEnabled} can be used interchangeably with DynamicMemoryEnabled,
475
527
  * this enum contains the known values that the service supports.
476
528
  * ### Known values supported by the service
477
- * **false** \
478
- * **true**
529
+ * **true**: Enable dynamic memory. \
530
+ * **false**: Disable dynamic memory.
479
531
  */
480
532
  export declare type DynamicMemoryEnabled = string;
481
533
 
482
- /** Error definition. */
483
- export declare interface ErrorDefinition {
534
+ /** The resource management error additional info. */
535
+ export declare interface ErrorAdditionalInfo {
536
+ /**
537
+ * The additional info type.
538
+ * NOTE: This property will not be serialized. It can only be populated by the server.
539
+ */
540
+ readonly type?: string;
541
+ /**
542
+ * The additional info.
543
+ * NOTE: This property will not be serialized. It can only be populated by the server.
544
+ */
545
+ readonly info?: Record<string, unknown>;
546
+ }
547
+
548
+ /** The error detail. */
549
+ export declare interface ErrorDetail {
484
550
  /**
485
- * Service specific error code which serves as the substatus for the HTTP error code.
551
+ * The error code.
486
552
  * NOTE: This property will not be serialized. It can only be populated by the server.
487
553
  */
488
554
  readonly code?: string;
489
555
  /**
490
- * Description of the error.
556
+ * The error message.
491
557
  * NOTE: This property will not be serialized. It can only be populated by the server.
492
558
  */
493
559
  readonly message?: string;
494
560
  /**
495
- * Internal error details.
561
+ * The error target.
562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
563
+ */
564
+ readonly target?: string;
565
+ /**
566
+ * The error details.
567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
+ */
569
+ readonly details?: ErrorDetail[];
570
+ /**
571
+ * The error additional info.
496
572
  * NOTE: This property will not be serialized. It can only be populated by the server.
497
573
  */
498
- readonly details?: ErrorDefinition[];
574
+ readonly additionalInfo?: ErrorAdditionalInfo[];
499
575
  }
500
576
 
501
- /** Error response. */
577
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
502
578
  export declare interface ErrorResponse {
503
- /** The error details. */
504
- error?: ErrorDefinition;
579
+ /** The error object. */
580
+ error?: ErrorDetail;
505
581
  }
506
582
 
507
583
  /** The extended location. */
@@ -512,148 +588,335 @@ export declare interface ExtendedLocation {
512
588
  name?: string;
513
589
  }
514
590
 
515
- /** Defines the resource properties. */
516
- export declare interface HardwareProfile {
517
- /** MemoryMB is the size of a virtual machine's memory, in MB. */
518
- memoryMB?: number;
519
- /** Gets or sets the number of vCPUs for the vm. */
520
- cpuCount?: number;
521
- /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
522
- limitCpuForMigration?: LimitCpuForMigration;
523
- /** Gets or sets a value indicating whether to enable dynamic memory or not. */
524
- dynamicMemoryEnabled?: DynamicMemoryEnabled;
525
- /** Gets or sets the max dynamic memory for the vm. */
526
- dynamicMemoryMaxMB?: number;
527
- /** Gets or sets the min dynamic memory for the vm. */
528
- dynamicMemoryMinMB?: number;
529
- /** Gets highly available property. */
530
- isHighlyAvailable?: string;
531
- }
591
+ /**
592
+ * Defines values for ForceDelete. \
593
+ * {@link KnownForceDelete} can be used interchangeably with ForceDelete,
594
+ * this enum contains the known values that the service supports.
595
+ * ### Known values supported by the service
596
+ * **true**: Enable force delete. \
597
+ * **false**: Disable force delete.
598
+ */
599
+ export declare type ForceDelete = string;
532
600
 
533
- /** Defines the resource properties. */
534
- export declare interface HardwareProfileUpdate {
535
- /** MemoryMB is the size of a virtual machine's memory, in MB. */
536
- memoryMB?: number;
537
- /** Gets or sets the number of vCPUs for the vm. */
538
- cpuCount?: number;
539
- /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
540
- limitCpuForMigration?: LimitCpuForMigration;
541
- /** Gets or sets a value indicating whether to enable dynamic memory or not. */
542
- dynamicMemoryEnabled?: DynamicMemoryEnabled;
543
- /** Gets or sets the max dynamic memory for the vm. */
544
- dynamicMemoryMaxMB?: number;
545
- /** Gets or sets the min dynamic memory for the vm. */
546
- dynamicMemoryMinMB?: number;
601
+ /**
602
+ * Given the last `.value` produced by the `byPage` iterator,
603
+ * returns a continuation token that can be used to begin paging from
604
+ * that point later.
605
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
606
+ * @returns The continuation token that can be passed into byPage() during future calls.
607
+ */
608
+ export declare function getContinuationToken(page: unknown): string | undefined;
609
+
610
+ /** Defines the GuestAgent. */
611
+ export declare interface GuestAgent extends ProxyResource {
612
+ /** The resource-specific properties for this resource. */
613
+ properties?: GuestAgentProperties;
547
614
  }
548
615
 
549
- /** Defines the inventory item. */
550
- export declare interface InventoryItem extends ProxyResource {
551
- /**
552
- * The system data.
553
- * NOTE: This property will not be serialized. It can only be populated by the server.
554
- */
555
- readonly systemData?: SystemData;
556
- /** 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. */
557
- kind?: string;
558
- /** They inventory type. */
559
- inventoryType: InventoryType;
560
- /**
561
- * Gets the tracked resource id corresponding to the inventory resource.
562
- * NOTE: This property will not be serialized. It can only be populated by the server.
563
- */
564
- readonly managedResourceId?: string;
565
- /**
566
- * Gets the UUID (which is assigned by VMM) for the inventory item.
567
- * NOTE: This property will not be serialized. It can only be populated by the server.
568
- */
569
- readonly uuid?: string;
570
- /**
571
- * Gets the Managed Object name in VMM for the inventory item.
572
- * NOTE: This property will not be serialized. It can only be populated by the server.
573
- */
574
- readonly inventoryItemName?: string;
616
+ /** The response of a GuestAgent list operation. */
617
+ export declare interface GuestAgentListResult {
618
+ /** The GuestAgent items on this page */
619
+ value: GuestAgent[];
575
620
  /**
576
- * Gets the provisioning state.
621
+ * The link to the next page of items
577
622
  * NOTE: This property will not be serialized. It can only be populated by the server.
578
623
  */
579
- readonly provisioningState?: string;
580
- }
581
-
582
- /** Defines the resource properties. */
583
- export declare interface InventoryItemDetails {
584
- /** Gets or sets the inventory Item ID for the resource. */
585
- inventoryItemId?: string;
586
- /** Gets or sets the Managed Object name in VMM for the resource. */
587
- inventoryItemName?: string;
624
+ readonly nextLink?: string;
588
625
  }
589
626
 
590
627
  /** Defines the resource properties. */
591
- export declare interface InventoryItemProperties {
592
- /** Polymorphic discriminator, which specifies the different types this object can be */
593
- inventoryType: "Cloud" | "VirtualNetwork" | "VirtualMachineTemplate" | "VirtualMachine";
628
+ export declare interface GuestAgentProperties {
594
629
  /**
595
- * Gets the tracked resource id corresponding to the inventory resource.
630
+ * Gets a unique identifier for this resource.
596
631
  * NOTE: This property will not be serialized. It can only be populated by the server.
597
632
  */
598
- readonly managedResourceId?: string;
633
+ readonly uuid?: string;
634
+ /** Username / Password Credentials to provision guest agent. */
635
+ credentials?: GuestCredential;
636
+ /** HTTP Proxy configuration for the VM. */
637
+ httpProxyConfig?: HttpProxyConfiguration;
638
+ /** Gets or sets the guest agent provisioning action. */
639
+ provisioningAction?: ProvisioningAction;
599
640
  /**
600
- * Gets the UUID (which is assigned by VMM) for the inventory item.
641
+ * Gets the guest agent status.
601
642
  * NOTE: This property will not be serialized. It can only be populated by the server.
602
643
  */
603
- readonly uuid?: string;
644
+ readonly status?: string;
604
645
  /**
605
- * Gets the Managed Object name in VMM for the inventory item.
646
+ * Gets the name of the corresponding resource in Kubernetes.
606
647
  * NOTE: This property will not be serialized. It can only be populated by the server.
607
648
  */
608
- readonly inventoryItemName?: string;
649
+ readonly customResourceName?: string;
609
650
  /**
610
- * Gets the provisioning state.
651
+ * Provisioning state of the resource.
611
652
  * NOTE: This property will not be serialized. It can only be populated by the server.
612
653
  */
613
- readonly provisioningState?: string;
654
+ readonly provisioningState?: ProvisioningState;
614
655
  }
615
656
 
616
- export declare type InventoryItemPropertiesUnion = InventoryItemProperties | CloudInventoryItem | VirtualNetworkInventoryItem | VirtualMachineTemplateInventoryItem | VirtualMachineInventoryItem;
617
-
618
- /** Interface representing a InventoryItems. */
619
- export declare interface InventoryItems {
657
+ /** Interface representing a GuestAgents. */
658
+ export declare interface GuestAgents {
620
659
  /**
621
- * Returns the list of inventoryItems in the given VMMServer.
622
- * @param resourceGroupName The name of the resource group.
623
- * @param vmmServerName Name of the VMMServer.
660
+ * Returns the list of GuestAgent of the given vm.
661
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
624
662
  * @param options The options parameters.
625
663
  */
626
- listByVMMServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVMMServerOptionalParams): PagedAsyncIterableIterator<InventoryItem>;
664
+ listByVirtualMachineInstance(resourceUri: string, options?: GuestAgentsListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator<GuestAgent>;
627
665
  /**
628
- * Create Or Update InventoryItem.
629
- * @param resourceGroupName The name of the resource group.
630
- * @param vmmServerName Name of the VMMServer.
631
- * @param inventoryItemName Name of the inventoryItem.
666
+ * Implements GuestAgent GET method.
667
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
632
668
  * @param options The options parameters.
633
669
  */
634
- create(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsCreateOptionalParams): Promise<InventoryItemsCreateResponse>;
670
+ get(resourceUri: string, options?: GuestAgentsGetOptionalParams): Promise<GuestAgentsGetResponse>;
635
671
  /**
636
- * Shows an inventory item.
637
- * @param resourceGroupName The name of the resource group.
638
- * @param vmmServerName Name of the VMMServer.
639
- * @param inventoryItemName Name of the inventoryItem.
672
+ * Create Or Update GuestAgent.
673
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
674
+ * @param resource Resource create parameters.
640
675
  * @param options The options parameters.
641
676
  */
642
- get(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItemsGetResponse>;
677
+ beginCreate(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<GuestAgentsCreateResponse>, GuestAgentsCreateResponse>>;
643
678
  /**
644
- * Deletes an inventoryItem.
645
- * @param resourceGroupName The name of the resource group.
646
- * @param vmmServerName Name of the VMMServer.
647
- * @param inventoryItemName Name of the inventoryItem.
679
+ * Create Or Update GuestAgent.
680
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
681
+ * @param resource Resource create parameters.
682
+ * @param options The options parameters.
683
+ */
684
+ beginCreateAndWait(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise<GuestAgentsCreateResponse>;
685
+ /**
686
+ * Implements GuestAgent DELETE method.
687
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
648
688
  * @param options The options parameters.
649
689
  */
650
- delete(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsDeleteOptionalParams): Promise<void>;
690
+ delete(resourceUri: string, options?: GuestAgentsDeleteOptionalParams): Promise<void>;
691
+ }
692
+
693
+ /** Defines headers for GuestAgents_create operation. */
694
+ export declare interface GuestAgentsCreateHeaders {
695
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
696
+ retryAfter?: number;
651
697
  }
652
698
 
653
699
  /** Optional parameters. */
654
- export declare interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions {
655
- /** Request payload. */
656
- body?: InventoryItem;
700
+ export declare interface GuestAgentsCreateOptionalParams extends coreClient.OperationOptions {
701
+ /** Delay to wait until next poll, in milliseconds. */
702
+ updateIntervalInMs?: number;
703
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
704
+ resumeFrom?: string;
705
+ }
706
+
707
+ /** Contains response data for the create operation. */
708
+ export declare type GuestAgentsCreateResponse = GuestAgent;
709
+
710
+ /** Optional parameters. */
711
+ export declare interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
712
+ }
713
+
714
+ /** Optional parameters. */
715
+ export declare interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions {
716
+ }
717
+
718
+ /** Contains response data for the get operation. */
719
+ export declare type GuestAgentsGetResponse = GuestAgent;
720
+
721
+ /** Optional parameters. */
722
+ export declare interface GuestAgentsListByVirtualMachineInstanceNextOptionalParams extends coreClient.OperationOptions {
723
+ }
724
+
725
+ /** Contains response data for the listByVirtualMachineInstanceNext operation. */
726
+ export declare type GuestAgentsListByVirtualMachineInstanceNextResponse = GuestAgentListResult;
727
+
728
+ /** Optional parameters. */
729
+ export declare interface GuestAgentsListByVirtualMachineInstanceOptionalParams extends coreClient.OperationOptions {
730
+ }
731
+
732
+ /** Contains response data for the listByVirtualMachineInstance operation. */
733
+ export declare type GuestAgentsListByVirtualMachineInstanceResponse = GuestAgentListResult;
734
+
735
+ /** Username / Password Credentials to connect to guest. */
736
+ export declare interface GuestCredential {
737
+ /** Gets or sets username to connect with the guest. */
738
+ username: string;
739
+ /**
740
+ * Gets or sets the password to connect with the guest.
741
+ * This value contains a credential. Consider obscuring before showing to users
742
+ */
743
+ password: string;
744
+ }
745
+
746
+ /** Defines the resource properties. */
747
+ export declare interface HardwareProfile {
748
+ /** MemoryMB is the size of a virtual machine's memory, in MB. */
749
+ memoryMB?: number;
750
+ /** Gets or sets the number of vCPUs for the vm. */
751
+ cpuCount?: number;
752
+ /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
753
+ limitCpuForMigration?: LimitCpuForMigration;
754
+ /** Gets or sets a value indicating whether to enable dynamic memory or not. */
755
+ dynamicMemoryEnabled?: DynamicMemoryEnabled;
756
+ /** Gets or sets the max dynamic memory for the vm. */
757
+ dynamicMemoryMaxMB?: number;
758
+ /** Gets or sets the min dynamic memory for the vm. */
759
+ dynamicMemoryMinMB?: number;
760
+ /**
761
+ * Gets highly available property.
762
+ * NOTE: This property will not be serialized. It can only be populated by the server.
763
+ */
764
+ readonly isHighlyAvailable?: IsHighlyAvailable;
765
+ }
766
+
767
+ /** Defines the resource update properties. */
768
+ export declare interface HardwareProfileUpdate {
769
+ /** MemoryMB is the size of a virtual machine's memory, in MB. */
770
+ memoryMB?: number;
771
+ /** Gets or sets the number of vCPUs for the vm. */
772
+ cpuCount?: number;
773
+ /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
774
+ limitCpuForMigration?: LimitCpuForMigration;
775
+ /** Gets or sets a value indicating whether to enable dynamic memory or not. */
776
+ dynamicMemoryEnabled?: DynamicMemoryEnabled;
777
+ /** Gets or sets the max dynamic memory for the vm. */
778
+ dynamicMemoryMaxMB?: number;
779
+ /** Gets or sets the min dynamic memory for the vm. */
780
+ dynamicMemoryMinMB?: number;
781
+ }
782
+
783
+ /** HTTP Proxy configuration for the VM. */
784
+ export declare interface HttpProxyConfiguration {
785
+ /** Gets or sets httpsProxy url. */
786
+ httpsProxy?: string;
787
+ }
788
+
789
+ /** Specifies the vmmServer infrastructure specific settings for the virtual machine instance. */
790
+ export declare interface InfrastructureProfile {
791
+ /** Gets or sets the inventory Item ID for the resource. */
792
+ inventoryItemId?: string;
793
+ /** ARM Id of the vmmServer resource in which this resource resides. */
794
+ vmmServerId?: string;
795
+ /** ARM Id of the cloud resource to use for deploying the vm. */
796
+ cloudId?: string;
797
+ /** ARM Id of the template resource to use for deploying the vm. */
798
+ templateId?: string;
799
+ /** VMName is the name of VM on the SCVmm server. */
800
+ vmName?: string;
801
+ /** Unique ID of the virtual machine. */
802
+ uuid?: string;
803
+ /**
804
+ * Last restored checkpoint in the vm.
805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
806
+ */
807
+ readonly lastRestoredVmCheckpoint?: Checkpoint;
808
+ /**
809
+ * Checkpoints in the vm.
810
+ * NOTE: This property will not be serialized. It can only be populated by the server.
811
+ */
812
+ readonly checkpoints?: Checkpoint[];
813
+ /** Type of checkpoint supported for the vm. */
814
+ checkpointType?: string;
815
+ /** Gets or sets the generation for the vm. */
816
+ generation?: number;
817
+ /** Gets or sets the bios guid for the vm. */
818
+ biosGuid?: string;
819
+ }
820
+
821
+ /** Specifies the vmmServer infrastructure specific update settings for the virtual machine instance. */
822
+ export declare interface InfrastructureProfileUpdate {
823
+ /** Type of checkpoint supported for the vm. */
824
+ checkpointType?: string;
825
+ }
826
+
827
+ /** Defines the inventory item. */
828
+ export declare interface InventoryItem extends ProxyResource {
829
+ /** The resource-specific properties for this resource. */
830
+ properties?: InventoryItemPropertiesUnion;
831
+ /** 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. */
832
+ kind?: string;
833
+ }
834
+
835
+ /** Defines the resource properties. */
836
+ export declare interface InventoryItemDetails {
837
+ /** Gets or sets the inventory Item ID for the resource. */
838
+ inventoryItemId?: string;
839
+ /** Gets or sets the Managed Object name in Vmm for the resource. */
840
+ inventoryItemName?: string;
841
+ }
842
+
843
+ /** The response of a InventoryItem list operation. */
844
+ export declare interface InventoryItemListResult {
845
+ /** The InventoryItem items on this page */
846
+ value: InventoryItem[];
847
+ /**
848
+ * The link to the next page of items
849
+ * NOTE: This property will not be serialized. It can only be populated by the server.
850
+ */
851
+ readonly nextLink?: string;
852
+ }
853
+
854
+ /** Defines the resource properties. */
855
+ export declare interface InventoryItemProperties {
856
+ /** Polymorphic discriminator, which specifies the different types this object can be */
857
+ inventoryType: "Cloud" | "VirtualMachine" | "VirtualMachineTemplate" | "VirtualNetwork";
858
+ /**
859
+ * Gets the tracked resource id corresponding to the inventory resource.
860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
861
+ */
862
+ readonly managedResourceId?: string;
863
+ /**
864
+ * Gets the UUID (which is assigned by Vmm) for the inventory item.
865
+ * NOTE: This property will not be serialized. It can only be populated by the server.
866
+ */
867
+ readonly uuid?: string;
868
+ /**
869
+ * Gets the Managed Object name in Vmm for the inventory item.
870
+ * NOTE: This property will not be serialized. It can only be populated by the server.
871
+ */
872
+ readonly inventoryItemName?: string;
873
+ /**
874
+ * Provisioning state of the resource.
875
+ * NOTE: This property will not be serialized. It can only be populated by the server.
876
+ */
877
+ readonly provisioningState?: ProvisioningState;
878
+ }
879
+
880
+ export declare type InventoryItemPropertiesUnion = InventoryItemProperties | CloudInventoryItem | VirtualMachineInventoryItem | VirtualMachineTemplateInventoryItem | VirtualNetworkInventoryItem;
881
+
882
+ /** Interface representing a InventoryItems. */
883
+ export declare interface InventoryItems {
884
+ /**
885
+ * Returns the list of inventoryItems in the given VmmServer.
886
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
887
+ * @param vmmServerName Name of the VmmServer.
888
+ * @param options The options parameters.
889
+ */
890
+ listByVmmServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVmmServerOptionalParams): PagedAsyncIterableIterator<InventoryItem>;
891
+ /**
892
+ * Shows an inventory item.
893
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
894
+ * @param vmmServerName Name of the VmmServer.
895
+ * @param inventoryItemResourceName Name of the inventoryItem.
896
+ * @param options The options parameters.
897
+ */
898
+ get(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItemsGetResponse>;
899
+ /**
900
+ * Create Or Update InventoryItem.
901
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
902
+ * @param vmmServerName Name of the VmmServer.
903
+ * @param inventoryItemResourceName Name of the inventoryItem.
904
+ * @param resource Resource create parameters.
905
+ * @param options The options parameters.
906
+ */
907
+ create(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, resource: InventoryItem, options?: InventoryItemsCreateOptionalParams): Promise<InventoryItemsCreateResponse>;
908
+ /**
909
+ * Deletes an inventoryItem.
910
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
911
+ * @param vmmServerName Name of the VmmServer.
912
+ * @param inventoryItemResourceName Name of the inventoryItem.
913
+ * @param options The options parameters.
914
+ */
915
+ delete(resourceGroupName: string, vmmServerName: string, inventoryItemResourceName: string, options?: InventoryItemsDeleteOptionalParams): Promise<void>;
916
+ }
917
+
918
+ /** Optional parameters. */
919
+ export declare interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions {
657
920
  }
658
921
 
659
922
  /** Contains response data for the create operation. */
@@ -670,37 +933,29 @@ export declare interface InventoryItemsGetOptionalParams extends coreClient.Oper
670
933
  /** Contains response data for the get operation. */
671
934
  export declare type InventoryItemsGetResponse = InventoryItem;
672
935
 
673
- /** List of InventoryItems. */
674
- export declare interface InventoryItemsList {
675
- /** Url to follow for getting next page of InventoryItems. */
676
- nextLink?: string;
677
- /** Array of InventoryItems */
678
- value: InventoryItem[];
679
- }
680
-
681
936
  /** Optional parameters. */
682
- export declare interface InventoryItemsListByVMMServerNextOptionalParams extends coreClient.OperationOptions {
937
+ export declare interface InventoryItemsListByVmmServerNextOptionalParams extends coreClient.OperationOptions {
683
938
  }
684
939
 
685
- /** Contains response data for the listByVMMServerNext operation. */
686
- export declare type InventoryItemsListByVMMServerNextResponse = InventoryItemsList;
940
+ /** Contains response data for the listByVmmServerNext operation. */
941
+ export declare type InventoryItemsListByVmmServerNextResponse = InventoryItemListResult;
687
942
 
688
943
  /** Optional parameters. */
689
- export declare interface InventoryItemsListByVMMServerOptionalParams extends coreClient.OperationOptions {
944
+ export declare interface InventoryItemsListByVmmServerOptionalParams extends coreClient.OperationOptions {
690
945
  }
691
946
 
692
- /** Contains response data for the listByVMMServer operation. */
693
- export declare type InventoryItemsListByVMMServerResponse = InventoryItemsList;
947
+ /** Contains response data for the listByVmmServer operation. */
948
+ export declare type InventoryItemsListByVmmServerResponse = InventoryItemListResult;
694
949
 
695
950
  /**
696
951
  * Defines values for InventoryType. \
697
952
  * {@link KnownInventoryType} can be used interchangeably with InventoryType,
698
953
  * this enum contains the known values that the service supports.
699
954
  * ### Known values supported by the service
700
- * **Cloud** \
701
- * **VirtualNetwork** \
702
- * **VirtualMachineTemplate** \
703
- * **VirtualMachine**
955
+ * **Cloud**: Cloud inventory type \
956
+ * **VirtualNetwork**: VirtualNetwork inventory type \
957
+ * **VirtualMachine**: VirtualMachine inventory type \
958
+ * **VirtualMachineTemplate**: VirtualMachineTemplate inventory type
704
959
  */
705
960
  export declare type InventoryType = string;
706
961
 
@@ -709,16 +964,32 @@ export declare type InventoryType = string;
709
964
  * {@link KnownIsCustomizable} can be used interchangeably with IsCustomizable,
710
965
  * this enum contains the known values that the service supports.
711
966
  * ### Known values supported by the service
712
- * **false** \
713
- * **true**
967
+ * **true**: Enable customizable. \
968
+ * **false**: Disable customizable.
714
969
  */
715
970
  export declare type IsCustomizable = string;
716
971
 
972
+ /**
973
+ * Defines values for IsHighlyAvailable. \
974
+ * {@link KnownIsHighlyAvailable} can be used interchangeably with IsHighlyAvailable,
975
+ * this enum contains the known values that the service supports.
976
+ * ### Known values supported by the service
977
+ * **true**: Enable highly available. \
978
+ * **false**: Disable highly available.
979
+ */
980
+ export declare type IsHighlyAvailable = string;
981
+
982
+ /** Known values of {@link ActionType} that the service accepts. */
983
+ export declare enum KnownActionType {
984
+ /** Internal */
985
+ Internal = "Internal"
986
+ }
987
+
717
988
  /** Known values of {@link AllocationMethod} that the service accepts. */
718
989
  export declare enum KnownAllocationMethod {
719
- /** Dynamic */
990
+ /** Dynamically allocated address. */
720
991
  Dynamic = "Dynamic",
721
- /** Static */
992
+ /** Statically allocated address. */
722
993
  Static = "Static"
723
994
  }
724
995
 
@@ -736,70 +1007,142 @@ export declare enum KnownCreatedByType {
736
1007
 
737
1008
  /** Known values of {@link CreateDiffDisk} that the service accepts. */
738
1009
  export declare enum KnownCreateDiffDisk {
739
- /** False */
740
- False = "false",
741
- /** True */
742
- True = "true"
1010
+ /** Enable create diff disk. */
1011
+ True = "true",
1012
+ /** Disable create diff disk. */
1013
+ False = "false"
1014
+ }
1015
+
1016
+ /** Known values of {@link DeleteFromHost} that the service accepts. */
1017
+ export declare enum KnownDeleteFromHost {
1018
+ /** Enable delete from host. */
1019
+ True = "true",
1020
+ /** Disable delete from host. */
1021
+ False = "false"
743
1022
  }
744
1023
 
745
1024
  /** Known values of {@link DynamicMemoryEnabled} that the service accepts. */
746
1025
  export declare enum KnownDynamicMemoryEnabled {
747
- /** False */
748
- False = "false",
749
- /** True */
750
- True = "true"
1026
+ /** Enable dynamic memory. */
1027
+ True = "true",
1028
+ /** Disable dynamic memory. */
1029
+ False = "false"
1030
+ }
1031
+
1032
+ /** Known values of {@link ForceDelete} that the service accepts. */
1033
+ export declare enum KnownForceDelete {
1034
+ /** Enable force delete. */
1035
+ True = "true",
1036
+ /** Disable force delete. */
1037
+ False = "false"
751
1038
  }
752
1039
 
753
1040
  /** Known values of {@link InventoryType} that the service accepts. */
754
1041
  export declare enum KnownInventoryType {
755
- /** Cloud */
1042
+ /** Cloud inventory type */
756
1043
  Cloud = "Cloud",
757
- /** VirtualNetwork */
1044
+ /** VirtualNetwork inventory type */
758
1045
  VirtualNetwork = "VirtualNetwork",
759
- /** VirtualMachineTemplate */
760
- VirtualMachineTemplate = "VirtualMachineTemplate",
761
- /** VirtualMachine */
762
- VirtualMachine = "VirtualMachine"
1046
+ /** VirtualMachine inventory type */
1047
+ VirtualMachine = "VirtualMachine",
1048
+ /** VirtualMachineTemplate inventory type */
1049
+ VirtualMachineTemplate = "VirtualMachineTemplate"
763
1050
  }
764
1051
 
765
1052
  /** Known values of {@link IsCustomizable} that the service accepts. */
766
1053
  export declare enum KnownIsCustomizable {
767
- /** False */
768
- False = "false",
769
- /** True */
770
- True = "true"
1054
+ /** Enable customizable. */
1055
+ True = "true",
1056
+ /** Disable customizable. */
1057
+ False = "false"
1058
+ }
1059
+
1060
+ /** Known values of {@link IsHighlyAvailable} that the service accepts. */
1061
+ export declare enum KnownIsHighlyAvailable {
1062
+ /** Enable highly available. */
1063
+ True = "true",
1064
+ /** Disable highly available. */
1065
+ False = "false"
771
1066
  }
772
1067
 
773
1068
  /** Known values of {@link LimitCpuForMigration} that the service accepts. */
774
1069
  export declare enum KnownLimitCpuForMigration {
775
- /** False */
776
- False = "false",
777
- /** True */
778
- True = "true"
1070
+ /** Enable limit CPU for migration. */
1071
+ True = "true",
1072
+ /** Disable limit CPU for migration. */
1073
+ False = "false"
1074
+ }
1075
+
1076
+ /** Known values of {@link Origin} that the service accepts. */
1077
+ export declare enum KnownOrigin {
1078
+ /** User */
1079
+ User = "user",
1080
+ /** System */
1081
+ System = "system",
1082
+ /** UserSystem */
1083
+ UserSystem = "user,system"
779
1084
  }
780
1085
 
781
1086
  /** Known values of {@link OsType} that the service accepts. */
782
1087
  export declare enum KnownOsType {
783
- /** Windows */
1088
+ /** Windows operating system. */
784
1089
  Windows = "Windows",
785
- /** Linux */
1090
+ /** Linux operating system. */
786
1091
  Linux = "Linux",
787
- /** Other */
1092
+ /** Other operating system. */
788
1093
  Other = "Other"
789
1094
  }
790
1095
 
1096
+ /** Known values of {@link ProvisioningAction} that the service accepts. */
1097
+ export declare enum KnownProvisioningAction {
1098
+ /** Install guest agent. */
1099
+ Install = "install",
1100
+ /** Uninstall guest agent. */
1101
+ Uninstall = "uninstall",
1102
+ /** Repair guest agent. */
1103
+ Repair = "repair"
1104
+ }
1105
+
1106
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1107
+ export declare enum KnownProvisioningState {
1108
+ /** Resource has been created. */
1109
+ Succeeded = "Succeeded",
1110
+ /** Resource creation failed. */
1111
+ Failed = "Failed",
1112
+ /** Resource creation was canceled. */
1113
+ Canceled = "Canceled",
1114
+ /** The resource is provisioning. */
1115
+ Provisioning = "Provisioning",
1116
+ /** The resource is updating. */
1117
+ Updating = "Updating",
1118
+ /** The resource is being deleted. */
1119
+ Deleting = "Deleting",
1120
+ /** The resource has been accepted. */
1121
+ Accepted = "Accepted",
1122
+ /** The resource was created. */
1123
+ Created = "Created"
1124
+ }
1125
+
1126
+ /** Known values of {@link SkipShutdown} that the service accepts. */
1127
+ export declare enum KnownSkipShutdown {
1128
+ /** Enable skip shutdown. */
1129
+ True = "true",
1130
+ /** Disable skip shutdown. */
1131
+ False = "false"
1132
+ }
1133
+
791
1134
  /**
792
1135
  * Defines values for LimitCpuForMigration. \
793
1136
  * {@link KnownLimitCpuForMigration} can be used interchangeably with LimitCpuForMigration,
794
1137
  * this enum contains the known values that the service supports.
795
1138
  * ### Known values supported by the service
796
- * **false** \
797
- * **true**
1139
+ * **true**: Enable limit CPU for migration. \
1140
+ * **false**: Disable limit CPU for migration.
798
1141
  */
799
1142
  export declare type LimitCpuForMigration = string;
800
1143
 
801
1144
  /** Network Interface model */
802
- export declare interface NetworkInterfaces {
1145
+ export declare interface NetworkInterface {
803
1146
  /** Gets or sets the name of the network interface. */
804
1147
  name?: string;
805
1148
  /**
@@ -808,12 +1151,12 @@ export declare interface NetworkInterfaces {
808
1151
  */
809
1152
  readonly displayName?: string;
810
1153
  /**
811
- * Gets or sets the nic ipv4 addresses.
1154
+ * Gets the nic ipv4 addresses.
812
1155
  * NOTE: This property will not be serialized. It can only be populated by the server.
813
1156
  */
814
1157
  readonly ipv4Addresses?: string[];
815
1158
  /**
816
- * Gets or sets the nic ipv6 addresses.
1159
+ * Gets the nic ipv6 addresses.
817
1160
  * NOTE: This property will not be serialized. It can only be populated by the server.
818
1161
  */
819
1162
  readonly ipv6Addresses?: string[];
@@ -822,7 +1165,7 @@ export declare interface NetworkInterfaces {
822
1165
  /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
823
1166
  virtualNetworkId?: string;
824
1167
  /**
825
- * Gets or sets the name of the virtual network in vmmServer that the nic is connected to.
1168
+ * Gets the name of the virtual network in vmmServer that the nic is connected to.
826
1169
  * NOTE: This property will not be serialized. It can only be populated by the server.
827
1170
  */
828
1171
  readonly networkName?: string;
@@ -836,8 +1179,8 @@ export declare interface NetworkInterfaces {
836
1179
  nicId?: string;
837
1180
  }
838
1181
 
839
- /** Network Interface model */
840
- export declare interface NetworkInterfacesUpdate {
1182
+ /** Network Interface Update model */
1183
+ export declare interface NetworkInterfaceUpdate {
841
1184
  /** Gets or sets the name of the network interface. */
842
1185
  name?: string;
843
1186
  /** Gets or sets the nic MAC address. */
@@ -857,22 +1200,86 @@ export declare interface NetworkInterfacesUpdate {
857
1200
  /** Defines the resource properties. */
858
1201
  export declare interface NetworkProfile {
859
1202
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
860
- networkInterfaces?: NetworkInterfaces[];
1203
+ networkInterfaces?: NetworkInterface[];
861
1204
  }
862
1205
 
863
- /** Defines the resource properties. */
1206
+ /** Defines the resource update properties. */
864
1207
  export declare interface NetworkProfileUpdate {
865
1208
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
866
- networkInterfaces?: NetworkInterfacesUpdate[];
1209
+ networkInterfaces?: NetworkInterfaceUpdate[];
1210
+ }
1211
+
1212
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
1213
+ export declare interface Operation {
1214
+ /**
1215
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1217
+ */
1218
+ readonly name?: string;
1219
+ /**
1220
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
1221
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1222
+ */
1223
+ readonly isDataAction?: boolean;
1224
+ /** Localized display information for this particular operation. */
1225
+ display?: OperationDisplay;
1226
+ /**
1227
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
1228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1229
+ */
1230
+ readonly origin?: Origin;
1231
+ /**
1232
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1233
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1234
+ */
1235
+ readonly actionType?: ActionType;
1236
+ }
1237
+
1238
+ /** Localized display information for this particular operation. */
1239
+ export declare interface OperationDisplay {
1240
+ /**
1241
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
1242
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1243
+ */
1244
+ readonly provider?: string;
1245
+ /**
1246
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
1247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1248
+ */
1249
+ readonly resource?: string;
1250
+ /**
1251
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
1252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1253
+ */
1254
+ readonly operation?: string;
1255
+ /**
1256
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
1257
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1258
+ */
1259
+ readonly description?: string;
1260
+ }
1261
+
1262
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
1263
+ export declare interface OperationListResult {
1264
+ /**
1265
+ * List of operations supported by the resource provider
1266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1267
+ */
1268
+ readonly value?: Operation[];
1269
+ /**
1270
+ * URL to get the next set of operation list results (if there are any).
1271
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1272
+ */
1273
+ readonly nextLink?: string;
867
1274
  }
868
1275
 
869
1276
  /** Interface representing a Operations. */
870
1277
  export declare interface Operations {
871
1278
  /**
872
- * Returns list of all operations.
1279
+ * List the operations for the provider
873
1280
  * @param options The options parameters.
874
1281
  */
875
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperation>;
1282
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
876
1283
  }
877
1284
 
878
1285
  /** Optional parameters. */
@@ -880,31 +1287,50 @@ export declare interface OperationsListNextOptionalParams extends coreClient.Ope
880
1287
  }
881
1288
 
882
1289
  /** Contains response data for the listNext operation. */
883
- export declare type OperationsListNextResponse = ResourceProviderOperationList;
1290
+ export declare type OperationsListNextResponse = OperationListResult;
884
1291
 
885
1292
  /** Optional parameters. */
886
1293
  export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
887
1294
  }
888
1295
 
889
1296
  /** Contains response data for the list operation. */
890
- export declare type OperationsListResponse = ResourceProviderOperationList;
1297
+ export declare type OperationsListResponse = OperationListResult;
1298
+
1299
+ /**
1300
+ * Defines values for Origin. \
1301
+ * {@link KnownOrigin} can be used interchangeably with Origin,
1302
+ * this enum contains the known values that the service supports.
1303
+ * ### Known values supported by the service
1304
+ * **user** \
1305
+ * **system** \
1306
+ * **user,system**
1307
+ */
1308
+ export declare type Origin = string;
891
1309
 
892
1310
  /** Defines the resource properties. */
893
- export declare interface OsProfile {
894
- /** Admin password of the virtual machine. */
1311
+ export declare interface OsProfileForVmInstance {
1312
+ /**
1313
+ * Admin password of the virtual machine.
1314
+ * This value contains a credential. Consider obscuring before showing to users
1315
+ */
895
1316
  adminPassword?: string;
896
1317
  /** Gets or sets computer name. */
897
1318
  computerName?: string;
898
1319
  /**
899
- * Gets or sets the type of the os.
1320
+ * Gets the type of the os.
900
1321
  * NOTE: This property will not be serialized. It can only be populated by the server.
901
1322
  */
902
1323
  readonly osType?: OsType;
903
1324
  /**
904
- * Gets or sets os name.
1325
+ * Gets os sku.
905
1326
  * NOTE: This property will not be serialized. It can only be populated by the server.
906
1327
  */
907
- readonly osName?: string;
1328
+ readonly osSku?: string;
1329
+ /**
1330
+ * Gets os version.
1331
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1332
+ */
1333
+ readonly osVersion?: string;
908
1334
  }
909
1335
 
910
1336
  /**
@@ -912,12 +1338,39 @@ export declare interface OsProfile {
912
1338
  * {@link KnownOsType} can be used interchangeably with OsType,
913
1339
  * this enum contains the known values that the service supports.
914
1340
  * ### Known values supported by the service
915
- * **Windows** \
916
- * **Linux** \
917
- * **Other**
1341
+ * **Windows**: Windows operating system. \
1342
+ * **Linux**: Linux operating system. \
1343
+ * **Other**: Other operating system.
918
1344
  */
919
1345
  export declare type OsType = string;
920
1346
 
1347
+ /**
1348
+ * Defines values for ProvisioningAction. \
1349
+ * {@link KnownProvisioningAction} can be used interchangeably with ProvisioningAction,
1350
+ * this enum contains the known values that the service supports.
1351
+ * ### Known values supported by the service
1352
+ * **install**: Install guest agent. \
1353
+ * **uninstall**: Uninstall guest agent. \
1354
+ * **repair**: Repair guest agent.
1355
+ */
1356
+ export declare type ProvisioningAction = string;
1357
+
1358
+ /**
1359
+ * Defines values for ProvisioningState. \
1360
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1361
+ * this enum contains the known values that the service supports.
1362
+ * ### Known values supported by the service
1363
+ * **Succeeded**: Resource has been created. \
1364
+ * **Failed**: Resource creation failed. \
1365
+ * **Canceled**: Resource creation was canceled. \
1366
+ * **Provisioning**: The resource is provisioning. \
1367
+ * **Updating**: The resource is updating. \
1368
+ * **Deleting**: The resource is being deleted. \
1369
+ * **Accepted**: The resource has been accepted. \
1370
+ * **Created**: The resource was created.
1371
+ */
1372
+ export declare type ProvisioningState = string;
1373
+
921
1374
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
922
1375
  export declare interface ProxyResource extends Resource {
923
1376
  }
@@ -925,7 +1378,7 @@ export declare interface ProxyResource extends Resource {
925
1378
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
926
1379
  export declare interface Resource {
927
1380
  /**
928
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1381
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
929
1382
  * NOTE: This property will not be serialized. It can only be populated by the server.
930
1383
  */
931
1384
  readonly id?: string;
@@ -939,72 +1392,41 @@ export declare interface Resource {
939
1392
  * NOTE: This property will not be serialized. It can only be populated by the server.
940
1393
  */
941
1394
  readonly type?: string;
1395
+ /**
1396
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1397
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1398
+ */
1399
+ readonly systemData?: SystemData;
942
1400
  }
943
1401
 
944
- /** Object containing tags updates for patch operations. */
945
- export declare interface ResourcePatch {
946
- /** Resource tags. */
947
- tags?: {
948
- [propertyName: string]: string;
949
- };
950
- }
951
-
952
- /** Results of the request to list operations. */
953
- export declare interface ResourceProviderOperation {
954
- /** Indicates whether the operation applies to data-plane. */
955
- isDataAction?: string;
956
- /** Operation name, in format of {provider}/{resource}/{operation}. */
957
- name?: string;
958
- /** Display metadata associated with the operation. */
959
- display?: ResourceProviderOperationDisplay;
960
- }
961
-
962
- /** Display metadata associated with the operation. */
963
- export declare interface ResourceProviderOperationDisplay {
964
- /** The resource provider. */
965
- provider?: string;
966
- /** Resource on which the operation is performed. */
967
- resource?: string;
968
- /** Type of operation: read, write, delete, etc. */
969
- operation?: string;
970
- /** Description of this operation. */
971
- description?: string;
972
- }
973
-
974
- /** Results of the request to list operations. */
975
- export declare interface ResourceProviderOperationList {
976
- /** List of Operations. */
977
- value?: ResourceProviderOperation[];
978
- /** Url to follow for getting next page of resources. */
979
- nextLink?: string;
980
- }
981
-
982
- export declare class Scvmm extends coreClient.ServiceClient {
1402
+ export declare class ScVmm extends coreClient.ServiceClient {
983
1403
  $host: string;
984
- subscriptionId: string;
985
1404
  apiVersion: string;
1405
+ subscriptionId?: string;
986
1406
  /**
987
- * Initializes a new instance of the Scvmm class.
1407
+ * Initializes a new instance of the ScVmm class.
988
1408
  * @param credentials Subscription credentials which uniquely identify client subscription.
989
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
990
- * 00000000-0000-0000-0000-000000000000).
1409
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
991
1410
  * @param options The parameter options
992
1411
  */
993
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScvmmOptionalParams);
1412
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScVmmOptionalParams);
1413
+ constructor(credentials: coreAuth.TokenCredential, options?: ScVmmOptionalParams);
994
1414
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
995
1415
  private addCustomApiVersionPolicy;
996
- vmmServers: VmmServers;
1416
+ virtualMachineInstances: VirtualMachineInstances;
1417
+ guestAgents: GuestAgents;
1418
+ vmInstanceHybridIdentityMetadatas: VmInstanceHybridIdentityMetadatas;
997
1419
  operations: Operations;
1420
+ availabilitySets: AvailabilitySets;
998
1421
  clouds: Clouds;
999
- virtualNetworks: VirtualNetworks;
1000
- virtualMachines: VirtualMachines;
1001
1422
  virtualMachineTemplates: VirtualMachineTemplates;
1002
- availabilitySets: AvailabilitySets;
1423
+ virtualNetworks: VirtualNetworks;
1424
+ vmmServers: VmmServers;
1003
1425
  inventoryItems: InventoryItems;
1004
1426
  }
1005
1427
 
1006
1428
  /** Optional parameters. */
1007
- export declare interface ScvmmOptionalParams extends coreClient.ServiceClientOptions {
1429
+ export declare interface ScVmmOptionalParams extends coreClient.ServiceClientOptions {
1008
1430
  /** server parameter */
1009
1431
  $host?: string;
1010
1432
  /** Api Version */
@@ -1013,10 +1435,20 @@ export declare interface ScvmmOptionalParams extends coreClient.ServiceClientOpt
1013
1435
  endpoint?: string;
1014
1436
  }
1015
1437
 
1438
+ /**
1439
+ * Defines values for SkipShutdown. \
1440
+ * {@link KnownSkipShutdown} can be used interchangeably with SkipShutdown,
1441
+ * this enum contains the known values that the service supports.
1442
+ * ### Known values supported by the service
1443
+ * **true**: Enable skip shutdown. \
1444
+ * **false**: Disable skip shutdown.
1445
+ */
1446
+ export declare type SkipShutdown = string;
1447
+
1016
1448
  /** Defines the stop action properties. */
1017
1449
  export declare interface StopVirtualMachineOptions {
1018
1450
  /** 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. */
1019
- skipShutdown?: boolean;
1451
+ skipShutdown?: SkipShutdown;
1020
1452
  }
1021
1453
 
1022
1454
  /** Defines the resource properties. */
@@ -1025,14 +1457,14 @@ export declare interface StorageProfile {
1025
1457
  disks?: VirtualDisk[];
1026
1458
  }
1027
1459
 
1028
- /** Defines the resource properties. */
1460
+ /** Defines the resource update properties. */
1029
1461
  export declare interface StorageProfileUpdate {
1030
1462
  /** Gets or sets the list of virtual disks associated with the virtual machine. */
1031
1463
  disks?: VirtualDiskUpdate[];
1032
1464
  }
1033
1465
 
1034
1466
  /** The StorageQoSPolicy definition. */
1035
- export declare interface StorageQoSPolicy {
1467
+ export declare interface StorageQosPolicy {
1036
1468
  /** The name of the policy. */
1037
1469
  name?: string;
1038
1470
  /** The ID of the QoS policy. */
@@ -1048,7 +1480,7 @@ export declare interface StorageQoSPolicy {
1048
1480
  }
1049
1481
 
1050
1482
  /** The StorageQoSPolicyDetails definition. */
1051
- export declare interface StorageQoSPolicyDetails {
1483
+ export declare interface StorageQosPolicyDetails {
1052
1484
  /** The name of the policy. */
1053
1485
  name?: string;
1054
1486
  /** The ID of the QoS policy. */
@@ -1071,6 +1503,16 @@ export declare interface SystemData {
1071
1503
  lastModifiedAt?: Date;
1072
1504
  }
1073
1505
 
1506
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1507
+ export declare interface TrackedResource extends Resource {
1508
+ /** Resource tags. */
1509
+ tags?: {
1510
+ [propertyName: string]: string;
1511
+ };
1512
+ /** The geo-location where the resource lives */
1513
+ location: string;
1514
+ }
1515
+
1074
1516
  /** Virtual disk model */
1075
1517
  export declare interface VirtualDisk {
1076
1518
  /** Gets or sets the name of the disk. */
@@ -1085,7 +1527,7 @@ export declare interface VirtualDisk {
1085
1527
  /** Gets or sets the disk total size. */
1086
1528
  diskSizeGB?: number;
1087
1529
  /**
1088
- * Gets or sets the max disk size.
1530
+ * Gets the max disk size.
1089
1531
  * NOTE: This property will not be serialized. It can only be populated by the server.
1090
1532
  */
1091
1533
  readonly maxDiskSizeGB?: number;
@@ -1098,7 +1540,7 @@ export declare interface VirtualDisk {
1098
1540
  /** Gets or sets the disk vhd type. */
1099
1541
  vhdType?: string;
1100
1542
  /**
1101
- * Gets or sets the disk volume type.
1543
+ * Gets the disk volume type.
1102
1544
  * NOTE: This property will not be serialized. It can only be populated by the server.
1103
1545
  */
1104
1546
  readonly volumeType?: string;
@@ -1110,12 +1552,12 @@ export declare interface VirtualDisk {
1110
1552
  /** Gets or sets the disk id in the template. */
1111
1553
  templateDiskId?: string;
1112
1554
  /** The QoS policy for the disk. */
1113
- storageQoSPolicy?: StorageQoSPolicyDetails;
1555
+ storageQosPolicy?: StorageQosPolicyDetails;
1114
1556
  /** Gets or sets a value indicating diff disk. */
1115
1557
  createDiffDisk?: CreateDiffDisk;
1116
1558
  }
1117
1559
 
1118
- /** Virtual disk model */
1560
+ /** Virtual Disk Update model */
1119
1561
  export declare interface VirtualDiskUpdate {
1120
1562
  /** Gets or sets the name of the disk. */
1121
1563
  name?: string;
@@ -1132,77 +1574,7 @@ export declare interface VirtualDiskUpdate {
1132
1574
  /** Gets or sets the disk vhd type. */
1133
1575
  vhdType?: string;
1134
1576
  /** The QoS policy for the disk. */
1135
- storageQoSPolicy?: StorageQoSPolicyDetails;
1136
- }
1137
-
1138
- /** The VirtualMachines resource definition. */
1139
- export declare interface VirtualMachine {
1140
- /**
1141
- * Resource Id
1142
- * NOTE: This property will not be serialized. It can only be populated by the server.
1143
- */
1144
- readonly id?: string;
1145
- /**
1146
- * Resource Name
1147
- * NOTE: This property will not be serialized. It can only be populated by the server.
1148
- */
1149
- readonly name?: string;
1150
- /**
1151
- * Resource Type
1152
- * NOTE: This property will not be serialized. It can only be populated by the server.
1153
- */
1154
- readonly type?: string;
1155
- /** Gets or sets the location. */
1156
- location: string;
1157
- /** Resource tags */
1158
- tags?: {
1159
- [propertyName: string]: string;
1160
- };
1161
- /**
1162
- * The system data.
1163
- * NOTE: This property will not be serialized. It can only be populated by the server.
1164
- */
1165
- readonly systemData?: SystemData;
1166
- /** The extended location. */
1167
- extendedLocation: ExtendedLocation;
1168
- /** Gets or sets the inventory Item ID for the resource. */
1169
- inventoryItemId?: string;
1170
- /** ARM Id of the vmmServer resource in which this resource resides. */
1171
- vmmServerId?: string;
1172
- /** ARM Id of the cloud resource to use for deploying the vm. */
1173
- cloudId?: string;
1174
- /** ARM Id of the template resource to use for deploying the vm. */
1175
- templateId?: string;
1176
- /** Type of checkpoint supported for the vm. */
1177
- checkpointType?: string;
1178
- /** Checkpoints in the vm. */
1179
- checkpoints?: Checkpoint[];
1180
- /** Availability Sets in vm. */
1181
- availabilitySets?: AvailabilitySetListItem[];
1182
- /** OS properties. */
1183
- osProfile?: OsProfile;
1184
- /** Hardware properties. */
1185
- hardwareProfile?: HardwareProfile;
1186
- /** Network properties. */
1187
- networkProfile?: NetworkProfile;
1188
- /** Storage properties. */
1189
- storageProfile?: StorageProfile;
1190
- /** VMName is the name of VM on the SCVMM server. */
1191
- vmName?: string;
1192
- /** Unique ID of the virtual machine. */
1193
- uuid?: string;
1194
- /** Gets or sets the generation for the vm. */
1195
- generation?: number;
1196
- /**
1197
- * Gets the power state of the virtual machine.
1198
- * NOTE: This property will not be serialized. It can only be populated by the server.
1199
- */
1200
- readonly powerState?: string;
1201
- /**
1202
- * Gets or sets the provisioning state.
1203
- * NOTE: This property will not be serialized. It can only be populated by the server.
1204
- */
1205
- readonly provisioningState?: string;
1577
+ storageQosPolicy?: StorageQosPolicyDetails;
1206
1578
  }
1207
1579
 
1208
1580
  /** Defines the create checkpoint action properties. */
@@ -1219,209 +1591,216 @@ export declare interface VirtualMachineDeleteCheckpoint {
1219
1591
  id?: string;
1220
1592
  }
1221
1593
 
1222
- /** The Virtual machine inventory item. */
1223
- export declare interface VirtualMachineInventoryItem extends InventoryItemProperties {
1224
- /** Polymorphic discriminator, which specifies the different types this object can be */
1225
- inventoryType: "VirtualMachine";
1594
+ /** Define the virtualMachineInstance. */
1595
+ export declare interface VirtualMachineInstance extends ProxyResource {
1596
+ /** The resource-specific properties for this resource. */
1597
+ properties?: VirtualMachineInstanceProperties;
1598
+ /** Gets or sets the extended location. */
1599
+ extendedLocation: ExtendedLocation;
1600
+ }
1601
+
1602
+ /** The response of a VirtualMachineInstance list operation. */
1603
+ export declare interface VirtualMachineInstanceListResult {
1604
+ /** The VirtualMachineInstance items on this page */
1605
+ value: VirtualMachineInstance[];
1226
1606
  /**
1227
- * Gets or sets the type of the os.
1607
+ * The link to the next page of items
1228
1608
  * NOTE: This property will not be serialized. It can only be populated by the server.
1229
1609
  */
1230
- readonly osType?: OsType;
1610
+ readonly nextLink?: string;
1611
+ }
1612
+
1613
+ /** Defines the resource properties. */
1614
+ export declare interface VirtualMachineInstanceProperties {
1615
+ /** Availability Sets in vm. */
1616
+ availabilitySets?: AvailabilitySetListItem[];
1617
+ /** OS properties. */
1618
+ osProfile?: OsProfileForVmInstance;
1619
+ /** Hardware properties. */
1620
+ hardwareProfile?: HardwareProfile;
1621
+ /** Network properties. */
1622
+ networkProfile?: NetworkProfile;
1623
+ /** Storage properties. */
1624
+ storageProfile?: StorageProfile;
1625
+ /** Gets the infrastructure profile. */
1626
+ infrastructureProfile?: InfrastructureProfile;
1231
1627
  /**
1232
- * Gets or sets os name.
1628
+ * Gets the power state of the virtual machine.
1233
1629
  * NOTE: This property will not be serialized. It can only be populated by the server.
1234
1630
  */
1235
- readonly osName?: string;
1631
+ readonly powerState?: string;
1236
1632
  /**
1237
- * Gets the power state of the virtual machine.
1633
+ * Provisioning state of the resource.
1238
1634
  * NOTE: This property will not be serialized. It can only be populated by the server.
1239
1635
  */
1240
- readonly powerState?: string;
1241
- /** Gets or sets the nic ip addresses. */
1242
- ipAddresses?: string[];
1243
- /** Cloud inventory resource details where the VM is present. */
1244
- cloud?: InventoryItemDetails;
1245
- }
1246
-
1247
- /** List of VirtualMachines. */
1248
- export declare interface VirtualMachineListResult {
1249
- /** List of VirtualMachines. */
1250
- value?: VirtualMachine[];
1251
- /** Url to follow for getting next page of resources. */
1252
- nextLink?: string;
1253
- }
1254
-
1255
- /** Defines the restore checkpoint action properties. */
1256
- export declare interface VirtualMachineRestoreCheckpoint {
1257
- /** ID of the checkpoint to be restored to. */
1258
- id?: string;
1636
+ readonly provisioningState?: ProvisioningState;
1259
1637
  }
1260
1638
 
1261
- /** Interface representing a VirtualMachines. */
1262
- export declare interface VirtualMachines {
1639
+ /** Interface representing a VirtualMachineInstances. */
1640
+ export declare interface VirtualMachineInstances {
1263
1641
  /**
1264
- * List of VirtualMachines in a resource group.
1265
- * @param resourceGroupName The name of the resource group.
1642
+ * Lists all of the virtual machine instances within the specified parent resource.
1643
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1266
1644
  * @param options The options parameters.
1267
1645
  */
1268
- listByResourceGroup(resourceGroupName: string, options?: VirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1646
+ list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineInstance>;
1269
1647
  /**
1270
- * List of VirtualMachines in a subscription.
1648
+ * Retrieves information about a virtual machine instance.
1649
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1271
1650
  * @param options The options parameters.
1272
1651
  */
1273
- listBySubscription(options?: VirtualMachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1652
+ get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise<VirtualMachineInstancesGetResponse>;
1274
1653
  /**
1275
- * Implements VirtualMachine GET method.
1276
- * @param resourceGroupName The name of the resource group.
1277
- * @param virtualMachineName Name of the VirtualMachine.
1654
+ * The operation to create or update a virtual machine instance. Please note some properties can be set
1655
+ * only during virtual machine instance creation.
1656
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1657
+ * @param resource Resource create parameters.
1278
1658
  * @param options The options parameters.
1279
1659
  */
1280
- get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
1660
+ beginCreateOrUpdate(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesCreateOrUpdateResponse>, VirtualMachineInstancesCreateOrUpdateResponse>>;
1281
1661
  /**
1282
- * Creates Or Updates virtual machines deployed on scvmm fabric.
1283
- * @param resourceGroupName The name of the resource group.
1284
- * @param virtualMachineName Name of the VirtualMachine.
1285
- * @param body Request payload.
1662
+ * The operation to create or update a virtual machine instance. Please note some properties can be set
1663
+ * only during virtual machine instance creation.
1664
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1665
+ * @param resource Resource create parameters.
1286
1666
  * @param options The options parameters.
1287
1667
  */
1288
- beginCreateOrUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesCreateOrUpdateResponse>, VirtualMachinesCreateOrUpdateResponse>>;
1668
+ beginCreateOrUpdateAndWait(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<VirtualMachineInstancesCreateOrUpdateResponse>;
1289
1669
  /**
1290
- * Creates Or Updates virtual machines deployed on scvmm fabric.
1291
- * @param resourceGroupName The name of the resource group.
1292
- * @param virtualMachineName Name of the VirtualMachine.
1293
- * @param body Request payload.
1670
+ * The operation to update a virtual machine instance.
1671
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1672
+ * @param properties The resource properties to be updated.
1294
1673
  * @param options The options parameters.
1295
1674
  */
1296
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<VirtualMachinesCreateOrUpdateResponse>;
1675
+ beginUpdate(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesUpdateResponse>, VirtualMachineInstancesUpdateResponse>>;
1297
1676
  /**
1298
- * Deletes a VirtualMachine deployed on ScVmm fabric.
1299
- * @param resourceGroupName The name of the resource group.
1300
- * @param virtualMachineName Name of the VirtualMachine.
1677
+ * The operation to update a virtual machine instance.
1678
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1679
+ * @param properties The resource properties to be updated.
1301
1680
  * @param options The options parameters.
1302
1681
  */
1303
- beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1682
+ beginUpdateAndWait(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<VirtualMachineInstancesUpdateResponse>;
1304
1683
  /**
1305
- * Deletes a VirtualMachine deployed on ScVmm fabric.
1306
- * @param resourceGroupName The name of the resource group.
1307
- * @param virtualMachineName Name of the VirtualMachine.
1684
+ * The operation to delete a virtual machine instance.
1685
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1308
1686
  * @param options The options parameters.
1309
1687
  */
1310
- beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<void>;
1688
+ beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteResponse>, VirtualMachineInstancesDeleteResponse>>;
1311
1689
  /**
1312
- * Updates the VirtualMachines resource.
1313
- * @param resourceGroupName The name of the resource group.
1314
- * @param virtualMachineName Name of the VirtualMachine.
1315
- * @param body VirtualMachines patch payload.
1690
+ * The operation to delete a virtual machine instance.
1691
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1316
1692
  * @param options The options parameters.
1317
1693
  */
1318
- beginUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesUpdateResponse>, VirtualMachinesUpdateResponse>>;
1694
+ beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<VirtualMachineInstancesDeleteResponse>;
1319
1695
  /**
1320
- * Updates the VirtualMachines resource.
1321
- * @param resourceGroupName The name of the resource group.
1322
- * @param virtualMachineName Name of the VirtualMachine.
1323
- * @param body VirtualMachines patch payload.
1696
+ * Creates a checkpoint in virtual machine instance.
1697
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1698
+ * @param body The content of the action request
1324
1699
  * @param options The options parameters.
1325
1700
  */
1326
- beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise<VirtualMachinesUpdateResponse>;
1701
+ beginCreateCheckpoint(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesCreateCheckpointResponse>, VirtualMachineInstancesCreateCheckpointResponse>>;
1327
1702
  /**
1328
- * Stop virtual machine.
1329
- * @param resourceGroupName The name of the resource group.
1330
- * @param virtualMachineName Name of the VirtualMachine.
1703
+ * Creates a checkpoint in virtual machine instance.
1704
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1705
+ * @param body The content of the action request
1331
1706
  * @param options The options parameters.
1332
1707
  */
1333
- beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1708
+ beginCreateCheckpointAndWait(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise<VirtualMachineInstancesCreateCheckpointResponse>;
1334
1709
  /**
1335
- * Stop virtual machine.
1336
- * @param resourceGroupName The name of the resource group.
1337
- * @param virtualMachineName Name of the VirtualMachine.
1710
+ * Deletes a checkpoint in virtual machine instance.
1711
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1712
+ * @param body The content of the action request
1338
1713
  * @param options The options parameters.
1339
1714
  */
1340
- beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
1715
+ beginDeleteCheckpoint(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteCheckpointResponse>, VirtualMachineInstancesDeleteCheckpointResponse>>;
1341
1716
  /**
1342
- * Start virtual machine.
1343
- * @param resourceGroupName The name of the resource group.
1344
- * @param virtualMachineName Name of the VirtualMachine.
1717
+ * Deletes a checkpoint in virtual machine instance.
1718
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1719
+ * @param body The content of the action request
1345
1720
  * @param options The options parameters.
1346
1721
  */
1347
- beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1722
+ beginDeleteCheckpointAndWait(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise<VirtualMachineInstancesDeleteCheckpointResponse>;
1348
1723
  /**
1349
- * Start virtual machine.
1350
- * @param resourceGroupName The name of the resource group.
1351
- * @param virtualMachineName Name of the VirtualMachine.
1724
+ * The operation to restart a virtual machine instance.
1725
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1352
1726
  * @param options The options parameters.
1353
1727
  */
1354
- beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
1728
+ beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestartResponse>, VirtualMachineInstancesRestartResponse>>;
1355
1729
  /**
1356
- * Restart virtual machine.
1357
- * @param resourceGroupName The name of the resource group.
1358
- * @param virtualMachineName Name of the VirtualMachine.
1730
+ * The operation to restart a virtual machine instance.
1731
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1359
1732
  * @param options The options parameters.
1360
1733
  */
1361
- beginRestart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1734
+ beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<VirtualMachineInstancesRestartResponse>;
1362
1735
  /**
1363
- * Restart virtual machine.
1364
- * @param resourceGroupName The name of the resource group.
1365
- * @param virtualMachineName Name of the VirtualMachine.
1736
+ * Restores to a checkpoint in virtual machine instance.
1737
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1738
+ * @param body The content of the action request
1366
1739
  * @param options The options parameters.
1367
1740
  */
1368
- beginRestartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<void>;
1741
+ beginRestoreCheckpoint(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestoreCheckpointResponse>, VirtualMachineInstancesRestoreCheckpointResponse>>;
1369
1742
  /**
1370
- * Creates a checkpoint in virtual machine.
1371
- * @param resourceGroupName The name of the resource group.
1372
- * @param virtualMachineName Name of the VirtualMachine.
1743
+ * Restores to a checkpoint in virtual machine instance.
1744
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1745
+ * @param body The content of the action request
1373
1746
  * @param options The options parameters.
1374
1747
  */
1375
- beginCreateCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1748
+ beginRestoreCheckpointAndWait(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise<VirtualMachineInstancesRestoreCheckpointResponse>;
1376
1749
  /**
1377
- * Creates a checkpoint in virtual machine.
1378
- * @param resourceGroupName The name of the resource group.
1379
- * @param virtualMachineName Name of the VirtualMachine.
1750
+ * The operation to start a virtual machine instance.
1751
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1380
1752
  * @param options The options parameters.
1381
1753
  */
1382
- beginCreateCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise<void>;
1754
+ beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStartResponse>, VirtualMachineInstancesStartResponse>>;
1383
1755
  /**
1384
- * Deletes a checkpoint in virtual machine.
1385
- * @param resourceGroupName The name of the resource group.
1386
- * @param virtualMachineName Name of the VirtualMachine.
1756
+ * The operation to start a virtual machine instance.
1757
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1387
1758
  * @param options The options parameters.
1388
1759
  */
1389
- beginDeleteCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1760
+ beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<VirtualMachineInstancesStartResponse>;
1390
1761
  /**
1391
- * Deletes a checkpoint in virtual machine.
1392
- * @param resourceGroupName The name of the resource group.
1393
- * @param virtualMachineName Name of the VirtualMachine.
1762
+ * The operation to power off (stop) a virtual machine instance.
1763
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1764
+ * @param body The content of the action request
1394
1765
  * @param options The options parameters.
1395
1766
  */
1396
- beginDeleteCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise<void>;
1767
+ beginStop(resourceUri: string, body: StopVirtualMachineOptions, options?: VirtualMachineInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStopResponse>, VirtualMachineInstancesStopResponse>>;
1397
1768
  /**
1398
- * Restores to a checkpoint in virtual machine.
1399
- * @param resourceGroupName The name of the resource group.
1400
- * @param virtualMachineName Name of the VirtualMachine.
1769
+ * The operation to power off (stop) a virtual machine instance.
1770
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
1771
+ * @param body The content of the action request
1401
1772
  * @param options The options parameters.
1402
1773
  */
1403
- beginRestoreCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestoreCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1404
- /**
1405
- * Restores to a checkpoint in virtual machine.
1406
- * @param resourceGroupName The name of the resource group.
1407
- * @param virtualMachineName Name of the VirtualMachine.
1408
- * @param options The options parameters.
1409
- */
1410
- beginRestoreCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestoreCheckpointOptionalParams): Promise<void>;
1774
+ beginStopAndWait(resourceUri: string, body: StopVirtualMachineOptions, options?: VirtualMachineInstancesStopOptionalParams): Promise<VirtualMachineInstancesStopResponse>;
1775
+ }
1776
+
1777
+ /** Defines headers for VirtualMachineInstances_createCheckpoint operation. */
1778
+ export declare interface VirtualMachineInstancesCreateCheckpointHeaders {
1779
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1780
+ location?: string;
1781
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1782
+ retryAfter?: number;
1411
1783
  }
1412
1784
 
1413
1785
  /** Optional parameters. */
1414
- export declare interface VirtualMachinesCreateCheckpointOptionalParams extends coreClient.OperationOptions {
1415
- /** Virtualmachine create checkpoint action payload. */
1416
- body?: VirtualMachineCreateCheckpoint;
1786
+ export declare interface VirtualMachineInstancesCreateCheckpointOptionalParams extends coreClient.OperationOptions {
1417
1787
  /** Delay to wait until next poll, in milliseconds. */
1418
1788
  updateIntervalInMs?: number;
1419
1789
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1420
1790
  resumeFrom?: string;
1421
1791
  }
1422
1792
 
1793
+ /** Contains response data for the createCheckpoint operation. */
1794
+ export declare type VirtualMachineInstancesCreateCheckpointResponse = VirtualMachineInstancesCreateCheckpointHeaders;
1795
+
1796
+ /** Defines headers for VirtualMachineInstances_createOrUpdate operation. */
1797
+ export declare interface VirtualMachineInstancesCreateOrUpdateHeaders {
1798
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1799
+ retryAfter?: number;
1800
+ }
1801
+
1423
1802
  /** Optional parameters. */
1424
- export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1803
+ export declare interface VirtualMachineInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1425
1804
  /** Delay to wait until next poll, in milliseconds. */
1426
1805
  updateIntervalInMs?: number;
1427
1806
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -1429,142 +1808,279 @@ export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends cor
1429
1808
  }
1430
1809
 
1431
1810
  /** Contains response data for the createOrUpdate operation. */
1432
- export declare type VirtualMachinesCreateOrUpdateResponse = VirtualMachine;
1811
+ export declare type VirtualMachineInstancesCreateOrUpdateResponse = VirtualMachineInstance;
1812
+
1813
+ /** Defines headers for VirtualMachineInstances_deleteCheckpoint operation. */
1814
+ export declare interface VirtualMachineInstancesDeleteCheckpointHeaders {
1815
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1816
+ location?: string;
1817
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1818
+ retryAfter?: number;
1819
+ }
1433
1820
 
1434
1821
  /** Optional parameters. */
1435
- export declare interface VirtualMachinesDeleteCheckpointOptionalParams extends coreClient.OperationOptions {
1436
- /** Virtualmachine delete checkpoint action payload. */
1437
- body?: VirtualMachineDeleteCheckpoint;
1822
+ export declare interface VirtualMachineInstancesDeleteCheckpointOptionalParams extends coreClient.OperationOptions {
1438
1823
  /** Delay to wait until next poll, in milliseconds. */
1439
1824
  updateIntervalInMs?: number;
1440
1825
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1441
1826
  resumeFrom?: string;
1442
1827
  }
1443
1828
 
1829
+ /** Contains response data for the deleteCheckpoint operation. */
1830
+ export declare type VirtualMachineInstancesDeleteCheckpointResponse = VirtualMachineInstancesDeleteCheckpointHeaders;
1831
+
1832
+ /** Defines headers for VirtualMachineInstances_delete operation. */
1833
+ export declare interface VirtualMachineInstancesDeleteHeaders {
1834
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1835
+ location?: string;
1836
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1837
+ retryAfter?: number;
1838
+ }
1839
+
1444
1840
  /** Optional parameters. */
1445
- export declare interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
1446
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1447
- force?: boolean;
1448
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
1449
- retain?: boolean;
1841
+ export declare interface VirtualMachineInstancesDeleteOptionalParams extends coreClient.OperationOptions {
1842
+ /** Forces the resource to be deleted. */
1843
+ force?: ForceDelete;
1844
+ /** Whether to disable the VM from azure and also delete it from Vmm. */
1845
+ deleteFromHost?: DeleteFromHost;
1450
1846
  /** Delay to wait until next poll, in milliseconds. */
1451
1847
  updateIntervalInMs?: number;
1452
1848
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1453
1849
  resumeFrom?: string;
1454
1850
  }
1455
1851
 
1852
+ /** Contains response data for the delete operation. */
1853
+ export declare type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders;
1854
+
1456
1855
  /** Optional parameters. */
1457
- export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1856
+ export declare interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions {
1458
1857
  }
1459
1858
 
1460
1859
  /** Contains response data for the get operation. */
1461
- export declare type VirtualMachinesGetResponse = VirtualMachine;
1860
+ export declare type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
1462
1861
 
1463
1862
  /** Optional parameters. */
1464
- export declare interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1863
+ export declare interface VirtualMachineInstancesListNextOptionalParams extends coreClient.OperationOptions {
1465
1864
  }
1466
1865
 
1467
- /** Contains response data for the listByResourceGroupNext operation. */
1468
- export declare type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResult;
1866
+ /** Contains response data for the listNext operation. */
1867
+ export declare type VirtualMachineInstancesListNextResponse = VirtualMachineInstanceListResult;
1469
1868
 
1470
1869
  /** Optional parameters. */
1471
- export declare interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1870
+ export declare interface VirtualMachineInstancesListOptionalParams extends coreClient.OperationOptions {
1472
1871
  }
1473
1872
 
1474
- /** Contains response data for the listByResourceGroup operation. */
1475
- export declare type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResult;
1873
+ /** Contains response data for the list operation. */
1874
+ export declare type VirtualMachineInstancesListResponse = VirtualMachineInstanceListResult;
1476
1875
 
1477
- /** Optional parameters. */
1478
- export declare interface VirtualMachinesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1876
+ /** Defines headers for VirtualMachineInstances_restart operation. */
1877
+ export declare interface VirtualMachineInstancesRestartHeaders {
1878
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1879
+ location?: string;
1880
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1881
+ retryAfter?: number;
1479
1882
  }
1480
1883
 
1481
- /** Contains response data for the listBySubscriptionNext operation. */
1482
- export declare type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResult;
1483
-
1484
1884
  /** Optional parameters. */
1485
- export declare interface VirtualMachinesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1885
+ export declare interface VirtualMachineInstancesRestartOptionalParams extends coreClient.OperationOptions {
1886
+ /** Delay to wait until next poll, in milliseconds. */
1887
+ updateIntervalInMs?: number;
1888
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1889
+ resumeFrom?: string;
1486
1890
  }
1487
1891
 
1488
- /** Contains response data for the listBySubscription operation. */
1489
- export declare type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResult;
1892
+ /** Contains response data for the restart operation. */
1893
+ export declare type VirtualMachineInstancesRestartResponse = VirtualMachineInstancesRestartHeaders;
1894
+
1895
+ /** Defines headers for VirtualMachineInstances_restoreCheckpoint operation. */
1896
+ export declare interface VirtualMachineInstancesRestoreCheckpointHeaders {
1897
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1898
+ location?: string;
1899
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1900
+ retryAfter?: number;
1901
+ }
1490
1902
 
1491
1903
  /** Optional parameters. */
1492
- export declare interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions {
1904
+ export declare interface VirtualMachineInstancesRestoreCheckpointOptionalParams extends coreClient.OperationOptions {
1493
1905
  /** Delay to wait until next poll, in milliseconds. */
1494
1906
  updateIntervalInMs?: number;
1495
1907
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1496
1908
  resumeFrom?: string;
1497
1909
  }
1498
1910
 
1911
+ /** Contains response data for the restoreCheckpoint operation. */
1912
+ export declare type VirtualMachineInstancesRestoreCheckpointResponse = VirtualMachineInstancesRestoreCheckpointHeaders;
1913
+
1914
+ /** Defines headers for VirtualMachineInstances_start operation. */
1915
+ export declare interface VirtualMachineInstancesStartHeaders {
1916
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1917
+ location?: string;
1918
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1919
+ retryAfter?: number;
1920
+ }
1921
+
1499
1922
  /** Optional parameters. */
1500
- export declare interface VirtualMachinesRestoreCheckpointOptionalParams extends coreClient.OperationOptions {
1501
- /** Virtualmachine restore checkpoint action payload. */
1502
- body?: VirtualMachineRestoreCheckpoint;
1923
+ export declare interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions {
1503
1924
  /** Delay to wait until next poll, in milliseconds. */
1504
1925
  updateIntervalInMs?: number;
1505
1926
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1506
1927
  resumeFrom?: string;
1507
1928
  }
1508
1929
 
1930
+ /** Contains response data for the start operation. */
1931
+ export declare type VirtualMachineInstancesStartResponse = VirtualMachineInstancesStartHeaders;
1932
+
1933
+ /** Defines headers for VirtualMachineInstances_stop operation. */
1934
+ export declare interface VirtualMachineInstancesStopHeaders {
1935
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1936
+ location?: string;
1937
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1938
+ retryAfter?: number;
1939
+ }
1940
+
1509
1941
  /** Optional parameters. */
1510
- export declare interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
1942
+ export declare interface VirtualMachineInstancesStopOptionalParams extends coreClient.OperationOptions {
1511
1943
  /** Delay to wait until next poll, in milliseconds. */
1512
1944
  updateIntervalInMs?: number;
1513
1945
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1514
1946
  resumeFrom?: string;
1515
1947
  }
1516
1948
 
1949
+ /** Contains response data for the stop operation. */
1950
+ export declare type VirtualMachineInstancesStopResponse = VirtualMachineInstancesStopHeaders;
1951
+
1952
+ /** Defines headers for VirtualMachineInstances_update operation. */
1953
+ export declare interface VirtualMachineInstancesUpdateHeaders {
1954
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1955
+ location?: string;
1956
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1957
+ retryAfter?: number;
1958
+ }
1959
+
1517
1960
  /** Optional parameters. */
1518
- export declare interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
1519
- /** Virtualmachine stop action payload. */
1520
- body?: StopVirtualMachineOptions;
1961
+ export declare interface VirtualMachineInstancesUpdateOptionalParams extends coreClient.OperationOptions {
1521
1962
  /** Delay to wait until next poll, in milliseconds. */
1522
1963
  updateIntervalInMs?: number;
1523
1964
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1524
1965
  resumeFrom?: string;
1525
1966
  }
1526
1967
 
1527
- /** Optional parameters. */
1528
- export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
1529
- /** Delay to wait until next poll, in milliseconds. */
1530
- updateIntervalInMs?: number;
1531
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1532
- resumeFrom?: string;
1968
+ /** Contains response data for the update operation. */
1969
+ export declare type VirtualMachineInstancesUpdateResponse = VirtualMachineInstance;
1970
+
1971
+ /** The type used for update operations of the VirtualMachineInstance. */
1972
+ export declare interface VirtualMachineInstanceUpdate {
1973
+ /** The update properties of the VirtualMachineInstance. */
1974
+ properties?: VirtualMachineInstanceUpdateProperties;
1975
+ }
1976
+
1977
+ /** Virtual Machine Instance Properties Update model */
1978
+ export declare interface VirtualMachineInstanceUpdateProperties {
1979
+ /** Availability Sets in vm. */
1980
+ availabilitySets?: AvailabilitySetListItem[];
1981
+ /** Hardware properties. */
1982
+ hardwareProfile?: HardwareProfileUpdate;
1983
+ /** Network properties. */
1984
+ networkProfile?: NetworkProfileUpdate;
1985
+ /** Storage properties. */
1986
+ storageProfile?: StorageProfileUpdate;
1987
+ /** Gets the infrastructure profile. */
1988
+ infrastructureProfile?: InfrastructureProfileUpdate;
1989
+ }
1990
+
1991
+ /** The Virtual machine inventory item. */
1992
+ export declare interface VirtualMachineInventoryItem extends InventoryItemProperties {
1993
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1994
+ inventoryType: "VirtualMachine";
1995
+ /**
1996
+ * Gets the type of the os.
1997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1998
+ */
1999
+ readonly osType?: OsType;
2000
+ /**
2001
+ * Gets os name.
2002
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2003
+ */
2004
+ readonly osName?: string;
2005
+ /**
2006
+ * Gets os version.
2007
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2008
+ */
2009
+ readonly osVersion?: string;
2010
+ /**
2011
+ * Gets the power state of the virtual machine.
2012
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2013
+ */
2014
+ readonly powerState?: string;
2015
+ /** Gets or sets the nic ip addresses. */
2016
+ ipAddresses?: string[];
2017
+ /** Cloud inventory resource details where the VM is present. */
2018
+ cloud?: InventoryItemDetails;
2019
+ /**
2020
+ * Gets the bios guid.
2021
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2022
+ */
2023
+ readonly biosGuid?: string;
2024
+ /**
2025
+ * Gets the tracked resource id corresponding to the inventory resource.
2026
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2027
+ */
2028
+ readonly managedMachineResourceId?: string;
2029
+ }
2030
+
2031
+ /** Defines the restore checkpoint action properties. */
2032
+ export declare interface VirtualMachineRestoreCheckpoint {
2033
+ /** ID of the checkpoint to be restored to. */
2034
+ id?: string;
1533
2035
  }
1534
2036
 
1535
- /** Contains response data for the update operation. */
1536
- export declare type VirtualMachinesUpdateResponse = VirtualMachine;
1537
-
1538
2037
  /** The VirtualMachineTemplates resource definition. */
1539
- export declare interface VirtualMachineTemplate {
2038
+ export declare interface VirtualMachineTemplate extends TrackedResource {
2039
+ /** The resource-specific properties for this resource. */
2040
+ properties?: VirtualMachineTemplateProperties;
2041
+ /** The extended location. */
2042
+ extendedLocation: ExtendedLocation;
2043
+ }
2044
+
2045
+ /** The Virtual machine template inventory item. */
2046
+ export declare interface VirtualMachineTemplateInventoryItem extends InventoryItemProperties {
2047
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2048
+ inventoryType: "VirtualMachineTemplate";
1540
2049
  /**
1541
- * Resource Id
2050
+ * Gets the desired number of vCPUs for the vm.
1542
2051
  * NOTE: This property will not be serialized. It can only be populated by the server.
1543
2052
  */
1544
- readonly id?: string;
2053
+ readonly cpuCount?: number;
1545
2054
  /**
1546
- * Resource Name
2055
+ * MemoryMB is the desired size of a virtual machine's memory, in MB.
1547
2056
  * NOTE: This property will not be serialized. It can only be populated by the server.
1548
2057
  */
1549
- readonly name?: string;
2058
+ readonly memoryMB?: number;
1550
2059
  /**
1551
- * Resource Type
2060
+ * Gets the type of the os.
1552
2061
  * NOTE: This property will not be serialized. It can only be populated by the server.
1553
2062
  */
1554
- readonly type?: string;
1555
- /** Gets or sets the location. */
1556
- location: string;
1557
- /** Resource tags */
1558
- tags?: {
1559
- [propertyName: string]: string;
1560
- };
2063
+ readonly osType?: OsType;
1561
2064
  /**
1562
- * The system data.
2065
+ * Gets os name.
1563
2066
  * NOTE: This property will not be serialized. It can only be populated by the server.
1564
2067
  */
1565
- readonly systemData?: SystemData;
1566
- /** The extended location. */
1567
- extendedLocation: ExtendedLocation;
2068
+ readonly osName?: string;
2069
+ }
2070
+
2071
+ /** The response of a VirtualMachineTemplate list operation. */
2072
+ export declare interface VirtualMachineTemplateListResult {
2073
+ /** The VirtualMachineTemplate items on this page */
2074
+ value: VirtualMachineTemplate[];
2075
+ /**
2076
+ * The link to the next page of items
2077
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2078
+ */
2079
+ readonly nextLink?: string;
2080
+ }
2081
+
2082
+ /** Defines the resource properties. */
2083
+ export declare interface VirtualMachineTemplateProperties {
1568
2084
  /** Gets or sets the inventory Item ID for the resource. */
1569
2085
  inventoryItemId?: string;
1570
2086
  /** Unique ID of the virtual machine template. */
@@ -1572,17 +2088,17 @@ export declare interface VirtualMachineTemplate {
1572
2088
  /** ARM Id of the vmmServer resource in which this resource resides. */
1573
2089
  vmmServerId?: string;
1574
2090
  /**
1575
- * Gets or sets the type of the os.
2091
+ * Gets the type of the os.
1576
2092
  * NOTE: This property will not be serialized. It can only be populated by the server.
1577
2093
  */
1578
2094
  readonly osType?: OsType;
1579
2095
  /**
1580
- * Gets or sets os name.
2096
+ * Gets os name.
1581
2097
  * NOTE: This property will not be serialized. It can only be populated by the server.
1582
2098
  */
1583
2099
  readonly osName?: string;
1584
2100
  /**
1585
- * Gets or sets computer name.
2101
+ * Gets computer name.
1586
2102
  * NOTE: This property will not be serialized. It can only be populated by the server.
1587
2103
  */
1588
2104
  readonly computerName?: string;
@@ -1592,32 +2108,32 @@ export declare interface VirtualMachineTemplate {
1592
2108
  */
1593
2109
  readonly memoryMB?: number;
1594
2110
  /**
1595
- * Gets or sets the desired number of vCPUs for the vm.
2111
+ * Gets the desired number of vCPUs for the vm.
1596
2112
  * NOTE: This property will not be serialized. It can only be populated by the server.
1597
2113
  */
1598
2114
  readonly cpuCount?: number;
1599
2115
  /**
1600
- * Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
2116
+ * Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.
1601
2117
  * NOTE: This property will not be serialized. It can only be populated by the server.
1602
2118
  */
1603
2119
  readonly limitCpuForMigration?: LimitCpuForMigration;
1604
2120
  /**
1605
- * Gets or sets a value indicating whether to enable dynamic memory or not.
2121
+ * Gets a value indicating whether to enable dynamic memory or not.
1606
2122
  * NOTE: This property will not be serialized. It can only be populated by the server.
1607
2123
  */
1608
2124
  readonly dynamicMemoryEnabled?: DynamicMemoryEnabled;
1609
2125
  /**
1610
- * Gets or sets a value indicating whether the vm template is customizable or not.
2126
+ * Gets a value indicating whether the vm template is customizable or not.
1611
2127
  * NOTE: This property will not be serialized. It can only be populated by the server.
1612
2128
  */
1613
2129
  readonly isCustomizable?: IsCustomizable;
1614
2130
  /**
1615
- * Gets or sets the max dynamic memory for the vm.
2131
+ * Gets the max dynamic memory for the vm.
1616
2132
  * NOTE: This property will not be serialized. It can only be populated by the server.
1617
2133
  */
1618
2134
  readonly dynamicMemoryMaxMB?: number;
1619
2135
  /**
1620
- * Gets or sets the min dynamic memory for the vm.
2136
+ * Gets the min dynamic memory for the vm.
1621
2137
  * NOTE: This property will not be serialized. It can only be populated by the server.
1622
2138
  */
1623
2139
  readonly dynamicMemoryMinMB?: number;
@@ -1625,129 +2141,101 @@ export declare interface VirtualMachineTemplate {
1625
2141
  * Gets highly available property.
1626
2142
  * NOTE: This property will not be serialized. It can only be populated by the server.
1627
2143
  */
1628
- readonly isHighlyAvailable?: string;
2144
+ readonly isHighlyAvailable?: IsHighlyAvailable;
1629
2145
  /**
1630
- * Gets or sets the generation for the vm.
2146
+ * Gets the generation for the vm.
1631
2147
  * NOTE: This property will not be serialized. It can only be populated by the server.
1632
2148
  */
1633
2149
  readonly generation?: number;
1634
2150
  /**
1635
- * Gets or sets the network interfaces of the template.
2151
+ * Gets the network interfaces of the template.
1636
2152
  * NOTE: This property will not be serialized. It can only be populated by the server.
1637
2153
  */
1638
- readonly networkInterfaces?: NetworkInterfaces[];
2154
+ readonly networkInterfaces?: NetworkInterface[];
1639
2155
  /**
1640
- * Gets or sets the disks of the template.
2156
+ * Gets the disks of the template.
1641
2157
  * NOTE: This property will not be serialized. It can only be populated by the server.
1642
2158
  */
1643
2159
  readonly disks?: VirtualDisk[];
1644
2160
  /**
1645
- * Gets or sets the provisioning state.
1646
- * NOTE: This property will not be serialized. It can only be populated by the server.
1647
- */
1648
- readonly provisioningState?: string;
1649
- }
1650
-
1651
- /** The Virtual machine template inventory item. */
1652
- export declare interface VirtualMachineTemplateInventoryItem extends InventoryItemProperties {
1653
- /** Polymorphic discriminator, which specifies the different types this object can be */
1654
- inventoryType: "VirtualMachineTemplate";
1655
- /**
1656
- * Gets or sets the desired number of vCPUs for the vm.
1657
- * NOTE: This property will not be serialized. It can only be populated by the server.
1658
- */
1659
- readonly cpuCount?: number;
1660
- /**
1661
- * MemoryMB is the desired size of a virtual machine's memory, in MB.
1662
- * NOTE: This property will not be serialized. It can only be populated by the server.
1663
- */
1664
- readonly memoryMB?: number;
1665
- /**
1666
- * Gets or sets the type of the os.
1667
- * NOTE: This property will not be serialized. It can only be populated by the server.
1668
- */
1669
- readonly osType?: OsType;
1670
- /**
1671
- * Gets or sets os name.
2161
+ * Provisioning state of the resource.
1672
2162
  * NOTE: This property will not be serialized. It can only be populated by the server.
1673
2163
  */
1674
- readonly osName?: string;
1675
- }
1676
-
1677
- /** List of VirtualMachineTemplates. */
1678
- export declare interface VirtualMachineTemplateListResult {
1679
- /** List of VirtualMachineTemplates. */
1680
- value?: VirtualMachineTemplate[];
1681
- /** Url to follow for getting next page of resources. */
1682
- nextLink?: string;
2164
+ readonly provisioningState?: ProvisioningState;
1683
2165
  }
1684
2166
 
1685
2167
  /** Interface representing a VirtualMachineTemplates. */
1686
2168
  export declare interface VirtualMachineTemplates {
1687
2169
  /**
1688
- * List of VirtualMachineTemplates in a resource group.
1689
- * @param resourceGroupName The name of the resource group.
2170
+ * List of VirtualMachineTemplates in a subscription.
1690
2171
  * @param options The options parameters.
1691
2172
  */
1692
- listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
2173
+ listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
1693
2174
  /**
1694
- * List of VirtualMachineTemplates in a subscription.
2175
+ * List of VirtualMachineTemplates in a resource group.
2176
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1695
2177
  * @param options The options parameters.
1696
2178
  */
1697
- listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
2179
+ listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
1698
2180
  /**
1699
2181
  * Implements VirtualMachineTemplate GET method.
1700
- * @param resourceGroupName The name of the resource group.
2182
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1701
2183
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1702
2184
  * @param options The options parameters.
1703
2185
  */
1704
2186
  get(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplatesGetResponse>;
1705
2187
  /**
1706
2188
  * Onboards the ScVmm VM Template as an Azure VM Template resource.
1707
- * @param resourceGroupName The name of the resource group.
2189
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1708
2190
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1709
- * @param body Request payload.
2191
+ * @param resource Resource create parameters.
1710
2192
  * @param options The options parameters.
1711
2193
  */
1712
- beginCreateOrUpdate(resourceGroupName: string, virtualMachineTemplateName: string, body: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachineTemplatesCreateOrUpdateResponse>, VirtualMachineTemplatesCreateOrUpdateResponse>>;
2194
+ beginCreateOrUpdate(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplatesCreateOrUpdateResponse>, VirtualMachineTemplatesCreateOrUpdateResponse>>;
1713
2195
  /**
1714
2196
  * Onboards the ScVmm VM Template as an Azure VM Template resource.
1715
- * @param resourceGroupName The name of the resource group.
2197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1716
2198
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1717
- * @param body Request payload.
2199
+ * @param resource Resource create parameters.
1718
2200
  * @param options The options parameters.
1719
2201
  */
1720
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, body: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<VirtualMachineTemplatesCreateOrUpdateResponse>;
2202
+ beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<VirtualMachineTemplatesCreateOrUpdateResponse>;
1721
2203
  /**
1722
- * Deregisters the ScVmm VM Template from Azure.
1723
- * @param resourceGroupName The name of the resource group.
2204
+ * Updates the VirtualMachineTemplate resource.
2205
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1724
2206
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
2207
+ * @param properties The resource properties to be updated.
1725
2208
  * @param options The options parameters.
1726
2209
  */
1727
- beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2210
+ beginUpdate(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplatesUpdateResponse>, VirtualMachineTemplatesUpdateResponse>>;
1728
2211
  /**
1729
- * Deregisters the ScVmm VM Template from Azure.
1730
- * @param resourceGroupName The name of the resource group.
2212
+ * Updates the VirtualMachineTemplate resource.
2213
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1731
2214
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
2215
+ * @param properties The resource properties to be updated.
1732
2216
  * @param options The options parameters.
1733
2217
  */
1734
- beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<void>;
2218
+ beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplatesUpdateResponse>;
1735
2219
  /**
1736
- * Updates the VirtualMachineTemplate resource.
1737
- * @param resourceGroupName The name of the resource group.
2220
+ * Deregisters the ScVmm VM Template from Azure.
2221
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1738
2222
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1739
- * @param body VirtualMachineTemplates patch details.
1740
2223
  * @param options The options parameters.
1741
2224
  */
1742
- beginUpdate(resourceGroupName: string, virtualMachineTemplateName: string, body: ResourcePatch, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachineTemplatesUpdateResponse>, VirtualMachineTemplatesUpdateResponse>>;
2225
+ beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplatesDeleteResponse>, VirtualMachineTemplatesDeleteResponse>>;
1743
2226
  /**
1744
- * Updates the VirtualMachineTemplate resource.
1745
- * @param resourceGroupName The name of the resource group.
2227
+ * Deregisters the ScVmm VM Template from Azure.
2228
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1746
2229
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1747
- * @param body VirtualMachineTemplates patch details.
1748
2230
  * @param options The options parameters.
1749
2231
  */
1750
- beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, body: ResourcePatch, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplatesUpdateResponse>;
2232
+ beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<VirtualMachineTemplatesDeleteResponse>;
2233
+ }
2234
+
2235
+ /** Defines headers for VirtualMachineTemplates_createOrUpdate operation. */
2236
+ export declare interface VirtualMachineTemplatesCreateOrUpdateHeaders {
2237
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2238
+ retryAfter?: number;
1751
2239
  }
1752
2240
 
1753
2241
  /** Optional parameters. */
@@ -1761,16 +2249,27 @@ export declare interface VirtualMachineTemplatesCreateOrUpdateOptionalParams ext
1761
2249
  /** Contains response data for the createOrUpdate operation. */
1762
2250
  export declare type VirtualMachineTemplatesCreateOrUpdateResponse = VirtualMachineTemplate;
1763
2251
 
2252
+ /** Defines headers for VirtualMachineTemplates_delete operation. */
2253
+ export declare interface VirtualMachineTemplatesDeleteHeaders {
2254
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2255
+ location?: string;
2256
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2257
+ retryAfter?: number;
2258
+ }
2259
+
1764
2260
  /** Optional parameters. */
1765
2261
  export declare interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions {
1766
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1767
- force?: boolean;
2262
+ /** Forces the resource to be deleted. */
2263
+ force?: ForceDelete;
1768
2264
  /** Delay to wait until next poll, in milliseconds. */
1769
2265
  updateIntervalInMs?: number;
1770
2266
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1771
2267
  resumeFrom?: string;
1772
2268
  }
1773
2269
 
2270
+ /** Contains response data for the delete operation. */
2271
+ export declare type VirtualMachineTemplatesDeleteResponse = VirtualMachineTemplatesDeleteHeaders;
2272
+
1774
2273
  /** Optional parameters. */
1775
2274
  export declare interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions {
1776
2275
  }
@@ -1806,6 +2305,14 @@ export declare interface VirtualMachineTemplatesListBySubscriptionOptionalParams
1806
2305
  /** Contains response data for the listBySubscription operation. */
1807
2306
  export declare type VirtualMachineTemplatesListBySubscriptionResponse = VirtualMachineTemplateListResult;
1808
2307
 
2308
+ /** Defines headers for VirtualMachineTemplates_update operation. */
2309
+ export declare interface VirtualMachineTemplatesUpdateHeaders {
2310
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2311
+ location?: string;
2312
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2313
+ retryAfter?: number;
2314
+ }
2315
+
1809
2316
  /** Optional parameters. */
1810
2317
  export declare interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient.OperationOptions {
1811
2318
  /** Delay to wait until next poll, in milliseconds. */
@@ -1817,58 +2324,41 @@ export declare interface VirtualMachineTemplatesUpdateOptionalParams extends cor
1817
2324
  /** Contains response data for the update operation. */
1818
2325
  export declare type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
1819
2326
 
1820
- /** Defines the virtualMachineUpdate. */
1821
- export declare interface VirtualMachineUpdate {
1822
- /** Defines the resource properties. */
1823
- properties?: VirtualMachineUpdateProperties;
1824
- /** Gets or sets the Resource tags. */
2327
+ /** The type used for updating tags in VirtualMachineTemplate resources. */
2328
+ export declare interface VirtualMachineTemplateTagsUpdate {
2329
+ /** Resource tags. */
1825
2330
  tags?: {
1826
2331
  [propertyName: string]: string;
1827
2332
  };
1828
2333
  }
1829
2334
 
1830
- /** Defines the resource properties. */
1831
- export declare interface VirtualMachineUpdateProperties {
1832
- /** Defines the resource properties. */
1833
- hardwareProfile?: HardwareProfileUpdate;
1834
- /** Defines the resource properties. */
1835
- storageProfile?: StorageProfileUpdate;
1836
- /** Defines the resource properties. */
1837
- networkProfile?: NetworkProfileUpdate;
1838
- /** Availability Sets in vm. */
1839
- availabilitySets?: AvailabilitySetListItem[];
2335
+ /** The VirtualNetworks resource definition. */
2336
+ export declare interface VirtualNetwork extends TrackedResource {
2337
+ /** The resource-specific properties for this resource. */
2338
+ properties?: VirtualNetworkProperties;
2339
+ /** The extended location. */
2340
+ extendedLocation: ExtendedLocation;
1840
2341
  }
1841
2342
 
1842
- /** The VirtualNetworks resource definition. */
1843
- export declare interface VirtualNetwork {
1844
- /**
1845
- * Resource Id
1846
- * NOTE: This property will not be serialized. It can only be populated by the server.
1847
- */
1848
- readonly id?: string;
1849
- /**
1850
- * Resource Name
1851
- * NOTE: This property will not be serialized. It can only be populated by the server.
1852
- */
1853
- readonly name?: string;
1854
- /**
1855
- * Resource Type
1856
- * NOTE: This property will not be serialized. It can only be populated by the server.
1857
- */
1858
- readonly type?: string;
1859
- /** Gets or sets the location. */
1860
- location: string;
1861
- /** Resource tags */
1862
- tags?: {
1863
- [propertyName: string]: string;
1864
- };
2343
+ /** The Virtual network inventory item. */
2344
+ export declare interface VirtualNetworkInventoryItem extends InventoryItemProperties {
2345
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2346
+ inventoryType: "VirtualNetwork";
2347
+ }
2348
+
2349
+ /** The response of a VirtualNetwork list operation. */
2350
+ export declare interface VirtualNetworkListResult {
2351
+ /** The VirtualNetwork items on this page */
2352
+ value: VirtualNetwork[];
1865
2353
  /**
1866
- * The system data.
2354
+ * The link to the next page of items
1867
2355
  * NOTE: This property will not be serialized. It can only be populated by the server.
1868
2356
  */
1869
- readonly systemData?: SystemData;
1870
- /** The extended location. */
1871
- extendedLocation: ExtendedLocation;
2357
+ readonly nextLink?: string;
2358
+ }
2359
+
2360
+ /** Defines the resource properties. */
2361
+ export declare interface VirtualNetworkProperties {
1872
2362
  /** Gets or sets the inventory Item ID for the resource. */
1873
2363
  inventoryItemId?: string;
1874
2364
  /** Unique ID of the virtual network. */
@@ -1881,92 +2371,84 @@ export declare interface VirtualNetwork {
1881
2371
  */
1882
2372
  readonly networkName?: string;
1883
2373
  /**
1884
- * Gets or sets the provisioning state.
2374
+ * Provisioning state of the resource.
1885
2375
  * NOTE: This property will not be serialized. It can only be populated by the server.
1886
2376
  */
1887
- readonly provisioningState?: string;
1888
- }
1889
-
1890
- /** The Virtual network inventory item. */
1891
- export declare interface VirtualNetworkInventoryItem extends InventoryItemProperties {
1892
- /** Polymorphic discriminator, which specifies the different types this object can be */
1893
- inventoryType: "VirtualNetwork";
1894
- }
1895
-
1896
- /** List of VirtualNetworks. */
1897
- export declare interface VirtualNetworkListResult {
1898
- /** List of VirtualNetworks. */
1899
- value?: VirtualNetwork[];
1900
- /** Url to follow for getting next page of resources. */
1901
- nextLink?: string;
2377
+ readonly provisioningState?: ProvisioningState;
1902
2378
  }
1903
2379
 
1904
2380
  /** Interface representing a VirtualNetworks. */
1905
2381
  export declare interface VirtualNetworks {
1906
2382
  /**
1907
- * List of VirtualNetworks in a resource group.
1908
- * @param resourceGroupName The name of the resource group.
2383
+ * List of VirtualNetworks in a subscription.
1909
2384
  * @param options The options parameters.
1910
2385
  */
1911
- listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
2386
+ listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
1912
2387
  /**
1913
- * List of VirtualNetworks in a subscription.
2388
+ * List of VirtualNetworks in a resource group.
2389
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1914
2390
  * @param options The options parameters.
1915
2391
  */
1916
- listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
2392
+ listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
1917
2393
  /**
1918
2394
  * Implements VirtualNetwork GET method.
1919
- * @param resourceGroupName The name of the resource group.
2395
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1920
2396
  * @param virtualNetworkName Name of the VirtualNetwork.
1921
2397
  * @param options The options parameters.
1922
2398
  */
1923
2399
  get(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetworksGetResponse>;
1924
2400
  /**
1925
2401
  * Onboards the ScVmm virtual network as an Azure virtual network resource.
1926
- * @param resourceGroupName The name of the resource group.
2402
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1927
2403
  * @param virtualNetworkName Name of the VirtualNetwork.
1928
- * @param body Request payload.
2404
+ * @param resource Resource create parameters.
1929
2405
  * @param options The options parameters.
1930
2406
  */
1931
- beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, body: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworksCreateOrUpdateResponse>, VirtualNetworksCreateOrUpdateResponse>>;
2407
+ beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworksCreateOrUpdateResponse>, VirtualNetworksCreateOrUpdateResponse>>;
1932
2408
  /**
1933
2409
  * Onboards the ScVmm virtual network as an Azure virtual network resource.
1934
- * @param resourceGroupName The name of the resource group.
2410
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1935
2411
  * @param virtualNetworkName Name of the VirtualNetwork.
1936
- * @param body Request payload.
2412
+ * @param resource Resource create parameters.
1937
2413
  * @param options The options parameters.
1938
2414
  */
1939
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, body: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<VirtualNetworksCreateOrUpdateResponse>;
2415
+ beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<VirtualNetworksCreateOrUpdateResponse>;
1940
2416
  /**
1941
- * Deregisters the ScVmm virtual network from Azure.
1942
- * @param resourceGroupName The name of the resource group.
2417
+ * Updates the VirtualNetworks resource.
2418
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1943
2419
  * @param virtualNetworkName Name of the VirtualNetwork.
2420
+ * @param properties The resource properties to be updated.
1944
2421
  * @param options The options parameters.
1945
2422
  */
1946
- beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2423
+ beginUpdate(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworksUpdateResponse>, VirtualNetworksUpdateResponse>>;
1947
2424
  /**
1948
- * Deregisters the ScVmm virtual network from Azure.
1949
- * @param resourceGroupName The name of the resource group.
2425
+ * Updates the VirtualNetworks resource.
2426
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1950
2427
  * @param virtualNetworkName Name of the VirtualNetwork.
2428
+ * @param properties The resource properties to be updated.
1951
2429
  * @param options The options parameters.
1952
2430
  */
1953
- beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<void>;
2431
+ beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise<VirtualNetworksUpdateResponse>;
1954
2432
  /**
1955
- * Updates the VirtualNetworks resource.
1956
- * @param resourceGroupName The name of the resource group.
2433
+ * Deregisters the ScVmm virtual network from Azure.
2434
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1957
2435
  * @param virtualNetworkName Name of the VirtualNetwork.
1958
- * @param body VirtualNetworks patch payload.
1959
2436
  * @param options The options parameters.
1960
2437
  */
1961
- beginUpdate(resourceGroupName: string, virtualNetworkName: string, body: ResourcePatch, options?: VirtualNetworksUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworksUpdateResponse>, VirtualNetworksUpdateResponse>>;
2438
+ beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworksDeleteResponse>, VirtualNetworksDeleteResponse>>;
1962
2439
  /**
1963
- * Updates the VirtualNetworks resource.
1964
- * @param resourceGroupName The name of the resource group.
2440
+ * Deregisters the ScVmm virtual network from Azure.
2441
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1965
2442
  * @param virtualNetworkName Name of the VirtualNetwork.
1966
- * @param body VirtualNetworks patch payload.
1967
2443
  * @param options The options parameters.
1968
2444
  */
1969
- beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, body: ResourcePatch, options?: VirtualNetworksUpdateOptionalParams): Promise<VirtualNetworksUpdateResponse>;
2445
+ beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<VirtualNetworksDeleteResponse>;
2446
+ }
2447
+
2448
+ /** Defines headers for VirtualNetworks_createOrUpdate operation. */
2449
+ export declare interface VirtualNetworksCreateOrUpdateHeaders {
2450
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2451
+ retryAfter?: number;
1970
2452
  }
1971
2453
 
1972
2454
  /** Optional parameters. */
@@ -1980,16 +2462,27 @@ export declare interface VirtualNetworksCreateOrUpdateOptionalParams extends cor
1980
2462
  /** Contains response data for the createOrUpdate operation. */
1981
2463
  export declare type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork;
1982
2464
 
2465
+ /** Defines headers for VirtualNetworks_delete operation. */
2466
+ export declare interface VirtualNetworksDeleteHeaders {
2467
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2468
+ location?: string;
2469
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2470
+ retryAfter?: number;
2471
+ }
2472
+
1983
2473
  /** Optional parameters. */
1984
2474
  export declare interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions {
1985
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1986
- force?: boolean;
2475
+ /** Forces the resource to be deleted. */
2476
+ force?: ForceDelete;
1987
2477
  /** Delay to wait until next poll, in milliseconds. */
1988
2478
  updateIntervalInMs?: number;
1989
2479
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1990
2480
  resumeFrom?: string;
1991
2481
  }
1992
2482
 
2483
+ /** Contains response data for the delete operation. */
2484
+ export declare type VirtualNetworksDeleteResponse = VirtualNetworksDeleteHeaders;
2485
+
1993
2486
  /** Optional parameters. */
1994
2487
  export declare interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions {
1995
2488
  }
@@ -2025,6 +2518,14 @@ export declare interface VirtualNetworksListBySubscriptionOptionalParams extends
2025
2518
  /** Contains response data for the listBySubscription operation. */
2026
2519
  export declare type VirtualNetworksListBySubscriptionResponse = VirtualNetworkListResult;
2027
2520
 
2521
+ /** Defines headers for VirtualNetworks_update operation. */
2522
+ export declare interface VirtualNetworksUpdateHeaders {
2523
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2524
+ location?: string;
2525
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2526
+ retryAfter?: number;
2527
+ }
2528
+
2028
2529
  /** Optional parameters. */
2029
2530
  export declare interface VirtualNetworksUpdateOptionalParams extends coreClient.OperationOptions {
2030
2531
  /** Delay to wait until next poll, in milliseconds. */
@@ -2036,49 +2537,126 @@ export declare interface VirtualNetworksUpdateOptionalParams extends coreClient.
2036
2537
  /** Contains response data for the update operation. */
2037
2538
  export declare type VirtualNetworksUpdateResponse = VirtualNetwork;
2038
2539
 
2039
- /** The VmmServers resource definition. */
2040
- export declare interface VMMServer {
2540
+ /** The type used for updating tags in VirtualNetwork resources. */
2541
+ export declare interface VirtualNetworkTagsUpdate {
2542
+ /** Resource tags. */
2543
+ tags?: {
2544
+ [propertyName: string]: string;
2545
+ };
2546
+ }
2547
+
2548
+ /** Defines the HybridIdentityMetadata. */
2549
+ export declare interface VmInstanceHybridIdentityMetadata extends ProxyResource {
2550
+ /** The resource-specific properties for this resource. */
2551
+ properties?: VmInstanceHybridIdentityMetadataProperties;
2552
+ }
2553
+
2554
+ /** The response of a VmInstanceHybridIdentityMetadata list operation. */
2555
+ export declare interface VmInstanceHybridIdentityMetadataListResult {
2556
+ /** The VmInstanceHybridIdentityMetadata items on this page */
2557
+ value: VmInstanceHybridIdentityMetadata[];
2041
2558
  /**
2042
- * Resource Id
2559
+ * The link to the next page of items
2043
2560
  * NOTE: This property will not be serialized. It can only be populated by the server.
2044
2561
  */
2045
- readonly id?: string;
2562
+ readonly nextLink?: string;
2563
+ }
2564
+
2565
+ /** Describes the properties of Hybrid Identity Metadata for a Virtual Machine. */
2566
+ export declare interface VmInstanceHybridIdentityMetadataProperties {
2567
+ /** The unique identifier for the resource. */
2568
+ resourceUid?: string;
2569
+ /** Gets or sets the Public Key. */
2570
+ publicKey?: string;
2046
2571
  /**
2047
- * Resource Name
2572
+ * Provisioning state of the resource.
2048
2573
  * NOTE: This property will not be serialized. It can only be populated by the server.
2049
2574
  */
2050
- readonly name?: string;
2575
+ readonly provisioningState?: ProvisioningState;
2576
+ }
2577
+
2578
+ /** Interface representing a VmInstanceHybridIdentityMetadatas. */
2579
+ export declare interface VmInstanceHybridIdentityMetadatas {
2051
2580
  /**
2052
- * Resource Type
2053
- * NOTE: This property will not be serialized. It can only be populated by the server.
2581
+ * Returns the list of HybridIdentityMetadata of the given VM.
2582
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
2583
+ * @param options The options parameters.
2054
2584
  */
2055
- readonly type?: string;
2056
- /** Gets or sets the location. */
2057
- location: string;
2058
- /** Resource tags */
2059
- tags?: {
2060
- [propertyName: string]: string;
2061
- };
2585
+ listByVirtualMachineInstance(resourceUri: string, options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator<VmInstanceHybridIdentityMetadata>;
2062
2586
  /**
2063
- * The system data.
2064
- * NOTE: This property will not be serialized. It can only be populated by the server.
2587
+ * Implements HybridIdentityMetadata GET method.
2588
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
2589
+ * @param options The options parameters.
2065
2590
  */
2066
- readonly systemData?: SystemData;
2591
+ get(resourceUri: string, options?: VmInstanceHybridIdentityMetadatasGetOptionalParams): Promise<VmInstanceHybridIdentityMetadatasGetResponse>;
2592
+ }
2593
+
2594
+ /** Optional parameters. */
2595
+ export declare interface VmInstanceHybridIdentityMetadatasGetOptionalParams extends coreClient.OperationOptions {
2596
+ }
2597
+
2598
+ /** Contains response data for the get operation. */
2599
+ export declare type VmInstanceHybridIdentityMetadatasGetResponse = VmInstanceHybridIdentityMetadata;
2600
+
2601
+ /** Optional parameters. */
2602
+ export declare interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextOptionalParams extends coreClient.OperationOptions {
2603
+ }
2604
+
2605
+ /** Contains response data for the listByVirtualMachineInstanceNext operation. */
2606
+ export declare type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceNextResponse = VmInstanceHybridIdentityMetadataListResult;
2607
+
2608
+ /** Optional parameters. */
2609
+ export declare interface VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams extends coreClient.OperationOptions {
2610
+ }
2611
+
2612
+ /** Contains response data for the listByVirtualMachineInstance operation. */
2613
+ export declare type VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceResponse = VmInstanceHybridIdentityMetadataListResult;
2614
+
2615
+ /** Credentials to connect to VmmServer. */
2616
+ export declare interface VmmCredential {
2617
+ /** Username to use to connect to VmmServer. */
2618
+ username?: string;
2619
+ /**
2620
+ * Password to use to connect to VmmServer.
2621
+ * This value contains a credential. Consider obscuring before showing to users
2622
+ */
2623
+ password?: string;
2624
+ }
2625
+
2626
+ /** The VmmServers resource definition. */
2627
+ export declare interface VmmServer extends TrackedResource {
2628
+ /** The resource-specific properties for this resource. */
2629
+ properties?: VmmServerProperties;
2067
2630
  /** The extended location. */
2068
2631
  extendedLocation: ExtendedLocation;
2069
- /** Credentials to connect to VMMServer. */
2070
- credentials?: VMMServerPropertiesCredentials;
2632
+ }
2633
+
2634
+ /** The response of a VmmServer list operation. */
2635
+ export declare interface VmmServerListResult {
2636
+ /** The VmmServer items on this page */
2637
+ value: VmmServer[];
2638
+ /**
2639
+ * The link to the next page of items
2640
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2641
+ */
2642
+ readonly nextLink?: string;
2643
+ }
2644
+
2645
+ /** Defines the resource properties. */
2646
+ export declare interface VmmServerProperties {
2647
+ /** Credentials to connect to VmmServer. */
2648
+ credentials?: VmmCredential;
2071
2649
  /** Fqdn is the hostname/ip of the vmmServer. */
2072
2650
  fqdn: string;
2073
2651
  /** Port is the port on which the vmmServer is listening. */
2074
2652
  port?: number;
2075
2653
  /**
2076
- * Gets or sets the connection status to the vmmServer.
2654
+ * Gets the connection status to the vmmServer.
2077
2655
  * NOTE: This property will not be serialized. It can only be populated by the server.
2078
2656
  */
2079
2657
  readonly connectionStatus?: string;
2080
2658
  /**
2081
- * Gets or sets any error message if connection to vmmServer is having any issue.
2659
+ * Gets any error message if connection to vmmServer is having any issue.
2082
2660
  * NOTE: This property will not be serialized. It can only be populated by the server.
2083
2661
  */
2084
2662
  readonly errorMessage?: string;
@@ -2093,94 +2671,84 @@ export declare interface VMMServer {
2093
2671
  */
2094
2672
  readonly version?: string;
2095
2673
  /**
2096
- * Gets or sets the provisioning state.
2674
+ * Provisioning state of the resource.
2097
2675
  * NOTE: This property will not be serialized. It can only be populated by the server.
2098
2676
  */
2099
- readonly provisioningState?: string;
2100
- }
2101
-
2102
- /** List of VmmServers. */
2103
- export declare interface VMMServerListResult {
2104
- /** List of VmmServers. */
2105
- value?: VMMServer[];
2106
- /** Url to follow for getting next page of resources. */
2107
- nextLink?: string;
2108
- }
2109
-
2110
- /** Credentials to connect to VMMServer. */
2111
- export declare interface VMMServerPropertiesCredentials {
2112
- /** Username to use to connect to VMMServer. */
2113
- username?: string;
2114
- /** Credentials to use to connect to VMMServer. */
2115
- password?: string;
2677
+ readonly provisioningState?: ProvisioningState;
2116
2678
  }
2117
2679
 
2118
2680
  /** Interface representing a VmmServers. */
2119
2681
  export declare interface VmmServers {
2120
2682
  /**
2121
- * List of VmmServers in a resource group.
2122
- * @param resourceGroupName The name of the resource group.
2683
+ * List of VmmServers in a subscription.
2123
2684
  * @param options The options parameters.
2124
2685
  */
2125
- listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VMMServer>;
2686
+ listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VmmServer>;
2126
2687
  /**
2127
- * List of VmmServers in a subscription.
2688
+ * List of VmmServers in a resource group.
2689
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2128
2690
  * @param options The options parameters.
2129
2691
  */
2130
- listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VMMServer>;
2692
+ listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VmmServer>;
2131
2693
  /**
2132
- * Implements VMMServer GET method.
2133
- * @param resourceGroupName The name of the resource group.
2134
- * @param vmmServerName Name of the VMMServer.
2694
+ * Implements VmmServer GET method.
2695
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2696
+ * @param vmmServerName Name of the VmmServer.
2135
2697
  * @param options The options parameters.
2136
2698
  */
2137
2699
  get(resourceGroupName: string, vmmServerName: string, options?: VmmServersGetOptionalParams): Promise<VmmServersGetResponse>;
2138
2700
  /**
2139
- * Onboards the SCVMM fabric as an Azure VmmServer resource.
2140
- * @param resourceGroupName The name of the resource group.
2141
- * @param vmmServerName Name of the VMMServer.
2142
- * @param body Request payload.
2701
+ * Onboards the SCVmm fabric as an Azure VmmServer resource.
2702
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2703
+ * @param vmmServerName Name of the VmmServer.
2704
+ * @param resource Resource create parameters.
2143
2705
  * @param options The options parameters.
2144
2706
  */
2145
- beginCreateOrUpdate(resourceGroupName: string, vmmServerName: string, body: VMMServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VmmServersCreateOrUpdateResponse>, VmmServersCreateOrUpdateResponse>>;
2707
+ beginCreateOrUpdate(resourceGroupName: string, vmmServerName: string, resource: VmmServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VmmServersCreateOrUpdateResponse>, VmmServersCreateOrUpdateResponse>>;
2146
2708
  /**
2147
- * Onboards the SCVMM fabric as an Azure VmmServer resource.
2148
- * @param resourceGroupName The name of the resource group.
2149
- * @param vmmServerName Name of the VMMServer.
2150
- * @param body Request payload.
2709
+ * Onboards the SCVmm fabric as an Azure VmmServer resource.
2710
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2711
+ * @param vmmServerName Name of the VmmServer.
2712
+ * @param resource Resource create parameters.
2151
2713
  * @param options The options parameters.
2152
2714
  */
2153
- beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, body: VMMServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<VmmServersCreateOrUpdateResponse>;
2715
+ beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, resource: VmmServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<VmmServersCreateOrUpdateResponse>;
2154
2716
  /**
2155
- * Deboards the SCVMM fabric from Azure.
2156
- * @param resourceGroupName The name of the resource group.
2157
- * @param vmmServerName Name of the VMMServer.
2717
+ * Updates the VmmServers resource.
2718
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2719
+ * @param vmmServerName Name of the VmmServer.
2720
+ * @param properties The resource properties to be updated.
2158
2721
  * @param options The options parameters.
2159
2722
  */
2160
- beginDelete(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2723
+ beginUpdate(resourceGroupName: string, vmmServerName: string, properties: VmmServerTagsUpdate, options?: VmmServersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VmmServersUpdateResponse>, VmmServersUpdateResponse>>;
2161
2724
  /**
2162
- * Deboards the SCVMM fabric from Azure.
2163
- * @param resourceGroupName The name of the resource group.
2164
- * @param vmmServerName Name of the VMMServer.
2725
+ * Updates the VmmServers resource.
2726
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2727
+ * @param vmmServerName Name of the VmmServer.
2728
+ * @param properties The resource properties to be updated.
2165
2729
  * @param options The options parameters.
2166
2730
  */
2167
- beginDeleteAndWait(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise<void>;
2731
+ beginUpdateAndWait(resourceGroupName: string, vmmServerName: string, properties: VmmServerTagsUpdate, options?: VmmServersUpdateOptionalParams): Promise<VmmServersUpdateResponse>;
2168
2732
  /**
2169
- * Updates the VmmServers resource.
2170
- * @param resourceGroupName The name of the resource group.
2171
- * @param vmmServerName Name of the VMMServer.
2172
- * @param body VmmServers patch payload.
2733
+ * Removes the SCVmm fabric from Azure.
2734
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2735
+ * @param vmmServerName Name of the VmmServer.
2173
2736
  * @param options The options parameters.
2174
2737
  */
2175
- beginUpdate(resourceGroupName: string, vmmServerName: string, body: ResourcePatch, options?: VmmServersUpdateOptionalParams): Promise<PollerLike<PollOperationState<VmmServersUpdateResponse>, VmmServersUpdateResponse>>;
2738
+ beginDelete(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VmmServersDeleteResponse>, VmmServersDeleteResponse>>;
2176
2739
  /**
2177
- * Updates the VmmServers resource.
2178
- * @param resourceGroupName The name of the resource group.
2179
- * @param vmmServerName Name of the VMMServer.
2180
- * @param body VmmServers patch payload.
2740
+ * Removes the SCVmm fabric from Azure.
2741
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2742
+ * @param vmmServerName Name of the VmmServer.
2181
2743
  * @param options The options parameters.
2182
2744
  */
2183
- beginUpdateAndWait(resourceGroupName: string, vmmServerName: string, body: ResourcePatch, options?: VmmServersUpdateOptionalParams): Promise<VmmServersUpdateResponse>;
2745
+ beginDeleteAndWait(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise<VmmServersDeleteResponse>;
2746
+ }
2747
+
2748
+ /** Defines headers for VmmServers_createOrUpdate operation. */
2749
+ export declare interface VmmServersCreateOrUpdateHeaders {
2750
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2751
+ retryAfter?: number;
2184
2752
  }
2185
2753
 
2186
2754
  /** Optional parameters. */
@@ -2192,52 +2760,71 @@ export declare interface VmmServersCreateOrUpdateOptionalParams extends coreClie
2192
2760
  }
2193
2761
 
2194
2762
  /** Contains response data for the createOrUpdate operation. */
2195
- export declare type VmmServersCreateOrUpdateResponse = VMMServer;
2763
+ export declare type VmmServersCreateOrUpdateResponse = VmmServer;
2764
+
2765
+ /** Defines headers for VmmServers_delete operation. */
2766
+ export declare interface VmmServersDeleteHeaders {
2767
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2768
+ location?: string;
2769
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2770
+ retryAfter?: number;
2771
+ }
2196
2772
 
2197
2773
  /** Optional parameters. */
2198
2774
  export declare interface VmmServersDeleteOptionalParams extends coreClient.OperationOptions {
2199
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
2200
- force?: boolean;
2775
+ /** Forces the resource to be deleted. */
2776
+ force?: ForceDelete;
2201
2777
  /** Delay to wait until next poll, in milliseconds. */
2202
2778
  updateIntervalInMs?: number;
2203
2779
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2204
2780
  resumeFrom?: string;
2205
2781
  }
2206
2782
 
2783
+ /** Contains response data for the delete operation. */
2784
+ export declare type VmmServersDeleteResponse = VmmServersDeleteHeaders;
2785
+
2207
2786
  /** Optional parameters. */
2208
2787
  export declare interface VmmServersGetOptionalParams extends coreClient.OperationOptions {
2209
2788
  }
2210
2789
 
2211
2790
  /** Contains response data for the get operation. */
2212
- export declare type VmmServersGetResponse = VMMServer;
2791
+ export declare type VmmServersGetResponse = VmmServer;
2213
2792
 
2214
2793
  /** Optional parameters. */
2215
2794
  export declare interface VmmServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2216
2795
  }
2217
2796
 
2218
2797
  /** Contains response data for the listByResourceGroupNext operation. */
2219
- export declare type VmmServersListByResourceGroupNextResponse = VMMServerListResult;
2798
+ export declare type VmmServersListByResourceGroupNextResponse = VmmServerListResult;
2220
2799
 
2221
2800
  /** Optional parameters. */
2222
2801
  export declare interface VmmServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2223
2802
  }
2224
2803
 
2225
2804
  /** Contains response data for the listByResourceGroup operation. */
2226
- export declare type VmmServersListByResourceGroupResponse = VMMServerListResult;
2805
+ export declare type VmmServersListByResourceGroupResponse = VmmServerListResult;
2227
2806
 
2228
2807
  /** Optional parameters. */
2229
2808
  export declare interface VmmServersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2230
2809
  }
2231
2810
 
2232
2811
  /** Contains response data for the listBySubscriptionNext operation. */
2233
- export declare type VmmServersListBySubscriptionNextResponse = VMMServerListResult;
2812
+ export declare type VmmServersListBySubscriptionNextResponse = VmmServerListResult;
2234
2813
 
2235
2814
  /** Optional parameters. */
2236
2815
  export declare interface VmmServersListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2237
2816
  }
2238
2817
 
2239
2818
  /** Contains response data for the listBySubscription operation. */
2240
- export declare type VmmServersListBySubscriptionResponse = VMMServerListResult;
2819
+ export declare type VmmServersListBySubscriptionResponse = VmmServerListResult;
2820
+
2821
+ /** Defines headers for VmmServers_update operation. */
2822
+ export declare interface VmmServersUpdateHeaders {
2823
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2824
+ location?: string;
2825
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2826
+ retryAfter?: number;
2827
+ }
2241
2828
 
2242
2829
  /** Optional parameters. */
2243
2830
  export declare interface VmmServersUpdateOptionalParams extends coreClient.OperationOptions {
@@ -2248,6 +2835,14 @@ export declare interface VmmServersUpdateOptionalParams extends coreClient.Opera
2248
2835
  }
2249
2836
 
2250
2837
  /** Contains response data for the update operation. */
2251
- export declare type VmmServersUpdateResponse = VMMServer;
2838
+ export declare type VmmServersUpdateResponse = VmmServer;
2839
+
2840
+ /** The type used for updating tags in VmmServer resources. */
2841
+ export declare interface VmmServerTagsUpdate {
2842
+ /** Resource tags. */
2843
+ tags?: {
2844
+ [propertyName: string]: string;
2845
+ };
2846
+ }
2252
2847
 
2253
2848
  export { }