@azure/arm-scvmm 1.0.0-beta.3 → 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 (344) hide show
  1. package/CHANGELOG.md +3 -23
  2. package/LICENSE +1 -1
  3. package/README.md +13 -13
  4. package/dist/index.js +5024 -3675
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js +41 -15
  9. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +30 -9
  11. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/availabilitySetsGetSample.js +28 -9
  13. package/dist-esm/samples-dev/availabilitySetsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js +47 -11
  15. package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +45 -10
  17. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +32 -10
  19. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js +40 -15
  21. package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/cloudsDeleteSample.js +30 -9
  23. package/dist-esm/samples-dev/cloudsDeleteSample.js.map +1 -1
  24. package/dist-esm/samples-dev/cloudsGetSample.js +28 -9
  25. package/dist-esm/samples-dev/cloudsGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js +47 -11
  27. package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js +45 -10
  29. package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js.map +1 -1
  30. package/dist-esm/samples-dev/cloudsUpdateSample.js +32 -10
  31. package/dist-esm/samples-dev/cloudsUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/guestAgentsCreateSample.js +63 -0
  35. package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/guestAgentsDeleteSample.js +52 -0
  39. package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +1 -0
  40. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/guestAgentsGetSample.js +52 -0
  43. package/dist-esm/samples-dev/guestAgentsGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js +84 -0
  47. package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js.map +1 -0
  48. package/dist-esm/samples-dev/inventoryItemsCreateSample.js +35 -12
  49. package/dist-esm/samples-dev/inventoryItemsCreateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +30 -10
  51. package/dist-esm/samples-dev/inventoryItemsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/inventoryItemsGetSample.js +30 -10
  53. package/dist-esm/samples-dev/inventoryItemsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js +51 -14
  55. package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js.map +1 -1
  56. package/dist-esm/samples-dev/operationsListSample.js +46 -11
  57. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  58. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js +57 -0
  61. package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js.map +1 -0
  62. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js +127 -0
  65. package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
  66. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js +56 -0
  69. package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js.map +1 -0
  70. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js +58 -0
  73. package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
  74. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
  75. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
  76. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js +52 -0
  77. package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
  78. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
  79. package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
  80. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js +84 -0
  81. package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
  82. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
  83. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
  84. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js +52 -0
  85. package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
  86. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts +2 -0
  87. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts.map +1 -0
  88. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js +54 -0
  89. package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js.map +1 -0
  90. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
  91. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
  92. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js +52 -0
  93. package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
  94. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
  95. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
  96. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js +54 -0
  97. package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
  98. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js +99 -0
  101. package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
  102. package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js +47 -15
  103. package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js.map +1 -1
  104. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +29 -8
  105. package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js.map +1 -1
  106. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +27 -8
  107. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -1
  108. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +47 -11
  109. package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
  110. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js +45 -10
  111. package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js.map +1 -1
  112. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +32 -10
  113. package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js.map +1 -1
  114. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js +39 -15
  115. package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js.map +1 -1
  116. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +29 -8
  117. package/dist-esm/samples-dev/virtualNetworksDeleteSample.js.map +1 -1
  118. package/dist-esm/samples-dev/virtualNetworksGetSample.js +27 -8
  119. package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -1
  120. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +47 -11
  121. package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
  122. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js +45 -10
  123. package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js.map +1 -1
  124. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +30 -10
  125. package/dist-esm/samples-dev/virtualNetworksUpdateSample.js.map +1 -1
  126. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts +2 -0
  127. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts.map +1 -0
  128. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js +52 -0
  129. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js.map +1 -0
  130. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts +2 -0
  131. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts.map +1 -0
  132. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js +84 -0
  133. package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js.map +1 -0
  134. package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js +44 -18
  135. package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js.map +1 -1
  136. package/dist-esm/samples-dev/vmmServersDeleteSample.js +31 -10
  137. package/dist-esm/samples-dev/vmmServersDeleteSample.js.map +1 -1
  138. package/dist-esm/samples-dev/vmmServersGetSample.js +29 -10
  139. package/dist-esm/samples-dev/vmmServersGetSample.js.map +1 -1
  140. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js +47 -11
  141. package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js.map +1 -1
  142. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js +45 -10
  143. package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js.map +1 -1
  144. package/dist-esm/samples-dev/vmmServersUpdateSample.js +32 -10
  145. package/dist-esm/samples-dev/vmmServersUpdateSample.js.map +1 -1
  146. package/dist-esm/src/index.d.ts +1 -1
  147. package/dist-esm/src/index.js +1 -1
  148. package/dist-esm/src/lroImpl.d.ts +6 -11
  149. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  150. package/dist-esm/src/lroImpl.js +12 -20
  151. package/dist-esm/src/lroImpl.js.map +1 -1
  152. package/dist-esm/src/models/index.d.ts +1320 -859
  153. package/dist-esm/src/models/index.d.ts.map +1 -1
  154. package/dist-esm/src/models/index.js +112 -34
  155. package/dist-esm/src/models/index.js.map +1 -1
  156. package/dist-esm/src/models/mappers.d.ts +83 -38
  157. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  158. package/dist-esm/src/models/mappers.js +2251 -1581
  159. package/dist-esm/src/models/mappers.js.map +1 -1
  160. package/dist-esm/src/models/parameters.d.ts +25 -20
  161. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  162. package/dist-esm/src/models/parameters.js +184 -131
  163. package/dist-esm/src/models/parameters.js.map +1 -1
  164. package/dist-esm/src/operations/availabilitySets.d.ts +50 -50
  165. package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
  166. package/dist-esm/src/operations/availabilitySets.js +228 -193
  167. package/dist-esm/src/operations/availabilitySets.js.map +1 -1
  168. package/dist-esm/src/operations/clouds.d.ts +50 -50
  169. package/dist-esm/src/operations/clouds.d.ts.map +1 -1
  170. package/dist-esm/src/operations/clouds.js +217 -193
  171. package/dist-esm/src/operations/clouds.js.map +1 -1
  172. package/dist-esm/src/operations/guestAgents.d.ts +63 -0
  173. package/dist-esm/src/operations/guestAgents.d.ts.map +1 -0
  174. package/dist-esm/src/operations/guestAgents.js +273 -0
  175. package/dist-esm/src/operations/guestAgents.js.map +1 -0
  176. package/dist-esm/src/operations/index.d.ts +6 -4
  177. package/dist-esm/src/operations/index.d.ts.map +1 -1
  178. package/dist-esm/src/operations/index.js +6 -4
  179. package/dist-esm/src/operations/index.js.map +1 -1
  180. package/dist-esm/src/operations/inventoryItems.d.ts +33 -32
  181. package/dist-esm/src/operations/inventoryItems.d.ts.map +1 -1
  182. package/dist-esm/src/operations/inventoryItems.js +100 -88
  183. package/dist-esm/src/operations/inventoryItems.js.map +1 -1
  184. package/dist-esm/src/operations/operations.d.ts +6 -6
  185. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  186. package/dist-esm/src/operations/operations.js +17 -15
  187. package/dist-esm/src/operations/operations.js.map +1 -1
  188. package/dist-esm/src/operations/virtualMachineInstances.d.ts +164 -0
  189. package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
  190. package/dist-esm/src/operations/virtualMachineInstances.js +907 -0
  191. package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
  192. package/dist-esm/src/operations/virtualMachineTemplates.d.ts +44 -44
  193. package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
  194. package/dist-esm/src/operations/virtualMachineTemplates.js +215 -181
  195. package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
  196. package/dist-esm/src/operations/virtualNetworks.d.ts +44 -44
  197. package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
  198. package/dist-esm/src/operations/virtualNetworks.js +205 -181
  199. package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
  200. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts +42 -0
  201. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  202. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js +165 -0
  203. package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  204. package/dist-esm/src/operations/vmmServers.d.ts +52 -52
  205. package/dist-esm/src/operations/vmmServers.d.ts.map +1 -1
  206. package/dist-esm/src/operations/vmmServers.js +215 -191
  207. package/dist-esm/src/operations/vmmServers.js.map +1 -1
  208. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts +36 -36
  209. package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts.map +1 -1
  210. package/dist-esm/src/operationsInterfaces/clouds.d.ts +36 -36
  211. package/dist-esm/src/operationsInterfaces/clouds.d.ts.map +1 -1
  212. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +39 -0
  213. package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/{virtualMachines.js → guestAgents.js} +1 -1
  215. package/dist-esm/src/operationsInterfaces/guestAgents.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -4
  217. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  218. package/dist-esm/src/operationsInterfaces/index.js +6 -4
  219. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  220. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts +20 -19
  221. package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts.map +1 -1
  222. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
  223. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  224. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +141 -0
  225. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +28 -28
  229. package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
  230. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +28 -28
  231. package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
  232. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts +18 -0
  233. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts +38 -38
  237. package/dist-esm/src/operationsInterfaces/vmmServers.d.ts.map +1 -1
  238. package/dist-esm/src/pagingHelper.js.map +1 -1
  239. package/dist-esm/src/scVmm.d.ts +30 -0
  240. package/dist-esm/src/scVmm.d.ts.map +1 -0
  241. package/dist-esm/src/{scvmm.js → scVmm.js} +25 -25
  242. package/dist-esm/src/scVmm.js.map +1 -0
  243. package/dist-esm/test/scvmm_operations_test.spec.d.ts +4 -0
  244. package/dist-esm/test/scvmm_operations_test.spec.d.ts.map +1 -0
  245. package/dist-esm/test/scvmm_operations_test.spec.js +74 -0
  246. package/dist-esm/test/scvmm_operations_test.spec.js.map +1 -0
  247. package/package.json +24 -29
  248. package/review/arm-scvmm.api.md +724 -330
  249. package/src/index.ts +1 -1
  250. package/src/lroImpl.ts +31 -23
  251. package/src/models/index.ts +1487 -909
  252. package/src/models/mappers.ts +2339 -1570
  253. package/src/models/parameters.ts +209 -144
  254. package/src/operations/availabilitySets.ts +339 -310
  255. package/src/operations/clouds.ts +323 -307
  256. package/src/operations/guestAgents.ts +365 -0
  257. package/src/operations/index.ts +6 -4
  258. package/src/operations/inventoryItems.ts +128 -121
  259. package/src/operations/operations.ts +25 -25
  260. package/src/operations/virtualMachineInstances.ts +1239 -0
  261. package/src/operations/virtualMachineTemplates.ts +320 -292
  262. package/src/operations/virtualNetworks.ts +310 -292
  263. package/src/operations/vmInstanceHybridIdentityMetadatas.ts +214 -0
  264. package/src/operations/vmmServers.ts +327 -308
  265. package/src/operationsInterfaces/availabilitySets.ts +71 -65
  266. package/src/operationsInterfaces/clouds.ts +66 -63
  267. package/src/operationsInterfaces/guestAgents.ts +78 -0
  268. package/src/operationsInterfaces/index.ts +6 -4
  269. package/src/operationsInterfaces/inventoryItems.ts +32 -30
  270. package/src/operationsInterfaces/operations.ts +4 -7
  271. package/src/operationsInterfaces/virtualMachineInstances.ts +295 -0
  272. package/src/operationsInterfaces/virtualMachineTemplates.ts +57 -51
  273. package/src/operationsInterfaces/virtualNetworks.ts +57 -51
  274. package/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts +38 -0
  275. package/src/operationsInterfaces/vmmServers.ts +70 -64
  276. package/src/pagingHelper.ts +1 -1
  277. package/src/{scvmm.ts → scVmm.ts} +65 -42
  278. package/types/arm-scvmm.d.ts +1501 -915
  279. package/types/tsdoc-metadata.json +1 -1
  280. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js +0 -44
  283. package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js.map +0 -1
  284. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +0 -50
  287. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +0 -1
  288. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts +0 -2
  289. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js +0 -41
  291. package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js.map +0 -1
  292. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +0 -39
  295. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
  296. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -39
  299. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  300. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -52
  303. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
  304. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts +0 -2
  305. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +0 -51
  307. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js.map +0 -1
  308. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +0 -39
  311. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
  312. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts +0 -2
  313. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js +0 -41
  315. package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js.map +0 -1
  316. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  317. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -39
  319. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  320. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  321. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -41
  323. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  324. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +0 -56
  327. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
  328. package/dist-esm/src/operations/virtualMachines.d.ts +0 -191
  329. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  330. package/dist-esm/src/operations/virtualMachines.js +0 -976
  331. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  332. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -155
  333. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  334. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  335. package/dist-esm/src/scvmm.d.ts +0 -28
  336. package/dist-esm/src/scvmm.d.ts.map +0 -1
  337. package/dist-esm/src/scvmm.js.map +0 -1
  338. package/dist-esm/test/sampleTest.d.ts +0 -2
  339. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  340. package/dist-esm/test/sampleTest.js +0 -38
  341. package/dist-esm/test/sampleTest.js.map +0 -1
  342. package/rollup.config.js +0 -122
  343. package/src/operations/virtualMachines.ts +0 -1354
  344. 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,6 +588,16 @@ export declare interface ExtendedLocation {
512
588
  name?: string;
513
589
  }
514
590
 
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;
600
+
515
601
  /**
516
602
  * Given the last `.value` produced by the `byPage` iterator,
517
603
  * returns a continuation token that can be used to begin paging from
@@ -521,195 +607,355 @@ export declare interface ExtendedLocation {
521
607
  */
522
608
  export declare function getContinuationToken(page: unknown): string | undefined;
523
609
 
524
- /** Defines the resource properties. */
525
- export declare interface HardwareProfile {
526
- /** MemoryMB is the size of a virtual machine's memory, in MB. */
527
- memoryMB?: number;
528
- /** Gets or sets the number of vCPUs for the vm. */
529
- cpuCount?: number;
530
- /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
531
- limitCpuForMigration?: LimitCpuForMigration;
532
- /** Gets or sets a value indicating whether to enable dynamic memory or not. */
533
- dynamicMemoryEnabled?: DynamicMemoryEnabled;
534
- /** Gets or sets the max dynamic memory for the vm. */
535
- dynamicMemoryMaxMB?: number;
536
- /** Gets or sets the min dynamic memory for the vm. */
537
- dynamicMemoryMinMB?: number;
538
- /** Gets highly available property. */
539
- isHighlyAvailable?: string;
540
- }
541
-
542
- /** Defines the resource properties. */
543
- export declare interface HardwareProfileUpdate {
544
- /** MemoryMB is the size of a virtual machine's memory, in MB. */
545
- memoryMB?: number;
546
- /** Gets or sets the number of vCPUs for the vm. */
547
- cpuCount?: number;
548
- /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */
549
- limitCpuForMigration?: LimitCpuForMigration;
550
- /** Gets or sets a value indicating whether to enable dynamic memory or not. */
551
- dynamicMemoryEnabled?: DynamicMemoryEnabled;
552
- /** Gets or sets the max dynamic memory for the vm. */
553
- dynamicMemoryMaxMB?: number;
554
- /** Gets or sets the min dynamic memory for the vm. */
555
- dynamicMemoryMinMB?: number;
610
+ /** Defines the GuestAgent. */
611
+ export declare interface GuestAgent extends ProxyResource {
612
+ /** The resource-specific properties for this resource. */
613
+ properties?: GuestAgentProperties;
556
614
  }
557
615
 
558
- /** Defines the inventory item. */
559
- export declare interface InventoryItem extends ProxyResource {
560
- /**
561
- * The system data.
562
- * NOTE: This property will not be serialized. It can only be populated by the server.
563
- */
564
- readonly systemData?: SystemData;
565
- /** 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. */
566
- kind?: string;
567
- /** They inventory type. */
568
- inventoryType: InventoryType;
569
- /**
570
- * Gets the tracked resource id corresponding to the inventory resource.
571
- * NOTE: This property will not be serialized. It can only be populated by the server.
572
- */
573
- readonly managedResourceId?: string;
574
- /**
575
- * Gets the UUID (which is assigned by VMM) for the inventory item.
576
- * NOTE: This property will not be serialized. It can only be populated by the server.
577
- */
578
- readonly uuid?: string;
579
- /**
580
- * Gets the Managed Object name in VMM for the inventory item.
581
- * NOTE: This property will not be serialized. It can only be populated by the server.
582
- */
583
- 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[];
584
620
  /**
585
- * Gets the provisioning state.
621
+ * The link to the next page of items
586
622
  * NOTE: This property will not be serialized. It can only be populated by the server.
587
623
  */
588
- readonly provisioningState?: string;
589
- }
590
-
591
- /** Defines the resource properties. */
592
- export declare interface InventoryItemDetails {
593
- /** Gets or sets the inventory Item ID for the resource. */
594
- inventoryItemId?: string;
595
- /** Gets or sets the Managed Object name in VMM for the resource. */
596
- inventoryItemName?: string;
624
+ readonly nextLink?: string;
597
625
  }
598
626
 
599
627
  /** Defines the resource properties. */
600
- export declare interface InventoryItemProperties {
601
- /** Polymorphic discriminator, which specifies the different types this object can be */
602
- inventoryType: "Cloud" | "VirtualNetwork" | "VirtualMachineTemplate" | "VirtualMachine";
628
+ export declare interface GuestAgentProperties {
603
629
  /**
604
- * Gets the tracked resource id corresponding to the inventory resource.
630
+ * Gets a unique identifier for this resource.
605
631
  * NOTE: This property will not be serialized. It can only be populated by the server.
606
632
  */
607
- 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;
608
640
  /**
609
- * Gets the UUID (which is assigned by VMM) for the inventory item.
641
+ * Gets the guest agent status.
610
642
  * NOTE: This property will not be serialized. It can only be populated by the server.
611
643
  */
612
- readonly uuid?: string;
644
+ readonly status?: string;
613
645
  /**
614
- * Gets the Managed Object name in VMM for the inventory item.
646
+ * Gets the name of the corresponding resource in Kubernetes.
615
647
  * NOTE: This property will not be serialized. It can only be populated by the server.
616
648
  */
617
- readonly inventoryItemName?: string;
649
+ readonly customResourceName?: string;
618
650
  /**
619
- * Gets the provisioning state.
651
+ * Provisioning state of the resource.
620
652
  * NOTE: This property will not be serialized. It can only be populated by the server.
621
653
  */
622
- readonly provisioningState?: string;
654
+ readonly provisioningState?: ProvisioningState;
623
655
  }
624
656
 
625
- export declare type InventoryItemPropertiesUnion = InventoryItemProperties | CloudInventoryItem | VirtualNetworkInventoryItem | VirtualMachineTemplateInventoryItem | VirtualMachineInventoryItem;
626
-
627
- /** Interface representing a InventoryItems. */
628
- export declare interface InventoryItems {
657
+ /** Interface representing a GuestAgents. */
658
+ export declare interface GuestAgents {
629
659
  /**
630
- * Returns the list of inventoryItems in the given VMMServer.
631
- * @param resourceGroupName The name of the resource group.
632
- * @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.
633
662
  * @param options The options parameters.
634
663
  */
635
- listByVMMServer(resourceGroupName: string, vmmServerName: string, options?: InventoryItemsListByVMMServerOptionalParams): PagedAsyncIterableIterator<InventoryItem>;
664
+ listByVirtualMachineInstance(resourceUri: string, options?: GuestAgentsListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator<GuestAgent>;
636
665
  /**
637
- * Create Or Update InventoryItem.
638
- * @param resourceGroupName The name of the resource group.
639
- * @param vmmServerName Name of the VMMServer.
640
- * @param inventoryItemName Name of the inventoryItem.
666
+ * Implements GuestAgent GET method.
667
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
641
668
  * @param options The options parameters.
642
669
  */
643
- create(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsCreateOptionalParams): Promise<InventoryItemsCreateResponse>;
670
+ get(resourceUri: string, options?: GuestAgentsGetOptionalParams): Promise<GuestAgentsGetResponse>;
644
671
  /**
645
- * Shows an inventory item.
646
- * @param resourceGroupName The name of the resource group.
647
- * @param vmmServerName Name of the VMMServer.
648
- * @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.
649
675
  * @param options The options parameters.
650
676
  */
651
- get(resourceGroupName: string, vmmServerName: string, inventoryItemName: string, options?: InventoryItemsGetOptionalParams): Promise<InventoryItemsGetResponse>;
677
+ beginCreate(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<GuestAgentsCreateResponse>, GuestAgentsCreateResponse>>;
652
678
  /**
653
- * Deletes an inventoryItem.
654
- * @param resourceGroupName The name of the resource group.
655
- * @param vmmServerName Name of the VMMServer.
656
- * @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.
657
688
  * @param options The options parameters.
658
689
  */
659
- 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;
660
697
  }
661
698
 
662
699
  /** Optional parameters. */
663
- export declare interface InventoryItemsCreateOptionalParams extends coreClient.OperationOptions {
664
- /** Request payload. */
665
- 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;
666
705
  }
667
706
 
668
707
  /** Contains response data for the create operation. */
669
- export declare type InventoryItemsCreateResponse = InventoryItem;
708
+ export declare type GuestAgentsCreateResponse = GuestAgent;
670
709
 
671
710
  /** Optional parameters. */
672
- export declare interface InventoryItemsDeleteOptionalParams extends coreClient.OperationOptions {
711
+ export declare interface GuestAgentsDeleteOptionalParams extends coreClient.OperationOptions {
673
712
  }
674
713
 
675
714
  /** Optional parameters. */
676
- export declare interface InventoryItemsGetOptionalParams extends coreClient.OperationOptions {
715
+ export declare interface GuestAgentsGetOptionalParams extends coreClient.OperationOptions {
677
716
  }
678
717
 
679
718
  /** Contains response data for the get operation. */
680
- export declare type InventoryItemsGetResponse = InventoryItem;
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
+ }
681
745
 
682
- /** List of InventoryItems. */
683
- export declare interface InventoryItemsList {
684
- /** Url to follow for getting next page of InventoryItems. */
685
- nextLink?: string;
686
- /** Array of InventoryItems */
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 */
687
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;
688
852
  }
689
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 {
920
+ }
921
+
922
+ /** Contains response data for the create operation. */
923
+ export declare type InventoryItemsCreateResponse = InventoryItem;
924
+
925
+ /** Optional parameters. */
926
+ export declare interface InventoryItemsDeleteOptionalParams extends coreClient.OperationOptions {
927
+ }
928
+
929
+ /** Optional parameters. */
930
+ export declare interface InventoryItemsGetOptionalParams extends coreClient.OperationOptions {
931
+ }
932
+
933
+ /** Contains response data for the get operation. */
934
+ export declare type InventoryItemsGetResponse = InventoryItem;
935
+
690
936
  /** Optional parameters. */
691
- export declare interface InventoryItemsListByVMMServerNextOptionalParams extends coreClient.OperationOptions {
937
+ export declare interface InventoryItemsListByVmmServerNextOptionalParams extends coreClient.OperationOptions {
692
938
  }
693
939
 
694
- /** Contains response data for the listByVMMServerNext operation. */
695
- export declare type InventoryItemsListByVMMServerNextResponse = InventoryItemsList;
940
+ /** Contains response data for the listByVmmServerNext operation. */
941
+ export declare type InventoryItemsListByVmmServerNextResponse = InventoryItemListResult;
696
942
 
697
943
  /** Optional parameters. */
698
- export declare interface InventoryItemsListByVMMServerOptionalParams extends coreClient.OperationOptions {
944
+ export declare interface InventoryItemsListByVmmServerOptionalParams extends coreClient.OperationOptions {
699
945
  }
700
946
 
701
- /** Contains response data for the listByVMMServer operation. */
702
- export declare type InventoryItemsListByVMMServerResponse = InventoryItemsList;
947
+ /** Contains response data for the listByVmmServer operation. */
948
+ export declare type InventoryItemsListByVmmServerResponse = InventoryItemListResult;
703
949
 
704
950
  /**
705
951
  * Defines values for InventoryType. \
706
952
  * {@link KnownInventoryType} can be used interchangeably with InventoryType,
707
953
  * this enum contains the known values that the service supports.
708
954
  * ### Known values supported by the service
709
- * **Cloud** \
710
- * **VirtualNetwork** \
711
- * **VirtualMachineTemplate** \
712
- * **VirtualMachine**
955
+ * **Cloud**: Cloud inventory type \
956
+ * **VirtualNetwork**: VirtualNetwork inventory type \
957
+ * **VirtualMachine**: VirtualMachine inventory type \
958
+ * **VirtualMachineTemplate**: VirtualMachineTemplate inventory type
713
959
  */
714
960
  export declare type InventoryType = string;
715
961
 
@@ -718,16 +964,32 @@ export declare type InventoryType = string;
718
964
  * {@link KnownIsCustomizable} can be used interchangeably with IsCustomizable,
719
965
  * this enum contains the known values that the service supports.
720
966
  * ### Known values supported by the service
721
- * **false** \
722
- * **true**
967
+ * **true**: Enable customizable. \
968
+ * **false**: Disable customizable.
723
969
  */
724
970
  export declare type IsCustomizable = string;
725
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
+
726
988
  /** Known values of {@link AllocationMethod} that the service accepts. */
727
989
  export declare enum KnownAllocationMethod {
728
- /** Dynamic */
990
+ /** Dynamically allocated address. */
729
991
  Dynamic = "Dynamic",
730
- /** Static */
992
+ /** Statically allocated address. */
731
993
  Static = "Static"
732
994
  }
733
995
 
@@ -745,70 +1007,142 @@ export declare enum KnownCreatedByType {
745
1007
 
746
1008
  /** Known values of {@link CreateDiffDisk} that the service accepts. */
747
1009
  export declare enum KnownCreateDiffDisk {
748
- /** False */
749
- False = "false",
750
- /** True */
751
- 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"
752
1022
  }
753
1023
 
754
1024
  /** Known values of {@link DynamicMemoryEnabled} that the service accepts. */
755
1025
  export declare enum KnownDynamicMemoryEnabled {
756
- /** False */
757
- False = "false",
758
- /** True */
759
- 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"
760
1038
  }
761
1039
 
762
1040
  /** Known values of {@link InventoryType} that the service accepts. */
763
1041
  export declare enum KnownInventoryType {
764
- /** Cloud */
1042
+ /** Cloud inventory type */
765
1043
  Cloud = "Cloud",
766
- /** VirtualNetwork */
1044
+ /** VirtualNetwork inventory type */
767
1045
  VirtualNetwork = "VirtualNetwork",
768
- /** VirtualMachineTemplate */
769
- VirtualMachineTemplate = "VirtualMachineTemplate",
770
- /** VirtualMachine */
771
- VirtualMachine = "VirtualMachine"
1046
+ /** VirtualMachine inventory type */
1047
+ VirtualMachine = "VirtualMachine",
1048
+ /** VirtualMachineTemplate inventory type */
1049
+ VirtualMachineTemplate = "VirtualMachineTemplate"
772
1050
  }
773
1051
 
774
1052
  /** Known values of {@link IsCustomizable} that the service accepts. */
775
1053
  export declare enum KnownIsCustomizable {
776
- /** False */
777
- False = "false",
778
- /** True */
779
- 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"
780
1066
  }
781
1067
 
782
1068
  /** Known values of {@link LimitCpuForMigration} that the service accepts. */
783
1069
  export declare enum KnownLimitCpuForMigration {
784
- /** False */
785
- False = "false",
786
- /** True */
787
- 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"
788
1084
  }
789
1085
 
790
1086
  /** Known values of {@link OsType} that the service accepts. */
791
1087
  export declare enum KnownOsType {
792
- /** Windows */
1088
+ /** Windows operating system. */
793
1089
  Windows = "Windows",
794
- /** Linux */
1090
+ /** Linux operating system. */
795
1091
  Linux = "Linux",
796
- /** Other */
1092
+ /** Other operating system. */
797
1093
  Other = "Other"
798
1094
  }
799
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
+
800
1134
  /**
801
1135
  * Defines values for LimitCpuForMigration. \
802
1136
  * {@link KnownLimitCpuForMigration} can be used interchangeably with LimitCpuForMigration,
803
1137
  * this enum contains the known values that the service supports.
804
1138
  * ### Known values supported by the service
805
- * **false** \
806
- * **true**
1139
+ * **true**: Enable limit CPU for migration. \
1140
+ * **false**: Disable limit CPU for migration.
807
1141
  */
808
1142
  export declare type LimitCpuForMigration = string;
809
1143
 
810
1144
  /** Network Interface model */
811
- export declare interface NetworkInterfaces {
1145
+ export declare interface NetworkInterface {
812
1146
  /** Gets or sets the name of the network interface. */
813
1147
  name?: string;
814
1148
  /**
@@ -817,12 +1151,12 @@ export declare interface NetworkInterfaces {
817
1151
  */
818
1152
  readonly displayName?: string;
819
1153
  /**
820
- * Gets or sets the nic ipv4 addresses.
1154
+ * Gets the nic ipv4 addresses.
821
1155
  * NOTE: This property will not be serialized. It can only be populated by the server.
822
1156
  */
823
1157
  readonly ipv4Addresses?: string[];
824
1158
  /**
825
- * Gets or sets the nic ipv6 addresses.
1159
+ * Gets the nic ipv6 addresses.
826
1160
  * NOTE: This property will not be serialized. It can only be populated by the server.
827
1161
  */
828
1162
  readonly ipv6Addresses?: string[];
@@ -831,7 +1165,7 @@ export declare interface NetworkInterfaces {
831
1165
  /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */
832
1166
  virtualNetworkId?: string;
833
1167
  /**
834
- * 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.
835
1169
  * NOTE: This property will not be serialized. It can only be populated by the server.
836
1170
  */
837
1171
  readonly networkName?: string;
@@ -845,8 +1179,8 @@ export declare interface NetworkInterfaces {
845
1179
  nicId?: string;
846
1180
  }
847
1181
 
848
- /** Network Interface model */
849
- export declare interface NetworkInterfacesUpdate {
1182
+ /** Network Interface Update model */
1183
+ export declare interface NetworkInterfaceUpdate {
850
1184
  /** Gets or sets the name of the network interface. */
851
1185
  name?: string;
852
1186
  /** Gets or sets the nic MAC address. */
@@ -866,22 +1200,86 @@ export declare interface NetworkInterfacesUpdate {
866
1200
  /** Defines the resource properties. */
867
1201
  export declare interface NetworkProfile {
868
1202
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
869
- networkInterfaces?: NetworkInterfaces[];
1203
+ networkInterfaces?: NetworkInterface[];
870
1204
  }
871
1205
 
872
- /** Defines the resource properties. */
1206
+ /** Defines the resource update properties. */
873
1207
  export declare interface NetworkProfileUpdate {
874
1208
  /** Gets or sets the list of network interfaces associated with the virtual machine. */
875
- 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;
876
1274
  }
877
1275
 
878
1276
  /** Interface representing a Operations. */
879
1277
  export declare interface Operations {
880
1278
  /**
881
- * Returns list of all operations.
1279
+ * List the operations for the provider
882
1280
  * @param options The options parameters.
883
1281
  */
884
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperation>;
1282
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
885
1283
  }
886
1284
 
887
1285
  /** Optional parameters. */
@@ -889,31 +1287,50 @@ export declare interface OperationsListNextOptionalParams extends coreClient.Ope
889
1287
  }
890
1288
 
891
1289
  /** Contains response data for the listNext operation. */
892
- export declare type OperationsListNextResponse = ResourceProviderOperationList;
1290
+ export declare type OperationsListNextResponse = OperationListResult;
893
1291
 
894
1292
  /** Optional parameters. */
895
1293
  export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
896
1294
  }
897
1295
 
898
1296
  /** Contains response data for the list operation. */
899
- 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;
900
1309
 
901
1310
  /** Defines the resource properties. */
902
- export declare interface OsProfile {
903
- /** 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
+ */
904
1316
  adminPassword?: string;
905
1317
  /** Gets or sets computer name. */
906
1318
  computerName?: string;
907
1319
  /**
908
- * Gets or sets the type of the os.
1320
+ * Gets the type of the os.
909
1321
  * NOTE: This property will not be serialized. It can only be populated by the server.
910
1322
  */
911
1323
  readonly osType?: OsType;
912
1324
  /**
913
- * Gets or sets os name.
1325
+ * Gets os sku.
914
1326
  * NOTE: This property will not be serialized. It can only be populated by the server.
915
1327
  */
916
- 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;
917
1334
  }
918
1335
 
919
1336
  /**
@@ -921,12 +1338,39 @@ export declare interface OsProfile {
921
1338
  * {@link KnownOsType} can be used interchangeably with OsType,
922
1339
  * this enum contains the known values that the service supports.
923
1340
  * ### Known values supported by the service
924
- * **Windows** \
925
- * **Linux** \
926
- * **Other**
1341
+ * **Windows**: Windows operating system. \
1342
+ * **Linux**: Linux operating system. \
1343
+ * **Other**: Other operating system.
927
1344
  */
928
1345
  export declare type OsType = string;
929
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
+
930
1374
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
931
1375
  export declare interface ProxyResource extends Resource {
932
1376
  }
@@ -934,7 +1378,7 @@ export declare interface ProxyResource extends Resource {
934
1378
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
935
1379
  export declare interface Resource {
936
1380
  /**
937
- * 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}"
938
1382
  * NOTE: This property will not be serialized. It can only be populated by the server.
939
1383
  */
940
1384
  readonly id?: string;
@@ -948,72 +1392,41 @@ export declare interface Resource {
948
1392
  * NOTE: This property will not be serialized. It can only be populated by the server.
949
1393
  */
950
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;
951
1400
  }
952
1401
 
953
- /** Object containing tags updates for patch operations. */
954
- export declare interface ResourcePatch {
955
- /** Resource tags. */
956
- tags?: {
957
- [propertyName: string]: string;
958
- };
959
- }
960
-
961
- /** Results of the request to list operations. */
962
- export declare interface ResourceProviderOperation {
963
- /** Indicates whether the operation applies to data-plane. */
964
- isDataAction?: string;
965
- /** Operation name, in format of {provider}/{resource}/{operation}. */
966
- name?: string;
967
- /** Display metadata associated with the operation. */
968
- display?: ResourceProviderOperationDisplay;
969
- }
970
-
971
- /** Display metadata associated with the operation. */
972
- export declare interface ResourceProviderOperationDisplay {
973
- /** The resource provider. */
974
- provider?: string;
975
- /** Resource on which the operation is performed. */
976
- resource?: string;
977
- /** Type of operation: read, write, delete, etc. */
978
- operation?: string;
979
- /** Description of this operation. */
980
- description?: string;
981
- }
982
-
983
- /** Results of the request to list operations. */
984
- export declare interface ResourceProviderOperationList {
985
- /** List of Operations. */
986
- value?: ResourceProviderOperation[];
987
- /** Url to follow for getting next page of resources. */
988
- nextLink?: string;
989
- }
990
-
991
- export declare class Scvmm extends coreClient.ServiceClient {
1402
+ export declare class ScVmm extends coreClient.ServiceClient {
992
1403
  $host: string;
993
- subscriptionId: string;
994
1404
  apiVersion: string;
1405
+ subscriptionId?: string;
995
1406
  /**
996
- * Initializes a new instance of the Scvmm class.
1407
+ * Initializes a new instance of the ScVmm class.
997
1408
  * @param credentials Subscription credentials which uniquely identify client subscription.
998
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
999
- * 00000000-0000-0000-0000-000000000000).
1409
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
1000
1410
  * @param options The parameter options
1001
1411
  */
1002
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScvmmOptionalParams);
1412
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ScVmmOptionalParams);
1413
+ constructor(credentials: coreAuth.TokenCredential, options?: ScVmmOptionalParams);
1003
1414
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1004
1415
  private addCustomApiVersionPolicy;
1005
- vmmServers: VmmServers;
1416
+ virtualMachineInstances: VirtualMachineInstances;
1417
+ guestAgents: GuestAgents;
1418
+ vmInstanceHybridIdentityMetadatas: VmInstanceHybridIdentityMetadatas;
1006
1419
  operations: Operations;
1420
+ availabilitySets: AvailabilitySets;
1007
1421
  clouds: Clouds;
1008
- virtualNetworks: VirtualNetworks;
1009
- virtualMachines: VirtualMachines;
1010
1422
  virtualMachineTemplates: VirtualMachineTemplates;
1011
- availabilitySets: AvailabilitySets;
1423
+ virtualNetworks: VirtualNetworks;
1424
+ vmmServers: VmmServers;
1012
1425
  inventoryItems: InventoryItems;
1013
1426
  }
1014
1427
 
1015
1428
  /** Optional parameters. */
1016
- export declare interface ScvmmOptionalParams extends coreClient.ServiceClientOptions {
1429
+ export declare interface ScVmmOptionalParams extends coreClient.ServiceClientOptions {
1017
1430
  /** server parameter */
1018
1431
  $host?: string;
1019
1432
  /** Api Version */
@@ -1022,10 +1435,20 @@ export declare interface ScvmmOptionalParams extends coreClient.ServiceClientOpt
1022
1435
  endpoint?: string;
1023
1436
  }
1024
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
+
1025
1448
  /** Defines the stop action properties. */
1026
1449
  export declare interface StopVirtualMachineOptions {
1027
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. */
1028
- skipShutdown?: boolean;
1451
+ skipShutdown?: SkipShutdown;
1029
1452
  }
1030
1453
 
1031
1454
  /** Defines the resource properties. */
@@ -1034,14 +1457,14 @@ export declare interface StorageProfile {
1034
1457
  disks?: VirtualDisk[];
1035
1458
  }
1036
1459
 
1037
- /** Defines the resource properties. */
1460
+ /** Defines the resource update properties. */
1038
1461
  export declare interface StorageProfileUpdate {
1039
1462
  /** Gets or sets the list of virtual disks associated with the virtual machine. */
1040
1463
  disks?: VirtualDiskUpdate[];
1041
1464
  }
1042
1465
 
1043
1466
  /** The StorageQoSPolicy definition. */
1044
- export declare interface StorageQoSPolicy {
1467
+ export declare interface StorageQosPolicy {
1045
1468
  /** The name of the policy. */
1046
1469
  name?: string;
1047
1470
  /** The ID of the QoS policy. */
@@ -1057,7 +1480,7 @@ export declare interface StorageQoSPolicy {
1057
1480
  }
1058
1481
 
1059
1482
  /** The StorageQoSPolicyDetails definition. */
1060
- export declare interface StorageQoSPolicyDetails {
1483
+ export declare interface StorageQosPolicyDetails {
1061
1484
  /** The name of the policy. */
1062
1485
  name?: string;
1063
1486
  /** The ID of the QoS policy. */
@@ -1080,6 +1503,16 @@ export declare interface SystemData {
1080
1503
  lastModifiedAt?: Date;
1081
1504
  }
1082
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
+
1083
1516
  /** Virtual disk model */
1084
1517
  export declare interface VirtualDisk {
1085
1518
  /** Gets or sets the name of the disk. */
@@ -1094,7 +1527,7 @@ export declare interface VirtualDisk {
1094
1527
  /** Gets or sets the disk total size. */
1095
1528
  diskSizeGB?: number;
1096
1529
  /**
1097
- * Gets or sets the max disk size.
1530
+ * Gets the max disk size.
1098
1531
  * NOTE: This property will not be serialized. It can only be populated by the server.
1099
1532
  */
1100
1533
  readonly maxDiskSizeGB?: number;
@@ -1107,7 +1540,7 @@ export declare interface VirtualDisk {
1107
1540
  /** Gets or sets the disk vhd type. */
1108
1541
  vhdType?: string;
1109
1542
  /**
1110
- * Gets or sets the disk volume type.
1543
+ * Gets the disk volume type.
1111
1544
  * NOTE: This property will not be serialized. It can only be populated by the server.
1112
1545
  */
1113
1546
  readonly volumeType?: string;
@@ -1119,12 +1552,12 @@ export declare interface VirtualDisk {
1119
1552
  /** Gets or sets the disk id in the template. */
1120
1553
  templateDiskId?: string;
1121
1554
  /** The QoS policy for the disk. */
1122
- storageQoSPolicy?: StorageQoSPolicyDetails;
1555
+ storageQosPolicy?: StorageQosPolicyDetails;
1123
1556
  /** Gets or sets a value indicating diff disk. */
1124
1557
  createDiffDisk?: CreateDiffDisk;
1125
1558
  }
1126
1559
 
1127
- /** Virtual disk model */
1560
+ /** Virtual Disk Update model */
1128
1561
  export declare interface VirtualDiskUpdate {
1129
1562
  /** Gets or sets the name of the disk. */
1130
1563
  name?: string;
@@ -1141,77 +1574,7 @@ export declare interface VirtualDiskUpdate {
1141
1574
  /** Gets or sets the disk vhd type. */
1142
1575
  vhdType?: string;
1143
1576
  /** The QoS policy for the disk. */
1144
- storageQoSPolicy?: StorageQoSPolicyDetails;
1145
- }
1146
-
1147
- /** The VirtualMachines resource definition. */
1148
- export declare interface VirtualMachine {
1149
- /**
1150
- * Resource Id
1151
- * NOTE: This property will not be serialized. It can only be populated by the server.
1152
- */
1153
- readonly id?: string;
1154
- /**
1155
- * Resource Name
1156
- * NOTE: This property will not be serialized. It can only be populated by the server.
1157
- */
1158
- readonly name?: string;
1159
- /**
1160
- * Resource Type
1161
- * NOTE: This property will not be serialized. It can only be populated by the server.
1162
- */
1163
- readonly type?: string;
1164
- /** Gets or sets the location. */
1165
- location: string;
1166
- /** Resource tags */
1167
- tags?: {
1168
- [propertyName: string]: string;
1169
- };
1170
- /**
1171
- * The system data.
1172
- * NOTE: This property will not be serialized. It can only be populated by the server.
1173
- */
1174
- readonly systemData?: SystemData;
1175
- /** The extended location. */
1176
- extendedLocation: ExtendedLocation;
1177
- /** Gets or sets the inventory Item ID for the resource. */
1178
- inventoryItemId?: string;
1179
- /** ARM Id of the vmmServer resource in which this resource resides. */
1180
- vmmServerId?: string;
1181
- /** ARM Id of the cloud resource to use for deploying the vm. */
1182
- cloudId?: string;
1183
- /** ARM Id of the template resource to use for deploying the vm. */
1184
- templateId?: string;
1185
- /** Type of checkpoint supported for the vm. */
1186
- checkpointType?: string;
1187
- /** Checkpoints in the vm. */
1188
- checkpoints?: Checkpoint[];
1189
- /** Availability Sets in vm. */
1190
- availabilitySets?: AvailabilitySetListItem[];
1191
- /** OS properties. */
1192
- osProfile?: OsProfile;
1193
- /** Hardware properties. */
1194
- hardwareProfile?: HardwareProfile;
1195
- /** Network properties. */
1196
- networkProfile?: NetworkProfile;
1197
- /** Storage properties. */
1198
- storageProfile?: StorageProfile;
1199
- /** VMName is the name of VM on the SCVMM server. */
1200
- vmName?: string;
1201
- /** Unique ID of the virtual machine. */
1202
- uuid?: string;
1203
- /** Gets or sets the generation for the vm. */
1204
- generation?: number;
1205
- /**
1206
- * Gets the power state of the virtual machine.
1207
- * NOTE: This property will not be serialized. It can only be populated by the server.
1208
- */
1209
- readonly powerState?: string;
1210
- /**
1211
- * Gets or sets the provisioning state.
1212
- * NOTE: This property will not be serialized. It can only be populated by the server.
1213
- */
1214
- readonly provisioningState?: string;
1577
+ storageQosPolicy?: StorageQosPolicyDetails;
1215
1578
  }
1216
1579
 
1217
1580
  /** Defines the create checkpoint action properties. */
@@ -1228,209 +1591,216 @@ export declare interface VirtualMachineDeleteCheckpoint {
1228
1591
  id?: string;
1229
1592
  }
1230
1593
 
1231
- /** The Virtual machine inventory item. */
1232
- export declare interface VirtualMachineInventoryItem extends InventoryItemProperties {
1233
- /** Polymorphic discriminator, which specifies the different types this object can be */
1234
- 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[];
1235
1606
  /**
1236
- * Gets or sets the type of the os.
1607
+ * The link to the next page of items
1237
1608
  * NOTE: This property will not be serialized. It can only be populated by the server.
1238
1609
  */
1239
- 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;
1240
1627
  /**
1241
- * Gets or sets os name.
1628
+ * Gets the power state of the virtual machine.
1242
1629
  * NOTE: This property will not be serialized. It can only be populated by the server.
1243
1630
  */
1244
- readonly osName?: string;
1631
+ readonly powerState?: string;
1245
1632
  /**
1246
- * Gets the power state of the virtual machine.
1633
+ * Provisioning state of the resource.
1247
1634
  * NOTE: This property will not be serialized. It can only be populated by the server.
1248
1635
  */
1249
- readonly powerState?: string;
1250
- /** Gets or sets the nic ip addresses. */
1251
- ipAddresses?: string[];
1252
- /** Cloud inventory resource details where the VM is present. */
1253
- cloud?: InventoryItemDetails;
1254
- }
1255
-
1256
- /** List of VirtualMachines. */
1257
- export declare interface VirtualMachineListResult {
1258
- /** List of VirtualMachines. */
1259
- value?: VirtualMachine[];
1260
- /** Url to follow for getting next page of resources. */
1261
- nextLink?: string;
1262
- }
1263
-
1264
- /** Defines the restore checkpoint action properties. */
1265
- export declare interface VirtualMachineRestoreCheckpoint {
1266
- /** ID of the checkpoint to be restored to. */
1267
- id?: string;
1636
+ readonly provisioningState?: ProvisioningState;
1268
1637
  }
1269
1638
 
1270
- /** Interface representing a VirtualMachines. */
1271
- export declare interface VirtualMachines {
1639
+ /** Interface representing a VirtualMachineInstances. */
1640
+ export declare interface VirtualMachineInstances {
1272
1641
  /**
1273
- * List of VirtualMachines in a resource group.
1274
- * @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.
1275
1644
  * @param options The options parameters.
1276
1645
  */
1277
- listByResourceGroup(resourceGroupName: string, options?: VirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1646
+ list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineInstance>;
1278
1647
  /**
1279
- * 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.
1280
1650
  * @param options The options parameters.
1281
1651
  */
1282
- listBySubscription(options?: VirtualMachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
1652
+ get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise<VirtualMachineInstancesGetResponse>;
1283
1653
  /**
1284
- * Implements VirtualMachine GET method.
1285
- * @param resourceGroupName The name of the resource group.
1286
- * @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.
1287
1658
  * @param options The options parameters.
1288
1659
  */
1289
- get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
1660
+ beginCreateOrUpdate(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesCreateOrUpdateResponse>, VirtualMachineInstancesCreateOrUpdateResponse>>;
1290
1661
  /**
1291
- * Creates Or Updates virtual machines deployed on scvmm fabric.
1292
- * @param resourceGroupName The name of the resource group.
1293
- * @param virtualMachineName Name of the VirtualMachine.
1294
- * @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.
1295
1666
  * @param options The options parameters.
1296
1667
  */
1297
- beginCreateOrUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesCreateOrUpdateResponse>, VirtualMachinesCreateOrUpdateResponse>>;
1668
+ beginCreateOrUpdateAndWait(resourceUri: string, resource: VirtualMachineInstance, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<VirtualMachineInstancesCreateOrUpdateResponse>;
1298
1669
  /**
1299
- * Creates Or Updates virtual machines deployed on scvmm fabric.
1300
- * @param resourceGroupName The name of the resource group.
1301
- * @param virtualMachineName Name of the VirtualMachine.
1302
- * @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.
1303
1673
  * @param options The options parameters.
1304
1674
  */
1305
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<VirtualMachinesCreateOrUpdateResponse>;
1675
+ beginUpdate(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesUpdateResponse>, VirtualMachineInstancesUpdateResponse>>;
1306
1676
  /**
1307
- * Deletes a VirtualMachine deployed on ScVmm fabric.
1308
- * @param resourceGroupName The name of the resource group.
1309
- * @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.
1310
1680
  * @param options The options parameters.
1311
1681
  */
1312
- beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1682
+ beginUpdateAndWait(resourceUri: string, properties: VirtualMachineInstanceUpdate, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<VirtualMachineInstancesUpdateResponse>;
1313
1683
  /**
1314
- * Deletes a VirtualMachine deployed on ScVmm fabric.
1315
- * @param resourceGroupName The name of the resource group.
1316
- * @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.
1317
1686
  * @param options The options parameters.
1318
1687
  */
1319
- beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<void>;
1688
+ beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteResponse>, VirtualMachineInstancesDeleteResponse>>;
1320
1689
  /**
1321
- * Updates the VirtualMachines resource.
1322
- * @param resourceGroupName The name of the resource group.
1323
- * @param virtualMachineName Name of the VirtualMachine.
1324
- * @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.
1325
1692
  * @param options The options parameters.
1326
1693
  */
1327
- beginUpdate(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesUpdateResponse>, VirtualMachinesUpdateResponse>>;
1694
+ beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<VirtualMachineInstancesDeleteResponse>;
1328
1695
  /**
1329
- * Updates the VirtualMachines resource.
1330
- * @param resourceGroupName The name of the resource group.
1331
- * @param virtualMachineName Name of the VirtualMachine.
1332
- * @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
1333
1699
  * @param options The options parameters.
1334
1700
  */
1335
- beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, body: VirtualMachineUpdate, options?: VirtualMachinesUpdateOptionalParams): Promise<VirtualMachinesUpdateResponse>;
1701
+ beginCreateCheckpoint(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesCreateCheckpointResponse>, VirtualMachineInstancesCreateCheckpointResponse>>;
1336
1702
  /**
1337
- * Stop virtual machine.
1338
- * @param resourceGroupName The name of the resource group.
1339
- * @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
1340
1706
  * @param options The options parameters.
1341
1707
  */
1342
- beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1708
+ beginCreateCheckpointAndWait(resourceUri: string, body: VirtualMachineCreateCheckpoint, options?: VirtualMachineInstancesCreateCheckpointOptionalParams): Promise<VirtualMachineInstancesCreateCheckpointResponse>;
1343
1709
  /**
1344
- * Stop virtual machine.
1345
- * @param resourceGroupName The name of the resource group.
1346
- * @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
1347
1713
  * @param options The options parameters.
1348
1714
  */
1349
- beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
1715
+ beginDeleteCheckpoint(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteCheckpointResponse>, VirtualMachineInstancesDeleteCheckpointResponse>>;
1350
1716
  /**
1351
- * Start virtual machine.
1352
- * @param resourceGroupName The name of the resource group.
1353
- * @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
1354
1720
  * @param options The options parameters.
1355
1721
  */
1356
- beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1722
+ beginDeleteCheckpointAndWait(resourceUri: string, body: VirtualMachineDeleteCheckpoint, options?: VirtualMachineInstancesDeleteCheckpointOptionalParams): Promise<VirtualMachineInstancesDeleteCheckpointResponse>;
1357
1723
  /**
1358
- * Start virtual machine.
1359
- * @param resourceGroupName The name of the resource group.
1360
- * @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.
1361
1726
  * @param options The options parameters.
1362
1727
  */
1363
- beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
1728
+ beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestartResponse>, VirtualMachineInstancesRestartResponse>>;
1364
1729
  /**
1365
- * Restart virtual machine.
1366
- * @param resourceGroupName The name of the resource group.
1367
- * @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.
1368
1732
  * @param options The options parameters.
1369
1733
  */
1370
- beginRestart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1734
+ beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<VirtualMachineInstancesRestartResponse>;
1371
1735
  /**
1372
- * Restart virtual machine.
1373
- * @param resourceGroupName The name of the resource group.
1374
- * @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
1375
1739
  * @param options The options parameters.
1376
1740
  */
1377
- beginRestartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestartOptionalParams): Promise<void>;
1741
+ beginRestoreCheckpoint(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestoreCheckpointResponse>, VirtualMachineInstancesRestoreCheckpointResponse>>;
1378
1742
  /**
1379
- * Creates a checkpoint in virtual machine.
1380
- * @param resourceGroupName The name of the resource group.
1381
- * @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
1382
1746
  * @param options The options parameters.
1383
1747
  */
1384
- beginCreateCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1748
+ beginRestoreCheckpointAndWait(resourceUri: string, body: VirtualMachineRestoreCheckpoint, options?: VirtualMachineInstancesRestoreCheckpointOptionalParams): Promise<VirtualMachineInstancesRestoreCheckpointResponse>;
1385
1749
  /**
1386
- * Creates a checkpoint in virtual machine.
1387
- * @param resourceGroupName The name of the resource group.
1388
- * @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.
1389
1752
  * @param options The options parameters.
1390
1753
  */
1391
- beginCreateCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesCreateCheckpointOptionalParams): Promise<void>;
1754
+ beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStartResponse>, VirtualMachineInstancesStartResponse>>;
1392
1755
  /**
1393
- * Deletes a checkpoint in virtual machine.
1394
- * @param resourceGroupName The name of the resource group.
1395
- * @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.
1396
1758
  * @param options The options parameters.
1397
1759
  */
1398
- beginDeleteCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1760
+ beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<VirtualMachineInstancesStartResponse>;
1399
1761
  /**
1400
- * Deletes a checkpoint in virtual machine.
1401
- * @param resourceGroupName The name of the resource group.
1402
- * @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
1403
1765
  * @param options The options parameters.
1404
1766
  */
1405
- beginDeleteCheckpointAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteCheckpointOptionalParams): Promise<void>;
1767
+ beginStop(resourceUri: string, body: StopVirtualMachineOptions, options?: VirtualMachineInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStopResponse>, VirtualMachineInstancesStopResponse>>;
1406
1768
  /**
1407
- * Restores to a checkpoint in virtual machine.
1408
- * @param resourceGroupName The name of the resource group.
1409
- * @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
1410
1772
  * @param options The options parameters.
1411
1773
  */
1412
- beginRestoreCheckpoint(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesRestoreCheckpointOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1413
- /**
1414
- * Restores to a checkpoint in virtual machine.
1415
- * @param resourceGroupName The name of the resource group.
1416
- * @param virtualMachineName Name of the VirtualMachine.
1417
- * @param options The options parameters.
1418
- */
1419
- 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;
1420
1783
  }
1421
1784
 
1422
1785
  /** Optional parameters. */
1423
- export declare interface VirtualMachinesCreateCheckpointOptionalParams extends coreClient.OperationOptions {
1424
- /** Virtualmachine create checkpoint action payload. */
1425
- body?: VirtualMachineCreateCheckpoint;
1786
+ export declare interface VirtualMachineInstancesCreateCheckpointOptionalParams extends coreClient.OperationOptions {
1426
1787
  /** Delay to wait until next poll, in milliseconds. */
1427
1788
  updateIntervalInMs?: number;
1428
1789
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1429
1790
  resumeFrom?: string;
1430
1791
  }
1431
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
+
1432
1802
  /** Optional parameters. */
1433
- export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1803
+ export declare interface VirtualMachineInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1434
1804
  /** Delay to wait until next poll, in milliseconds. */
1435
1805
  updateIntervalInMs?: number;
1436
1806
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -1438,142 +1808,279 @@ export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends cor
1438
1808
  }
1439
1809
 
1440
1810
  /** Contains response data for the createOrUpdate operation. */
1441
- 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
+ }
1442
1820
 
1443
1821
  /** Optional parameters. */
1444
- export declare interface VirtualMachinesDeleteCheckpointOptionalParams extends coreClient.OperationOptions {
1445
- /** Virtualmachine delete checkpoint action payload. */
1446
- body?: VirtualMachineDeleteCheckpoint;
1822
+ export declare interface VirtualMachineInstancesDeleteCheckpointOptionalParams extends coreClient.OperationOptions {
1447
1823
  /** Delay to wait until next poll, in milliseconds. */
1448
1824
  updateIntervalInMs?: number;
1449
1825
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1450
1826
  resumeFrom?: string;
1451
1827
  }
1452
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
+
1453
1840
  /** Optional parameters. */
1454
- export declare interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
1455
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1456
- force?: boolean;
1457
- /** Whether to just disable the VM from azure and retain the VM in the VMM. */
1458
- 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;
1459
1846
  /** Delay to wait until next poll, in milliseconds. */
1460
1847
  updateIntervalInMs?: number;
1461
1848
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1462
1849
  resumeFrom?: string;
1463
1850
  }
1464
1851
 
1852
+ /** Contains response data for the delete operation. */
1853
+ export declare type VirtualMachineInstancesDeleteResponse = VirtualMachineInstancesDeleteHeaders;
1854
+
1465
1855
  /** Optional parameters. */
1466
- export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1856
+ export declare interface VirtualMachineInstancesGetOptionalParams extends coreClient.OperationOptions {
1467
1857
  }
1468
1858
 
1469
1859
  /** Contains response data for the get operation. */
1470
- export declare type VirtualMachinesGetResponse = VirtualMachine;
1860
+ export declare type VirtualMachineInstancesGetResponse = VirtualMachineInstance;
1471
1861
 
1472
1862
  /** Optional parameters. */
1473
- export declare interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1863
+ export declare interface VirtualMachineInstancesListNextOptionalParams extends coreClient.OperationOptions {
1474
1864
  }
1475
1865
 
1476
- /** Contains response data for the listByResourceGroupNext operation. */
1477
- export declare type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResult;
1866
+ /** Contains response data for the listNext operation. */
1867
+ export declare type VirtualMachineInstancesListNextResponse = VirtualMachineInstanceListResult;
1478
1868
 
1479
1869
  /** Optional parameters. */
1480
- export declare interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1870
+ export declare interface VirtualMachineInstancesListOptionalParams extends coreClient.OperationOptions {
1481
1871
  }
1482
1872
 
1483
- /** Contains response data for the listByResourceGroup operation. */
1484
- export declare type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResult;
1873
+ /** Contains response data for the list operation. */
1874
+ export declare type VirtualMachineInstancesListResponse = VirtualMachineInstanceListResult;
1485
1875
 
1486
- /** Optional parameters. */
1487
- 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;
1488
1882
  }
1489
1883
 
1490
- /** Contains response data for the listBySubscriptionNext operation. */
1491
- export declare type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResult;
1492
-
1493
1884
  /** Optional parameters. */
1494
- 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;
1495
1890
  }
1496
1891
 
1497
- /** Contains response data for the listBySubscription operation. */
1498
- 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
+ }
1499
1902
 
1500
1903
  /** Optional parameters. */
1501
- export declare interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions {
1904
+ export declare interface VirtualMachineInstancesRestoreCheckpointOptionalParams extends coreClient.OperationOptions {
1502
1905
  /** Delay to wait until next poll, in milliseconds. */
1503
1906
  updateIntervalInMs?: number;
1504
1907
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1505
1908
  resumeFrom?: string;
1506
1909
  }
1507
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
+
1508
1922
  /** Optional parameters. */
1509
- export declare interface VirtualMachinesRestoreCheckpointOptionalParams extends coreClient.OperationOptions {
1510
- /** Virtualmachine restore checkpoint action payload. */
1511
- body?: VirtualMachineRestoreCheckpoint;
1923
+ export declare interface VirtualMachineInstancesStartOptionalParams extends coreClient.OperationOptions {
1512
1924
  /** Delay to wait until next poll, in milliseconds. */
1513
1925
  updateIntervalInMs?: number;
1514
1926
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1515
1927
  resumeFrom?: string;
1516
1928
  }
1517
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
+
1518
1941
  /** Optional parameters. */
1519
- export declare interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
1942
+ export declare interface VirtualMachineInstancesStopOptionalParams extends coreClient.OperationOptions {
1520
1943
  /** Delay to wait until next poll, in milliseconds. */
1521
1944
  updateIntervalInMs?: number;
1522
1945
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1523
1946
  resumeFrom?: string;
1524
1947
  }
1525
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
+
1526
1960
  /** Optional parameters. */
1527
- export declare interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
1528
- /** Virtualmachine stop action payload. */
1529
- body?: StopVirtualMachineOptions;
1961
+ export declare interface VirtualMachineInstancesUpdateOptionalParams extends coreClient.OperationOptions {
1530
1962
  /** Delay to wait until next poll, in milliseconds. */
1531
1963
  updateIntervalInMs?: number;
1532
1964
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1533
1965
  resumeFrom?: string;
1534
1966
  }
1535
1967
 
1536
- /** Optional parameters. */
1537
- export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
1538
- /** Delay to wait until next poll, in milliseconds. */
1539
- updateIntervalInMs?: number;
1540
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1541
- 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;
1542
2035
  }
1543
2036
 
1544
- /** Contains response data for the update operation. */
1545
- export declare type VirtualMachinesUpdateResponse = VirtualMachine;
1546
-
1547
2037
  /** The VirtualMachineTemplates resource definition. */
1548
- 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";
1549
2049
  /**
1550
- * Resource Id
2050
+ * Gets the desired number of vCPUs for the vm.
1551
2051
  * NOTE: This property will not be serialized. It can only be populated by the server.
1552
2052
  */
1553
- readonly id?: string;
2053
+ readonly cpuCount?: number;
1554
2054
  /**
1555
- * Resource Name
2055
+ * MemoryMB is the desired size of a virtual machine's memory, in MB.
1556
2056
  * NOTE: This property will not be serialized. It can only be populated by the server.
1557
2057
  */
1558
- readonly name?: string;
2058
+ readonly memoryMB?: number;
1559
2059
  /**
1560
- * Resource Type
2060
+ * Gets the type of the os.
1561
2061
  * NOTE: This property will not be serialized. It can only be populated by the server.
1562
2062
  */
1563
- readonly type?: string;
1564
- /** Gets or sets the location. */
1565
- location: string;
1566
- /** Resource tags */
1567
- tags?: {
1568
- [propertyName: string]: string;
1569
- };
2063
+ readonly osType?: OsType;
1570
2064
  /**
1571
- * The system data.
2065
+ * Gets os name.
1572
2066
  * NOTE: This property will not be serialized. It can only be populated by the server.
1573
2067
  */
1574
- readonly systemData?: SystemData;
1575
- /** The extended location. */
1576
- 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 {
1577
2084
  /** Gets or sets the inventory Item ID for the resource. */
1578
2085
  inventoryItemId?: string;
1579
2086
  /** Unique ID of the virtual machine template. */
@@ -1581,17 +2088,17 @@ export declare interface VirtualMachineTemplate {
1581
2088
  /** ARM Id of the vmmServer resource in which this resource resides. */
1582
2089
  vmmServerId?: string;
1583
2090
  /**
1584
- * Gets or sets the type of the os.
2091
+ * Gets the type of the os.
1585
2092
  * NOTE: This property will not be serialized. It can only be populated by the server.
1586
2093
  */
1587
2094
  readonly osType?: OsType;
1588
2095
  /**
1589
- * Gets or sets os name.
2096
+ * Gets os name.
1590
2097
  * NOTE: This property will not be serialized. It can only be populated by the server.
1591
2098
  */
1592
2099
  readonly osName?: string;
1593
2100
  /**
1594
- * Gets or sets computer name.
2101
+ * Gets computer name.
1595
2102
  * NOTE: This property will not be serialized. It can only be populated by the server.
1596
2103
  */
1597
2104
  readonly computerName?: string;
@@ -1601,32 +2108,32 @@ export declare interface VirtualMachineTemplate {
1601
2108
  */
1602
2109
  readonly memoryMB?: number;
1603
2110
  /**
1604
- * Gets or sets the desired number of vCPUs for the vm.
2111
+ * Gets the desired number of vCPUs for the vm.
1605
2112
  * NOTE: This property will not be serialized. It can only be populated by the server.
1606
2113
  */
1607
2114
  readonly cpuCount?: number;
1608
2115
  /**
1609
- * 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.
1610
2117
  * NOTE: This property will not be serialized. It can only be populated by the server.
1611
2118
  */
1612
2119
  readonly limitCpuForMigration?: LimitCpuForMigration;
1613
2120
  /**
1614
- * 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.
1615
2122
  * NOTE: This property will not be serialized. It can only be populated by the server.
1616
2123
  */
1617
2124
  readonly dynamicMemoryEnabled?: DynamicMemoryEnabled;
1618
2125
  /**
1619
- * 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.
1620
2127
  * NOTE: This property will not be serialized. It can only be populated by the server.
1621
2128
  */
1622
2129
  readonly isCustomizable?: IsCustomizable;
1623
2130
  /**
1624
- * Gets or sets the max dynamic memory for the vm.
2131
+ * Gets the max dynamic memory for the vm.
1625
2132
  * NOTE: This property will not be serialized. It can only be populated by the server.
1626
2133
  */
1627
2134
  readonly dynamicMemoryMaxMB?: number;
1628
2135
  /**
1629
- * Gets or sets the min dynamic memory for the vm.
2136
+ * Gets the min dynamic memory for the vm.
1630
2137
  * NOTE: This property will not be serialized. It can only be populated by the server.
1631
2138
  */
1632
2139
  readonly dynamicMemoryMinMB?: number;
@@ -1634,129 +2141,101 @@ export declare interface VirtualMachineTemplate {
1634
2141
  * Gets highly available property.
1635
2142
  * NOTE: This property will not be serialized. It can only be populated by the server.
1636
2143
  */
1637
- readonly isHighlyAvailable?: string;
2144
+ readonly isHighlyAvailable?: IsHighlyAvailable;
1638
2145
  /**
1639
- * Gets or sets the generation for the vm.
2146
+ * Gets the generation for the vm.
1640
2147
  * NOTE: This property will not be serialized. It can only be populated by the server.
1641
2148
  */
1642
2149
  readonly generation?: number;
1643
2150
  /**
1644
- * Gets or sets the network interfaces of the template.
2151
+ * Gets the network interfaces of the template.
1645
2152
  * NOTE: This property will not be serialized. It can only be populated by the server.
1646
2153
  */
1647
- readonly networkInterfaces?: NetworkInterfaces[];
2154
+ readonly networkInterfaces?: NetworkInterface[];
1648
2155
  /**
1649
- * Gets or sets the disks of the template.
2156
+ * Gets the disks of the template.
1650
2157
  * NOTE: This property will not be serialized. It can only be populated by the server.
1651
2158
  */
1652
2159
  readonly disks?: VirtualDisk[];
1653
2160
  /**
1654
- * Gets or sets the provisioning state.
1655
- * NOTE: This property will not be serialized. It can only be populated by the server.
1656
- */
1657
- readonly provisioningState?: string;
1658
- }
1659
-
1660
- /** The Virtual machine template inventory item. */
1661
- export declare interface VirtualMachineTemplateInventoryItem extends InventoryItemProperties {
1662
- /** Polymorphic discriminator, which specifies the different types this object can be */
1663
- inventoryType: "VirtualMachineTemplate";
1664
- /**
1665
- * Gets or sets the desired number of vCPUs for the vm.
1666
- * NOTE: This property will not be serialized. It can only be populated by the server.
1667
- */
1668
- readonly cpuCount?: number;
1669
- /**
1670
- * MemoryMB is the desired size of a virtual machine's memory, in MB.
1671
- * NOTE: This property will not be serialized. It can only be populated by the server.
1672
- */
1673
- readonly memoryMB?: number;
1674
- /**
1675
- * Gets or sets the type of the os.
1676
- * NOTE: This property will not be serialized. It can only be populated by the server.
1677
- */
1678
- readonly osType?: OsType;
1679
- /**
1680
- * Gets or sets os name.
2161
+ * Provisioning state of the resource.
1681
2162
  * NOTE: This property will not be serialized. It can only be populated by the server.
1682
2163
  */
1683
- readonly osName?: string;
1684
- }
1685
-
1686
- /** List of VirtualMachineTemplates. */
1687
- export declare interface VirtualMachineTemplateListResult {
1688
- /** List of VirtualMachineTemplates. */
1689
- value?: VirtualMachineTemplate[];
1690
- /** Url to follow for getting next page of resources. */
1691
- nextLink?: string;
2164
+ readonly provisioningState?: ProvisioningState;
1692
2165
  }
1693
2166
 
1694
2167
  /** Interface representing a VirtualMachineTemplates. */
1695
2168
  export declare interface VirtualMachineTemplates {
1696
2169
  /**
1697
- * List of VirtualMachineTemplates in a resource group.
1698
- * @param resourceGroupName The name of the resource group.
2170
+ * List of VirtualMachineTemplates in a subscription.
1699
2171
  * @param options The options parameters.
1700
2172
  */
1701
- listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
2173
+ listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
1702
2174
  /**
1703
- * 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.
1704
2177
  * @param options The options parameters.
1705
2178
  */
1706
- listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
2179
+ listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
1707
2180
  /**
1708
2181
  * Implements VirtualMachineTemplate GET method.
1709
- * @param resourceGroupName The name of the resource group.
2182
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1710
2183
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1711
2184
  * @param options The options parameters.
1712
2185
  */
1713
2186
  get(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplatesGetResponse>;
1714
2187
  /**
1715
2188
  * Onboards the ScVmm VM Template as an Azure VM Template resource.
1716
- * @param resourceGroupName The name of the resource group.
2189
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1717
2190
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1718
- * @param body Request payload.
2191
+ * @param resource Resource create parameters.
1719
2192
  * @param options The options parameters.
1720
2193
  */
1721
- 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>>;
1722
2195
  /**
1723
2196
  * Onboards the ScVmm VM Template as an Azure VM Template resource.
1724
- * @param resourceGroupName The name of the resource group.
2197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1725
2198
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1726
- * @param body Request payload.
2199
+ * @param resource Resource create parameters.
1727
2200
  * @param options The options parameters.
1728
2201
  */
1729
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, body: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<VirtualMachineTemplatesCreateOrUpdateResponse>;
2202
+ beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<VirtualMachineTemplatesCreateOrUpdateResponse>;
1730
2203
  /**
1731
- * Deregisters the ScVmm VM Template from Azure.
1732
- * @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.
1733
2206
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
2207
+ * @param properties The resource properties to be updated.
1734
2208
  * @param options The options parameters.
1735
2209
  */
1736
- 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>>;
1737
2211
  /**
1738
- * Deregisters the ScVmm VM Template from Azure.
1739
- * @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.
1740
2214
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
2215
+ * @param properties The resource properties to be updated.
1741
2216
  * @param options The options parameters.
1742
2217
  */
1743
- beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<void>;
2218
+ beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplatesUpdateResponse>;
1744
2219
  /**
1745
- * Updates the VirtualMachineTemplate resource.
1746
- * @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.
1747
2222
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1748
- * @param body VirtualMachineTemplates patch details.
1749
2223
  * @param options The options parameters.
1750
2224
  */
1751
- 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>>;
1752
2226
  /**
1753
- * Updates the VirtualMachineTemplate resource.
1754
- * @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.
1755
2229
  * @param virtualMachineTemplateName Name of the VirtualMachineTemplate.
1756
- * @param body VirtualMachineTemplates patch details.
1757
2230
  * @param options The options parameters.
1758
2231
  */
1759
- 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;
1760
2239
  }
1761
2240
 
1762
2241
  /** Optional parameters. */
@@ -1770,16 +2249,27 @@ export declare interface VirtualMachineTemplatesCreateOrUpdateOptionalParams ext
1770
2249
  /** Contains response data for the createOrUpdate operation. */
1771
2250
  export declare type VirtualMachineTemplatesCreateOrUpdateResponse = VirtualMachineTemplate;
1772
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
+
1773
2260
  /** Optional parameters. */
1774
2261
  export declare interface VirtualMachineTemplatesDeleteOptionalParams extends coreClient.OperationOptions {
1775
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1776
- force?: boolean;
2262
+ /** Forces the resource to be deleted. */
2263
+ force?: ForceDelete;
1777
2264
  /** Delay to wait until next poll, in milliseconds. */
1778
2265
  updateIntervalInMs?: number;
1779
2266
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1780
2267
  resumeFrom?: string;
1781
2268
  }
1782
2269
 
2270
+ /** Contains response data for the delete operation. */
2271
+ export declare type VirtualMachineTemplatesDeleteResponse = VirtualMachineTemplatesDeleteHeaders;
2272
+
1783
2273
  /** Optional parameters. */
1784
2274
  export declare interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions {
1785
2275
  }
@@ -1815,6 +2305,14 @@ export declare interface VirtualMachineTemplatesListBySubscriptionOptionalParams
1815
2305
  /** Contains response data for the listBySubscription operation. */
1816
2306
  export declare type VirtualMachineTemplatesListBySubscriptionResponse = VirtualMachineTemplateListResult;
1817
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
+
1818
2316
  /** Optional parameters. */
1819
2317
  export declare interface VirtualMachineTemplatesUpdateOptionalParams extends coreClient.OperationOptions {
1820
2318
  /** Delay to wait until next poll, in milliseconds. */
@@ -1826,58 +2324,41 @@ export declare interface VirtualMachineTemplatesUpdateOptionalParams extends cor
1826
2324
  /** Contains response data for the update operation. */
1827
2325
  export declare type VirtualMachineTemplatesUpdateResponse = VirtualMachineTemplate;
1828
2326
 
1829
- /** Defines the virtualMachineUpdate. */
1830
- export declare interface VirtualMachineUpdate {
1831
- /** Defines the resource properties. */
1832
- properties?: VirtualMachineUpdateProperties;
1833
- /** Gets or sets the Resource tags. */
2327
+ /** The type used for updating tags in VirtualMachineTemplate resources. */
2328
+ export declare interface VirtualMachineTemplateTagsUpdate {
2329
+ /** Resource tags. */
1834
2330
  tags?: {
1835
2331
  [propertyName: string]: string;
1836
2332
  };
1837
2333
  }
1838
2334
 
1839
- /** Defines the resource properties. */
1840
- export declare interface VirtualMachineUpdateProperties {
1841
- /** Defines the resource properties. */
1842
- hardwareProfile?: HardwareProfileUpdate;
1843
- /** Defines the resource properties. */
1844
- storageProfile?: StorageProfileUpdate;
1845
- /** Defines the resource properties. */
1846
- networkProfile?: NetworkProfileUpdate;
1847
- /** Availability Sets in vm. */
1848
- 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;
1849
2341
  }
1850
2342
 
1851
- /** The VirtualNetworks resource definition. */
1852
- export declare interface VirtualNetwork {
1853
- /**
1854
- * Resource Id
1855
- * NOTE: This property will not be serialized. It can only be populated by the server.
1856
- */
1857
- readonly id?: string;
1858
- /**
1859
- * Resource Name
1860
- * NOTE: This property will not be serialized. It can only be populated by the server.
1861
- */
1862
- readonly name?: string;
1863
- /**
1864
- * Resource Type
1865
- * NOTE: This property will not be serialized. It can only be populated by the server.
1866
- */
1867
- readonly type?: string;
1868
- /** Gets or sets the location. */
1869
- location: string;
1870
- /** Resource tags */
1871
- tags?: {
1872
- [propertyName: string]: string;
1873
- };
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[];
1874
2353
  /**
1875
- * The system data.
2354
+ * The link to the next page of items
1876
2355
  * NOTE: This property will not be serialized. It can only be populated by the server.
1877
2356
  */
1878
- readonly systemData?: SystemData;
1879
- /** The extended location. */
1880
- extendedLocation: ExtendedLocation;
2357
+ readonly nextLink?: string;
2358
+ }
2359
+
2360
+ /** Defines the resource properties. */
2361
+ export declare interface VirtualNetworkProperties {
1881
2362
  /** Gets or sets the inventory Item ID for the resource. */
1882
2363
  inventoryItemId?: string;
1883
2364
  /** Unique ID of the virtual network. */
@@ -1890,92 +2371,84 @@ export declare interface VirtualNetwork {
1890
2371
  */
1891
2372
  readonly networkName?: string;
1892
2373
  /**
1893
- * Gets or sets the provisioning state.
2374
+ * Provisioning state of the resource.
1894
2375
  * NOTE: This property will not be serialized. It can only be populated by the server.
1895
2376
  */
1896
- readonly provisioningState?: string;
1897
- }
1898
-
1899
- /** The Virtual network inventory item. */
1900
- export declare interface VirtualNetworkInventoryItem extends InventoryItemProperties {
1901
- /** Polymorphic discriminator, which specifies the different types this object can be */
1902
- inventoryType: "VirtualNetwork";
1903
- }
1904
-
1905
- /** List of VirtualNetworks. */
1906
- export declare interface VirtualNetworkListResult {
1907
- /** List of VirtualNetworks. */
1908
- value?: VirtualNetwork[];
1909
- /** Url to follow for getting next page of resources. */
1910
- nextLink?: string;
2377
+ readonly provisioningState?: ProvisioningState;
1911
2378
  }
1912
2379
 
1913
2380
  /** Interface representing a VirtualNetworks. */
1914
2381
  export declare interface VirtualNetworks {
1915
2382
  /**
1916
- * List of VirtualNetworks in a resource group.
1917
- * @param resourceGroupName The name of the resource group.
2383
+ * List of VirtualNetworks in a subscription.
1918
2384
  * @param options The options parameters.
1919
2385
  */
1920
- listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
2386
+ listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
1921
2387
  /**
1922
- * 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.
1923
2390
  * @param options The options parameters.
1924
2391
  */
1925
- listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
2392
+ listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
1926
2393
  /**
1927
2394
  * Implements VirtualNetwork GET method.
1928
- * @param resourceGroupName The name of the resource group.
2395
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1929
2396
  * @param virtualNetworkName Name of the VirtualNetwork.
1930
2397
  * @param options The options parameters.
1931
2398
  */
1932
2399
  get(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetworksGetResponse>;
1933
2400
  /**
1934
2401
  * Onboards the ScVmm virtual network as an Azure virtual network resource.
1935
- * @param resourceGroupName The name of the resource group.
2402
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1936
2403
  * @param virtualNetworkName Name of the VirtualNetwork.
1937
- * @param body Request payload.
2404
+ * @param resource Resource create parameters.
1938
2405
  * @param options The options parameters.
1939
2406
  */
1940
- 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>>;
1941
2408
  /**
1942
2409
  * Onboards the ScVmm virtual network as an Azure virtual network resource.
1943
- * @param resourceGroupName The name of the resource group.
2410
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1944
2411
  * @param virtualNetworkName Name of the VirtualNetwork.
1945
- * @param body Request payload.
2412
+ * @param resource Resource create parameters.
1946
2413
  * @param options The options parameters.
1947
2414
  */
1948
- beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, body: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<VirtualNetworksCreateOrUpdateResponse>;
2415
+ beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<VirtualNetworksCreateOrUpdateResponse>;
1949
2416
  /**
1950
- * Deregisters the ScVmm virtual network from Azure.
1951
- * @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.
1952
2419
  * @param virtualNetworkName Name of the VirtualNetwork.
2420
+ * @param properties The resource properties to be updated.
1953
2421
  * @param options The options parameters.
1954
2422
  */
1955
- 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>>;
1956
2424
  /**
1957
- * Deregisters the ScVmm virtual network from Azure.
1958
- * @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.
1959
2427
  * @param virtualNetworkName Name of the VirtualNetwork.
2428
+ * @param properties The resource properties to be updated.
1960
2429
  * @param options The options parameters.
1961
2430
  */
1962
- beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<void>;
2431
+ beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise<VirtualNetworksUpdateResponse>;
1963
2432
  /**
1964
- * Updates the VirtualNetworks resource.
1965
- * @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.
1966
2435
  * @param virtualNetworkName Name of the VirtualNetwork.
1967
- * @param body VirtualNetworks patch payload.
1968
2436
  * @param options The options parameters.
1969
2437
  */
1970
- 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>>;
1971
2439
  /**
1972
- * Updates the VirtualNetworks resource.
1973
- * @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.
1974
2442
  * @param virtualNetworkName Name of the VirtualNetwork.
1975
- * @param body VirtualNetworks patch payload.
1976
2443
  * @param options The options parameters.
1977
2444
  */
1978
- 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;
1979
2452
  }
1980
2453
 
1981
2454
  /** Optional parameters. */
@@ -1989,16 +2462,27 @@ export declare interface VirtualNetworksCreateOrUpdateOptionalParams extends cor
1989
2462
  /** Contains response data for the createOrUpdate operation. */
1990
2463
  export declare type VirtualNetworksCreateOrUpdateResponse = VirtualNetwork;
1991
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
+
1992
2473
  /** Optional parameters. */
1993
2474
  export declare interface VirtualNetworksDeleteOptionalParams extends coreClient.OperationOptions {
1994
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
1995
- force?: boolean;
2475
+ /** Forces the resource to be deleted. */
2476
+ force?: ForceDelete;
1996
2477
  /** Delay to wait until next poll, in milliseconds. */
1997
2478
  updateIntervalInMs?: number;
1998
2479
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1999
2480
  resumeFrom?: string;
2000
2481
  }
2001
2482
 
2483
+ /** Contains response data for the delete operation. */
2484
+ export declare type VirtualNetworksDeleteResponse = VirtualNetworksDeleteHeaders;
2485
+
2002
2486
  /** Optional parameters. */
2003
2487
  export declare interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions {
2004
2488
  }
@@ -2034,6 +2518,14 @@ export declare interface VirtualNetworksListBySubscriptionOptionalParams extends
2034
2518
  /** Contains response data for the listBySubscription operation. */
2035
2519
  export declare type VirtualNetworksListBySubscriptionResponse = VirtualNetworkListResult;
2036
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
+
2037
2529
  /** Optional parameters. */
2038
2530
  export declare interface VirtualNetworksUpdateOptionalParams extends coreClient.OperationOptions {
2039
2531
  /** Delay to wait until next poll, in milliseconds. */
@@ -2045,49 +2537,126 @@ export declare interface VirtualNetworksUpdateOptionalParams extends coreClient.
2045
2537
  /** Contains response data for the update operation. */
2046
2538
  export declare type VirtualNetworksUpdateResponse = VirtualNetwork;
2047
2539
 
2048
- /** The VmmServers resource definition. */
2049
- 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[];
2050
2558
  /**
2051
- * Resource Id
2559
+ * The link to the next page of items
2052
2560
  * NOTE: This property will not be serialized. It can only be populated by the server.
2053
2561
  */
2054
- 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;
2055
2571
  /**
2056
- * Resource Name
2572
+ * Provisioning state of the resource.
2057
2573
  * NOTE: This property will not be serialized. It can only be populated by the server.
2058
2574
  */
2059
- readonly name?: string;
2575
+ readonly provisioningState?: ProvisioningState;
2576
+ }
2577
+
2578
+ /** Interface representing a VmInstanceHybridIdentityMetadatas. */
2579
+ export declare interface VmInstanceHybridIdentityMetadatas {
2060
2580
  /**
2061
- * Resource Type
2062
- * 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.
2063
2584
  */
2064
- readonly type?: string;
2065
- /** Gets or sets the location. */
2066
- location: string;
2067
- /** Resource tags */
2068
- tags?: {
2069
- [propertyName: string]: string;
2070
- };
2585
+ listByVirtualMachineInstance(resourceUri: string, options?: VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator<VmInstanceHybridIdentityMetadata>;
2071
2586
  /**
2072
- * The system data.
2073
- * 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.
2074
2590
  */
2075
- 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;
2076
2630
  /** The extended location. */
2077
2631
  extendedLocation: ExtendedLocation;
2078
- /** Credentials to connect to VMMServer. */
2079
- 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;
2080
2649
  /** Fqdn is the hostname/ip of the vmmServer. */
2081
2650
  fqdn: string;
2082
2651
  /** Port is the port on which the vmmServer is listening. */
2083
2652
  port?: number;
2084
2653
  /**
2085
- * Gets or sets the connection status to the vmmServer.
2654
+ * Gets the connection status to the vmmServer.
2086
2655
  * NOTE: This property will not be serialized. It can only be populated by the server.
2087
2656
  */
2088
2657
  readonly connectionStatus?: string;
2089
2658
  /**
2090
- * 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.
2091
2660
  * NOTE: This property will not be serialized. It can only be populated by the server.
2092
2661
  */
2093
2662
  readonly errorMessage?: string;
@@ -2102,94 +2671,84 @@ export declare interface VMMServer {
2102
2671
  */
2103
2672
  readonly version?: string;
2104
2673
  /**
2105
- * Gets or sets the provisioning state.
2674
+ * Provisioning state of the resource.
2106
2675
  * NOTE: This property will not be serialized. It can only be populated by the server.
2107
2676
  */
2108
- readonly provisioningState?: string;
2109
- }
2110
-
2111
- /** List of VmmServers. */
2112
- export declare interface VMMServerListResult {
2113
- /** List of VmmServers. */
2114
- value?: VMMServer[];
2115
- /** Url to follow for getting next page of resources. */
2116
- nextLink?: string;
2117
- }
2118
-
2119
- /** Credentials to connect to VMMServer. */
2120
- export declare interface VMMServerPropertiesCredentials {
2121
- /** Username to use to connect to VMMServer. */
2122
- username?: string;
2123
- /** Credentials to use to connect to VMMServer. */
2124
- password?: string;
2677
+ readonly provisioningState?: ProvisioningState;
2125
2678
  }
2126
2679
 
2127
2680
  /** Interface representing a VmmServers. */
2128
2681
  export declare interface VmmServers {
2129
2682
  /**
2130
- * List of VmmServers in a resource group.
2131
- * @param resourceGroupName The name of the resource group.
2683
+ * List of VmmServers in a subscription.
2132
2684
  * @param options The options parameters.
2133
2685
  */
2134
- listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VMMServer>;
2686
+ listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VmmServer>;
2135
2687
  /**
2136
- * 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.
2137
2690
  * @param options The options parameters.
2138
2691
  */
2139
- listBySubscription(options?: VmmServersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VMMServer>;
2692
+ listByResourceGroup(resourceGroupName: string, options?: VmmServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VmmServer>;
2140
2693
  /**
2141
- * Implements VMMServer GET method.
2142
- * @param resourceGroupName The name of the resource group.
2143
- * @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.
2144
2697
  * @param options The options parameters.
2145
2698
  */
2146
2699
  get(resourceGroupName: string, vmmServerName: string, options?: VmmServersGetOptionalParams): Promise<VmmServersGetResponse>;
2147
2700
  /**
2148
- * Onboards the SCVMM fabric as an Azure VmmServer resource.
2149
- * @param resourceGroupName The name of the resource group.
2150
- * @param vmmServerName Name of the VMMServer.
2151
- * @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.
2152
2705
  * @param options The options parameters.
2153
2706
  */
2154
- 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>>;
2155
2708
  /**
2156
- * Onboards the SCVMM fabric as an Azure VmmServer resource.
2157
- * @param resourceGroupName The name of the resource group.
2158
- * @param vmmServerName Name of the VMMServer.
2159
- * @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.
2160
2713
  * @param options The options parameters.
2161
2714
  */
2162
- beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, body: VMMServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<VmmServersCreateOrUpdateResponse>;
2715
+ beginCreateOrUpdateAndWait(resourceGroupName: string, vmmServerName: string, resource: VmmServer, options?: VmmServersCreateOrUpdateOptionalParams): Promise<VmmServersCreateOrUpdateResponse>;
2163
2716
  /**
2164
- * Deboards the SCVMM fabric from Azure.
2165
- * @param resourceGroupName The name of the resource group.
2166
- * @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.
2167
2721
  * @param options The options parameters.
2168
2722
  */
2169
- 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>>;
2170
2724
  /**
2171
- * Deboards the SCVMM fabric from Azure.
2172
- * @param resourceGroupName The name of the resource group.
2173
- * @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.
2174
2729
  * @param options The options parameters.
2175
2730
  */
2176
- beginDeleteAndWait(resourceGroupName: string, vmmServerName: string, options?: VmmServersDeleteOptionalParams): Promise<void>;
2731
+ beginUpdateAndWait(resourceGroupName: string, vmmServerName: string, properties: VmmServerTagsUpdate, options?: VmmServersUpdateOptionalParams): Promise<VmmServersUpdateResponse>;
2177
2732
  /**
2178
- * Updates the VmmServers resource.
2179
- * @param resourceGroupName The name of the resource group.
2180
- * @param vmmServerName Name of the VMMServer.
2181
- * @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.
2182
2736
  * @param options The options parameters.
2183
2737
  */
2184
- 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>>;
2185
2739
  /**
2186
- * Updates the VmmServers resource.
2187
- * @param resourceGroupName The name of the resource group.
2188
- * @param vmmServerName Name of the VMMServer.
2189
- * @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.
2190
2743
  * @param options The options parameters.
2191
2744
  */
2192
- 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;
2193
2752
  }
2194
2753
 
2195
2754
  /** Optional parameters. */
@@ -2201,52 +2760,71 @@ export declare interface VmmServersCreateOrUpdateOptionalParams extends coreClie
2201
2760
  }
2202
2761
 
2203
2762
  /** Contains response data for the createOrUpdate operation. */
2204
- 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
+ }
2205
2772
 
2206
2773
  /** Optional parameters. */
2207
2774
  export declare interface VmmServersDeleteOptionalParams extends coreClient.OperationOptions {
2208
- /** Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too. */
2209
- force?: boolean;
2775
+ /** Forces the resource to be deleted. */
2776
+ force?: ForceDelete;
2210
2777
  /** Delay to wait until next poll, in milliseconds. */
2211
2778
  updateIntervalInMs?: number;
2212
2779
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2213
2780
  resumeFrom?: string;
2214
2781
  }
2215
2782
 
2783
+ /** Contains response data for the delete operation. */
2784
+ export declare type VmmServersDeleteResponse = VmmServersDeleteHeaders;
2785
+
2216
2786
  /** Optional parameters. */
2217
2787
  export declare interface VmmServersGetOptionalParams extends coreClient.OperationOptions {
2218
2788
  }
2219
2789
 
2220
2790
  /** Contains response data for the get operation. */
2221
- export declare type VmmServersGetResponse = VMMServer;
2791
+ export declare type VmmServersGetResponse = VmmServer;
2222
2792
 
2223
2793
  /** Optional parameters. */
2224
2794
  export declare interface VmmServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2225
2795
  }
2226
2796
 
2227
2797
  /** Contains response data for the listByResourceGroupNext operation. */
2228
- export declare type VmmServersListByResourceGroupNextResponse = VMMServerListResult;
2798
+ export declare type VmmServersListByResourceGroupNextResponse = VmmServerListResult;
2229
2799
 
2230
2800
  /** Optional parameters. */
2231
2801
  export declare interface VmmServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2232
2802
  }
2233
2803
 
2234
2804
  /** Contains response data for the listByResourceGroup operation. */
2235
- export declare type VmmServersListByResourceGroupResponse = VMMServerListResult;
2805
+ export declare type VmmServersListByResourceGroupResponse = VmmServerListResult;
2236
2806
 
2237
2807
  /** Optional parameters. */
2238
2808
  export declare interface VmmServersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2239
2809
  }
2240
2810
 
2241
2811
  /** Contains response data for the listBySubscriptionNext operation. */
2242
- export declare type VmmServersListBySubscriptionNextResponse = VMMServerListResult;
2812
+ export declare type VmmServersListBySubscriptionNextResponse = VmmServerListResult;
2243
2813
 
2244
2814
  /** Optional parameters. */
2245
2815
  export declare interface VmmServersListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2246
2816
  }
2247
2817
 
2248
2818
  /** Contains response data for the listBySubscription operation. */
2249
- 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
+ }
2250
2828
 
2251
2829
  /** Optional parameters. */
2252
2830
  export declare interface VmmServersUpdateOptionalParams extends coreClient.OperationOptions {
@@ -2257,6 +2835,14 @@ export declare interface VmmServersUpdateOptionalParams extends coreClient.Opera
2257
2835
  }
2258
2836
 
2259
2837
  /** Contains response data for the update operation. */
2260
- 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
+ }
2261
2847
 
2262
2848
  export { }