@azure/arm-compute 21.2.0 → 21.3.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 (474) hide show
  1. package/CHANGELOG.md +96 -1
  2. package/dist/index.js +2139 -1282
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js +1 -1
  7. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +2 -2
  8. package/dist-esm/samples-dev/availabilitySetsGetSample.js +2 -2
  9. package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js +8 -18
  10. package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js.map +1 -1
  11. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +4 -9
  12. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
  13. package/dist-esm/samples-dev/availabilitySetsListSample.js +8 -18
  14. package/dist-esm/samples-dev/availabilitySetsListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +2 -2
  16. package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js +9 -3
  17. package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js.map +1 -1
  18. package/dist-esm/samples-dev/capacityReservationGroupsDeleteSample.js +2 -2
  19. package/dist-esm/samples-dev/capacityReservationGroupsGetSample.js +1 -1
  20. package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js +4 -9
  21. package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js.map +1 -1
  22. package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js +4 -9
  23. package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js.map +1 -1
  24. package/dist-esm/samples-dev/capacityReservationGroupsUpdateSample.js +6 -6
  25. package/dist-esm/samples-dev/capacityReservationsCreateOrUpdateSample.js +1 -1
  26. package/dist-esm/samples-dev/capacityReservationsDeleteSample.js +2 -2
  27. package/dist-esm/samples-dev/capacityReservationsGetSample.js +1 -1
  28. package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js +4 -9
  29. package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js.map +1 -1
  30. package/dist-esm/samples-dev/capacityReservationsUpdateSample.js +2 -2
  31. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js +3 -8
  32. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js.map +1 -1
  33. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js +3 -8
  34. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js.map +1 -1
  35. package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js +3 -8
  36. package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js.map +1 -1
  37. package/dist-esm/samples-dev/cloudServiceRolesListSample.js +3 -8
  38. package/dist-esm/samples-dev/cloudServiceRolesListSample.js.map +1 -1
  39. package/dist-esm/samples-dev/cloudServicesListAllSample.js +3 -8
  40. package/dist-esm/samples-dev/cloudServicesListAllSample.js.map +1 -1
  41. package/dist-esm/samples-dev/cloudServicesListSample.js +3 -8
  42. package/dist-esm/samples-dev/cloudServicesListSample.js.map +1 -1
  43. package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js +3 -8
  44. package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js.map +1 -1
  45. package/dist-esm/samples-dev/communityGalleriesGetSample.js +1 -1
  46. package/dist-esm/samples-dev/communityGalleryImageVersionsGetSample.js +1 -1
  47. package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js +4 -9
  48. package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js.map +1 -1
  49. package/dist-esm/samples-dev/communityGalleryImagesGetSample.js +1 -1
  50. package/dist-esm/samples-dev/communityGalleryImagesListSample.js +4 -9
  51. package/dist-esm/samples-dev/communityGalleryImagesListSample.js.map +1 -1
  52. package/dist-esm/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.js +2 -2
  53. package/dist-esm/samples-dev/dedicatedHostGroupsDeleteSample.js +2 -2
  54. package/dist-esm/samples-dev/dedicatedHostGroupsGetSample.js +2 -2
  55. package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js +8 -18
  56. package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js.map +1 -1
  57. package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js +8 -18
  58. package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js.map +1 -1
  59. package/dist-esm/samples-dev/dedicatedHostGroupsUpdateSample.js +2 -2
  60. package/dist-esm/samples-dev/dedicatedHostsCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/dedicatedHostsDeleteSample.js +2 -2
  62. package/dist-esm/samples-dev/dedicatedHostsGetSample.js +1 -1
  63. package/dist-esm/samples-dev/dedicatedHostsListAvailableSizesSample.js +4 -9
  64. package/dist-esm/samples-dev/dedicatedHostsListAvailableSizesSample.js.map +1 -1
  65. package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js +8 -18
  66. package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js.map +1 -1
  67. package/dist-esm/samples-dev/dedicatedHostsRedeploySample.d.ts +2 -0
  68. package/dist-esm/samples-dev/dedicatedHostsRedeploySample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/dedicatedHostsRedeploySample.js +39 -0
  70. package/dist-esm/samples-dev/dedicatedHostsRedeploySample.js.map +1 -0
  71. package/dist-esm/samples-dev/dedicatedHostsRestartSample.js +1 -1
  72. package/dist-esm/samples-dev/dedicatedHostsUpdateSample.js +3 -3
  73. package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js +3 -8
  74. package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js.map +1 -1
  75. package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js +3 -8
  76. package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js.map +1 -1
  77. package/dist-esm/samples-dev/diskAccessesListSample.js +3 -8
  78. package/dist-esm/samples-dev/diskAccessesListSample.js.map +1 -1
  79. package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js +3 -8
  80. package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js.map +1 -1
  81. package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js +3 -8
  82. package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js.map +1 -1
  83. package/dist-esm/samples-dev/diskEncryptionSetsListSample.js +3 -8
  84. package/dist-esm/samples-dev/diskEncryptionSetsListSample.js.map +1 -1
  85. package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js +3 -8
  86. package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js.map +1 -1
  87. package/dist-esm/samples-dev/disksCreateOrUpdateSample.js +1 -1
  88. package/dist-esm/samples-dev/disksCreateOrUpdateSample.js.map +1 -1
  89. package/dist-esm/samples-dev/disksListByResourceGroupSample.js +3 -8
  90. package/dist-esm/samples-dev/disksListByResourceGroupSample.js.map +1 -1
  91. package/dist-esm/samples-dev/disksListSample.js +3 -8
  92. package/dist-esm/samples-dev/disksListSample.js.map +1 -1
  93. package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js +4 -4
  94. package/dist-esm/samples-dev/galleriesDeleteSample.js +1 -1
  95. package/dist-esm/samples-dev/galleriesGetSample.js +4 -4
  96. package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js +4 -9
  97. package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js.map +1 -1
  98. package/dist-esm/samples-dev/galleriesListSample.js +4 -9
  99. package/dist-esm/samples-dev/galleriesListSample.js.map +1 -1
  100. package/dist-esm/samples-dev/galleriesUpdateSample.js +1 -1
  101. package/dist-esm/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.js +1 -1
  102. package/dist-esm/samples-dev/galleryApplicationVersionsDeleteSample.js +1 -1
  103. package/dist-esm/samples-dev/galleryApplicationVersionsGetSample.js +2 -2
  104. package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js +4 -9
  105. package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js.map +1 -1
  106. package/dist-esm/samples-dev/galleryApplicationVersionsUpdateSample.js +1 -1
  107. package/dist-esm/samples-dev/galleryApplicationsCreateOrUpdateSample.js +1 -1
  108. package/dist-esm/samples-dev/galleryApplicationsDeleteSample.js +1 -1
  109. package/dist-esm/samples-dev/galleryApplicationsGetSample.js +1 -1
  110. package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js +4 -9
  111. package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js.map +1 -1
  112. package/dist-esm/samples-dev/galleryApplicationsUpdateSample.js +1 -1
  113. package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js +90 -11
  114. package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js.map +1 -1
  115. package/dist-esm/samples-dev/galleryImageVersionsDeleteSample.js +1 -1
  116. package/dist-esm/samples-dev/galleryImageVersionsGetSample.js +4 -4
  117. package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js +4 -9
  118. package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js.map +1 -1
  119. package/dist-esm/samples-dev/galleryImageVersionsUpdateSample.js +2 -2
  120. package/dist-esm/samples-dev/galleryImagesCreateOrUpdateSample.js +1 -1
  121. package/dist-esm/samples-dev/galleryImagesDeleteSample.js +1 -1
  122. package/dist-esm/samples-dev/galleryImagesGetSample.js +1 -1
  123. package/dist-esm/samples-dev/galleryImagesListByGallerySample.js +4 -9
  124. package/dist-esm/samples-dev/galleryImagesListByGallerySample.js.map +1 -1
  125. package/dist-esm/samples-dev/galleryImagesUpdateSample.js +1 -1
  126. package/dist-esm/samples-dev/gallerySharingProfileUpdateSample.js +3 -3
  127. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +10 -10
  128. package/dist-esm/samples-dev/imagesDeleteSample.js +2 -2
  129. package/dist-esm/samples-dev/imagesGetSample.js +1 -1
  130. package/dist-esm/samples-dev/imagesListByResourceGroupSample.js +4 -9
  131. package/dist-esm/samples-dev/imagesListByResourceGroupSample.js.map +1 -1
  132. package/dist-esm/samples-dev/imagesListSample.js +4 -9
  133. package/dist-esm/samples-dev/imagesListSample.js.map +1 -1
  134. package/dist-esm/samples-dev/imagesUpdateSample.js +1 -1
  135. package/dist-esm/samples-dev/logAnalyticsExportRequestRateByIntervalSample.js +1 -1
  136. package/dist-esm/samples-dev/logAnalyticsExportThrottledRequestsSample.js +1 -1
  137. package/dist-esm/samples-dev/operationsListSample.js +8 -18
  138. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  139. package/dist-esm/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.js +1 -1
  140. package/dist-esm/samples-dev/proximityPlacementGroupsDeleteSample.js +1 -1
  141. package/dist-esm/samples-dev/proximityPlacementGroupsGetSample.js +1 -1
  142. package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js +4 -9
  143. package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js.map +1 -1
  144. package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js +4 -9
  145. package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js.map +1 -1
  146. package/dist-esm/samples-dev/proximityPlacementGroupsUpdateSample.js +1 -1
  147. package/dist-esm/samples-dev/resourceSkusListSample.js +9 -24
  148. package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
  149. package/dist-esm/samples-dev/restorePointCollectionsCreateOrUpdateSample.js +2 -2
  150. package/dist-esm/samples-dev/restorePointCollectionsDeleteSample.js +2 -2
  151. package/dist-esm/samples-dev/restorePointCollectionsGetSample.js +2 -2
  152. package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js +4 -9
  153. package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js.map +1 -1
  154. package/dist-esm/samples-dev/restorePointCollectionsListSample.js +4 -9
  155. package/dist-esm/samples-dev/restorePointCollectionsListSample.js.map +1 -1
  156. package/dist-esm/samples-dev/restorePointCollectionsUpdateSample.js +2 -2
  157. package/dist-esm/samples-dev/restorePointsCreateSample.js +2 -2
  158. package/dist-esm/samples-dev/restorePointsDeleteSample.js +2 -2
  159. package/dist-esm/samples-dev/restorePointsGetSample.js +2 -2
  160. package/dist-esm/samples-dev/sharedGalleriesGetSample.js +1 -1
  161. package/dist-esm/samples-dev/sharedGalleriesListSample.js +4 -9
  162. package/dist-esm/samples-dev/sharedGalleriesListSample.js.map +1 -1
  163. package/dist-esm/samples-dev/sharedGalleryImageVersionsGetSample.js +1 -1
  164. package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js +4 -9
  165. package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js.map +1 -1
  166. package/dist-esm/samples-dev/sharedGalleryImagesGetSample.js +1 -1
  167. package/dist-esm/samples-dev/sharedGalleryImagesListSample.js +4 -9
  168. package/dist-esm/samples-dev/sharedGalleryImagesListSample.js.map +1 -1
  169. package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js +1 -1
  170. package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js.map +1 -1
  171. package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js +3 -8
  172. package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js.map +1 -1
  173. package/dist-esm/samples-dev/snapshotsListSample.js +3 -8
  174. package/dist-esm/samples-dev/snapshotsListSample.js.map +1 -1
  175. package/dist-esm/samples-dev/sshPublicKeysCreateSample.js +1 -1
  176. package/dist-esm/samples-dev/sshPublicKeysDeleteSample.js +2 -2
  177. package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js +45 -1
  178. package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js.map +1 -1
  179. package/dist-esm/samples-dev/sshPublicKeysGetSample.js +1 -1
  180. package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js +8 -18
  181. package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js.map +1 -1
  182. package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js +8 -18
  183. package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js.map +1 -1
  184. package/dist-esm/samples-dev/sshPublicKeysUpdateSample.js +2 -2
  185. package/dist-esm/samples-dev/usageListSample.js +8 -18
  186. package/dist-esm/samples-dev/usageListSample.js.map +1 -1
  187. package/dist-esm/samples-dev/virtualMachineExtensionImagesGetSample.js +2 -2
  188. package/dist-esm/samples-dev/virtualMachineExtensionImagesListTypesSample.js +2 -2
  189. package/dist-esm/samples-dev/virtualMachineExtensionImagesListVersionsSample.js +2 -2
  190. package/dist-esm/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.js +2 -2
  191. package/dist-esm/samples-dev/virtualMachineExtensionsDeleteSample.js +2 -2
  192. package/dist-esm/samples-dev/virtualMachineExtensionsGetSample.js +2 -2
  193. package/dist-esm/samples-dev/virtualMachineExtensionsListSample.js +2 -2
  194. package/dist-esm/samples-dev/virtualMachineExtensionsUpdateSample.js +1 -1
  195. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneGetSample.js +2 -2
  196. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.js +2 -2
  197. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.js +2 -2
  198. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSample.js +2 -2
  199. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.js +2 -2
  200. package/dist-esm/samples-dev/virtualMachineImagesGetSample.js +2 -2
  201. package/dist-esm/samples-dev/virtualMachineImagesListByEdgeZoneSample.js +2 -2
  202. package/dist-esm/samples-dev/virtualMachineImagesListOffersSample.js +2 -2
  203. package/dist-esm/samples-dev/virtualMachineImagesListPublishersSample.js +2 -2
  204. package/dist-esm/samples-dev/virtualMachineImagesListSample.js +2 -2
  205. package/dist-esm/samples-dev/virtualMachineImagesListSkusSample.js +2 -2
  206. package/dist-esm/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.js +1 -1
  207. package/dist-esm/samples-dev/virtualMachineRunCommandsDeleteSample.js +1 -1
  208. package/dist-esm/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.js +1 -1
  209. package/dist-esm/samples-dev/virtualMachineRunCommandsGetSample.js +1 -1
  210. package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js +4 -9
  211. package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js.map +1 -1
  212. package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js +4 -9
  213. package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js.map +1 -1
  214. package/dist-esm/samples-dev/virtualMachineRunCommandsUpdateSample.js +1 -1
  215. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js +2 -2
  216. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.js +2 -2
  217. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsGetSample.js +2 -2
  218. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js +8 -18
  219. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js.map +1 -1
  220. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.js +2 -2
  221. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.js +2 -2
  222. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.js +2 -2
  223. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js +1 -1
  224. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js +2 -2
  225. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js +1 -1
  226. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.js +1 -1
  227. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.js +1 -1
  228. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsListSample.js +1 -1
  229. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.js +1 -1
  230. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js +1 -1
  231. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.js +1 -1
  232. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.js +1 -1
  233. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js +4 -9
  234. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js.map +1 -1
  235. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.js +1 -1
  236. package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.d.ts +2 -0
  237. package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.d.ts.map +1 -0
  238. package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.js +39 -0
  239. package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.js.map +1 -0
  240. package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.d.ts +2 -0
  241. package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.d.ts.map +1 -0
  242. package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.js +92 -0
  243. package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.js.map +1 -0
  244. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeallocateSample.js +2 -2
  245. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeleteSample.js +1 -1
  246. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.js +1 -1
  247. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetSample.js +2 -2
  248. package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js +8 -18
  249. package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js.map +1 -1
  250. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.js +2 -2
  251. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPowerOffSample.js +2 -2
  252. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRedeploySample.js +2 -2
  253. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageAllSample.js +2 -2
  254. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageSample.js +2 -2
  255. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRestartSample.js +2 -2
  256. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js +1 -1
  257. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRunCommandSample.js +1 -1
  258. package/dist-esm/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.js +1 -1
  259. package/dist-esm/samples-dev/virtualMachineScaleSetVMSStartSample.js +2 -2
  260. package/dist-esm/samples-dev/virtualMachineScaleSetVMSUpdateSample.js +2 -2
  261. package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.d.ts +2 -0
  262. package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.d.ts.map +1 -0
  263. package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.js +44 -0
  264. package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.js.map +1 -0
  265. package/dist-esm/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js +2 -2
  266. package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js +296 -40
  267. package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js.map +1 -1
  268. package/dist-esm/samples-dev/virtualMachineScaleSetsDeallocateSample.js +2 -2
  269. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.js +2 -2
  270. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteSample.js +1 -1
  271. package/dist-esm/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js +2 -2
  272. package/dist-esm/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.js +2 -2
  273. package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js +8 -18
  274. package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js.map +1 -1
  275. package/dist-esm/samples-dev/virtualMachineScaleSetsGetSample.js +4 -4
  276. package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js +8 -18
  277. package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js.map +1 -1
  278. package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js +4 -9
  279. package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js.map +1 -1
  280. package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js +8 -18
  281. package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js.map +1 -1
  282. package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js +8 -18
  283. package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js.map +1 -1
  284. package/dist-esm/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.js +2 -2
  285. package/dist-esm/samples-dev/virtualMachineScaleSetsPowerOffSample.js +2 -2
  286. package/dist-esm/samples-dev/virtualMachineScaleSetsReapplySample.js +2 -2
  287. package/dist-esm/samples-dev/virtualMachineScaleSetsRedeploySample.js +2 -2
  288. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageAllSample.js +2 -2
  289. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageSample.js +2 -2
  290. package/dist-esm/samples-dev/virtualMachineScaleSetsRestartSample.js +2 -2
  291. package/dist-esm/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js +2 -2
  292. package/dist-esm/samples-dev/virtualMachineScaleSetsStartSample.js +2 -2
  293. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.js +2 -2
  294. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js +4 -3
  295. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js.map +1 -1
  296. package/dist-esm/samples-dev/virtualMachineSizesListSample.js +8 -18
  297. package/dist-esm/samples-dev/virtualMachineSizesListSample.js.map +1 -1
  298. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +1 -1
  299. package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.d.ts +2 -0
  300. package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.d.ts.map +1 -0
  301. package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.js +90 -0
  302. package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.js.map +1 -0
  303. package/dist-esm/samples-dev/virtualMachinesCaptureSample.js +2 -2
  304. package/dist-esm/samples-dev/virtualMachinesConvertToManagedDisksSample.js +2 -2
  305. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +210 -44
  306. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +1 -1
  307. package/dist-esm/samples-dev/virtualMachinesDeallocateSample.js +2 -2
  308. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +1 -1
  309. package/dist-esm/samples-dev/virtualMachinesGeneralizeSample.js +1 -1
  310. package/dist-esm/samples-dev/virtualMachinesGetSample.js +4 -4
  311. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +1 -1
  312. package/dist-esm/samples-dev/virtualMachinesInstanceViewSample.js +2 -2
  313. package/dist-esm/samples-dev/virtualMachinesListAllSample.js +8 -18
  314. package/dist-esm/samples-dev/virtualMachinesListAllSample.js.map +1 -1
  315. package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js +4 -9
  316. package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js.map +1 -1
  317. package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js +4 -9
  318. package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js.map +1 -1
  319. package/dist-esm/samples-dev/virtualMachinesListSample.js +8 -18
  320. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
  321. package/dist-esm/samples-dev/virtualMachinesPerformMaintenanceSample.js +2 -2
  322. package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js +2 -2
  323. package/dist-esm/samples-dev/virtualMachinesReapplySample.js +1 -1
  324. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +2 -2
  325. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +2 -2
  326. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +2 -2
  327. package/dist-esm/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.js +1 -1
  328. package/dist-esm/samples-dev/virtualMachinesRunCommandSample.js +1 -1
  329. package/dist-esm/samples-dev/virtualMachinesSimulateEvictionSample.js +1 -1
  330. package/dist-esm/samples-dev/virtualMachinesStartSample.js +2 -2
  331. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +2 -2
  332. package/dist-esm/src/computeManagementClient.js +1 -1
  333. package/dist-esm/src/models/index.d.ts +383 -21
  334. package/dist-esm/src/models/index.d.ts.map +1 -1
  335. package/dist-esm/src/models/index.js +40 -0
  336. package/dist-esm/src/models/index.js.map +1 -1
  337. package/dist-esm/src/models/mappers.d.ts +20 -0
  338. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  339. package/dist-esm/src/models/mappers.js +610 -2
  340. package/dist-esm/src/models/mappers.js.map +1 -1
  341. package/dist-esm/src/models/parameters.d.ts +25 -21
  342. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  343. package/dist-esm/src/models/parameters.js +58 -32
  344. package/dist-esm/src/models/parameters.js.map +1 -1
  345. package/dist-esm/src/operations/availabilitySets.js +11 -26
  346. package/dist-esm/src/operations/availabilitySets.js.map +1 -1
  347. package/dist-esm/src/operations/capacityReservationGroups.d.ts +3 -3
  348. package/dist-esm/src/operations/capacityReservationGroups.js +11 -21
  349. package/dist-esm/src/operations/capacityReservationGroups.js.map +1 -1
  350. package/dist-esm/src/operations/capacityReservations.js +5 -10
  351. package/dist-esm/src/operations/capacityReservations.js.map +1 -1
  352. package/dist-esm/src/operations/cloudServiceOperatingSystems.js +6 -16
  353. package/dist-esm/src/operations/cloudServiceOperatingSystems.js.map +1 -1
  354. package/dist-esm/src/operations/cloudServiceRoleInstances.js +3 -8
  355. package/dist-esm/src/operations/cloudServiceRoleInstances.js.map +1 -1
  356. package/dist-esm/src/operations/cloudServiceRoles.js +3 -8
  357. package/dist-esm/src/operations/cloudServiceRoles.js.map +1 -1
  358. package/dist-esm/src/operations/cloudServices.js +12 -22
  359. package/dist-esm/src/operations/cloudServices.js.map +1 -1
  360. package/dist-esm/src/operations/cloudServicesUpdateDomain.js +4 -9
  361. package/dist-esm/src/operations/cloudServicesUpdateDomain.js.map +1 -1
  362. package/dist-esm/src/operations/communityGalleryImageVersions.js +3 -8
  363. package/dist-esm/src/operations/communityGalleryImageVersions.js.map +1 -1
  364. package/dist-esm/src/operations/communityGalleryImages.js +3 -8
  365. package/dist-esm/src/operations/communityGalleryImages.js.map +1 -1
  366. package/dist-esm/src/operations/dedicatedHostGroups.js +8 -18
  367. package/dist-esm/src/operations/dedicatedHostGroups.js.map +1 -1
  368. package/dist-esm/src/operations/dedicatedHosts.d.ts +23 -1
  369. package/dist-esm/src/operations/dedicatedHosts.d.ts.map +1 -1
  370. package/dist-esm/src/operations/dedicatedHosts.js +102 -18
  371. package/dist-esm/src/operations/dedicatedHosts.js.map +1 -1
  372. package/dist-esm/src/operations/diskAccesses.js +9 -24
  373. package/dist-esm/src/operations/diskAccesses.js.map +1 -1
  374. package/dist-esm/src/operations/diskEncryptionSets.js +9 -24
  375. package/dist-esm/src/operations/diskEncryptionSets.js.map +1 -1
  376. package/dist-esm/src/operations/diskRestorePointOperations.js +3 -8
  377. package/dist-esm/src/operations/diskRestorePointOperations.js.map +1 -1
  378. package/dist-esm/src/operations/disks.js +6 -16
  379. package/dist-esm/src/operations/disks.js.map +1 -1
  380. package/dist-esm/src/operations/galleries.js +6 -16
  381. package/dist-esm/src/operations/galleries.js.map +1 -1
  382. package/dist-esm/src/operations/galleryApplicationVersions.js +3 -8
  383. package/dist-esm/src/operations/galleryApplicationVersions.js.map +1 -1
  384. package/dist-esm/src/operations/galleryApplications.js +3 -8
  385. package/dist-esm/src/operations/galleryApplications.js.map +1 -1
  386. package/dist-esm/src/operations/galleryImageVersions.js +3 -8
  387. package/dist-esm/src/operations/galleryImageVersions.js.map +1 -1
  388. package/dist-esm/src/operations/galleryImages.js +3 -8
  389. package/dist-esm/src/operations/galleryImages.js.map +1 -1
  390. package/dist-esm/src/operations/images.js +8 -18
  391. package/dist-esm/src/operations/images.js.map +1 -1
  392. package/dist-esm/src/operations/logAnalytics.js +2 -2
  393. package/dist-esm/src/operations/operations.js +3 -8
  394. package/dist-esm/src/operations/operations.js.map +1 -1
  395. package/dist-esm/src/operations/proximityPlacementGroups.js +8 -18
  396. package/dist-esm/src/operations/proximityPlacementGroups.js.map +1 -1
  397. package/dist-esm/src/operations/resourceSkus.js +3 -8
  398. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  399. package/dist-esm/src/operations/restorePointCollections.js +8 -18
  400. package/dist-esm/src/operations/restorePointCollections.js.map +1 -1
  401. package/dist-esm/src/operations/restorePoints.js +1 -1
  402. package/dist-esm/src/operations/sharedGalleries.js +3 -8
  403. package/dist-esm/src/operations/sharedGalleries.js.map +1 -1
  404. package/dist-esm/src/operations/sharedGalleryImageVersions.js +3 -8
  405. package/dist-esm/src/operations/sharedGalleryImageVersions.js.map +1 -1
  406. package/dist-esm/src/operations/sharedGalleryImages.js +3 -8
  407. package/dist-esm/src/operations/sharedGalleryImages.js.map +1 -1
  408. package/dist-esm/src/operations/snapshots.js +6 -16
  409. package/dist-esm/src/operations/snapshots.js.map +1 -1
  410. package/dist-esm/src/operations/sshPublicKeys.js +11 -19
  411. package/dist-esm/src/operations/sshPublicKeys.js.map +1 -1
  412. package/dist-esm/src/operations/usageOperations.js +3 -8
  413. package/dist-esm/src/operations/usageOperations.js.map +1 -1
  414. package/dist-esm/src/operations/virtualMachineRunCommands.js +6 -16
  415. package/dist-esm/src/operations/virtualMachineRunCommands.js.map +1 -1
  416. package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js +3 -8
  417. package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js.map +1 -1
  418. package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js +3 -8
  419. package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js.map +1 -1
  420. package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts +37 -1
  421. package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts.map +1 -1
  422. package/dist-esm/src/operations/virtualMachineScaleSetVMs.js +199 -10
  423. package/dist-esm/src/operations/virtualMachineScaleSetVMs.js.map +1 -1
  424. package/dist-esm/src/operations/virtualMachineScaleSets.d.ts +15 -1
  425. package/dist-esm/src/operations/virtualMachineScaleSets.d.ts.map +1 -1
  426. package/dist-esm/src/operations/virtualMachineScaleSets.js +114 -42
  427. package/dist-esm/src/operations/virtualMachineScaleSets.js.map +1 -1
  428. package/dist-esm/src/operations/virtualMachineSizes.js +3 -8
  429. package/dist-esm/src/operations/virtualMachineSizes.js.map +1 -1
  430. package/dist-esm/src/operations/virtualMachines.d.ts +19 -1
  431. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  432. package/dist-esm/src/operations/virtualMachines.js +121 -39
  433. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  434. package/dist-esm/src/operationsInterfaces/capacityReservationGroups.d.ts +3 -3
  435. package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts +23 -1
  436. package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts.map +1 -1
  437. package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts +37 -1
  438. package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts.map +1 -1
  439. package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts +15 -1
  440. package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts.map +1 -1
  441. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +19 -1
  442. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  443. package/dist-esm/test/compute_examples.js +16 -36
  444. package/dist-esm/test/compute_examples.js.map +1 -1
  445. package/package.json +15 -20
  446. package/review/arm-compute.api.md +268 -2
  447. package/src/computeManagementClient.ts +1 -1
  448. package/src/models/index.ts +602 -206
  449. package/src/models/mappers.ts +680 -32
  450. package/src/models/parameters.ts +63 -31
  451. package/src/operations/availabilitySets.ts +2 -2
  452. package/src/operations/capacityReservationGroups.ts +5 -5
  453. package/src/operations/capacityReservations.ts +2 -2
  454. package/src/operations/cloudServices.ts +6 -6
  455. package/src/operations/cloudServicesUpdateDomain.ts +1 -1
  456. package/src/operations/dedicatedHostGroups.ts +2 -2
  457. package/src/operations/dedicatedHosts.ts +137 -2
  458. package/src/operations/images.ts +2 -2
  459. package/src/operations/logAnalytics.ts +2 -2
  460. package/src/operations/proximityPlacementGroups.ts +2 -2
  461. package/src/operations/restorePointCollections.ts +2 -2
  462. package/src/operations/restorePoints.ts +1 -1
  463. package/src/operations/sshPublicKeys.ts +5 -3
  464. package/src/operations/virtualMachineScaleSetVMs.ts +286 -2
  465. package/src/operations/virtualMachineScaleSets.ts +137 -2
  466. package/src/operations/virtualMachines.ts +151 -7
  467. package/src/operationsInterfaces/capacityReservationGroups.ts +3 -3
  468. package/src/operationsInterfaces/dedicatedHosts.ts +40 -1
  469. package/src/operationsInterfaces/virtualMachineScaleSetVMs.ts +73 -0
  470. package/src/operationsInterfaces/virtualMachineScaleSets.ts +29 -0
  471. package/src/operationsInterfaces/virtualMachines.ts +36 -0
  472. package/types/arm-compute.d.ts +514 -24
  473. package/types/tsdoc-metadata.json +1 -1
  474. package/rollup.config.js +0 -122
@@ -138,6 +138,14 @@ export declare type Architecture = string;
138
138
  */
139
139
  export declare type ArchitectureTypes = string;
140
140
 
141
+ /** Specifies the input for attaching and detaching a list of managed data disks. */
142
+ export declare interface AttachDetachDataDisksRequest {
143
+ /** The list of managed data disks to be attached. */
144
+ dataDisksToAttach?: DataDisksToAttach[];
145
+ /** The list of managed data disks to be detached. */
146
+ dataDisksToDetach?: DataDisksToDetach[];
147
+ }
148
+
141
149
  /** The configuration parameters used for performing automatic OS upgrade. */
142
150
  export declare interface AutomaticOSUpgradePolicy {
143
151
  /** Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. */
@@ -146,6 +154,8 @@ export declare interface AutomaticOSUpgradePolicy {
146
154
  disableAutomaticRollback?: boolean;
147
155
  /** Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS. */
148
156
  useRollingUpgradePolicy?: boolean;
157
+ /** Indicates whether Auto OS Upgrade should undergo deferral. Deferred OS upgrades will send advanced notifications on a per-VM basis that an OS upgrade from rolling upgrades is incoming, via the IMDS tag 'Platform.PendingOSUpgrade'. The upgrade then defers until the upgrade is approved via an ApproveRollingUpgrade call. */
158
+ osRollingUpgradeDeferral?: boolean;
149
159
  }
150
160
 
151
161
  /** Describes automatic OS upgrade properties on the image. */
@@ -477,6 +487,8 @@ export declare interface CapacityReservationGroup extends Resource {
477
487
  * NOTE: This property will not be serialized. It can only be populated by the server.
478
488
  */
479
489
  readonly instanceView?: CapacityReservationGroupInstanceView;
490
+ /** Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. */
491
+ sharingProfile?: ResourceSharingProfile;
480
492
  }
481
493
 
482
494
  export declare interface CapacityReservationGroupInstanceView {
@@ -485,6 +497,11 @@ export declare interface CapacityReservationGroupInstanceView {
485
497
  * NOTE: This property will not be serialized. It can only be populated by the server.
486
498
  */
487
499
  readonly capacityReservations?: CapacityReservationInstanceViewWithName[];
500
+ /**
501
+ * List of the subscriptions that the capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
503
+ */
504
+ readonly sharedSubscriptionIds?: SubResourceReadOnly[];
488
505
  }
489
506
 
490
507
  /**
@@ -521,8 +538,8 @@ export declare interface CapacityReservationGroups {
521
538
  listBySubscription(options?: CapacityReservationGroupsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CapacityReservationGroup>;
522
539
  /**
523
540
  * The operation to create or update a capacity reservation group. When updating a capacity reservation
524
- * group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more
525
- * details.
541
+ * group, only tags and sharing profile may be modified. Please refer to
542
+ * https://aka.ms/CapacityReservation for more details.
526
543
  * @param resourceGroupName The name of the resource group.
527
544
  * @param capacityReservationGroupName The name of the capacity reservation group.
528
545
  * @param parameters Parameters supplied to the Create capacity reservation Group.
@@ -531,7 +548,7 @@ export declare interface CapacityReservationGroups {
531
548
  createOrUpdate(resourceGroupName: string, capacityReservationGroupName: string, parameters: CapacityReservationGroup, options?: CapacityReservationGroupsCreateOrUpdateOptionalParams): Promise<CapacityReservationGroupsCreateOrUpdateResponse>;
532
549
  /**
533
550
  * The operation to update a capacity reservation group. When updating a capacity reservation group,
534
- * only tags may be modified.
551
+ * only tags and sharing profile may be modified.
535
552
  * @param resourceGroupName The name of the resource group.
536
553
  * @param capacityReservationGroupName The name of the capacity reservation group.
537
554
  * @param parameters Parameters supplied to the Update capacity reservation Group operation.
@@ -633,6 +650,8 @@ export declare interface CapacityReservationGroupUpdate extends UpdateResource {
633
650
  * NOTE: This property will not be serialized. It can only be populated by the server.
634
651
  */
635
652
  readonly instanceView?: CapacityReservationGroupInstanceView;
653
+ /** Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. */
654
+ sharingProfile?: ResourceSharingProfile;
636
655
  }
637
656
 
638
657
  /** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */
@@ -1860,11 +1879,19 @@ export declare type CommunityGalleriesGetResponse = CommunityGallery;
1860
1879
 
1861
1880
  /** Specifies information about the Community Gallery that you want to create or update. */
1862
1881
  export declare interface CommunityGallery extends PirCommunityGalleryResource {
1882
+ /** The disclaimer for a community gallery resource. */
1883
+ disclaimer?: string;
1884
+ /** The artifact tags of a community gallery resource. */
1885
+ artifactTags?: {
1886
+ [propertyName: string]: string;
1887
+ };
1888
+ /** The metadata of community gallery. */
1889
+ communityMetadata?: CommunityGalleryMetadata;
1863
1890
  }
1864
1891
 
1865
1892
  /** Specifies information about the gallery image definition that you want to create or update. */
1866
1893
  export declare interface CommunityGalleryImage extends PirCommunityGalleryResource {
1867
- /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
1894
+ /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */
1868
1895
  osType?: OperatingSystemTypes;
1869
1896
  /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */
1870
1897
  osState?: OperatingSystemStateTypes;
@@ -1884,10 +1911,16 @@ export declare interface CommunityGalleryImage extends PirCommunityGalleryResour
1884
1911
  purchasePlan?: ImagePurchasePlan;
1885
1912
  /** The architecture of the image. Applicable to OS disks only. */
1886
1913
  architecture?: Architecture;
1887
- /** Privacy statement uri for the current community gallery image. */
1914
+ /** Privacy statement URI for the current community gallery image. */
1888
1915
  privacyStatementUri?: string;
1889
- /** End-user license agreement for the current community gallery image. */
1916
+ /** The end-user license agreement for the current community gallery image. */
1890
1917
  eula?: string;
1918
+ /** The disclaimer for a community gallery resource. */
1919
+ disclaimer?: string;
1920
+ /** The artifact tags of a community gallery resource. */
1921
+ artifactTags?: {
1922
+ [propertyName: string]: string;
1923
+ };
1891
1924
  }
1892
1925
 
1893
1926
  /** This is the community gallery image definition identifier. */
@@ -1904,7 +1937,7 @@ export declare interface CommunityGalleryImageIdentifier {
1904
1937
  export declare interface CommunityGalleryImageList {
1905
1938
  /** A list of community gallery images. */
1906
1939
  value: CommunityGalleryImage[];
1907
- /** The uri to fetch the next page of community gallery images. Call ListNext() with this to fetch the next page of community gallery images. */
1940
+ /** The URI to fetch the next page of community gallery images. Call ListNext() with this to fetch the next page of community gallery images. */
1908
1941
  nextLink?: string;
1909
1942
  }
1910
1943
 
@@ -1958,13 +1991,19 @@ export declare interface CommunityGalleryImageVersion extends PirCommunityGaller
1958
1991
  excludeFromLatest?: boolean;
1959
1992
  /** Describes the storage profile of the image version. */
1960
1993
  storageProfile?: SharedGalleryImageVersionStorageProfile;
1994
+ /** The disclaimer for a community gallery resource. */
1995
+ disclaimer?: string;
1996
+ /** The artifact tags of a community gallery resource. */
1997
+ artifactTags?: {
1998
+ [propertyName: string]: string;
1999
+ };
1961
2000
  }
1962
2001
 
1963
2002
  /** The List Community Gallery Image versions operation response. */
1964
2003
  export declare interface CommunityGalleryImageVersionList {
1965
2004
  /** A list of community gallery image versions. */
1966
2005
  value: CommunityGalleryImageVersion[];
1967
- /** The uri to fetch the next page of community gallery image versions. Call ListNext() with this to fetch the next page of community gallery image versions. */
2006
+ /** The URI to fetch the next page of community gallery image versions. Call ListNext() with this to fetch the next page of community gallery image versions. */
1968
2007
  nextLink?: string;
1969
2008
  }
1970
2009
 
@@ -2034,6 +2073,20 @@ export declare interface CommunityGalleryInfo {
2034
2073
  readonly publicNames?: string[];
2035
2074
  }
2036
2075
 
2076
+ /** The metadata of community gallery. */
2077
+ export declare interface CommunityGalleryMetadata {
2078
+ /** The publisher URI of this community gallery. */
2079
+ publisherUri?: string;
2080
+ /** The publisher email id of this community gallery. */
2081
+ publisherContact: string;
2082
+ /** The end-user license agreement for this community gallery. */
2083
+ eula?: string;
2084
+ /** A list of public names the gallery has. */
2085
+ publicNames: string[];
2086
+ /** The link for the privacy statement of this community gallery from the gallery publisher. */
2087
+ privacyStatementUri?: string;
2088
+ }
2089
+
2037
2090
  export declare class ComputeManagementClient extends coreClient.ServiceClient {
2038
2091
  $host: string;
2039
2092
  subscriptionId: string;
@@ -2154,7 +2207,8 @@ export declare interface ComputeOperationValue {
2154
2207
  * ### Known values supported by the service
2155
2208
  * **EncryptedVMGuestStateOnlyWithPmk** \
2156
2209
  * **EncryptedWithPmk** \
2157
- * **EncryptedWithCmk**
2210
+ * **EncryptedWithCmk** \
2211
+ * **NonPersistedTPM**
2158
2212
  */
2159
2213
  export declare type ConfidentialVMEncryptionType = string;
2160
2214
 
@@ -2280,6 +2334,22 @@ export declare interface DataDiskImageEncryption extends DiskImageEncryption {
2280
2334
  lun: number;
2281
2335
  }
2282
2336
 
2337
+ /** Describes the data disk to be attached. */
2338
+ export declare interface DataDisksToAttach {
2339
+ /** ID of the managed data disk. */
2340
+ diskId: string;
2341
+ /** The logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. If not specified, lun would be auto assigned. */
2342
+ lun?: number;
2343
+ }
2344
+
2345
+ /** Describes the data disk to be detached. */
2346
+ export declare interface DataDisksToDetach {
2347
+ /** ID of the managed data disk. */
2348
+ diskId: string;
2349
+ /** Supported options available for Detach of a disk from a VM. Refer to DetachOption object reference for more details. */
2350
+ detachOption?: DiskDetachOptionTypes;
2351
+ }
2352
+
2283
2353
  /** Specifies information about the Dedicated host. */
2284
2354
  export declare interface DedicatedHost extends Resource {
2285
2355
  /** SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values. */
@@ -2636,6 +2706,28 @@ export declare interface DedicatedHosts {
2636
2706
  * @param options The options parameters.
2637
2707
  */
2638
2708
  beginRestartAndWait(resourceGroupName: string, hostGroupName: string, hostName: string, options?: DedicatedHostsRestartOptionalParams): Promise<void>;
2709
+ /**
2710
+ * Redeploy the dedicated host. The operation will complete successfully once the dedicated host has
2711
+ * migrated to a new node and is running. To determine the health of VMs deployed on the dedicated host
2712
+ * after the redeploy check the Resource Health Center in the Azure Portal. Please refer to
2713
+ * https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
2714
+ * @param resourceGroupName The name of the resource group.
2715
+ * @param hostGroupName The name of the dedicated host group.
2716
+ * @param hostName The name of the dedicated host.
2717
+ * @param options The options parameters.
2718
+ */
2719
+ beginRedeploy(resourceGroupName: string, hostGroupName: string, hostName: string, options?: DedicatedHostsRedeployOptionalParams): Promise<SimplePollerLike<OperationState<DedicatedHostsRedeployResponse>, DedicatedHostsRedeployResponse>>;
2720
+ /**
2721
+ * Redeploy the dedicated host. The operation will complete successfully once the dedicated host has
2722
+ * migrated to a new node and is running. To determine the health of VMs deployed on the dedicated host
2723
+ * after the redeploy check the Resource Health Center in the Azure Portal. Please refer to
2724
+ * https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
2725
+ * @param resourceGroupName The name of the resource group.
2726
+ * @param hostGroupName The name of the dedicated host group.
2727
+ * @param hostName The name of the dedicated host.
2728
+ * @param options The options parameters.
2729
+ */
2730
+ beginRedeployAndWait(resourceGroupName: string, hostGroupName: string, hostName: string, options?: DedicatedHostsRedeployOptionalParams): Promise<DedicatedHostsRedeployResponse>;
2639
2731
  }
2640
2732
 
2641
2733
  /** Optional parameters. */
@@ -2693,6 +2785,22 @@ export declare interface DedicatedHostsListByHostGroupOptionalParams extends cor
2693
2785
  /** Contains response data for the listByHostGroup operation. */
2694
2786
  export declare type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult;
2695
2787
 
2788
+ /** Defines headers for DedicatedHosts_redeploy operation. */
2789
+ export declare interface DedicatedHostsRedeployHeaders {
2790
+ location?: string;
2791
+ }
2792
+
2793
+ /** Optional parameters. */
2794
+ export declare interface DedicatedHostsRedeployOptionalParams extends coreClient.OperationOptions {
2795
+ /** Delay to wait until next poll, in milliseconds. */
2796
+ updateIntervalInMs?: number;
2797
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2798
+ resumeFrom?: string;
2799
+ }
2800
+
2801
+ /** Contains response data for the redeploy operation. */
2802
+ export declare type DedicatedHostsRedeployResponse = DedicatedHostsRedeployHeaders;
2803
+
2696
2804
  /** Optional parameters. */
2697
2805
  export declare interface DedicatedHostsRestartOptionalParams extends coreClient.OperationOptions {
2698
2806
  /** Delay to wait until next poll, in milliseconds. */
@@ -4129,6 +4237,12 @@ export declare interface Encryption {
4129
4237
  type?: EncryptionType;
4130
4238
  }
4131
4239
 
4240
+ /** Specifies the Managed Identity used by ADE to get access token for keyvault operations. */
4241
+ export declare interface EncryptionIdentity {
4242
+ /** Specifies ARM Resource ID of one of the user identities associated with the VM. */
4243
+ userAssignedIdentityResourceId?: string;
4244
+ }
4245
+
4132
4246
  /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */
4133
4247
  export declare interface EncryptionImages {
4134
4248
  /** Contains encryption settings for an OS disk image. */
@@ -4457,7 +4571,7 @@ export declare interface GalleryApplication extends Resource {
4457
4571
  releaseNoteUri?: string;
4458
4572
  /** The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable. */
4459
4573
  endOfLifeDate?: Date;
4460
- /** This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
4574
+ /** This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** */
4461
4575
  supportedOSType?: OperatingSystemTypes;
4462
4576
  /** A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application. */
4463
4577
  customActions?: GalleryApplicationCustomAction[];
@@ -4650,7 +4764,7 @@ export declare interface GalleryApplicationUpdate extends UpdateResourceDefiniti
4650
4764
  releaseNoteUri?: string;
4651
4765
  /** The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable. */
4652
4766
  endOfLifeDate?: Date;
4653
- /** This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
4767
+ /** This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.** */
4654
4768
  supportedOSType?: OperatingSystemTypes;
4655
4769
  /** A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application. */
4656
4770
  customActions?: GalleryApplicationCustomAction[];
@@ -5000,7 +5114,7 @@ export declare interface GalleryImage extends Resource {
5000
5114
  privacyStatementUri?: string;
5001
5115
  /** The release note uri. */
5002
5116
  releaseNoteUri?: string;
5003
- /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
5117
+ /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */
5004
5118
  osType?: OperatingSystemTypes;
5005
5119
  /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */
5006
5120
  osState?: OperatingSystemStateTypes;
@@ -5201,7 +5315,7 @@ export declare interface GalleryImageUpdate extends UpdateResourceDefinition {
5201
5315
  privacyStatementUri?: string;
5202
5316
  /** The release note uri. */
5203
5317
  releaseNoteUri?: string;
5204
- /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
5318
+ /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */
5205
5319
  osType?: OperatingSystemTypes;
5206
5320
  /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */
5207
5321
  osState?: OperatingSystemStateTypes;
@@ -5246,6 +5360,8 @@ export declare interface GalleryImageVersion extends Resource {
5246
5360
  * NOTE: This property will not be serialized. It can only be populated by the server.
5247
5361
  */
5248
5362
  readonly replicationStatus?: ReplicationStatus;
5363
+ /** The security profile of a gallery image version */
5364
+ securityProfile?: ImageVersionSecurityProfile;
5249
5365
  }
5250
5366
 
5251
5367
  /** The List Gallery Image version operation response. */
@@ -5431,6 +5547,14 @@ export declare interface GalleryImageVersionsUpdateOptionalParams extends coreCl
5431
5547
  /** Contains response data for the update operation. */
5432
5548
  export declare type GalleryImageVersionsUpdateResponse = GalleryImageVersion;
5433
5549
 
5550
+ /** Contains UEFI settings for the image version. */
5551
+ export declare interface GalleryImageVersionUefiSettings {
5552
+ /** The name of the template(s) that contains default UEFI key signatures that will be added to the image. */
5553
+ signatureTemplateNames?: UefiSignatureTemplateName[];
5554
+ /** Additional UEFI key signatures that will be added to the image in addition to the signature templates */
5555
+ additionalSignatures?: UefiKeySignatures;
5556
+ }
5557
+
5434
5558
  /** Specifies information about the gallery image version that you want to update. */
5435
5559
  export declare interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
5436
5560
  /** The publishing profile of a gallery image Version. */
@@ -5449,6 +5573,8 @@ export declare interface GalleryImageVersionUpdate extends UpdateResourceDefinit
5449
5573
  * NOTE: This property will not be serialized. It can only be populated by the server.
5450
5574
  */
5451
5575
  readonly replicationStatus?: ReplicationStatus;
5576
+ /** The security profile of a gallery image version */
5577
+ securityProfile?: ImageVersionSecurityProfile;
5452
5578
  }
5453
5579
 
5454
5580
  /** The List Galleries operation response. */
@@ -5899,6 +6025,12 @@ export declare interface ImageUpdate extends UpdateResource {
5899
6025
  hyperVGeneration?: HyperVGenerationTypes;
5900
6026
  }
5901
6027
 
6028
+ /** The security profile of a gallery image version */
6029
+ export declare interface ImageVersionSecurityProfile {
6030
+ /** Contains UEFI settings for the image version. */
6031
+ uefiSettings?: GalleryImageVersionUefiSettings;
6032
+ }
6033
+
5902
6034
  /** Inner error details. */
5903
6035
  export declare interface InnerError {
5904
6036
  /** The exception type. */
@@ -6103,7 +6235,9 @@ export declare enum KnownConfidentialVMEncryptionType {
6103
6235
  /** EncryptedWithPmk */
6104
6236
  EncryptedWithPmk = "EncryptedWithPmk",
6105
6237
  /** EncryptedWithCmk */
6106
- EncryptedWithCmk = "EncryptedWithCmk"
6238
+ EncryptedWithCmk = "EncryptedWithCmk",
6239
+ /** NonPersistedTPM */
6240
+ NonPersistedTPM = "NonPersistedTPM"
6107
6241
  }
6108
6242
 
6109
6243
  /** Known values of {@link ConsistencyModeTypes} that the service accepts. */
@@ -6498,6 +6632,14 @@ export declare enum KnownLinuxVMGuestPatchMode {
6498
6632
  AutomaticByPlatform = "AutomaticByPlatform"
6499
6633
  }
6500
6634
 
6635
+ /** Known values of {@link Mode} that the service accepts. */
6636
+ export declare enum KnownMode {
6637
+ /** Audit */
6638
+ Audit = "Audit",
6639
+ /** Enforce */
6640
+ Enforce = "Enforce"
6641
+ }
6642
+
6501
6643
  /** Known values of {@link NetworkAccessPolicy} that the service accepts. */
6502
6644
  export declare enum KnownNetworkAccessPolicy {
6503
6645
  /** The disk can be exported or uploaded to from any network. */
@@ -6725,7 +6867,9 @@ export declare enum KnownReplicationState {
6725
6867
  /** Known values of {@link ReplicationStatusTypes} that the service accepts. */
6726
6868
  export declare enum KnownReplicationStatusTypes {
6727
6869
  /** ReplicationStatus */
6728
- ReplicationStatus = "ReplicationStatus"
6870
+ ReplicationStatus = "ReplicationStatus",
6871
+ /** UefiSettings */
6872
+ UefiSettings = "UefiSettings"
6729
6873
  }
6730
6874
 
6731
6875
  /** Known values of {@link RestorePointCollectionExpandOptions} that the service accepts. */
@@ -6755,7 +6899,9 @@ export declare enum KnownSecurityEncryptionTypes {
6755
6899
  /** VMGuestStateOnly */
6756
6900
  VMGuestStateOnly = "VMGuestStateOnly",
6757
6901
  /** DiskWithVMGuestState */
6758
- DiskWithVMGuestState = "DiskWithVMGuestState"
6902
+ DiskWithVMGuestState = "DiskWithVMGuestState",
6903
+ /** NonPersistedTPM */
6904
+ NonPersistedTPM = "NonPersistedTPM"
6759
6905
  }
6760
6906
 
6761
6907
  /** Known values of {@link SecurityTypes} that the service accepts. */
@@ -6830,6 +6976,14 @@ export declare enum KnownSnapshotStorageAccountTypes {
6830
6976
  StandardZRS = "Standard_ZRS"
6831
6977
  }
6832
6978
 
6979
+ /** Known values of {@link SshEncryptionTypes} that the service accepts. */
6980
+ export declare enum KnownSshEncryptionTypes {
6981
+ /** RSA */
6982
+ RSA = "RSA",
6983
+ /** Ed25519 */
6984
+ Ed25519 = "Ed25519"
6985
+ }
6986
+
6833
6987
  /** Known values of {@link StorageAccountType} that the service accepts. */
6834
6988
  export declare enum KnownStorageAccountType {
6835
6989
  /** StandardLRS */
@@ -6858,6 +7012,24 @@ export declare enum KnownStorageAccountTypes {
6858
7012
  PremiumV2LRS = "PremiumV2_LRS"
6859
7013
  }
6860
7014
 
7015
+ /** Known values of {@link UefiKeyType} that the service accepts. */
7016
+ export declare enum KnownUefiKeyType {
7017
+ /** Sha256 */
7018
+ Sha256 = "sha256",
7019
+ /** X509 */
7020
+ X509 = "x509"
7021
+ }
7022
+
7023
+ /** Known values of {@link UefiSignatureTemplateName} that the service accepts. */
7024
+ export declare enum KnownUefiSignatureTemplateName {
7025
+ /** NoSignatureTemplate */
7026
+ NoSignatureTemplate = "NoSignatureTemplate",
7027
+ /** MicrosoftUefiCertificateAuthorityTemplate */
7028
+ MicrosoftUefiCertificateAuthorityTemplate = "MicrosoftUefiCertificateAuthorityTemplate",
7029
+ /** MicrosoftWindowsTemplate */
7030
+ MicrosoftWindowsTemplate = "MicrosoftWindowsTemplate"
7031
+ }
7032
+
6861
7033
  /** Known values of {@link VirtualMachineEvictionPolicyTypes} that the service accepts. */
6862
7034
  export declare enum KnownVirtualMachineEvictionPolicyTypes {
6863
7035
  /** Deallocate */
@@ -7644,6 +7816,16 @@ export declare interface ManagedDiskParameters extends SubResource {
7644
7816
  securityProfile?: VMDiskSecurityProfile;
7645
7817
  }
7646
7818
 
7819
+ /**
7820
+ * Defines values for Mode. \
7821
+ * {@link KnownMode} can be used interchangeably with Mode,
7822
+ * this enum contains the known values that the service supports.
7823
+ * ### Known values supported by the service
7824
+ * **Audit** \
7825
+ * **Enforce**
7826
+ */
7827
+ export declare type Mode = string;
7828
+
7647
7829
  /**
7648
7830
  * Defines values for NetworkAccessPolicy. \
7649
7831
  * {@link KnownNetworkAccessPolicy} can be used interchangeably with NetworkAccessPolicy,
@@ -8114,7 +8296,7 @@ export declare interface PatchSettings {
8114
8296
  automaticByPlatformSettings?: WindowsVMGuestPatchAutomaticByPlatformSettings;
8115
8297
  }
8116
8298
 
8117
- /** Base information about the community gallery resource in pir. */
8299
+ /** Base information about the community gallery resource in azure compute gallery. */
8118
8300
  export declare interface PirCommunityGalleryResource {
8119
8301
  /**
8120
8302
  * Resource name
@@ -8477,6 +8659,16 @@ export declare type ProximityPlacementGroupType = string;
8477
8659
  export declare interface ProximityPlacementGroupUpdate extends UpdateResource {
8478
8660
  }
8479
8661
 
8662
+ /** Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01. */
8663
+ export declare interface ProxyAgentSettings {
8664
+ /** Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set. */
8665
+ enabled?: boolean;
8666
+ /** Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode. */
8667
+ mode?: Mode;
8668
+ /** Increase the value of this property allows user to reset the key used for securing communication channel between guest and host. */
8669
+ keyIncarnationId?: number;
8670
+ }
8671
+
8480
8672
  /** The ProxyOnly Resource model definition. */
8481
8673
  export declare interface ProxyOnlyResource {
8482
8674
  /**
@@ -8696,7 +8888,8 @@ export declare interface ReplicationStatus {
8696
8888
  * {@link KnownReplicationStatusTypes} can be used interchangeably with ReplicationStatusTypes,
8697
8889
  * this enum contains the known values that the service supports.
8698
8890
  * ### Known values supported by the service
8699
- * **ReplicationStatus**
8891
+ * **ReplicationStatus** \
8892
+ * **UefiSettings**
8700
8893
  */
8701
8894
  export declare type ReplicationStatusTypes = string;
8702
8895
 
@@ -8706,6 +8899,26 @@ export declare interface RequestRateByIntervalInput extends LogAnalyticsInputBas
8706
8899
  intervalLength: IntervalInMins;
8707
8900
  }
8708
8901
 
8902
+ /** Describes an resiliency policy - resilientVMCreationPolicy and/or resilientVMDeletionPolicy. */
8903
+ export declare interface ResiliencyPolicy {
8904
+ /** The configuration parameters used while performing resilient VM creation. */
8905
+ resilientVMCreationPolicy?: ResilientVMCreationPolicy;
8906
+ /** The configuration parameters used while performing resilient VM deletion. */
8907
+ resilientVMDeletionPolicy?: ResilientVMDeletionPolicy;
8908
+ }
8909
+
8910
+ /** The configuration parameters used while performing resilient VM creation. */
8911
+ export declare interface ResilientVMCreationPolicy {
8912
+ /** Specifies whether resilient VM creation should be enabled on the virtual machine scale set. The default value is false. */
8913
+ enabled?: boolean;
8914
+ }
8915
+
8916
+ /** The configuration parameters used while performing resilient VM deletion. */
8917
+ export declare interface ResilientVMDeletionPolicy {
8918
+ /** Specifies whether resilient VM deletion should be enabled on the virtual machine scale set. The default value is false. */
8919
+ enabled?: boolean;
8920
+ }
8921
+
8709
8922
  /** The Resource model definition. */
8710
8923
  export declare interface Resource {
8711
8924
  /**
@@ -8768,6 +8981,11 @@ export declare interface ResourceRange {
8768
8981
  max?: number;
8769
8982
  }
8770
8983
 
8984
+ export declare interface ResourceSharingProfile {
8985
+ /** Specifies an array of subscription resource IDs that capacity reservation group is shared with. **Note:** Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. */
8986
+ subscriptionIds?: SubResource[];
8987
+ }
8988
+
8771
8989
  /** Describes an available Compute SKU. */
8772
8990
  export declare interface ResourceSku {
8773
8991
  /**
@@ -9503,6 +9721,11 @@ export declare interface RestorePointSourceVMStorageProfile {
9503
9721
  osDisk?: RestorePointSourceVmosDisk;
9504
9722
  /** Gets the data disks of the VM captured at the time of the restore point creation. */
9505
9723
  dataDisks?: RestorePointSourceVMDataDisk[];
9724
+ /**
9725
+ * Gets the disk controller type of the VM captured at the time of the restore point creation.
9726
+ * NOTE: This property will not be serialized. It can only be populated by the server.
9727
+ */
9728
+ readonly diskControllerType?: DiskControllerTypes;
9506
9729
  }
9507
9730
 
9508
9731
  /** The SAS URIs of the console screenshot and serial log blobs. */
@@ -9817,7 +10040,8 @@ export declare interface ScheduledEventsProfile {
9817
10040
  * this enum contains the known values that the service supports.
9818
10041
  * ### Known values supported by the service
9819
10042
  * **VMGuestStateOnly** \
9820
- * **DiskWithVMGuestState**
10043
+ * **DiskWithVMGuestState** \
10044
+ * **NonPersistedTPM**
9821
10045
  */
9822
10046
  export declare type SecurityEncryptionTypes = string;
9823
10047
 
@@ -9837,6 +10061,10 @@ export declare interface SecurityProfile {
9837
10061
  encryptionAtHost?: boolean;
9838
10062
  /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. */
9839
10063
  securityType?: SecurityTypes;
10064
+ /** Specifies the Managed Identity used by ADE to get access token for keyvault operations. */
10065
+ encryptionIdentity?: EncryptionIdentity;
10066
+ /** Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01. */
10067
+ proxyAgentSettings?: ProxyAgentSettings;
9840
10068
  }
9841
10069
 
9842
10070
  /**
@@ -9909,6 +10137,13 @@ export declare type SharedGalleriesListResponse = SharedGalleryList;
9909
10137
 
9910
10138
  /** Specifies information about the Shared Gallery that you want to create or update. */
9911
10139
  export declare interface SharedGallery extends PirSharedGalleryResource {
10140
+ /**
10141
+ * The artifact tags of a shared gallery resource.
10142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
10143
+ */
10144
+ readonly artifactTags?: {
10145
+ [propertyName: string]: string;
10146
+ };
9912
10147
  }
9913
10148
 
9914
10149
  /** This is the data disk image. */
@@ -9941,7 +10176,7 @@ export declare type SharedGalleryHostCaching = string;
9941
10176
 
9942
10177
  /** Specifies information about the gallery image definition that you want to create or update. */
9943
10178
  export declare interface SharedGalleryImage extends PirSharedGalleryResource {
9944
- /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** */
10179
+ /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */
9945
10180
  osType?: OperatingSystemTypes;
9946
10181
  /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */
9947
10182
  osState?: OperatingSystemStateTypes;
@@ -9965,6 +10200,10 @@ export declare interface SharedGalleryImage extends PirSharedGalleryResource {
9965
10200
  privacyStatementUri?: string;
9966
10201
  /** End-user license agreement for the current community gallery image. */
9967
10202
  eula?: string;
10203
+ /** The artifact tags of a shared gallery resource. */
10204
+ artifactTags?: {
10205
+ [propertyName: string]: string;
10206
+ };
9968
10207
  }
9969
10208
 
9970
10209
  /** The List Shared Gallery Images operation response. */
@@ -10028,6 +10267,10 @@ export declare interface SharedGalleryImageVersion extends PirSharedGalleryResou
10028
10267
  excludeFromLatest?: boolean;
10029
10268
  /** Describes the storage profile of the image version. */
10030
10269
  storageProfile?: SharedGalleryImageVersionStorageProfile;
10270
+ /** The artifact tags of a shared gallery resource. */
10271
+ artifactTags?: {
10272
+ [propertyName: string]: string;
10273
+ };
10031
10274
  }
10032
10275
 
10033
10276
  /** The List Shared Gallery Image versions operation response. */
@@ -10125,7 +10368,7 @@ export declare interface ShareInfoElement {
10125
10368
 
10126
10369
  /** Profile for gallery sharing to subscription or tenant */
10127
10370
  export declare interface SharingProfile {
10128
- /** This property allows you to specify the permission of sharing gallery. <br><br> Possible values are: <br><br> **Private** <br><br> **Groups** <br><br> **Community** */
10371
+ /** This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.** */
10129
10372
  permissions?: GallerySharingPermissionTypes;
10130
10373
  /**
10131
10374
  * A list of sharing profile groups.
@@ -10138,7 +10381,7 @@ export declare interface SharingProfile {
10138
10381
 
10139
10382
  /** Group of the gallery sharing profile */
10140
10383
  export declare interface SharingProfileGroup {
10141
- /** This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants** */
10384
+ /** This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.** */
10142
10385
  type?: SharingProfileGroupTypes;
10143
10386
  /** A list of subscription/tenant ids the gallery is aimed to be shared to. */
10144
10387
  ids?: string[];
@@ -10179,7 +10422,7 @@ export declare interface SharingStatus {
10179
10422
 
10180
10423
  /** Specifies information about the gallery sharing profile update. */
10181
10424
  export declare interface SharingUpdate {
10182
- /** This property allows you to specify the operation type of gallery sharing update. <br><br> Possible values are: <br><br> **Add** <br><br> **Remove** <br><br> **Reset** */
10425
+ /** This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.** */
10183
10426
  operationType: SharingUpdateOperationTypes;
10184
10427
  /** A list of sharing profile groups. */
10185
10428
  groups?: SharingProfileGroup[];
@@ -10574,6 +10817,22 @@ export declare interface SshConfiguration {
10574
10817
  publicKeys?: SshPublicKey[];
10575
10818
  }
10576
10819
 
10820
+ /**
10821
+ * Defines values for SshEncryptionTypes. \
10822
+ * {@link KnownSshEncryptionTypes} can be used interchangeably with SshEncryptionTypes,
10823
+ * this enum contains the known values that the service supports.
10824
+ * ### Known values supported by the service
10825
+ * **RSA** \
10826
+ * **Ed25519**
10827
+ */
10828
+ export declare type SshEncryptionTypes = string;
10829
+
10830
+ /** Parameters for GenerateSshKeyPair. */
10831
+ export declare interface SshGenerateKeyPairInputParameters {
10832
+ /** The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA */
10833
+ encryptionType?: SshEncryptionTypes;
10834
+ }
10835
+
10577
10836
  /** Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. */
10578
10837
  export declare interface SshPublicKey {
10579
10838
  /** Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys */
@@ -10667,6 +10926,8 @@ export declare interface SshPublicKeysDeleteOptionalParams extends coreClient.Op
10667
10926
 
10668
10927
  /** Optional parameters. */
10669
10928
  export declare interface SshPublicKeysGenerateKeyPairOptionalParams extends coreClient.OperationOptions {
10929
+ /** Parameters supplied to generate the SSH public key. */
10930
+ parameters?: SshGenerateKeyPairInputParameters;
10670
10931
  }
10671
10932
 
10672
10933
  /** Contains response data for the generateKeyPair operation. */
@@ -10850,6 +11111,36 @@ export declare interface TerminateNotificationProfile {
10850
11111
  export declare interface ThrottledRequestsInput extends LogAnalyticsInputBase {
10851
11112
  }
10852
11113
 
11114
+ /** A UEFI key signature. */
11115
+ export declare interface UefiKey {
11116
+ /** The type of key signature. */
11117
+ type?: UefiKeyType;
11118
+ /** The value of the key signature. */
11119
+ value?: string[];
11120
+ }
11121
+
11122
+ /** Additional UEFI key signatures that will be added to the image in addition to the signature templates */
11123
+ export declare interface UefiKeySignatures {
11124
+ /** The Platform Key of this image version. */
11125
+ pk?: UefiKey;
11126
+ /** The Key Encryption Keys of this image version. */
11127
+ kek?: UefiKey[];
11128
+ /** The database of UEFI keys for this image version. */
11129
+ db?: UefiKey[];
11130
+ /** The database of revoked UEFI keys for this image version. */
11131
+ dbx?: UefiKey[];
11132
+ }
11133
+
11134
+ /**
11135
+ * Defines values for UefiKeyType. \
11136
+ * {@link KnownUefiKeyType} can be used interchangeably with UefiKeyType,
11137
+ * this enum contains the known values that the service supports.
11138
+ * ### Known values supported by the service
11139
+ * **sha256** \
11140
+ * **x509**
11141
+ */
11142
+ export declare type UefiKeyType = string;
11143
+
10853
11144
  /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. */
10854
11145
  export declare interface UefiSettings {
10855
11146
  /** Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01. */
@@ -10858,6 +11149,17 @@ export declare interface UefiSettings {
10858
11149
  vTpmEnabled?: boolean;
10859
11150
  }
10860
11151
 
11152
+ /**
11153
+ * Defines values for UefiSignatureTemplateName. \
11154
+ * {@link KnownUefiSignatureTemplateName} can be used interchangeably with UefiSignatureTemplateName,
11155
+ * this enum contains the known values that the service supports.
11156
+ * ### Known values supported by the service
11157
+ * **NoSignatureTemplate** \
11158
+ * **MicrosoftUefiCertificateAuthorityTemplate** \
11159
+ * **MicrosoftWindowsTemplate**
11160
+ */
11161
+ export declare type UefiSignatureTemplateName = string;
11162
+
10861
11163
  /** Defines an update domain for the cloud service. */
10862
11164
  export declare interface UpdateDomain {
10863
11165
  /**
@@ -11122,6 +11424,16 @@ export declare interface VirtualMachine extends Resource {
11122
11424
  zones?: string[];
11123
11425
  /** The extended location of the Virtual Machine. */
11124
11426
  extendedLocation?: ExtendedLocation;
11427
+ /**
11428
+ * ManagedBy is set to Virtual Machine Scale Set(VMSS) flex ARM resourceID, if the VM is part of the VMSS. This property is used by platform for internal resource group delete optimization.
11429
+ * NOTE: This property will not be serialized. It can only be populated by the server.
11430
+ */
11431
+ readonly managedBy?: string;
11432
+ /**
11433
+ * Etag is property returned in Create/Update/Get response of the VM, so that customer can supply it in the header to ensure optimistic updates.
11434
+ * NOTE: This property will not be serialized. It can only be populated by the server.
11435
+ */
11436
+ readonly etag?: string;
11125
11437
  /** Specifies the hardware settings for the virtual machine. */
11126
11438
  hardwareProfile?: HardwareProfile;
11127
11439
  /** Specifies the storage settings for the virtual machine disks. */
@@ -11936,6 +12248,11 @@ export declare interface VirtualMachineInstanceView {
11936
12248
  statuses?: InstanceViewStatus[];
11937
12249
  /** [Preview Feature] The status of virtual machine patch operations. */
11938
12250
  patchStatus?: VirtualMachinePatchStatus;
12251
+ /**
12252
+ * [Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool.
12253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12254
+ */
12255
+ readonly isVMInStandbyPool?: boolean;
11939
12256
  }
11940
12257
 
11941
12258
  /** Contains the IP tag associated with the public IP address. */
@@ -12655,6 +12972,24 @@ export declare interface VirtualMachines {
12655
12972
  * @param options The options parameters.
12656
12973
  */
12657
12974
  beginInstallPatchesAndWait(resourceGroupName: string, vmName: string, installPatchesInput: VirtualMachineInstallPatchesParameters, options?: VirtualMachinesInstallPatchesOptionalParams): Promise<VirtualMachinesInstallPatchesResponse>;
12975
+ /**
12976
+ * Attach and detach data disks to/from the virtual machine.
12977
+ * @param resourceGroupName The name of the resource group.
12978
+ * @param vmName The name of the virtual machine.
12979
+ * @param parameters Parameters supplied to the attach and detach data disks operation on the virtual
12980
+ * machine.
12981
+ * @param options The options parameters.
12982
+ */
12983
+ beginAttachDetachDataDisks(resourceGroupName: string, vmName: string, parameters: AttachDetachDataDisksRequest, options?: VirtualMachinesAttachDetachDataDisksOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachinesAttachDetachDataDisksResponse>, VirtualMachinesAttachDetachDataDisksResponse>>;
12984
+ /**
12985
+ * Attach and detach data disks to/from the virtual machine.
12986
+ * @param resourceGroupName The name of the resource group.
12987
+ * @param vmName The name of the virtual machine.
12988
+ * @param parameters Parameters supplied to the attach and detach data disks operation on the virtual
12989
+ * machine.
12990
+ * @param options The options parameters.
12991
+ */
12992
+ beginAttachDetachDataDisksAndWait(resourceGroupName: string, vmName: string, parameters: AttachDetachDataDisksRequest, options?: VirtualMachinesAttachDetachDataDisksOptionalParams): Promise<VirtualMachinesAttachDetachDataDisksResponse>;
12658
12993
  /**
12659
12994
  * Run command on the VM.
12660
12995
  * @param resourceGroupName The name of the resource group.
@@ -12684,6 +13019,22 @@ export declare interface VirtualMachinesAssessPatchesOptionalParams extends core
12684
13019
  /** Contains response data for the assessPatches operation. */
12685
13020
  export declare type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult;
12686
13021
 
13022
+ /** Defines headers for VirtualMachines_attachDetachDataDisks operation. */
13023
+ export declare interface VirtualMachinesAttachDetachDataDisksHeaders {
13024
+ location?: string;
13025
+ }
13026
+
13027
+ /** Optional parameters. */
13028
+ export declare interface VirtualMachinesAttachDetachDataDisksOptionalParams extends coreClient.OperationOptions {
13029
+ /** Delay to wait until next poll, in milliseconds. */
13030
+ updateIntervalInMs?: number;
13031
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
13032
+ resumeFrom?: string;
13033
+ }
13034
+
13035
+ /** Contains response data for the attachDetachDataDisks operation. */
13036
+ export declare type VirtualMachinesAttachDetachDataDisksResponse = StorageProfile;
13037
+
12687
13038
  /** Describes a Virtual Machine Scale Set. */
12688
13039
  export declare interface VirtualMachineScaleSet extends Resource {
12689
13040
  /** The virtual machine scale set sku. */
@@ -12696,6 +13047,11 @@ export declare interface VirtualMachineScaleSet extends Resource {
12696
13047
  zones?: string[];
12697
13048
  /** The extended location of the Virtual Machine Scale Set. */
12698
13049
  extendedLocation?: ExtendedLocation;
13050
+ /**
13051
+ * Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates
13052
+ * NOTE: This property will not be serialized. It can only be populated by the server.
13053
+ */
13054
+ readonly etag?: string;
12699
13055
  /** The upgrade policy. */
12700
13056
  upgradePolicy?: UpgradePolicy;
12701
13057
  /** Policy for automatic repairs. */
@@ -12743,6 +13099,8 @@ export declare interface VirtualMachineScaleSet extends Resource {
12743
13099
  readonly timeCreated?: Date;
12744
13100
  /** Optional property which must either be set to True or omitted. */
12745
13101
  constrainedMaximumCapacity?: boolean;
13102
+ /** Policy for Resiliency */
13103
+ resiliencyPolicy?: ResiliencyPolicy;
12746
13104
  }
12747
13105
 
12748
13106
  /** Describes a virtual machine scale set data disk. */
@@ -13610,6 +13968,20 @@ export declare interface VirtualMachineScaleSets {
13610
13968
  * @param options The options parameters.
13611
13969
  */
13612
13970
  beginReimageAllAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetsReimageAllOptionalParams): Promise<void>;
13971
+ /**
13972
+ * Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
13973
+ * @param resourceGroupName The name of the resource group.
13974
+ * @param vmScaleSetName The name of the VM scale set.
13975
+ * @param options The options parameters.
13976
+ */
13977
+ beginApproveRollingUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetsApproveRollingUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineScaleSetsApproveRollingUpgradeResponse>, VirtualMachineScaleSetsApproveRollingUpgradeResponse>>;
13978
+ /**
13979
+ * Approve upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
13980
+ * @param resourceGroupName The name of the resource group.
13981
+ * @param vmScaleSetName The name of the VM scale set.
13982
+ * @param options The options parameters.
13983
+ */
13984
+ beginApproveRollingUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetsApproveRollingUpgradeOptionalParams): Promise<VirtualMachineScaleSetsApproveRollingUpgradeResponse>;
13613
13985
  /**
13614
13986
  * Manual platform update domain walk to update virtual machines in a service fabric virtual machine
13615
13987
  * scale set.
@@ -13645,6 +14017,24 @@ export declare interface VirtualMachineScaleSets {
13645
14017
  beginSetOrchestrationServiceStateAndWait(resourceGroupName: string, vmScaleSetName: string, parameters: OrchestrationServiceStateInput, options?: VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams): Promise<void>;
13646
14018
  }
13647
14019
 
14020
+ /** Defines headers for VirtualMachineScaleSets_approveRollingUpgrade operation. */
14021
+ export declare interface VirtualMachineScaleSetsApproveRollingUpgradeHeaders {
14022
+ location?: string;
14023
+ }
14024
+
14025
+ /** Optional parameters. */
14026
+ export declare interface VirtualMachineScaleSetsApproveRollingUpgradeOptionalParams extends coreClient.OperationOptions {
14027
+ /** A list of virtual machine instance IDs from the VM scale set. */
14028
+ vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs;
14029
+ /** Delay to wait until next poll, in milliseconds. */
14030
+ updateIntervalInMs?: number;
14031
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
14032
+ resumeFrom?: string;
14033
+ }
14034
+
14035
+ /** Contains response data for the approveRollingUpgrade operation. */
14036
+ export declare type VirtualMachineScaleSetsApproveRollingUpgradeResponse = VirtualMachineScaleSetsApproveRollingUpgradeHeaders;
14037
+
13648
14038
  /**
13649
14039
  * Defines values for VirtualMachineScaleSetScaleInRules. \
13650
14040
  * {@link KnownVirtualMachineScaleSetScaleInRules} can be used interchangeably with VirtualMachineScaleSetScaleInRules,
@@ -13662,6 +14052,10 @@ export declare interface VirtualMachineScaleSetsConvertToSinglePlacementGroupOpt
13662
14052
 
13663
14053
  /** Optional parameters. */
13664
14054
  export declare interface VirtualMachineScaleSetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
14055
+ /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
14056
+ ifMatch?: string;
14057
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. */
14058
+ ifNoneMatch?: string;
13665
14059
  /** Delay to wait until next poll, in milliseconds. */
13666
14060
  updateIntervalInMs?: number;
13667
14061
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -13960,6 +14354,10 @@ export declare interface VirtualMachineScaleSetsUpdateInstancesOptionalParams ex
13960
14354
 
13961
14355
  /** Optional parameters. */
13962
14356
  export declare interface VirtualMachineScaleSetsUpdateOptionalParams extends coreClient.OperationOptions {
14357
+ /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
14358
+ ifMatch?: string;
14359
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. */
14360
+ ifNoneMatch?: string;
13963
14361
  /** Delay to wait until next poll, in milliseconds. */
13964
14362
  updateIntervalInMs?: number;
13965
14363
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -13999,6 +14397,8 @@ export declare interface VirtualMachineScaleSetUpdate extends UpdateResource {
13999
14397
  priorityMixPolicy?: PriorityMixPolicy;
14000
14398
  /** Specifies the Spot Restore properties for the virtual machine scale set. */
14001
14399
  spotRestorePolicy?: SpotRestorePolicy;
14400
+ /** Policy for Resiliency */
14401
+ resiliencyPolicy?: ResiliencyPolicy;
14002
14402
  }
14003
14403
 
14004
14404
  /** Describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be modified as long as the original subnet and the new subnet are in the same virtual network */
@@ -14168,6 +14568,11 @@ export declare interface VirtualMachineScaleSetVM extends Resource {
14168
14568
  readonly zones?: string[];
14169
14569
  /** The identity of the virtual machine, if configured. */
14170
14570
  identity?: VirtualMachineIdentity;
14571
+ /**
14572
+ * Etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.
14573
+ * NOTE: This property will not be serialized. It can only be populated by the server.
14574
+ */
14575
+ readonly etag?: string;
14171
14576
  /**
14172
14577
  * Specifies whether the latest model has been applied to the virtual machine.
14173
14578
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -14554,6 +14959,11 @@ export declare interface VirtualMachineScaleSetVMProfile {
14554
14959
  serviceArtifactReference?: ServiceArtifactReference;
14555
14960
  /** Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01 */
14556
14961
  securityPostureReference?: SecurityPostureReference;
14962
+ /**
14963
+ * Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. Minimum API version for this property is 2023-09-01. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile with minimum api-version 2023-09-01.
14964
+ * NOTE: This property will not be serialized. It can only be populated by the server.
14965
+ */
14966
+ readonly timeCreated?: Date;
14557
14967
  }
14558
14968
 
14559
14969
  /** The protection policy of a virtual machine scale set VM. */
@@ -14745,6 +15155,22 @@ export declare interface VirtualMachineScaleSetVMs {
14745
15155
  * @param options The options parameters.
14746
15156
  */
14747
15157
  beginReimageAllAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMsReimageAllOptionalParams): Promise<void>;
15158
+ /**
15159
+ * Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
15160
+ * @param resourceGroupName The name of the resource group.
15161
+ * @param vmScaleSetName The name of the VM scale set.
15162
+ * @param instanceId The instance ID of the virtual machine.
15163
+ * @param options The options parameters.
15164
+ */
15165
+ beginApproveRollingUpgrade(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMsApproveRollingUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineScaleSetVMsApproveRollingUpgradeResponse>, VirtualMachineScaleSetVMsApproveRollingUpgradeResponse>>;
15166
+ /**
15167
+ * Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
15168
+ * @param resourceGroupName The name of the resource group.
15169
+ * @param vmScaleSetName The name of the VM scale set.
15170
+ * @param instanceId The instance ID of the virtual machine.
15171
+ * @param options The options parameters.
15172
+ */
15173
+ beginApproveRollingUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMsApproveRollingUpgradeOptionalParams): Promise<VirtualMachineScaleSetVMsApproveRollingUpgradeResponse>;
14748
15174
  /**
14749
15175
  * Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and
14750
15176
  * releases the compute resources it uses. You are not billed for the compute resources of this virtual
@@ -14917,6 +15343,26 @@ export declare interface VirtualMachineScaleSetVMs {
14917
15343
  * @param options The options parameters.
14918
15344
  */
14919
15345
  simulateEviction(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMsSimulateEvictionOptionalParams): Promise<void>;
15346
+ /**
15347
+ * Attach and detach data disks to/from a virtual machine in a VM scale set.
15348
+ * @param resourceGroupName The name of the resource group.
15349
+ * @param vmScaleSetName The name of the VM scale set.
15350
+ * @param instanceId The instance ID of the virtual machine.
15351
+ * @param parameters Parameters supplied to the attach and detach data disks operation on a Virtual
15352
+ * Machine Scale Sets VM.
15353
+ * @param options The options parameters.
15354
+ */
15355
+ beginAttachDetachDataDisks(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: AttachDetachDataDisksRequest, options?: VirtualMachineScaleSetVMsAttachDetachDataDisksOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineScaleSetVMsAttachDetachDataDisksResponse>, VirtualMachineScaleSetVMsAttachDetachDataDisksResponse>>;
15356
+ /**
15357
+ * Attach and detach data disks to/from a virtual machine in a VM scale set.
15358
+ * @param resourceGroupName The name of the resource group.
15359
+ * @param vmScaleSetName The name of the VM scale set.
15360
+ * @param instanceId The instance ID of the virtual machine.
15361
+ * @param parameters Parameters supplied to the attach and detach data disks operation on a Virtual
15362
+ * Machine Scale Sets VM.
15363
+ * @param options The options parameters.
15364
+ */
15365
+ beginAttachDetachDataDisksAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: AttachDetachDataDisksRequest, options?: VirtualMachineScaleSetVMsAttachDetachDataDisksOptionalParams): Promise<VirtualMachineScaleSetVMsAttachDetachDataDisksResponse>;
14920
15366
  /**
14921
15367
  * Run command on a virtual machine in a VM scale set.
14922
15368
  * @param resourceGroupName The name of the resource group.
@@ -14937,6 +15383,38 @@ export declare interface VirtualMachineScaleSetVMs {
14937
15383
  beginRunCommandAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options?: VirtualMachineScaleSetVMsRunCommandOptionalParams): Promise<VirtualMachineScaleSetVMsRunCommandResponse>;
14938
15384
  }
14939
15385
 
15386
+ /** Defines headers for VirtualMachineScaleSetVMs_approveRollingUpgrade operation. */
15387
+ export declare interface VirtualMachineScaleSetVMsApproveRollingUpgradeHeaders {
15388
+ location?: string;
15389
+ }
15390
+
15391
+ /** Optional parameters. */
15392
+ export declare interface VirtualMachineScaleSetVMsApproveRollingUpgradeOptionalParams extends coreClient.OperationOptions {
15393
+ /** Delay to wait until next poll, in milliseconds. */
15394
+ updateIntervalInMs?: number;
15395
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
15396
+ resumeFrom?: string;
15397
+ }
15398
+
15399
+ /** Contains response data for the approveRollingUpgrade operation. */
15400
+ export declare type VirtualMachineScaleSetVMsApproveRollingUpgradeResponse = VirtualMachineScaleSetVMsApproveRollingUpgradeHeaders;
15401
+
15402
+ /** Defines headers for VirtualMachineScaleSetVMs_attachDetachDataDisks operation. */
15403
+ export declare interface VirtualMachineScaleSetVMsAttachDetachDataDisksHeaders {
15404
+ location?: string;
15405
+ }
15406
+
15407
+ /** Optional parameters. */
15408
+ export declare interface VirtualMachineScaleSetVMsAttachDetachDataDisksOptionalParams extends coreClient.OperationOptions {
15409
+ /** Delay to wait until next poll, in milliseconds. */
15410
+ updateIntervalInMs?: number;
15411
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
15412
+ resumeFrom?: string;
15413
+ }
15414
+
15415
+ /** Contains response data for the attachDetachDataDisks operation. */
15416
+ export declare type VirtualMachineScaleSetVMsAttachDetachDataDisksResponse = StorageProfile;
15417
+
14940
15418
  /** Optional parameters. */
14941
15419
  export declare interface VirtualMachineScaleSetVMsDeallocateOptionalParams extends coreClient.OperationOptions {
14942
15420
  /** Delay to wait until next poll, in milliseconds. */
@@ -15077,6 +15555,10 @@ export declare interface VirtualMachineScaleSetVMsStartOptionalParams extends co
15077
15555
 
15078
15556
  /** Optional parameters. */
15079
15557
  export declare interface VirtualMachineScaleSetVMsUpdateOptionalParams extends coreClient.OperationOptions {
15558
+ /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
15559
+ ifMatch?: string;
15560
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. */
15561
+ ifNoneMatch?: string;
15080
15562
  /** Delay to wait until next poll, in milliseconds. */
15081
15563
  updateIntervalInMs?: number;
15082
15564
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -15107,6 +15589,10 @@ export declare interface VirtualMachinesConvertToManagedDisksOptionalParams exte
15107
15589
 
15108
15590
  /** Optional parameters. */
15109
15591
  export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
15592
+ /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
15593
+ ifMatch?: string;
15594
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. */
15595
+ ifNoneMatch?: string;
15110
15596
  /** Delay to wait until next poll, in milliseconds. */
15111
15597
  updateIntervalInMs?: number;
15112
15598
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -15594,6 +16080,10 @@ export declare interface VirtualMachineStatusCodeCount {
15594
16080
 
15595
16081
  /** Optional parameters. */
15596
16082
  export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
16083
+ /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
16084
+ ifMatch?: string;
16085
+ /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported. */
16086
+ ifNoneMatch?: string;
15597
16087
  /** Delay to wait until next poll, in milliseconds. */
15598
16088
  updateIntervalInMs?: number;
15599
16089
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -15679,7 +16169,7 @@ export declare interface VirtualMachineUpdate extends UpdateResource {
15679
16169
 
15680
16170
  /** Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. */
15681
16171
  export declare interface VMDiskSecurityProfile {
15682
- /** Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs. */
16172
+ /** Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. */
15683
16173
  securityEncryptionType?: SecurityEncryptionTypes;
15684
16174
  /** Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob. */
15685
16175
  diskEncryptionSet?: DiskEncryptionSetParameters;