@azure/arm-compute 19.2.1-alpha.20230104.1 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) hide show
  1. package/CHANGELOG.md +74 -8
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1667 -542
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js +11 -4
  8. package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +15 -8
  10. package/dist-esm/samples-dev/availabilitySetsDeleteSample.js.map +1 -1
  11. package/dist-esm/samples-dev/availabilitySetsGetSample.js +15 -8
  12. package/dist-esm/samples-dev/availabilitySetsGetSample.js.map +1 -1
  13. package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js +15 -8
  14. package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js.map +1 -1
  15. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +11 -4
  16. package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
  17. package/dist-esm/samples-dev/availabilitySetsListSample.js +15 -8
  18. package/dist-esm/samples-dev/availabilitySetsListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +15 -8
  20. package/dist-esm/samples-dev/availabilitySetsUpdateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js +11 -4
  22. package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js.map +1 -1
  23. package/dist-esm/samples-dev/capacityReservationGroupsDeleteSample.js +15 -8
  24. package/dist-esm/samples-dev/capacityReservationGroupsDeleteSample.js.map +1 -1
  25. package/dist-esm/samples-dev/capacityReservationGroupsGetSample.js +11 -4
  26. package/dist-esm/samples-dev/capacityReservationGroupsGetSample.js.map +1 -1
  27. package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js +11 -4
  28. package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js.map +1 -1
  29. package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js +10 -3
  30. package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js.map +1 -1
  31. package/dist-esm/samples-dev/capacityReservationGroupsUpdateSample.js +15 -8
  32. package/dist-esm/samples-dev/capacityReservationGroupsUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/capacityReservationsCreateOrUpdateSample.js +11 -4
  34. package/dist-esm/samples-dev/capacityReservationsCreateOrUpdateSample.js.map +1 -1
  35. package/dist-esm/samples-dev/capacityReservationsDeleteSample.js +15 -8
  36. package/dist-esm/samples-dev/capacityReservationsDeleteSample.js.map +1 -1
  37. package/dist-esm/samples-dev/capacityReservationsGetSample.js +11 -4
  38. package/dist-esm/samples-dev/capacityReservationsGetSample.js.map +1 -1
  39. package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js +11 -4
  40. package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js.map +1 -1
  41. package/dist-esm/samples-dev/capacityReservationsUpdateSample.js +15 -8
  42. package/dist-esm/samples-dev/capacityReservationsUpdateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.js +10 -3
  44. package/dist-esm/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.js.map +1 -1
  45. package/dist-esm/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.js +10 -3
  46. package/dist-esm/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.js.map +1 -1
  47. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js +10 -3
  48. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js.map +1 -1
  49. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js +10 -3
  50. package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js.map +1 -1
  51. package/dist-esm/samples-dev/cloudServiceRoleInstancesDeleteSample.js +11 -4
  52. package/dist-esm/samples-dev/cloudServiceRoleInstancesDeleteSample.js.map +1 -1
  53. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.js +11 -4
  54. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.js.map +1 -1
  55. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js +11 -4
  56. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js.map +1 -1
  57. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetSample.js +11 -4
  58. package/dist-esm/samples-dev/cloudServiceRoleInstancesGetSample.js.map +1 -1
  59. package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js +11 -4
  60. package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js.map +1 -1
  61. package/dist-esm/samples-dev/cloudServiceRoleInstancesRebuildSample.js +11 -4
  62. package/dist-esm/samples-dev/cloudServiceRoleInstancesRebuildSample.js.map +1 -1
  63. package/dist-esm/samples-dev/cloudServiceRoleInstancesReimageSample.js +11 -4
  64. package/dist-esm/samples-dev/cloudServiceRoleInstancesReimageSample.js.map +1 -1
  65. package/dist-esm/samples-dev/cloudServiceRoleInstancesRestartSample.js +11 -4
  66. package/dist-esm/samples-dev/cloudServiceRoleInstancesRestartSample.js.map +1 -1
  67. package/dist-esm/samples-dev/cloudServiceRolesGetSample.js +11 -4
  68. package/dist-esm/samples-dev/cloudServiceRolesGetSample.js.map +1 -1
  69. package/dist-esm/samples-dev/cloudServiceRolesListSample.js +11 -4
  70. package/dist-esm/samples-dev/cloudServiceRolesListSample.js.map +1 -1
  71. package/dist-esm/samples-dev/cloudServicesCreateOrUpdateSample.js +86 -20
  72. package/dist-esm/samples-dev/cloudServicesCreateOrUpdateSample.js.map +1 -1
  73. package/dist-esm/samples-dev/cloudServicesDeleteInstancesSample.js +11 -4
  74. package/dist-esm/samples-dev/cloudServicesDeleteInstancesSample.js.map +1 -1
  75. package/dist-esm/samples-dev/cloudServicesDeleteSample.js +11 -4
  76. package/dist-esm/samples-dev/cloudServicesDeleteSample.js.map +1 -1
  77. package/dist-esm/samples-dev/cloudServicesGetInstanceViewSample.js +11 -4
  78. package/dist-esm/samples-dev/cloudServicesGetInstanceViewSample.js.map +1 -1
  79. package/dist-esm/samples-dev/cloudServicesGetSample.js +11 -4
  80. package/dist-esm/samples-dev/cloudServicesGetSample.js.map +1 -1
  81. package/dist-esm/samples-dev/cloudServicesListAllSample.js +10 -3
  82. package/dist-esm/samples-dev/cloudServicesListAllSample.js.map +1 -1
  83. package/dist-esm/samples-dev/cloudServicesListSample.js +11 -4
  84. package/dist-esm/samples-dev/cloudServicesListSample.js.map +1 -1
  85. package/dist-esm/samples-dev/cloudServicesPowerOffSample.js +11 -4
  86. package/dist-esm/samples-dev/cloudServicesPowerOffSample.js.map +1 -1
  87. package/dist-esm/samples-dev/cloudServicesRebuildSample.js +11 -4
  88. package/dist-esm/samples-dev/cloudServicesRebuildSample.js.map +1 -1
  89. package/dist-esm/samples-dev/cloudServicesReimageSample.js +11 -4
  90. package/dist-esm/samples-dev/cloudServicesReimageSample.js.map +1 -1
  91. package/dist-esm/samples-dev/cloudServicesRestartSample.js +11 -4
  92. package/dist-esm/samples-dev/cloudServicesRestartSample.js.map +1 -1
  93. package/dist-esm/samples-dev/cloudServicesStartSample.js +11 -4
  94. package/dist-esm/samples-dev/cloudServicesStartSample.js.map +1 -1
  95. package/dist-esm/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.js +11 -4
  96. package/dist-esm/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.js.map +1 -1
  97. package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js +11 -4
  98. package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js.map +1 -1
  99. package/dist-esm/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.js +11 -4
  100. package/dist-esm/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.js.map +1 -1
  101. package/dist-esm/samples-dev/cloudServicesUpdateSample.js +11 -4
  102. package/dist-esm/samples-dev/cloudServicesUpdateSample.js.map +1 -1
  103. package/dist-esm/samples-dev/communityGalleriesGetSample.js +10 -3
  104. package/dist-esm/samples-dev/communityGalleriesGetSample.js.map +1 -1
  105. package/dist-esm/samples-dev/communityGalleryImageVersionsGetSample.js +10 -3
  106. package/dist-esm/samples-dev/communityGalleryImageVersionsGetSample.js.map +1 -1
  107. package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js +10 -3
  108. package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js.map +1 -1
  109. package/dist-esm/samples-dev/communityGalleryImagesGetSample.js +10 -3
  110. package/dist-esm/samples-dev/communityGalleryImagesGetSample.js.map +1 -1
  111. package/dist-esm/samples-dev/communityGalleryImagesListSample.js +10 -3
  112. package/dist-esm/samples-dev/communityGalleryImagesListSample.js.map +1 -1
  113. package/dist-esm/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.js +15 -8
  114. package/dist-esm/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.js.map +1 -1
  115. package/dist-esm/samples-dev/dedicatedHostGroupsDeleteSample.js +15 -8
  116. package/dist-esm/samples-dev/dedicatedHostGroupsDeleteSample.js.map +1 -1
  117. package/dist-esm/samples-dev/dedicatedHostGroupsGetSample.js +15 -8
  118. package/dist-esm/samples-dev/dedicatedHostGroupsGetSample.js.map +1 -1
  119. package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js +15 -8
  120. package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js.map +1 -1
  121. package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js +13 -6
  122. package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js.map +1 -1
  123. package/dist-esm/samples-dev/dedicatedHostGroupsUpdateSample.js +15 -8
  124. package/dist-esm/samples-dev/dedicatedHostGroupsUpdateSample.js.map +1 -1
  125. package/dist-esm/samples-dev/dedicatedHostsCreateOrUpdateSample.js +11 -4
  126. package/dist-esm/samples-dev/dedicatedHostsCreateOrUpdateSample.js.map +1 -1
  127. package/dist-esm/samples-dev/dedicatedHostsDeleteSample.js +15 -8
  128. package/dist-esm/samples-dev/dedicatedHostsDeleteSample.js.map +1 -1
  129. package/dist-esm/samples-dev/dedicatedHostsGetSample.js +11 -4
  130. package/dist-esm/samples-dev/dedicatedHostsGetSample.js.map +1 -1
  131. package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js +15 -8
  132. package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js.map +1 -1
  133. package/dist-esm/samples-dev/dedicatedHostsRestartSample.js +11 -4
  134. package/dist-esm/samples-dev/dedicatedHostsRestartSample.js.map +1 -1
  135. package/dist-esm/samples-dev/dedicatedHostsUpdateSample.js +15 -8
  136. package/dist-esm/samples-dev/dedicatedHostsUpdateSample.js.map +1 -1
  137. package/dist-esm/samples-dev/diskAccessesCreateOrUpdateSample.js +10 -3
  138. package/dist-esm/samples-dev/diskAccessesCreateOrUpdateSample.js.map +1 -1
  139. package/dist-esm/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.js +10 -3
  140. package/dist-esm/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.js.map +1 -1
  141. package/dist-esm/samples-dev/diskAccessesDeleteSample.js +10 -3
  142. package/dist-esm/samples-dev/diskAccessesDeleteSample.js.map +1 -1
  143. package/dist-esm/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.js +10 -3
  144. package/dist-esm/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.js.map +1 -1
  145. package/dist-esm/samples-dev/diskAccessesGetPrivateLinkResourcesSample.js +10 -3
  146. package/dist-esm/samples-dev/diskAccessesGetPrivateLinkResourcesSample.js.map +1 -1
  147. package/dist-esm/samples-dev/diskAccessesGetSample.js +13 -6
  148. package/dist-esm/samples-dev/diskAccessesGetSample.js.map +1 -1
  149. package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js +10 -3
  150. package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js.map +1 -1
  151. package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js +10 -3
  152. package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js.map +1 -1
  153. package/dist-esm/samples-dev/diskAccessesListSample.js +9 -2
  154. package/dist-esm/samples-dev/diskAccessesListSample.js.map +1 -1
  155. package/dist-esm/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.js +10 -3
  156. package/dist-esm/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.js.map +1 -1
  157. package/dist-esm/samples-dev/diskAccessesUpdateSample.js +10 -3
  158. package/dist-esm/samples-dev/diskAccessesUpdateSample.js.map +1 -1
  159. package/dist-esm/samples-dev/diskEncryptionSetsCreateOrUpdateSample.js +16 -9
  160. package/dist-esm/samples-dev/diskEncryptionSetsCreateOrUpdateSample.js.map +1 -1
  161. package/dist-esm/samples-dev/diskEncryptionSetsDeleteSample.js +10 -3
  162. package/dist-esm/samples-dev/diskEncryptionSetsDeleteSample.js.map +1 -1
  163. package/dist-esm/samples-dev/diskEncryptionSetsGetSample.js +13 -6
  164. package/dist-esm/samples-dev/diskEncryptionSetsGetSample.js.map +1 -1
  165. package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js +10 -3
  166. package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js.map +1 -1
  167. package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js +10 -3
  168. package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js.map +1 -1
  169. package/dist-esm/samples-dev/diskEncryptionSetsListSample.js +9 -2
  170. package/dist-esm/samples-dev/diskEncryptionSetsListSample.js.map +1 -1
  171. package/dist-esm/samples-dev/diskEncryptionSetsUpdateSample.js +16 -9
  172. package/dist-esm/samples-dev/diskEncryptionSetsUpdateSample.js.map +1 -1
  173. package/dist-esm/samples-dev/diskRestorePointGetSample.js +13 -6
  174. package/dist-esm/samples-dev/diskRestorePointGetSample.js.map +1 -1
  175. package/dist-esm/samples-dev/diskRestorePointGrantAccessSample.js +10 -3
  176. package/dist-esm/samples-dev/diskRestorePointGrantAccessSample.js.map +1 -1
  177. package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js +10 -3
  178. package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js.map +1 -1
  179. package/dist-esm/samples-dev/diskRestorePointRevokeAccessSample.js +10 -3
  180. package/dist-esm/samples-dev/diskRestorePointRevokeAccessSample.js.map +1 -1
  181. package/dist-esm/samples-dev/disksCreateOrUpdateSample.js +79 -72
  182. package/dist-esm/samples-dev/disksCreateOrUpdateSample.js.map +1 -1
  183. package/dist-esm/samples-dev/disksDeleteSample.js +10 -3
  184. package/dist-esm/samples-dev/disksDeleteSample.js.map +1 -1
  185. package/dist-esm/samples-dev/disksGetSample.js +10 -3
  186. package/dist-esm/samples-dev/disksGetSample.js.map +1 -1
  187. package/dist-esm/samples-dev/disksGrantAccessSample.js +13 -6
  188. package/dist-esm/samples-dev/disksGrantAccessSample.js.map +1 -1
  189. package/dist-esm/samples-dev/disksListByResourceGroupSample.js +10 -3
  190. package/dist-esm/samples-dev/disksListByResourceGroupSample.js.map +1 -1
  191. package/dist-esm/samples-dev/disksListSample.js +9 -2
  192. package/dist-esm/samples-dev/disksListSample.js.map +1 -1
  193. package/dist-esm/samples-dev/disksRevokeAccessSample.js +10 -3
  194. package/dist-esm/samples-dev/disksRevokeAccessSample.js.map +1 -1
  195. package/dist-esm/samples-dev/disksUpdateSample.js +37 -30
  196. package/dist-esm/samples-dev/disksUpdateSample.js.map +1 -1
  197. package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js +23 -16
  198. package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js.map +1 -1
  199. package/dist-esm/samples-dev/galleriesDeleteSample.js +11 -4
  200. package/dist-esm/samples-dev/galleriesDeleteSample.js.map +1 -1
  201. package/dist-esm/samples-dev/galleriesGetSample.js +23 -16
  202. package/dist-esm/samples-dev/galleriesGetSample.js.map +1 -1
  203. package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js +11 -4
  204. package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js.map +1 -1
  205. package/dist-esm/samples-dev/galleriesListSample.js +10 -3
  206. package/dist-esm/samples-dev/galleriesListSample.js.map +1 -1
  207. package/dist-esm/samples-dev/galleriesUpdateSample.js +11 -4
  208. package/dist-esm/samples-dev/galleriesUpdateSample.js.map +1 -1
  209. package/dist-esm/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.js +32 -7
  210. package/dist-esm/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.js.map +1 -1
  211. package/dist-esm/samples-dev/galleryApplicationVersionsDeleteSample.js +11 -4
  212. package/dist-esm/samples-dev/galleryApplicationVersionsDeleteSample.js.map +1 -1
  213. package/dist-esm/samples-dev/galleryApplicationVersionsGetSample.js +15 -8
  214. package/dist-esm/samples-dev/galleryApplicationVersionsGetSample.js.map +1 -1
  215. package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js +11 -4
  216. package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js.map +1 -1
  217. package/dist-esm/samples-dev/galleryApplicationVersionsUpdateSample.js +16 -7
  218. package/dist-esm/samples-dev/galleryApplicationVersionsUpdateSample.js.map +1 -1
  219. package/dist-esm/samples-dev/galleryApplicationsCreateOrUpdateSample.js +27 -4
  220. package/dist-esm/samples-dev/galleryApplicationsCreateOrUpdateSample.js.map +1 -1
  221. package/dist-esm/samples-dev/galleryApplicationsDeleteSample.js +11 -4
  222. package/dist-esm/samples-dev/galleryApplicationsDeleteSample.js.map +1 -1
  223. package/dist-esm/samples-dev/galleryApplicationsGetSample.js +11 -4
  224. package/dist-esm/samples-dev/galleryApplicationsGetSample.js.map +1 -1
  225. package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js +11 -4
  226. package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js.map +1 -1
  227. package/dist-esm/samples-dev/galleryApplicationsUpdateSample.js +27 -4
  228. package/dist-esm/samples-dev/galleryApplicationsUpdateSample.js.map +1 -1
  229. package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js +138 -33
  230. package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js.map +1 -1
  231. package/dist-esm/samples-dev/galleryImageVersionsDeleteSample.js +11 -4
  232. package/dist-esm/samples-dev/galleryImageVersionsDeleteSample.js.map +1 -1
  233. package/dist-esm/samples-dev/galleryImageVersionsGetSample.js +23 -16
  234. package/dist-esm/samples-dev/galleryImageVersionsGetSample.js.map +1 -1
  235. package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js +11 -4
  236. package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js.map +1 -1
  237. package/dist-esm/samples-dev/galleryImageVersionsUpdateSample.js +15 -8
  238. package/dist-esm/samples-dev/galleryImageVersionsUpdateSample.js.map +1 -1
  239. package/dist-esm/samples-dev/galleryImagesCreateOrUpdateSample.js +11 -4
  240. package/dist-esm/samples-dev/galleryImagesCreateOrUpdateSample.js.map +1 -1
  241. package/dist-esm/samples-dev/galleryImagesDeleteSample.js +11 -4
  242. package/dist-esm/samples-dev/galleryImagesDeleteSample.js.map +1 -1
  243. package/dist-esm/samples-dev/galleryImagesGetSample.js +11 -4
  244. package/dist-esm/samples-dev/galleryImagesGetSample.js.map +1 -1
  245. package/dist-esm/samples-dev/galleryImagesListByGallerySample.js +11 -4
  246. package/dist-esm/samples-dev/galleryImagesListByGallerySample.js.map +1 -1
  247. package/dist-esm/samples-dev/galleryImagesUpdateSample.js +11 -4
  248. package/dist-esm/samples-dev/galleryImagesUpdateSample.js.map +1 -1
  249. package/dist-esm/samples-dev/gallerySharingProfileUpdateSample.js +19 -12
  250. package/dist-esm/samples-dev/gallerySharingProfileUpdateSample.js.map +1 -1
  251. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +47 -40
  252. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js.map +1 -1
  253. package/dist-esm/samples-dev/imagesDeleteSample.js +15 -8
  254. package/dist-esm/samples-dev/imagesDeleteSample.js.map +1 -1
  255. package/dist-esm/samples-dev/imagesGetSample.js +11 -4
  256. package/dist-esm/samples-dev/imagesGetSample.js.map +1 -1
  257. package/dist-esm/samples-dev/imagesListByResourceGroupSample.js +11 -4
  258. package/dist-esm/samples-dev/imagesListByResourceGroupSample.js.map +1 -1
  259. package/dist-esm/samples-dev/imagesListSample.js +10 -3
  260. package/dist-esm/samples-dev/imagesListSample.js.map +1 -1
  261. package/dist-esm/samples-dev/imagesUpdateSample.js +11 -4
  262. package/dist-esm/samples-dev/imagesUpdateSample.js.map +1 -1
  263. package/dist-esm/samples-dev/logAnalyticsExportRequestRateByIntervalSample.js +10 -3
  264. package/dist-esm/samples-dev/logAnalyticsExportRequestRateByIntervalSample.js.map +1 -1
  265. package/dist-esm/samples-dev/logAnalyticsExportThrottledRequestsSample.js +10 -3
  266. package/dist-esm/samples-dev/logAnalyticsExportThrottledRequestsSample.js.map +1 -1
  267. package/dist-esm/samples-dev/operationsListSample.js +15 -6
  268. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  269. package/dist-esm/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.js +11 -4
  270. package/dist-esm/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.js.map +1 -1
  271. package/dist-esm/samples-dev/proximityPlacementGroupsDeleteSample.js +11 -4
  272. package/dist-esm/samples-dev/proximityPlacementGroupsDeleteSample.js.map +1 -1
  273. package/dist-esm/samples-dev/proximityPlacementGroupsGetSample.js +11 -4
  274. package/dist-esm/samples-dev/proximityPlacementGroupsGetSample.js.map +1 -1
  275. package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js +11 -4
  276. package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js.map +1 -1
  277. package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js +10 -3
  278. package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js.map +1 -1
  279. package/dist-esm/samples-dev/proximityPlacementGroupsUpdateSample.js +11 -4
  280. package/dist-esm/samples-dev/proximityPlacementGroupsUpdateSample.js.map +1 -1
  281. package/dist-esm/samples-dev/resourceSkusListSample.js +13 -6
  282. package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
  283. package/dist-esm/samples-dev/restorePointCollectionsCreateOrUpdateSample.js +15 -8
  284. package/dist-esm/samples-dev/restorePointCollectionsCreateOrUpdateSample.js.map +1 -1
  285. package/dist-esm/samples-dev/restorePointCollectionsDeleteSample.js +15 -8
  286. package/dist-esm/samples-dev/restorePointCollectionsDeleteSample.js.map +1 -1
  287. package/dist-esm/samples-dev/restorePointCollectionsGetSample.js +15 -8
  288. package/dist-esm/samples-dev/restorePointCollectionsGetSample.js.map +1 -1
  289. package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js +10 -3
  290. package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js.map +1 -1
  291. package/dist-esm/samples-dev/restorePointCollectionsListSample.js +11 -4
  292. package/dist-esm/samples-dev/restorePointCollectionsListSample.js.map +1 -1
  293. package/dist-esm/samples-dev/restorePointCollectionsUpdateSample.js +15 -8
  294. package/dist-esm/samples-dev/restorePointCollectionsUpdateSample.js.map +1 -1
  295. package/dist-esm/samples-dev/restorePointsCreateSample.js +15 -8
  296. package/dist-esm/samples-dev/restorePointsCreateSample.js.map +1 -1
  297. package/dist-esm/samples-dev/restorePointsDeleteSample.js +15 -8
  298. package/dist-esm/samples-dev/restorePointsDeleteSample.js.map +1 -1
  299. package/dist-esm/samples-dev/restorePointsGetSample.js +15 -8
  300. package/dist-esm/samples-dev/restorePointsGetSample.js.map +1 -1
  301. package/dist-esm/samples-dev/sharedGalleriesGetSample.js +10 -3
  302. package/dist-esm/samples-dev/sharedGalleriesGetSample.js.map +1 -1
  303. package/dist-esm/samples-dev/sharedGalleriesListSample.js +10 -3
  304. package/dist-esm/samples-dev/sharedGalleriesListSample.js.map +1 -1
  305. package/dist-esm/samples-dev/sharedGalleryImageVersionsGetSample.js +10 -3
  306. package/dist-esm/samples-dev/sharedGalleryImageVersionsGetSample.js.map +1 -1
  307. package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js +10 -3
  308. package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js.map +1 -1
  309. package/dist-esm/samples-dev/sharedGalleryImagesGetSample.js +10 -3
  310. package/dist-esm/samples-dev/sharedGalleryImagesGetSample.js.map +1 -1
  311. package/dist-esm/samples-dev/sharedGalleryImagesListSample.js +10 -3
  312. package/dist-esm/samples-dev/sharedGalleryImagesListSample.js.map +1 -1
  313. package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js +19 -12
  314. package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js.map +1 -1
  315. package/dist-esm/samples-dev/snapshotsDeleteSample.js +10 -3
  316. package/dist-esm/samples-dev/snapshotsDeleteSample.js.map +1 -1
  317. package/dist-esm/samples-dev/snapshotsGetSample.js +13 -6
  318. package/dist-esm/samples-dev/snapshotsGetSample.js.map +1 -1
  319. package/dist-esm/samples-dev/snapshotsGrantAccessSample.js +10 -3
  320. package/dist-esm/samples-dev/snapshotsGrantAccessSample.js.map +1 -1
  321. package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js +10 -3
  322. package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js.map +1 -1
  323. package/dist-esm/samples-dev/snapshotsListSample.js +9 -2
  324. package/dist-esm/samples-dev/snapshotsListSample.js.map +1 -1
  325. package/dist-esm/samples-dev/snapshotsRevokeAccessSample.js +10 -3
  326. package/dist-esm/samples-dev/snapshotsRevokeAccessSample.js.map +1 -1
  327. package/dist-esm/samples-dev/snapshotsUpdateSample.js +13 -6
  328. package/dist-esm/samples-dev/snapshotsUpdateSample.js.map +1 -1
  329. package/dist-esm/samples-dev/sshPublicKeysCreateSample.js +11 -4
  330. package/dist-esm/samples-dev/sshPublicKeysCreateSample.js.map +1 -1
  331. package/dist-esm/samples-dev/sshPublicKeysDeleteSample.js +15 -8
  332. package/dist-esm/samples-dev/sshPublicKeysDeleteSample.js.map +1 -1
  333. package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js +11 -4
  334. package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js.map +1 -1
  335. package/dist-esm/samples-dev/sshPublicKeysGetSample.js +11 -4
  336. package/dist-esm/samples-dev/sshPublicKeysGetSample.js.map +1 -1
  337. package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js +15 -8
  338. package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js.map +1 -1
  339. package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js +13 -6
  340. package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js.map +1 -1
  341. package/dist-esm/samples-dev/sshPublicKeysUpdateSample.js +15 -8
  342. package/dist-esm/samples-dev/sshPublicKeysUpdateSample.js.map +1 -1
  343. package/dist-esm/samples-dev/usageListSample.js +13 -6
  344. package/dist-esm/samples-dev/usageListSample.js.map +1 -1
  345. package/dist-esm/samples-dev/virtualMachineExtensionImagesGetSample.js +13 -6
  346. package/dist-esm/samples-dev/virtualMachineExtensionImagesGetSample.js.map +1 -1
  347. package/dist-esm/samples-dev/virtualMachineExtensionImagesListTypesSample.js +13 -6
  348. package/dist-esm/samples-dev/virtualMachineExtensionImagesListTypesSample.js.map +1 -1
  349. package/dist-esm/samples-dev/virtualMachineExtensionImagesListVersionsSample.js +13 -6
  350. package/dist-esm/samples-dev/virtualMachineExtensionImagesListVersionsSample.js.map +1 -1
  351. package/dist-esm/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.js +15 -8
  352. package/dist-esm/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.js.map +1 -1
  353. package/dist-esm/samples-dev/virtualMachineExtensionsDeleteSample.js +15 -8
  354. package/dist-esm/samples-dev/virtualMachineExtensionsDeleteSample.js.map +1 -1
  355. package/dist-esm/samples-dev/virtualMachineExtensionsGetSample.js +15 -8
  356. package/dist-esm/samples-dev/virtualMachineExtensionsGetSample.js.map +1 -1
  357. package/dist-esm/samples-dev/virtualMachineExtensionsListSample.js +15 -8
  358. package/dist-esm/samples-dev/virtualMachineExtensionsListSample.js.map +1 -1
  359. package/dist-esm/samples-dev/virtualMachineExtensionsUpdateSample.js +11 -4
  360. package/dist-esm/samples-dev/virtualMachineExtensionsUpdateSample.js.map +1 -1
  361. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneGetSample.js +13 -6
  362. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneGetSample.js.map +1 -1
  363. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.js +13 -6
  364. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.js.map +1 -1
  365. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.js +13 -6
  366. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.js.map +1 -1
  367. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSample.js +13 -6
  368. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSample.js.map +1 -1
  369. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.js +13 -6
  370. package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.js.map +1 -1
  371. package/dist-esm/samples-dev/virtualMachineImagesGetSample.js +13 -6
  372. package/dist-esm/samples-dev/virtualMachineImagesGetSample.js.map +1 -1
  373. package/dist-esm/samples-dev/virtualMachineImagesListByEdgeZoneSample.js +15 -6
  374. package/dist-esm/samples-dev/virtualMachineImagesListByEdgeZoneSample.js.map +1 -1
  375. package/dist-esm/samples-dev/virtualMachineImagesListOffersSample.js +13 -6
  376. package/dist-esm/samples-dev/virtualMachineImagesListOffersSample.js.map +1 -1
  377. package/dist-esm/samples-dev/virtualMachineImagesListPublishersSample.js +13 -6
  378. package/dist-esm/samples-dev/virtualMachineImagesListPublishersSample.js.map +1 -1
  379. package/dist-esm/samples-dev/virtualMachineImagesListSample.js +13 -6
  380. package/dist-esm/samples-dev/virtualMachineImagesListSample.js.map +1 -1
  381. package/dist-esm/samples-dev/virtualMachineImagesListSkusSample.js +13 -6
  382. package/dist-esm/samples-dev/virtualMachineImagesListSkusSample.js.map +1 -1
  383. package/dist-esm/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.js +11 -4
  384. package/dist-esm/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.js.map +1 -1
  385. package/dist-esm/samples-dev/virtualMachineRunCommandsDeleteSample.js +11 -4
  386. package/dist-esm/samples-dev/virtualMachineRunCommandsDeleteSample.js.map +1 -1
  387. package/dist-esm/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.js +11 -4
  388. package/dist-esm/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.js.map +1 -1
  389. package/dist-esm/samples-dev/virtualMachineRunCommandsGetSample.js +11 -3
  390. package/dist-esm/samples-dev/virtualMachineRunCommandsGetSample.js.map +1 -1
  391. package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js +11 -4
  392. package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js.map +1 -1
  393. package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js +10 -3
  394. package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js.map +1 -1
  395. package/dist-esm/samples-dev/virtualMachineRunCommandsUpdateSample.js +11 -4
  396. package/dist-esm/samples-dev/virtualMachineRunCommandsUpdateSample.js.map +1 -1
  397. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js +15 -8
  398. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js.map +1 -1
  399. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.js +15 -8
  400. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.js.map +1 -1
  401. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsGetSample.js +15 -8
  402. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsGetSample.js.map +1 -1
  403. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js +15 -8
  404. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js.map +1 -1
  405. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.js +15 -8
  406. package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.js.map +1 -1
  407. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.js +15 -8
  408. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.js.map +1 -1
  409. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.js +15 -8
  410. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.js.map +1 -1
  411. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js +11 -4
  412. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js.map +1 -1
  413. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js +15 -8
  414. package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js.map +1 -1
  415. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js +11 -4
  416. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js.map +1 -1
  417. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.js +11 -4
  418. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.js.map +1 -1
  419. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.js +11 -4
  420. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.js.map +1 -1
  421. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsListSample.js +11 -4
  422. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsListSample.js.map +1 -1
  423. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.js +11 -4
  424. package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.js.map +1 -1
  425. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js +11 -4
  426. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js.map +1 -1
  427. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.js +11 -4
  428. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.js.map +1 -1
  429. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.js +11 -4
  430. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.js.map +1 -1
  431. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js +11 -4
  432. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js.map +1 -1
  433. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.js +11 -4
  434. package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.js.map +1 -1
  435. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeallocateSample.js +15 -8
  436. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeallocateSample.js.map +1 -1
  437. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeleteSample.js +11 -4
  438. package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeleteSample.js.map +1 -1
  439. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.js +11 -4
  440. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.js.map +1 -1
  441. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetSample.js +15 -8
  442. package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetSample.js.map +1 -1
  443. package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js +15 -8
  444. package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js.map +1 -1
  445. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.js +15 -8
  446. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.js.map +1 -1
  447. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPowerOffSample.js +15 -8
  448. package/dist-esm/samples-dev/virtualMachineScaleSetVMSPowerOffSample.js.map +1 -1
  449. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRedeploySample.js +15 -8
  450. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRedeploySample.js.map +1 -1
  451. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageAllSample.js +15 -8
  452. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageAllSample.js.map +1 -1
  453. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageSample.js +15 -8
  454. package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageSample.js.map +1 -1
  455. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRestartSample.js +15 -8
  456. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRestartSample.js.map +1 -1
  457. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js +11 -4
  458. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js.map +1 -1
  459. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRunCommandSample.js +11 -4
  460. package/dist-esm/samples-dev/virtualMachineScaleSetVMSRunCommandSample.js.map +1 -1
  461. package/dist-esm/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.js +11 -4
  462. package/dist-esm/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.js.map +1 -1
  463. package/dist-esm/samples-dev/virtualMachineScaleSetVMSStartSample.js +15 -8
  464. package/dist-esm/samples-dev/virtualMachineScaleSetVMSStartSample.js.map +1 -1
  465. package/dist-esm/samples-dev/virtualMachineScaleSetVMSUpdateSample.js +15 -8
  466. package/dist-esm/samples-dev/virtualMachineScaleSetVMSUpdateSample.js.map +1 -1
  467. package/dist-esm/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js +15 -8
  468. package/dist-esm/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js.map +1 -1
  469. package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js +282 -144
  470. package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js.map +1 -1
  471. package/dist-esm/samples-dev/virtualMachineScaleSetsDeallocateSample.js +15 -8
  472. package/dist-esm/samples-dev/virtualMachineScaleSetsDeallocateSample.js.map +1 -1
  473. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.js +15 -8
  474. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.js.map +1 -1
  475. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteSample.js +11 -4
  476. package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteSample.js.map +1 -1
  477. package/dist-esm/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js +15 -8
  478. package/dist-esm/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js.map +1 -1
  479. package/dist-esm/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.js +15 -8
  480. package/dist-esm/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.js.map +1 -1
  481. package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js +15 -8
  482. package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js.map +1 -1
  483. package/dist-esm/samples-dev/virtualMachineScaleSetsGetSample.js +23 -16
  484. package/dist-esm/samples-dev/virtualMachineScaleSetsGetSample.js.map +1 -1
  485. package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js +13 -6
  486. package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js.map +1 -1
  487. package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js +10 -3
  488. package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js.map +1 -1
  489. package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js +15 -8
  490. package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js.map +1 -1
  491. package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js +15 -8
  492. package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js.map +1 -1
  493. package/dist-esm/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.js +15 -8
  494. package/dist-esm/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.js.map +1 -1
  495. package/dist-esm/samples-dev/virtualMachineScaleSetsPowerOffSample.js +15 -8
  496. package/dist-esm/samples-dev/virtualMachineScaleSetsPowerOffSample.js.map +1 -1
  497. package/dist-esm/samples-dev/virtualMachineScaleSetsRedeploySample.js +15 -8
  498. package/dist-esm/samples-dev/virtualMachineScaleSetsRedeploySample.js.map +1 -1
  499. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageAllSample.js +15 -8
  500. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageAllSample.js.map +1 -1
  501. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageSample.js +15 -8
  502. package/dist-esm/samples-dev/virtualMachineScaleSetsReimageSample.js.map +1 -1
  503. package/dist-esm/samples-dev/virtualMachineScaleSetsRestartSample.js +15 -8
  504. package/dist-esm/samples-dev/virtualMachineScaleSetsRestartSample.js.map +1 -1
  505. package/dist-esm/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js +15 -8
  506. package/dist-esm/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js.map +1 -1
  507. package/dist-esm/samples-dev/virtualMachineScaleSetsStartSample.js +15 -8
  508. package/dist-esm/samples-dev/virtualMachineScaleSetsStartSample.js.map +1 -1
  509. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.js +15 -8
  510. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.js.map +1 -1
  511. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js +18 -9
  512. package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js.map +1 -1
  513. package/dist-esm/samples-dev/virtualMachineSizesListSample.js +13 -6
  514. package/dist-esm/samples-dev/virtualMachineSizesListSample.js.map +1 -1
  515. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +11 -4
  516. package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js.map +1 -1
  517. package/dist-esm/samples-dev/virtualMachinesCaptureSample.js +15 -8
  518. package/dist-esm/samples-dev/virtualMachinesCaptureSample.js.map +1 -1
  519. package/dist-esm/samples-dev/virtualMachinesConvertToManagedDisksSample.js +15 -8
  520. package/dist-esm/samples-dev/virtualMachinesConvertToManagedDisksSample.js.map +1 -1
  521. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +180 -172
  522. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +1 -1
  523. package/dist-esm/samples-dev/virtualMachinesDeallocateSample.js +15 -8
  524. package/dist-esm/samples-dev/virtualMachinesDeallocateSample.js.map +1 -1
  525. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +11 -4
  526. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +1 -1
  527. package/dist-esm/samples-dev/virtualMachinesGeneralizeSample.js +11 -4
  528. package/dist-esm/samples-dev/virtualMachinesGeneralizeSample.js.map +1 -1
  529. package/dist-esm/samples-dev/virtualMachinesGetSample.js +23 -16
  530. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +1 -1
  531. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +11 -4
  532. package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js.map +1 -1
  533. package/dist-esm/samples-dev/virtualMachinesInstanceViewSample.js +15 -8
  534. package/dist-esm/samples-dev/virtualMachinesInstanceViewSample.js.map +1 -1
  535. package/dist-esm/samples-dev/virtualMachinesListAllSample.js +13 -6
  536. package/dist-esm/samples-dev/virtualMachinesListAllSample.js.map +1 -1
  537. package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js +11 -4
  538. package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js.map +1 -1
  539. package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js +10 -3
  540. package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js.map +1 -1
  541. package/dist-esm/samples-dev/virtualMachinesListSample.js +15 -8
  542. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
  543. package/dist-esm/samples-dev/virtualMachinesPerformMaintenanceSample.js +15 -8
  544. package/dist-esm/samples-dev/virtualMachinesPerformMaintenanceSample.js.map +1 -1
  545. package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js +15 -8
  546. package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js.map +1 -1
  547. package/dist-esm/samples-dev/virtualMachinesReapplySample.js +11 -4
  548. package/dist-esm/samples-dev/virtualMachinesReapplySample.js.map +1 -1
  549. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +15 -8
  550. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js.map +1 -1
  551. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +40 -6
  552. package/dist-esm/samples-dev/virtualMachinesReimageSample.js.map +1 -1
  553. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +15 -8
  554. package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +1 -1
  555. package/dist-esm/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.js +11 -4
  556. package/dist-esm/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.js.map +1 -1
  557. package/dist-esm/samples-dev/virtualMachinesRunCommandSample.js +12 -4
  558. package/dist-esm/samples-dev/virtualMachinesRunCommandSample.js.map +1 -1
  559. package/dist-esm/samples-dev/virtualMachinesSimulateEvictionSample.js +11 -4
  560. package/dist-esm/samples-dev/virtualMachinesSimulateEvictionSample.js.map +1 -1
  561. package/dist-esm/samples-dev/virtualMachinesStartSample.js +15 -8
  562. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +1 -1
  563. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +15 -8
  564. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +1 -1
  565. package/dist-esm/src/computeManagementClient.d.ts.map +1 -1
  566. package/dist-esm/src/computeManagementClient.js +4 -7
  567. package/dist-esm/src/computeManagementClient.js.map +1 -1
  568. package/dist-esm/src/index.d.ts +1 -0
  569. package/dist-esm/src/index.d.ts.map +1 -1
  570. package/dist-esm/src/index.js +1 -0
  571. package/dist-esm/src/index.js.map +1 -1
  572. package/dist-esm/src/models/index.d.ts +217 -44
  573. package/dist-esm/src/models/index.d.ts.map +1 -1
  574. package/dist-esm/src/models/index.js +32 -0
  575. package/dist-esm/src/models/index.js.map +1 -1
  576. package/dist-esm/src/models/mappers.d.ts +16 -2
  577. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  578. package/dist-esm/src/models/mappers.js +452 -16
  579. package/dist-esm/src/models/mappers.js.map +1 -1
  580. package/dist-esm/src/models/parameters.js +3 -3
  581. package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
  582. package/dist-esm/src/operations/availabilitySets.js +45 -20
  583. package/dist-esm/src/operations/availabilitySets.js.map +1 -1
  584. package/dist-esm/src/operations/capacityReservationGroups.d.ts.map +1 -1
  585. package/dist-esm/src/operations/capacityReservationGroups.js +37 -16
  586. package/dist-esm/src/operations/capacityReservationGroups.js.map +1 -1
  587. package/dist-esm/src/operations/capacityReservations.d.ts.map +1 -1
  588. package/dist-esm/src/operations/capacityReservations.js +19 -8
  589. package/dist-esm/src/operations/capacityReservations.js.map +1 -1
  590. package/dist-esm/src/operations/cloudServiceOperatingSystems.d.ts.map +1 -1
  591. package/dist-esm/src/operations/cloudServiceOperatingSystems.js +37 -16
  592. package/dist-esm/src/operations/cloudServiceOperatingSystems.js.map +1 -1
  593. package/dist-esm/src/operations/cloudServiceRoleInstances.d.ts.map +1 -1
  594. package/dist-esm/src/operations/cloudServiceRoleInstances.js +19 -8
  595. package/dist-esm/src/operations/cloudServiceRoleInstances.js.map +1 -1
  596. package/dist-esm/src/operations/cloudServiceRoles.d.ts.map +1 -1
  597. package/dist-esm/src/operations/cloudServiceRoles.js +19 -8
  598. package/dist-esm/src/operations/cloudServiceRoles.js.map +1 -1
  599. package/dist-esm/src/operations/cloudServices.d.ts.map +1 -1
  600. package/dist-esm/src/operations/cloudServices.js +37 -16
  601. package/dist-esm/src/operations/cloudServices.js.map +1 -1
  602. package/dist-esm/src/operations/cloudServicesUpdateDomain.d.ts.map +1 -1
  603. package/dist-esm/src/operations/cloudServicesUpdateDomain.js +19 -8
  604. package/dist-esm/src/operations/cloudServicesUpdateDomain.js.map +1 -1
  605. package/dist-esm/src/operations/communityGalleryImageVersions.d.ts.map +1 -1
  606. package/dist-esm/src/operations/communityGalleryImageVersions.js +19 -8
  607. package/dist-esm/src/operations/communityGalleryImageVersions.js.map +1 -1
  608. package/dist-esm/src/operations/communityGalleryImages.d.ts.map +1 -1
  609. package/dist-esm/src/operations/communityGalleryImages.js +19 -8
  610. package/dist-esm/src/operations/communityGalleryImages.js.map +1 -1
  611. package/dist-esm/src/operations/dedicatedHostGroups.d.ts.map +1 -1
  612. package/dist-esm/src/operations/dedicatedHostGroups.js +37 -16
  613. package/dist-esm/src/operations/dedicatedHostGroups.js.map +1 -1
  614. package/dist-esm/src/operations/dedicatedHosts.d.ts.map +1 -1
  615. package/dist-esm/src/operations/dedicatedHosts.js +19 -8
  616. package/dist-esm/src/operations/dedicatedHosts.js.map +1 -1
  617. package/dist-esm/src/operations/diskAccesses.d.ts.map +1 -1
  618. package/dist-esm/src/operations/diskAccesses.js +55 -24
  619. package/dist-esm/src/operations/diskAccesses.js.map +1 -1
  620. package/dist-esm/src/operations/diskEncryptionSets.d.ts.map +1 -1
  621. package/dist-esm/src/operations/diskEncryptionSets.js +55 -24
  622. package/dist-esm/src/operations/diskEncryptionSets.js.map +1 -1
  623. package/dist-esm/src/operations/diskRestorePointOperations.d.ts.map +1 -1
  624. package/dist-esm/src/operations/diskRestorePointOperations.js +19 -8
  625. package/dist-esm/src/operations/diskRestorePointOperations.js.map +1 -1
  626. package/dist-esm/src/operations/disks.d.ts.map +1 -1
  627. package/dist-esm/src/operations/disks.js +37 -16
  628. package/dist-esm/src/operations/disks.js.map +1 -1
  629. package/dist-esm/src/operations/galleries.d.ts.map +1 -1
  630. package/dist-esm/src/operations/galleries.js +37 -16
  631. package/dist-esm/src/operations/galleries.js.map +1 -1
  632. package/dist-esm/src/operations/galleryApplicationVersions.d.ts.map +1 -1
  633. package/dist-esm/src/operations/galleryApplicationVersions.js +19 -8
  634. package/dist-esm/src/operations/galleryApplicationVersions.js.map +1 -1
  635. package/dist-esm/src/operations/galleryApplications.d.ts.map +1 -1
  636. package/dist-esm/src/operations/galleryApplications.js +19 -8
  637. package/dist-esm/src/operations/galleryApplications.js.map +1 -1
  638. package/dist-esm/src/operations/galleryImageVersions.d.ts.map +1 -1
  639. package/dist-esm/src/operations/galleryImageVersions.js +19 -8
  640. package/dist-esm/src/operations/galleryImageVersions.js.map +1 -1
  641. package/dist-esm/src/operations/galleryImages.d.ts.map +1 -1
  642. package/dist-esm/src/operations/galleryImages.js +19 -8
  643. package/dist-esm/src/operations/galleryImages.js.map +1 -1
  644. package/dist-esm/src/operations/images.d.ts.map +1 -1
  645. package/dist-esm/src/operations/images.js +37 -16
  646. package/dist-esm/src/operations/images.js.map +1 -1
  647. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  648. package/dist-esm/src/operations/operations.js +8 -4
  649. package/dist-esm/src/operations/operations.js.map +1 -1
  650. package/dist-esm/src/operations/proximityPlacementGroups.d.ts.map +1 -1
  651. package/dist-esm/src/operations/proximityPlacementGroups.js +37 -16
  652. package/dist-esm/src/operations/proximityPlacementGroups.js.map +1 -1
  653. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
  654. package/dist-esm/src/operations/resourceSkus.js +19 -12
  655. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  656. package/dist-esm/src/operations/restorePointCollections.d.ts.map +1 -1
  657. package/dist-esm/src/operations/restorePointCollections.js +37 -16
  658. package/dist-esm/src/operations/restorePointCollections.js.map +1 -1
  659. package/dist-esm/src/operations/sharedGalleries.d.ts.map +1 -1
  660. package/dist-esm/src/operations/sharedGalleries.js +19 -8
  661. package/dist-esm/src/operations/sharedGalleries.js.map +1 -1
  662. package/dist-esm/src/operations/sharedGalleryImageVersions.d.ts.map +1 -1
  663. package/dist-esm/src/operations/sharedGalleryImageVersions.js +19 -8
  664. package/dist-esm/src/operations/sharedGalleryImageVersions.js.map +1 -1
  665. package/dist-esm/src/operations/sharedGalleryImages.d.ts.map +1 -1
  666. package/dist-esm/src/operations/sharedGalleryImages.js +19 -8
  667. package/dist-esm/src/operations/sharedGalleryImages.js.map +1 -1
  668. package/dist-esm/src/operations/snapshots.d.ts.map +1 -1
  669. package/dist-esm/src/operations/snapshots.js +37 -16
  670. package/dist-esm/src/operations/snapshots.js.map +1 -1
  671. package/dist-esm/src/operations/sshPublicKeys.d.ts.map +1 -1
  672. package/dist-esm/src/operations/sshPublicKeys.js +37 -16
  673. package/dist-esm/src/operations/sshPublicKeys.js.map +1 -1
  674. package/dist-esm/src/operations/usageOperations.d.ts.map +1 -1
  675. package/dist-esm/src/operations/usageOperations.js +19 -8
  676. package/dist-esm/src/operations/usageOperations.js.map +1 -1
  677. package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts +2 -2
  678. package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts.map +1 -1
  679. package/dist-esm/src/operations/virtualMachineExtensionImages.js +3 -3
  680. package/dist-esm/src/operations/virtualMachineExtensionImages.js.map +1 -1
  681. package/dist-esm/src/operations/virtualMachineRunCommands.d.ts.map +1 -1
  682. package/dist-esm/src/operations/virtualMachineRunCommands.js +37 -16
  683. package/dist-esm/src/operations/virtualMachineRunCommands.js.map +1 -1
  684. package/dist-esm/src/operations/virtualMachineScaleSetExtensions.d.ts.map +1 -1
  685. package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js +19 -8
  686. package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js.map +1 -1
  687. package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.d.ts.map +1 -1
  688. package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js +19 -8
  689. package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js.map +1 -1
  690. package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts.map +1 -1
  691. package/dist-esm/src/operations/virtualMachineScaleSetVMs.js +19 -13
  692. package/dist-esm/src/operations/virtualMachineScaleSetVMs.js.map +1 -1
  693. package/dist-esm/src/operations/virtualMachineScaleSets.d.ts.map +1 -1
  694. package/dist-esm/src/operations/virtualMachineScaleSets.js +91 -40
  695. package/dist-esm/src/operations/virtualMachineScaleSets.js.map +1 -1
  696. package/dist-esm/src/operations/virtualMachineSizes.d.ts.map +1 -1
  697. package/dist-esm/src/operations/virtualMachineSizes.js +8 -4
  698. package/dist-esm/src/operations/virtualMachineSizes.js.map +1 -1
  699. package/dist-esm/src/operations/virtualMachines.d.ts +12 -2
  700. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  701. package/dist-esm/src/operations/virtualMachines.js +75 -34
  702. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  703. package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.d.ts +2 -2
  704. package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.d.ts.map +1 -1
  705. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +12 -2
  706. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  707. package/dist-esm/src/pagingHelper.d.ts +13 -0
  708. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  709. package/dist-esm/src/pagingHelper.js +32 -0
  710. package/dist-esm/src/pagingHelper.js.map +1 -0
  711. package/dist-esm/test/compute_examples.js +3 -1
  712. package/dist-esm/test/compute_examples.js.map +1 -1
  713. package/package.json +8 -6
  714. package/review/arm-compute.api.md +150 -25
  715. package/src/computeManagementClient.ts +5 -6
  716. package/src/index.ts +1 -0
  717. package/src/models/index.ts +255 -70
  718. package/src/models/mappers.ts +490 -16
  719. package/src/models/parameters.ts +3 -3
  720. package/src/operations/availabilitySets.ts +53 -24
  721. package/src/operations/capacityReservationGroups.ts +46 -19
  722. package/src/operations/capacityReservations.ts +27 -14
  723. package/src/operations/cloudServiceOperatingSystems.ts +42 -19
  724. package/src/operations/cloudServiceRoleInstances.ts +23 -10
  725. package/src/operations/cloudServiceRoles.ts +23 -10
  726. package/src/operations/cloudServices.ts +42 -19
  727. package/src/operations/cloudServicesUpdateDomain.ts +27 -14
  728. package/src/operations/communityGalleryImageVersions.ts +28 -15
  729. package/src/operations/communityGalleryImages.ts +27 -10
  730. package/src/operations/dedicatedHostGroups.ts +46 -19
  731. package/src/operations/dedicatedHosts.ts +27 -14
  732. package/src/operations/diskAccesses.ts +71 -32
  733. package/src/operations/diskEncryptionSets.ts +71 -32
  734. package/src/operations/diskRestorePointOperations.ts +28 -15
  735. package/src/operations/disks.ts +46 -19
  736. package/src/operations/galleries.ts +46 -19
  737. package/src/operations/galleryApplicationVersions.ts +28 -15
  738. package/src/operations/galleryApplications.ts +27 -14
  739. package/src/operations/galleryImageVersions.ts +28 -15
  740. package/src/operations/galleryImages.ts +27 -14
  741. package/src/operations/images.ts +46 -19
  742. package/src/operations/operations.ts +10 -5
  743. package/src/operations/proximityPlacementGroups.ts +46 -19
  744. package/src/operations/resourceSkus.ts +21 -13
  745. package/src/operations/restorePointCollections.ts +42 -19
  746. package/src/operations/sharedGalleries.ts +21 -9
  747. package/src/operations/sharedGalleryImageVersions.ts +27 -14
  748. package/src/operations/sharedGalleryImages.ts +26 -9
  749. package/src/operations/snapshots.ts +46 -19
  750. package/src/operations/sshPublicKeys.ts +45 -18
  751. package/src/operations/usageOperations.ts +21 -9
  752. package/src/operations/virtualMachineExtensionImages.ts +3 -3
  753. package/src/operations/virtualMachineRunCommands.ts +47 -23
  754. package/src/operations/virtualMachineScaleSetExtensions.ts +27 -10
  755. package/src/operations/virtualMachineScaleSetVMRunCommands.ts +28 -15
  756. package/src/operations/virtualMachineScaleSetVMs.ts +27 -19
  757. package/src/operations/virtualMachineScaleSets.ts +108 -54
  758. package/src/operations/virtualMachineSizes.ts +10 -5
  759. package/src/operations/virtualMachines.ts +85 -43
  760. package/src/operationsInterfaces/virtualMachineExtensionImages.ts +2 -2
  761. package/src/operationsInterfaces/virtualMachines.ts +12 -2
  762. package/src/pagingHelper.ts +39 -0
  763. package/types/arm-compute.d.ts +261 -48
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { ComputeManagementClient } from "@azure/arm-compute";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
15
17
  *
16
18
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
17
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json
19
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json
18
20
  */
19
21
  function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "{subscription-id}";
22
- const resourceGroupName = "myResourceGroup";
23
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
24
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
23
25
  const vmName = "myVM";
24
26
  const parameters = {
25
27
  hardwareProfile: { vmSize: "Standard_D2s_v3" },
@@ -62,17 +64,16 @@ function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() {
62
64
  console.log(result);
63
65
  });
64
66
  }
65
- createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error);
66
67
  /**
67
68
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
68
69
  *
69
70
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
70
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json
71
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json
71
72
  */
72
73
  function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() {
73
74
  return __awaiter(this, void 0, void 0, function* () {
74
- const subscriptionId = "{subscription-id}";
75
- const resourceGroupName = "myResourceGroup";
75
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
76
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
76
77
  const vmName = "myVM";
77
78
  const parameters = {
78
79
  hardwareProfile: { vmSize: "Standard_D2s_v3" },
@@ -119,17 +120,16 @@ function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomat
119
120
  console.log(result);
120
121
  });
121
122
  }
122
- createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch(console.error);
123
123
  /**
124
124
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
125
125
  *
126
126
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
127
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json
127
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json
128
128
  */
129
129
  function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() {
130
130
  return __awaiter(this, void 0, void 0, function* () {
131
- const subscriptionId = "{subscription-id}";
132
- const resourceGroupName = "myResourceGroup";
131
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
132
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
133
133
  const vmName = "myVM";
134
134
  const parameters = {
135
135
  hardwareProfile: { vmSize: "Standard_D2s_v3" },
@@ -172,17 +172,16 @@ function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() {
172
172
  console.log(result);
173
173
  });
174
174
  }
175
- createALinuxVMWithAPatchSettingPatchModeOfImageDefault().catch(console.error);
176
175
  /**
177
176
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
178
177
  *
179
178
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
180
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json
179
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json
181
180
  */
182
181
  function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() {
183
182
  return __awaiter(this, void 0, void 0, function* () {
184
- const subscriptionId = "{subscription-id}";
185
- const resourceGroupName = "myResourceGroup";
183
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
184
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
186
185
  const vmName = "myVM";
187
186
  const parameters = {
188
187
  hardwareProfile: { vmSize: "Standard_D2s_v3" },
@@ -228,17 +227,16 @@ function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomati
228
227
  console.log(result);
229
228
  });
230
229
  }
231
- createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch(console.error);
232
230
  /**
233
231
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
234
232
  *
235
233
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
236
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json
234
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json
237
235
  */
238
236
  function createAVMFromACommunityGalleryImage() {
239
237
  return __awaiter(this, void 0, void 0, function* () {
240
- const subscriptionId = "{subscription-id}";
241
- const resourceGroupName = "myResourceGroup";
238
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
239
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
242
240
  const vmName = "myVM";
243
241
  const parameters = {
244
242
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -274,17 +272,16 @@ function createAVMFromACommunityGalleryImage() {
274
272
  console.log(result);
275
273
  });
276
274
  }
277
- createAVMFromACommunityGalleryImage().catch(console.error);
278
275
  /**
279
276
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
280
277
  *
281
278
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
282
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json
279
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json
283
280
  */
284
281
  function createAVMFromASharedGalleryImage() {
285
282
  return __awaiter(this, void 0, void 0, function* () {
286
- const subscriptionId = "{subscription-id}";
287
- const resourceGroupName = "myResourceGroup";
283
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
284
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
288
285
  const vmName = "myVM";
289
286
  const parameters = {
290
287
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -320,17 +317,16 @@ function createAVMFromASharedGalleryImage() {
320
317
  console.log(result);
321
318
  });
322
319
  }
323
- createAVMFromASharedGalleryImage().catch(console.error);
324
320
  /**
325
321
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
326
322
  *
327
323
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
328
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json
324
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json
329
325
  */
330
326
  function createAVMWithDiskControllerType() {
331
327
  return __awaiter(this, void 0, void 0, function* () {
332
- const subscriptionId = "{subscription-id}";
333
- const resourceGroupName = "myResourceGroup";
328
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
329
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
334
330
  const vmName = "myVM";
335
331
  const parameters = {
336
332
  diagnosticsProfile: {
@@ -377,17 +373,16 @@ function createAVMWithDiskControllerType() {
377
373
  console.log(result);
378
374
  });
379
375
  }
380
- createAVMWithDiskControllerType().catch(console.error);
381
376
  /**
382
377
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
383
378
  *
384
379
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
385
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json
380
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json
386
381
  */
387
382
  function createAVMWithHibernationEnabled() {
388
383
  return __awaiter(this, void 0, void 0, function* () {
389
- const subscriptionId = "{subscription-id}";
390
- const resourceGroupName = "myResourceGroup";
384
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
385
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
391
386
  const vmName = "{vm-name}";
392
387
  const parameters = {
393
388
  additionalCapabilities: { hibernationEnabled: true },
@@ -433,17 +428,16 @@ function createAVMWithHibernationEnabled() {
433
428
  console.log(result);
434
429
  });
435
430
  }
436
- createAVMWithHibernationEnabled().catch(console.error);
437
431
  /**
438
432
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
439
433
  *
440
434
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
441
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json
435
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json
442
436
  */
443
437
  function createAVMWithUefiSettingsOfSecureBootAndVTpm() {
444
438
  return __awaiter(this, void 0, void 0, function* () {
445
- const subscriptionId = "{subscription-id}";
446
- const resourceGroupName = "myResourceGroup";
439
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
440
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
447
441
  const vmName = "myVM";
448
442
  const parameters = {
449
443
  hardwareProfile: { vmSize: "Standard_D2s_v3" },
@@ -486,17 +480,16 @@ function createAVMWithUefiSettingsOfSecureBootAndVTpm() {
486
480
  console.log(result);
487
481
  });
488
482
  }
489
- createAVMWithUefiSettingsOfSecureBootAndVTpm().catch(console.error);
490
483
  /**
491
484
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
492
485
  *
493
486
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
494
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json
487
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json
495
488
  */
496
489
  function createAVMWithUserData() {
497
490
  return __awaiter(this, void 0, void 0, function* () {
498
- const subscriptionId = "{subscription-id}";
499
- const resourceGroupName = "myResourceGroup";
491
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
492
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
500
493
  const vmName = "{vm-name}";
501
494
  const parameters = {
502
495
  diagnosticsProfile: {
@@ -542,17 +535,16 @@ function createAVMWithUserData() {
542
535
  console.log(result);
543
536
  });
544
537
  }
545
- createAVMWithUserData().catch(console.error);
546
538
  /**
547
539
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
548
540
  *
549
541
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
550
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json
542
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json
551
543
  */
552
544
  function createAVMWithVMSizeProperties() {
553
545
  return __awaiter(this, void 0, void 0, function* () {
554
- const subscriptionId = "{subscription-id}";
555
- const resourceGroupName = "myResourceGroup";
546
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
547
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
556
548
  const vmName = "myVM";
557
549
  const parameters = {
558
550
  diagnosticsProfile: {
@@ -601,17 +593,16 @@ function createAVMWithVMSizeProperties() {
601
593
  console.log(result);
602
594
  });
603
595
  }
604
- createAVMWithVMSizeProperties().catch(console.error);
605
596
  /**
606
597
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
607
598
  *
608
599
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
609
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json
600
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json
610
601
  */
611
602
  function createAVMWithNetworkInterfaceConfiguration() {
612
603
  return __awaiter(this, void 0, void 0, function* () {
613
- const subscriptionId = "{subscription-id}";
614
- const resourceGroupName = "myResourceGroup";
604
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
605
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
615
606
  const vmName = "myVM";
616
607
  const parameters = {
617
608
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -664,17 +655,16 @@ function createAVMWithNetworkInterfaceConfiguration() {
664
655
  console.log(result);
665
656
  });
666
657
  }
667
- createAVMWithNetworkInterfaceConfiguration().catch(console.error);
668
658
  /**
669
659
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
670
660
  *
671
661
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
672
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json
662
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json
673
663
  */
674
664
  function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() {
675
665
  return __awaiter(this, void 0, void 0, function* () {
676
- const subscriptionId = "{subscription-id}";
677
- const resourceGroupName = "myResourceGroup";
666
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
667
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
678
668
  const vmName = "myVM";
679
669
  const parameters = {
680
670
  hardwareProfile: { vmSize: "Standard_DC2as_v5" },
@@ -725,17 +715,16 @@ function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() {
725
715
  console.log(result);
726
716
  });
727
717
  }
728
- createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys().catch(console.error);
729
718
  /**
730
719
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
731
720
  *
732
721
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
733
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json
722
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json
734
723
  */
735
724
  function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() {
736
725
  return __awaiter(this, void 0, void 0, function* () {
737
- const subscriptionId = "{subscription-id}";
738
- const resourceGroupName = "myResourceGroup";
726
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
727
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
739
728
  const vmName = "myVM";
740
729
  const parameters = {
741
730
  hardwareProfile: { vmSize: "Standard_DC2as_v5" },
@@ -781,17 +770,16 @@ function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() {
781
770
  console.log(result);
782
771
  });
783
772
  }
784
- createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys().catch(console.error);
785
773
  /**
786
774
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
787
775
  *
788
776
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
789
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json
777
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json
790
778
  */
791
779
  function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() {
792
780
  return __awaiter(this, void 0, void 0, function* () {
793
- const subscriptionId = "{subscription-id}";
794
- const resourceGroupName = "myResourceGroup";
781
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
782
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
795
783
  const vmName = "myVM";
796
784
  const parameters = {
797
785
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -835,17 +823,16 @@ function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() {
835
823
  console.log(result);
836
824
  });
837
825
  }
838
- createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error);
839
826
  /**
840
827
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
841
828
  *
842
829
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
843
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json
830
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json
844
831
  */
845
832
  function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() {
846
833
  return __awaiter(this, void 0, void 0, function* () {
847
- const subscriptionId = "{subscription-id}";
848
- const resourceGroupName = "myResourceGroup";
834
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
835
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
849
836
  const vmName = "myVM";
850
837
  const parameters = {
851
838
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -889,17 +876,16 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() {
889
876
  console.log(result);
890
877
  });
891
878
  }
892
- createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS().catch(console.error);
893
879
  /**
894
880
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
895
881
  *
896
882
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
897
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json
883
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json
898
884
  */
899
885
  function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() {
900
886
  return __awaiter(this, void 0, void 0, function* () {
901
- const subscriptionId = "{subscription-id}";
902
- const resourceGroupName = "myResourceGroup";
887
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
888
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
903
889
  const vmName = "myVM";
904
890
  const parameters = {
905
891
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -947,17 +933,16 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutom
947
933
  console.log(result);
948
934
  });
949
935
  }
950
- createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch(console.error);
951
936
  /**
952
937
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
953
938
  *
954
939
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
955
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json
940
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json
956
941
  */
957
942
  function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue() {
958
943
  return __awaiter(this, void 0, void 0, function* () {
959
- const subscriptionId = "{subscription-id}";
960
- const resourceGroupName = "myResourceGroup";
944
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
945
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
961
946
  const vmName = "myVM";
962
947
  const parameters = {
963
948
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1004,17 +989,16 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnabl
1004
989
  console.log(result);
1005
990
  });
1006
991
  }
1007
- createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue().catch(console.error);
1008
992
  /**
1009
993
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1010
994
  *
1011
995
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1012
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json
996
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json
1013
997
  */
1014
998
  function createAWindowsVMWithAPatchSettingPatchModeOfManual() {
1015
999
  return __awaiter(this, void 0, void 0, function* () {
1016
- const subscriptionId = "{subscription-id}";
1017
- const resourceGroupName = "myResourceGroup";
1000
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1001
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1018
1002
  const vmName = "myVM";
1019
1003
  const parameters = {
1020
1004
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1058,17 +1042,16 @@ function createAWindowsVMWithAPatchSettingPatchModeOfManual() {
1058
1042
  console.log(result);
1059
1043
  });
1060
1044
  }
1061
- createAWindowsVMWithAPatchSettingPatchModeOfManual().catch(console.error);
1062
1045
  /**
1063
1046
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1064
1047
  *
1065
1048
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1066
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json
1049
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json
1067
1050
  */
1068
1051
  function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() {
1069
1052
  return __awaiter(this, void 0, void 0, function* () {
1070
- const subscriptionId = "{subscription-id}";
1071
- const resourceGroupName = "myResourceGroup";
1053
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1054
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1072
1055
  const vmName = "myVM";
1073
1056
  const parameters = {
1074
1057
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1115,17 +1098,16 @@ function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomat
1115
1098
  console.log(result);
1116
1099
  });
1117
1100
  }
1118
- createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch(console.error);
1119
1101
  /**
1120
1102
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1121
1103
  *
1122
1104
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1123
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
1105
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
1124
1106
  */
1125
1107
  function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() {
1126
1108
  return __awaiter(this, void 0, void 0, function* () {
1127
- const subscriptionId = "{subscription-id}";
1128
- const resourceGroupName = "myResourceGroup";
1109
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1110
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1129
1111
  const vmName = "{vm-name}";
1130
1112
  const parameters = {
1131
1113
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1164,17 +1146,16 @@ function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() {
1164
1146
  console.log(result);
1165
1147
  });
1166
1148
  }
1167
- createACustomImageVMFromAnUnmanagedGeneralizedOSImage().catch(console.error);
1168
1149
  /**
1169
1150
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1170
1151
  *
1171
1152
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1172
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json
1153
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json
1173
1154
  */
1174
1155
  function createAPlatformImageVMWithUnmanagedOSAndDataDisks() {
1175
1156
  return __awaiter(this, void 0, void 0, function* () {
1176
- const subscriptionId = "{subscription-id}";
1177
- const resourceGroupName = "myResourceGroup";
1157
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1158
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1178
1159
  const vmName = "{vm-name}";
1179
1160
  const parameters = {
1180
1161
  hardwareProfile: { vmSize: "Standard_D2_v2" },
@@ -1233,17 +1214,16 @@ function createAPlatformImageVMWithUnmanagedOSAndDataDisks() {
1233
1214
  console.log(result);
1234
1215
  });
1235
1216
  }
1236
- createAPlatformImageVMWithUnmanagedOSAndDataDisks().catch(console.error);
1237
1217
  /**
1238
1218
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1239
1219
  *
1240
1220
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1241
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json
1221
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json
1242
1222
  */
1243
1223
  function createAVMFromACustomImage() {
1244
1224
  return __awaiter(this, void 0, void 0, function* () {
1245
- const subscriptionId = "{subscription-id}";
1246
- const resourceGroupName = "myResourceGroup";
1225
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1226
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1247
1227
  const vmName = "myVM";
1248
1228
  const parameters = {
1249
1229
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1279,17 +1259,16 @@ function createAVMFromACustomImage() {
1279
1259
  console.log(result);
1280
1260
  });
1281
1261
  }
1282
- createAVMFromACustomImage().catch(console.error);
1283
1262
  /**
1284
1263
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1285
1264
  *
1286
1265
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1287
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json
1266
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json
1288
1267
  */
1289
1268
  function createAVMFromAGeneralizedSharedImage() {
1290
1269
  return __awaiter(this, void 0, void 0, function* () {
1291
- const subscriptionId = "{subscription-id}";
1292
- const resourceGroupName = "myResourceGroup";
1270
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1271
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1293
1272
  const vmName = "myVM";
1294
1273
  const parameters = {
1295
1274
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1325,17 +1304,16 @@ function createAVMFromAGeneralizedSharedImage() {
1325
1304
  console.log(result);
1326
1305
  });
1327
1306
  }
1328
- createAVMFromAGeneralizedSharedImage().catch(console.error);
1329
1307
  /**
1330
1308
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1331
1309
  *
1332
1310
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1333
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json
1311
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json
1334
1312
  */
1335
1313
  function createAVMFromASpecializedSharedImage() {
1336
1314
  return __awaiter(this, void 0, void 0, function* () {
1337
- const subscriptionId = "{subscription-id}";
1338
- const resourceGroupName = "myResourceGroup";
1315
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1316
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1339
1317
  const vmName = "myVM";
1340
1318
  const parameters = {
1341
1319
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1366,17 +1344,16 @@ function createAVMFromASpecializedSharedImage() {
1366
1344
  console.log(result);
1367
1345
  });
1368
1346
  }
1369
- createAVMFromASpecializedSharedImage().catch(console.error);
1370
1347
  /**
1371
1348
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1372
1349
  *
1373
1350
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1374
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json
1351
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json
1375
1352
  */
1376
1353
  function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain() {
1377
1354
  return __awaiter(this, void 0, void 0, function* () {
1378
- const subscriptionId = "{subscription-id}";
1379
- const resourceGroupName = "myResourceGroup";
1355
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1356
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1380
1357
  const vmName = "myVM";
1381
1358
  const parameters = {
1382
1359
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1419,17 +1396,16 @@ function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDoma
1419
1396
  console.log(result);
1420
1397
  });
1421
1398
  }
1422
- createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain().catch(console.error);
1423
1399
  /**
1424
1400
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1425
1401
  *
1426
1402
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1427
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json
1403
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json
1428
1404
  */
1429
1405
  function createAVMInAnAvailabilitySet() {
1430
1406
  return __awaiter(this, void 0, void 0, function* () {
1431
- const subscriptionId = "{subscription-id}";
1432
- const resourceGroupName = "myResourceGroup";
1407
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1408
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1433
1409
  const vmName = "myVM";
1434
1410
  const parameters = {
1435
1411
  availabilitySet: {
@@ -1471,17 +1447,16 @@ function createAVMInAnAvailabilitySet() {
1471
1447
  console.log(result);
1472
1448
  });
1473
1449
  }
1474
- createAVMInAnAvailabilitySet().catch(console.error);
1475
1450
  /**
1476
1451
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1477
1452
  *
1478
1453
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1479
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json
1454
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json
1480
1455
  */
1481
1456
  function createAVMWithApplicationProfile() {
1482
1457
  return __awaiter(this, void 0, void 0, function* () {
1483
- const subscriptionId = "{subscription-id}";
1484
- const resourceGroupName = "myResourceGroup";
1458
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1459
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1485
1460
  const vmName = "myVM";
1486
1461
  const parameters = {
1487
1462
  applicationProfile: {
@@ -1535,17 +1510,16 @@ function createAVMWithApplicationProfile() {
1535
1510
  console.log(result);
1536
1511
  });
1537
1512
  }
1538
- createAVMWithApplicationProfile().catch(console.error);
1539
1513
  /**
1540
1514
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1541
1515
  *
1542
1516
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1543
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json
1517
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json
1544
1518
  */
1545
1519
  function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() {
1546
1520
  return __awaiter(this, void 0, void 0, function* () {
1547
- const subscriptionId = "{subscription-id}";
1548
- const resourceGroupName = "myResourceGroup";
1521
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1522
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1549
1523
  const vmName = "myVM";
1550
1524
  const parameters = {
1551
1525
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1613,17 +1587,16 @@ function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() {
1613
1587
  console.log(result);
1614
1588
  });
1615
1589
  }
1616
- createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk().catch(console.error);
1617
1590
  /**
1618
1591
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1619
1592
  *
1620
1593
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1621
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json
1594
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json
1622
1595
  */
1623
1596
  function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() {
1624
1597
  return __awaiter(this, void 0, void 0, function* () {
1625
- const subscriptionId = "{subscription-id}";
1626
- const resourceGroupName = "myResourceGroup";
1598
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1599
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1627
1600
  const vmName = "myVM";
1628
1601
  const parameters = {
1629
1602
  hardwareProfile: { vmSize: "Standard_DS1_v2" },
@@ -1668,17 +1641,16 @@ function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() {
1668
1641
  console.log(result);
1669
1642
  });
1670
1643
  }
1671
- createAVMWithHostEncryptionUsingEncryptionAtHostProperty().catch(console.error);
1672
1644
  /**
1673
1645
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1674
1646
  *
1675
1647
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1676
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json
1648
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json
1677
1649
  */
1678
1650
  function createAVMWithScheduledEventsProfile() {
1679
1651
  return __awaiter(this, void 0, void 0, function* () {
1680
- const subscriptionId = "{subscription-id}";
1681
- const resourceGroupName = "myResourceGroup";
1652
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1653
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1682
1654
  const vmName = "myVM";
1683
1655
  const parameters = {
1684
1656
  diagnosticsProfile: {
@@ -1703,6 +1675,7 @@ function createAVMWithScheduledEventsProfile() {
1703
1675
  computerName: "myVM"
1704
1676
  },
1705
1677
  scheduledEventsProfile: {
1678
+ osImageNotificationProfile: { enable: true, notBeforeTimeout: "PT15M" },
1706
1679
  terminateNotificationProfile: { enable: true, notBeforeTimeout: "PT10M" }
1707
1680
  },
1708
1681
  storageProfile: {
@@ -1726,17 +1699,16 @@ function createAVMWithScheduledEventsProfile() {
1726
1699
  console.log(result);
1727
1700
  });
1728
1701
  }
1729
- createAVMWithScheduledEventsProfile().catch(console.error);
1730
1702
  /**
1731
1703
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1732
1704
  *
1733
1705
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1734
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json
1706
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json
1735
1707
  */
1736
1708
  function createAVMWithAMarketplaceImagePlan() {
1737
1709
  return __awaiter(this, void 0, void 0, function* () {
1738
- const subscriptionId = "{subscription-id}";
1739
- const resourceGroupName = "myResourceGroup";
1710
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1711
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1740
1712
  const vmName = "myVM";
1741
1713
  const parameters = {
1742
1714
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -1780,17 +1752,16 @@ function createAVMWithAMarketplaceImagePlan() {
1780
1752
  console.log(result);
1781
1753
  });
1782
1754
  }
1783
- createAVMWithAMarketplaceImagePlan().catch(console.error);
1784
1755
  /**
1785
1756
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1786
1757
  *
1787
1758
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1788
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json
1759
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json
1789
1760
  */
1790
1761
  function createAVMWithAnExtensionsTimeBudget() {
1791
1762
  return __awaiter(this, void 0, void 0, function* () {
1792
- const subscriptionId = "{subscription-id}";
1793
- const resourceGroupName = "myResourceGroup";
1763
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1764
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1794
1765
  const vmName = "myVM";
1795
1766
  const parameters = {
1796
1767
  diagnosticsProfile: {
@@ -1836,17 +1807,16 @@ function createAVMWithAnExtensionsTimeBudget() {
1836
1807
  console.log(result);
1837
1808
  });
1838
1809
  }
1839
- createAVMWithAnExtensionsTimeBudget().catch(console.error);
1840
1810
  /**
1841
1811
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1842
1812
  *
1843
1813
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1844
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json
1814
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json
1845
1815
  */
1846
1816
  function createAVMWithBootDiagnostics() {
1847
1817
  return __awaiter(this, void 0, void 0, function* () {
1848
- const subscriptionId = "{subscription-id}";
1849
- const resourceGroupName = "myResourceGroup";
1818
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1819
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1850
1820
  const vmName = "myVM";
1851
1821
  const parameters = {
1852
1822
  diagnosticsProfile: {
@@ -1891,17 +1861,16 @@ function createAVMWithBootDiagnostics() {
1891
1861
  console.log(result);
1892
1862
  });
1893
1863
  }
1894
- createAVMWithBootDiagnostics().catch(console.error);
1895
1864
  /**
1896
1865
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1897
1866
  *
1898
1867
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1899
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json
1868
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json
1900
1869
  */
1901
1870
  function createAVMWithEmptyDataDisks() {
1902
1871
  return __awaiter(this, void 0, void 0, function* () {
1903
- const subscriptionId = "{subscription-id}";
1904
- const resourceGroupName = "myResourceGroup";
1872
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1873
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1905
1874
  const vmName = "myVM";
1906
1875
  const parameters = {
1907
1876
  hardwareProfile: { vmSize: "Standard_D2_v2" },
@@ -1944,17 +1913,16 @@ function createAVMWithEmptyDataDisks() {
1944
1913
  console.log(result);
1945
1914
  });
1946
1915
  }
1947
- createAVMWithEmptyDataDisks().catch(console.error);
1948
1916
  /**
1949
1917
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1950
1918
  *
1951
1919
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
1952
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json
1920
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json
1953
1921
  */
1954
1922
  function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty() {
1955
1923
  return __awaiter(this, void 0, void 0, function* () {
1956
- const subscriptionId = "{subscription-id}";
1957
- const resourceGroupName = "myResourceGroup";
1924
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1925
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
1958
1926
  const vmName = "myVM";
1959
1927
  const parameters = {
1960
1928
  hardwareProfile: { vmSize: "Standard_DS1_v2" },
@@ -1999,17 +1967,16 @@ function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProper
1999
1967
  console.log(result);
2000
1968
  });
2001
1969
  }
2002
- createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty().catch(console.error);
2003
1970
  /**
2004
1971
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2005
1972
  *
2006
1973
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2007
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json
1974
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json
2008
1975
  */
2009
1976
  function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty() {
2010
1977
  return __awaiter(this, void 0, void 0, function* () {
2011
- const subscriptionId = "{subscription-id}";
2012
- const resourceGroupName = "myResourceGroup";
1978
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
1979
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2013
1980
  const vmName = "myVM";
2014
1981
  const parameters = {
2015
1982
  hardwareProfile: { vmSize: "Standard_DS1_v2" },
@@ -2054,17 +2021,16 @@ function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementPro
2054
2021
  console.log(result);
2055
2022
  });
2056
2023
  }
2057
- createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty().catch(console.error);
2058
2024
  /**
2059
2025
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2060
2026
  *
2061
2027
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2062
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json
2028
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json
2063
2029
  */
2064
2030
  function createAVMWithEphemeralOSDisk() {
2065
2031
  return __awaiter(this, void 0, void 0, function* () {
2066
- const subscriptionId = "{subscription-id}";
2067
- const resourceGroupName = "myResourceGroup";
2032
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2033
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2068
2034
  const vmName = "myVM";
2069
2035
  const parameters = {
2070
2036
  hardwareProfile: { vmSize: "Standard_DS1_v2" },
@@ -2109,17 +2075,16 @@ function createAVMWithEphemeralOSDisk() {
2109
2075
  console.log(result);
2110
2076
  });
2111
2077
  }
2112
- createAVMWithEphemeralOSDisk().catch(console.error);
2113
2078
  /**
2114
2079
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2115
2080
  *
2116
2081
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2117
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json
2082
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json
2118
2083
  */
2119
2084
  function createAVMWithManagedBootDiagnostics() {
2120
2085
  return __awaiter(this, void 0, void 0, function* () {
2121
- const subscriptionId = "{subscription-id}";
2122
- const resourceGroupName = "myResourceGroup";
2086
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2087
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2123
2088
  const vmName = "myVM";
2124
2089
  const parameters = {
2125
2090
  diagnosticsProfile: { bootDiagnostics: { enabled: true } },
@@ -2159,17 +2124,16 @@ function createAVMWithManagedBootDiagnostics() {
2159
2124
  console.log(result);
2160
2125
  });
2161
2126
  }
2162
- createAVMWithManagedBootDiagnostics().catch(console.error);
2163
2127
  /**
2164
2128
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2165
2129
  *
2166
2130
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2167
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json
2131
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json
2168
2132
  */
2169
2133
  function createAVMWithPasswordAuthentication() {
2170
2134
  return __awaiter(this, void 0, void 0, function* () {
2171
- const subscriptionId = "{subscription-id}";
2172
- const resourceGroupName = "myResourceGroup";
2135
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2136
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2173
2137
  const vmName = "myVM";
2174
2138
  const parameters = {
2175
2139
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -2208,17 +2172,16 @@ function createAVMWithPasswordAuthentication() {
2208
2172
  console.log(result);
2209
2173
  });
2210
2174
  }
2211
- createAVMWithPasswordAuthentication().catch(console.error);
2212
2175
  /**
2213
2176
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2214
2177
  *
2215
2178
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2216
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json
2179
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json
2217
2180
  */
2218
2181
  function createAVMWithPremiumStorage() {
2219
2182
  return __awaiter(this, void 0, void 0, function* () {
2220
- const subscriptionId = "{subscription-id}";
2221
- const resourceGroupName = "myResourceGroup";
2183
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2184
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2222
2185
  const vmName = "myVM";
2223
2186
  const parameters = {
2224
2187
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -2257,17 +2220,16 @@ function createAVMWithPremiumStorage() {
2257
2220
  console.log(result);
2258
2221
  });
2259
2222
  }
2260
- createAVMWithPremiumStorage().catch(console.error);
2261
2223
  /**
2262
2224
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2263
2225
  *
2264
2226
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2265
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json
2227
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json
2266
2228
  */
2267
2229
  function createAVMWithSshAuthentication() {
2268
2230
  return __awaiter(this, void 0, void 0, function* () {
2269
- const subscriptionId = "{subscription-id}";
2270
- const resourceGroupName = "myResourceGroup";
2231
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2232
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2271
2233
  const vmName = "myVM";
2272
2234
  const parameters = {
2273
2235
  hardwareProfile: { vmSize: "Standard_D1_v2" },
@@ -2316,17 +2278,16 @@ function createAVMWithSshAuthentication() {
2316
2278
  console.log(result);
2317
2279
  });
2318
2280
  }
2319
- createAVMWithSshAuthentication().catch(console.error);
2320
2281
  /**
2321
2282
  * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2322
2283
  *
2323
2284
  * @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
2324
- * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json
2285
+ * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json
2325
2286
  */
2326
2287
  function createOrUpdateAVMWithCapacityReservation() {
2327
2288
  return __awaiter(this, void 0, void 0, function* () {
2328
- const subscriptionId = "{subscription-id}";
2329
- const resourceGroupName = "myResourceGroup";
2289
+ const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
2290
+ const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
2330
2291
  const vmName = "myVM";
2331
2292
  const parameters = {
2332
2293
  capacityReservation: {
@@ -2375,5 +2336,52 @@ function createOrUpdateAVMWithCapacityReservation() {
2375
2336
  console.log(result);
2376
2337
  });
2377
2338
  }
2378
- createOrUpdateAVMWithCapacityReservation().catch(console.error);
2339
+ function main() {
2340
+ return __awaiter(this, void 0, void 0, function* () {
2341
+ createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault();
2342
+ createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings();
2343
+ createALinuxVMWithAPatchSettingPatchModeOfImageDefault();
2344
+ createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform();
2345
+ createAVMFromACommunityGalleryImage();
2346
+ createAVMFromASharedGalleryImage();
2347
+ createAVMWithDiskControllerType();
2348
+ createAVMWithHibernationEnabled();
2349
+ createAVMWithUefiSettingsOfSecureBootAndVTpm();
2350
+ createAVMWithUserData();
2351
+ createAVMWithVMSizeProperties();
2352
+ createAVMWithNetworkInterfaceConfiguration();
2353
+ createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys();
2354
+ createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys();
2355
+ createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault();
2356
+ createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS();
2357
+ createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings();
2358
+ createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue();
2359
+ createAWindowsVMWithAPatchSettingPatchModeOfManual();
2360
+ createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform();
2361
+ createACustomImageVMFromAnUnmanagedGeneralizedOSImage();
2362
+ createAPlatformImageVMWithUnmanagedOSAndDataDisks();
2363
+ createAVMFromACustomImage();
2364
+ createAVMFromAGeneralizedSharedImage();
2365
+ createAVMFromASpecializedSharedImage();
2366
+ createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain();
2367
+ createAVMInAnAvailabilitySet();
2368
+ createAVMWithApplicationProfile();
2369
+ createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk();
2370
+ createAVMWithHostEncryptionUsingEncryptionAtHostProperty();
2371
+ createAVMWithScheduledEventsProfile();
2372
+ createAVMWithAMarketplaceImagePlan();
2373
+ createAVMWithAnExtensionsTimeBudget();
2374
+ createAVMWithBootDiagnostics();
2375
+ createAVMWithEmptyDataDisks();
2376
+ createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty();
2377
+ createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty();
2378
+ createAVMWithEphemeralOSDisk();
2379
+ createAVMWithManagedBootDiagnostics();
2380
+ createAVMWithPasswordAuthentication();
2381
+ createAVMWithPremiumStorage();
2382
+ createAVMWithSshAuthentication();
2383
+ createOrUpdateAVMWithCapacityReservation();
2384
+ });
2385
+ }
2386
+ main().catch(console.error);
2379
2387
  //# sourceMappingURL=virtualMachinesCreateOrUpdateSample.js.map