@azure/arm-recoveryservices-siterecovery 5.1.0-alpha.20240221.1 → 5.2.0-alpha.20240223.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/LICENSE +1 -1
  3. package/dist/index.js +8402 -8155
  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/migrationRecoveryPointsGetSample.js +1 -1
  8. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js +1 -1
  9. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  10. package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
  11. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js +1 -1
  12. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js +4 -4
  13. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.js +1 -1
  15. package/dist-esm/samples-dev/replicationAlertSettingsListSample.js +1 -1
  16. package/dist-esm/samples-dev/replicationAppliancesListSample.js +1 -1
  17. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.js +1 -1
  19. package/dist-esm/samples-dev/replicationEventsGetSample.js +1 -1
  20. package/dist-esm/samples-dev/replicationEventsListSample.js +1 -1
  21. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.js +1 -1
  22. package/dist-esm/samples-dev/replicationFabricsCreateSample.js +2 -2
  23. package/dist-esm/samples-dev/replicationFabricsCreateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/replicationFabricsDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/replicationFabricsGetSample.js +1 -1
  26. package/dist-esm/samples-dev/replicationFabricsListSample.js +1 -1
  27. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.js +1 -1
  28. package/dist-esm/samples-dev/replicationFabricsPurgeSample.js +1 -1
  29. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js +4 -4
  30. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js.map +1 -1
  31. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js +41 -0
  34. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js.map +1 -0
  35. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js +3 -3
  36. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/replicationJobsCancelSample.js +1 -1
  38. package/dist-esm/samples-dev/replicationJobsExportSample.js +3 -3
  39. package/dist-esm/samples-dev/replicationJobsExportSample.js.map +1 -1
  40. package/dist-esm/samples-dev/replicationJobsGetSample.js +1 -1
  41. package/dist-esm/samples-dev/replicationJobsListSample.js +1 -1
  42. package/dist-esm/samples-dev/replicationJobsRestartSample.js +1 -1
  43. package/dist-esm/samples-dev/replicationJobsResumeSample.js +2 -2
  44. package/dist-esm/samples-dev/replicationJobsResumeSample.js.map +1 -1
  45. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.js +1 -1
  46. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js +1 -1
  47. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js +7 -7
  48. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js.map +1 -1
  49. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.js +1 -1
  50. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.js +1 -1
  51. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js +1 -1
  52. package/dist-esm/samples-dev/replicationMigrationItemsListSample.js +1 -1
  53. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js +5 -5
  54. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js.map +1 -1
  55. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js +3 -3
  56. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js.map +1 -1
  57. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js +5 -5
  58. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js.map +1 -1
  59. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js +5 -5
  60. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js.map +1 -1
  61. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js +3 -3
  62. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js.map +1 -1
  63. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js +5 -5
  64. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js.map +1 -1
  65. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js +3 -3
  66. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js.map +1 -1
  67. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js +4 -4
  68. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js.map +1 -1
  69. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.js +1 -1
  70. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.js +1 -1
  71. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js +1 -1
  72. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js +1 -1
  73. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js +4 -4
  74. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js.map +1 -1
  75. package/dist-esm/samples-dev/replicationNetworksGetSample.js +1 -1
  76. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js +1 -1
  77. package/dist-esm/samples-dev/replicationNetworksListSample.js +1 -1
  78. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js +4 -4
  79. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js.map +1 -1
  80. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.js +1 -1
  81. package/dist-esm/samples-dev/replicationPoliciesGetSample.js +1 -1
  82. package/dist-esm/samples-dev/replicationPoliciesListSample.js +1 -1
  83. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js +4 -4
  84. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js.map +1 -1
  85. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.js +1 -1
  86. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js +1 -1
  87. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js +7 -7
  88. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js.map +1 -1
  89. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js +4 -4
  90. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js.map +1 -1
  91. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js +4 -4
  92. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js.map +1 -1
  93. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js +2 -2
  94. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js.map +1 -1
  95. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js +1 -1
  96. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js.map +1 -1
  97. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js +1 -1
  98. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js.map +1 -1
  99. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.js +1 -1
  100. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js +1 -1
  101. package/dist-esm/samples-dev/replicationProtectedItemsListSample.js +1 -1
  102. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js +4 -4
  103. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js.map +1 -1
  104. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.js +1 -1
  105. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js +6 -6
  106. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js.map +1 -1
  107. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js +1 -1
  108. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js.map +1 -1
  109. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js +4 -4
  110. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js.map +1 -1
  111. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js +3 -3
  112. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js.map +1 -1
  113. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js +5 -5
  114. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js.map +1 -1
  115. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js +3 -3
  116. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js.map +1 -1
  117. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js +4 -4
  118. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js.map +1 -1
  119. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js +4 -4
  120. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js.map +1 -1
  121. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js +5 -5
  122. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js.map +1 -1
  123. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js +3 -3
  124. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js.map +1 -1
  125. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js +8 -8
  126. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js.map +1 -1
  127. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js +4 -4
  128. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js.map +1 -1
  129. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js +3 -3
  130. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js.map +1 -1
  131. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.js +1 -1
  132. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js +1 -1
  133. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js +1 -1
  134. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js +1 -1
  135. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js.map +1 -1
  136. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js +5 -5
  137. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js.map +1 -1
  138. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js +2 -2
  139. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js.map +1 -1
  140. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js +1 -1
  141. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js.map +1 -1
  142. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js +4 -4
  143. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js.map +1 -1
  144. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.js +1 -1
  145. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js +1 -1
  146. package/dist-esm/samples-dev/replicationProtectionContainersListSample.js +1 -1
  147. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js +4 -4
  148. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js.map +1 -1
  149. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js +5 -5
  150. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js.map +1 -1
  151. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.js +1 -1
  152. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js +1 -1
  153. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js +8 -8
  154. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js.map +1 -1
  155. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.js +1 -1
  156. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js +1 -1
  157. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js.map +1 -1
  158. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js +1 -1
  159. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js.map +1 -1
  160. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.js +1 -1
  161. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js +1 -1
  162. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js +4 -4
  163. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js.map +1 -1
  164. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.js +1 -1
  165. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js +3 -3
  166. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js.map +1 -1
  167. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js +4 -4
  168. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js.map +1 -1
  169. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js +4 -4
  170. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js.map +1 -1
  171. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js +13 -13
  172. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js.map +1 -1
  173. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js +6 -6
  174. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js.map +1 -1
  175. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js +1 -1
  176. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js.map +1 -1
  177. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.js +1 -1
  178. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js +1 -1
  179. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js +1 -1
  180. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js +1 -1
  181. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js.map +1 -1
  182. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js +1 -1
  183. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js.map +1 -1
  184. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js +4 -4
  185. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js.map +1 -1
  186. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js +1 -1
  187. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js.map +1 -1
  188. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.js +1 -1
  189. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js +1 -1
  190. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js +1 -1
  191. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.js +1 -1
  192. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js +1 -1
  193. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js +1 -1
  194. package/dist-esm/samples-dev/replicationVaultHealthGetSample.js +1 -1
  195. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.js +1 -1
  196. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js +4 -4
  197. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js.map +1 -1
  198. package/dist-esm/samples-dev/replicationVaultSettingGetSample.js +1 -1
  199. package/dist-esm/samples-dev/replicationVaultSettingListSample.js +1 -1
  200. package/dist-esm/samples-dev/replicationvCentersCreateSample.js +4 -4
  201. package/dist-esm/samples-dev/replicationvCentersCreateSample.js.map +1 -1
  202. package/dist-esm/samples-dev/replicationvCentersDeleteSample.js +1 -1
  203. package/dist-esm/samples-dev/replicationvCentersGetSample.js +1 -1
  204. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js +1 -1
  205. package/dist-esm/samples-dev/replicationvCentersListSample.js +1 -1
  206. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js +3 -3
  207. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js.map +1 -1
  208. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.js +1 -1
  209. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js +1 -1
  210. package/dist-esm/src/lroImpl.js +1 -1
  211. package/dist-esm/src/models/index.d.ts +61 -0
  212. package/dist-esm/src/models/index.d.ts.map +1 -1
  213. package/dist-esm/src/models/index.js.map +1 -1
  214. package/dist-esm/src/models/mappers.d.ts +4 -0
  215. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  216. package/dist-esm/src/models/mappers.js +6827 -6707
  217. package/dist-esm/src/models/mappers.js.map +1 -1
  218. package/dist-esm/src/models/parameters.d.ts +2 -0
  219. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  220. package/dist-esm/src/models/parameters.js +193 -167
  221. package/dist-esm/src/models/parameters.js.map +1 -1
  222. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -1
  223. package/dist-esm/src/operations/migrationRecoveryPoints.js +16 -16
  224. package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -1
  225. package/dist-esm/src/operations/operations.js +9 -9
  226. package/dist-esm/src/operations/operations.js.map +1 -1
  227. package/dist-esm/src/operations/recoveryPoints.js +16 -16
  228. package/dist-esm/src/operations/recoveryPoints.js.map +1 -1
  229. package/dist-esm/src/operations/replicationAlertSettings.js +17 -17
  230. package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -1
  231. package/dist-esm/src/operations/replicationAppliances.js +9 -9
  232. package/dist-esm/src/operations/replicationAppliances.js.map +1 -1
  233. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -1
  234. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +8 -8
  235. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -1
  236. package/dist-esm/src/operations/replicationEvents.js +13 -13
  237. package/dist-esm/src/operations/replicationEvents.js.map +1 -1
  238. package/dist-esm/src/operations/replicationFabrics.d.ts +19 -1
  239. package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -1
  240. package/dist-esm/src/operations/replicationFabrics.js +168 -78
  241. package/dist-esm/src/operations/replicationFabrics.js.map +1 -1
  242. package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -1
  243. package/dist-esm/src/operations/replicationJobs.js +59 -59
  244. package/dist-esm/src/operations/replicationJobs.js.map +1 -1
  245. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -1
  246. package/dist-esm/src/operations/replicationLogicalNetworks.js +14 -14
  247. package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -1
  248. package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -1
  249. package/dist-esm/src/operations/replicationMigrationItems.js +131 -131
  250. package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -1
  251. package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -1
  252. package/dist-esm/src/operations/replicationNetworkMappings.js +56 -56
  253. package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -1
  254. package/dist-esm/src/operations/replicationNetworks.js +22 -22
  255. package/dist-esm/src/operations/replicationNetworks.js.map +1 -1
  256. package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -1
  257. package/dist-esm/src/operations/replicationPolicies.js +42 -42
  258. package/dist-esm/src/operations/replicationPolicies.js.map +1 -1
  259. package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -1
  260. package/dist-esm/src/operations/replicationProtectableItems.js +17 -17
  261. package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -1
  262. package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -1
  263. package/dist-esm/src/operations/replicationProtectedItems.js +245 -245
  264. package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -1
  265. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -1
  266. package/dist-esm/src/operations/replicationProtectionContainerMappings.js +64 -64
  267. package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -1
  268. package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -1
  269. package/dist-esm/src/operations/replicationProtectionContainers.js +67 -67
  270. package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -1
  271. package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -1
  272. package/dist-esm/src/operations/replicationProtectionIntents.js +18 -18
  273. package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -1
  274. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -1
  275. package/dist-esm/src/operations/replicationRecoveryPlans.js +125 -125
  276. package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -1
  277. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -1
  278. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +61 -61
  279. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -1
  280. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -1
  281. package/dist-esm/src/operations/replicationStorageClassificationMappings.js +45 -45
  282. package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -1
  283. package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -1
  284. package/dist-esm/src/operations/replicationStorageClassifications.js +23 -23
  285. package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -1
  286. package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -1
  287. package/dist-esm/src/operations/replicationVaultHealth.js +16 -16
  288. package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -1
  289. package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -1
  290. package/dist-esm/src/operations/replicationVaultSetting.js +26 -26
  291. package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -1
  292. package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -1
  293. package/dist-esm/src/operations/replicationvCenters.js +54 -54
  294. package/dist-esm/src/operations/replicationvCenters.js.map +1 -1
  295. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -1
  296. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +4 -4
  297. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -1
  298. package/dist-esm/src/operations/targetComputeSizes.js +11 -11
  299. package/dist-esm/src/operations/targetComputeSizes.js.map +1 -1
  300. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +19 -1
  301. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -1
  302. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -1
  303. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -1
  304. package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -1
  305. package/dist-esm/src/siteRecoveryManagementClient.js +23 -16
  306. package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -1
  307. package/package.json +9 -9
  308. package/review/arm-recoveryservices-siterecovery.api.md +38 -0
  309. package/src/lroImpl.ts +3 -3
  310. package/src/models/index.ts +272 -127
  311. package/src/models/mappers.ts +10025 -9693
  312. package/src/models/parameters.ts +196 -168
  313. package/src/operations/migrationRecoveryPoints.ts +52 -55
  314. package/src/operations/operations.ts +19 -20
  315. package/src/operations/recoveryPoints.ts +51 -52
  316. package/src/operations/replicationAlertSettings.ts +35 -38
  317. package/src/operations/replicationAppliances.ts +21 -22
  318. package/src/operations/replicationEligibilityResultsOperations.ts +17 -18
  319. package/src/operations/replicationEvents.ts +28 -30
  320. package/src/operations/replicationFabrics.ts +299 -186
  321. package/src/operations/replicationJobs.ts +118 -128
  322. package/src/operations/replicationLogicalNetworks.ts +33 -34
  323. package/src/operations/replicationMigrationItems.ts +298 -320
  324. package/src/operations/replicationNetworkMappings.ts +119 -127
  325. package/src/operations/replicationNetworks.ts +50 -53
  326. package/src/operations/replicationPolicies.ts +90 -98
  327. package/src/operations/replicationProtectableItems.ts +75 -78
  328. package/src/operations/replicationProtectedItems.ts +518 -560
  329. package/src/operations/replicationProtectionContainerMappings.ts +172 -184
  330. package/src/operations/replicationProtectionContainers.ts +144 -160
  331. package/src/operations/replicationProtectionIntents.ts +38 -40
  332. package/src/operations/replicationRecoveryPlans.ts +250 -272
  333. package/src/operations/replicationRecoveryServicesProviders.ts +139 -157
  334. package/src/operations/replicationStorageClassificationMappings.ts +131 -139
  335. package/src/operations/replicationStorageClassifications.ts +55 -61
  336. package/src/operations/replicationVaultHealth.ts +31 -34
  337. package/src/operations/replicationVaultSetting.ts +52 -56
  338. package/src/operations/replicationvCenters.ts +115 -124
  339. package/src/operations/supportedOperatingSystemsOperations.ts +10 -10
  340. package/src/operations/targetComputeSizes.ts +43 -43
  341. package/src/operationsInterfaces/migrationRecoveryPoints.ts +3 -3
  342. package/src/operationsInterfaces/operations.ts +1 -1
  343. package/src/operationsInterfaces/recoveryPoints.ts +3 -3
  344. package/src/operationsInterfaces/replicationAlertSettings.ts +4 -4
  345. package/src/operationsInterfaces/replicationAppliances.ts +2 -2
  346. package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +3 -3
  347. package/src/operationsInterfaces/replicationEvents.ts +3 -3
  348. package/src/operationsInterfaces/replicationFabrics.ts +52 -17
  349. package/src/operationsInterfaces/replicationJobs.ts +11 -11
  350. package/src/operationsInterfaces/replicationLogicalNetworks.ts +3 -3
  351. package/src/operationsInterfaces/replicationMigrationItems.ts +22 -22
  352. package/src/operationsInterfaces/replicationNetworkMappings.ts +10 -10
  353. package/src/operationsInterfaces/replicationNetworks.ts +4 -4
  354. package/src/operationsInterfaces/replicationPolicies.ts +9 -9
  355. package/src/operationsInterfaces/replicationProtectableItems.ts +3 -3
  356. package/src/operationsInterfaces/replicationProtectedItems.ts +42 -42
  357. package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +12 -12
  358. package/src/operationsInterfaces/replicationProtectionContainers.ts +13 -15
  359. package/src/operationsInterfaces/replicationProtectionIntents.ts +4 -4
  360. package/src/operationsInterfaces/replicationRecoveryPlans.ts +23 -23
  361. package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +13 -15
  362. package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +8 -8
  363. package/src/operationsInterfaces/replicationStorageClassifications.ts +4 -4
  364. package/src/operationsInterfaces/replicationVaultHealth.ts +4 -4
  365. package/src/operationsInterfaces/replicationVaultSetting.ts +5 -5
  366. package/src/operationsInterfaces/replicationvCenters.ts +10 -10
  367. package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +2 -2
  368. package/src/operationsInterfaces/targetComputeSizes.ts +2 -2
  369. package/src/pagingHelper.ts +1 -1
  370. package/src/siteRecoveryManagementClient.ts +34 -40
  371. package/types/arm-recoveryservices-siterecovery.d.ts +85 -0
  372. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a recovery point for a migration item.
17
17
  *
18
18
  * @summary Gets a recovery point for a migration item.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/MigrationRecoveryPoints_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json
20
20
  */
21
21
  function getsARecoveryPointForAMigrationItem() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the recovery points for a migration item.
17
17
  *
18
18
  * @summary Gets the recovery points for a migration item.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/MigrationRecoveryPoints_ListByReplicationMigrationItems.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_ListByReplicationMigrationItems.json
20
20
  */
21
21
  function getsTheRecoveryPointsForAMigrationItem() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Operation to return the list of available operations.
17
17
  *
18
18
  * @summary Operation to return the list of available operations.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Operations_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/Operations_List.json
20
20
  */
21
21
  function returnsTheListOfAvailableOperations() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the details of specified recovery point.
17
17
  *
18
18
  * @summary Get the details of specified recovery point.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/RecoveryPoints_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json
20
20
  */
21
21
  function getsARecoveryPoint() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the available recovery points for a replication protected item.
17
17
  *
18
18
  * @summary Lists the available recovery points for a replication protected item.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/RecoveryPoints_ListByReplicationProtectedItems.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_ListByReplicationProtectedItems.json
20
20
  */
21
21
  function getsTheListOfRecoveryPointsForAReplicationProtectedItem() {
22
22
  var _a, e_1, _b, _c;
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update an email notification(alert) configuration.
17
17
  *
18
18
  * @summary Create or update an email notification(alert) configuration.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationAlertSettings_Create.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Create.json
20
20
  */
21
21
  function configuresEmailNotificationsForThisVault() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -30,8 +30,8 @@ function configuresEmailNotificationsForThisVault() {
30
30
  properties: {
31
31
  customEmailAddresses: ["ronehr@microsoft.com"],
32
32
  locale: "",
33
- sendToOwners: "false"
34
- }
33
+ sendToOwners: "false",
34
+ },
35
35
  };
36
36
  const credential = new DefaultAzureCredential();
37
37
  const client = new SiteRecoveryManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"replicationAlertSettingsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationAlertSettingsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;QAC/C,MAAM,OAAO,GAA0B;YACrC,UAAU,EAAE;gBACV,oBAAoB,EAAE,CAAC,sBAAsB,CAAC;gBAC9C,MAAM,EAAE,EAAE;gBACV,YAAY,EAAE,OAAO;aACtB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,wBAAwB,CAAC,MAAM,CACzD,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationAlertSettingsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationAlertSettingsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;QAC/C,MAAM,OAAO,GAA0B;YACrC,UAAU,EAAE;gBACV,oBAAoB,EAAE,CAAC,sBAAsB,CAAC;gBAC9C,MAAM,EAAE,EAAE;gBACV,YAAY,EAAE,OAAO;aACtB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,wBAAwB,CAAC,MAAM,CACzD,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the details of the specified email notification(alert) configuration.
17
17
  *
18
18
  * @summary Gets the details of the specified email notification(alert) configuration.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationAlertSettings_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json
20
20
  */
21
21
  function getsAnEmailNotificationAlertConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the list of email notification(alert) configurations for the vault.
17
17
  *
18
18
  * @summary Gets the list of email notification(alert) configurations for the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationAlertSettings_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_List.json
20
20
  */
21
21
  function getsTheListOfConfiguredEmailNotificationAlertConfigurations() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the list of Azure Site Recovery appliances for the vault.
17
17
  *
18
18
  * @summary Gets the list of Azure Site Recovery appliances for the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationAppliances_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAppliances_List.json
20
20
  */
21
21
  function getsTheListOfAppliances() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Validates whether a given VM can be protected or not in which case returns list of errors.
17
17
  *
18
18
  * @summary Validates whether a given VM can be protected or not in which case returns list of errors.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationEligibilityResults_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json
20
20
  */
21
21
  function getsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Validates whether a given VM can be protected or not in which case returns list of errors.
17
17
  *
18
18
  * @summary Validates whether a given VM can be protected or not in which case returns list of errors.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationEligibilityResults_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_List.json
20
20
  */
21
21
  function getsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to get the details of an Azure Site recovery event.
17
17
  *
18
18
  * @summary The operation to get the details of an Azure Site recovery event.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationEvents_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json
20
20
  */
21
21
  function getTheDetailsOfAnAzureSiteRecoveryEvent() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the list of Azure Site Recovery events for the vault.
17
17
  *
18
18
  * @summary Gets the list of Azure Site Recovery events for the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationEvents_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_List.json
20
20
  */
21
21
  function getsTheListOfAzureSiteRecoveryEvents() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to perform a consistency check on the fabric.
17
17
  *
18
18
  * @summary The operation to perform a consistency check on the fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_CheckConsistency.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_CheckConsistency.json
20
20
  */
21
21
  function checksTheConsistencyOfTheAsrFabric() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).
17
17
  *
18
18
  * @summary The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_Create.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Create.json
20
20
  */
21
21
  function createsAnAzureSiteRecoveryFabric() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"replicationFabricsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,UAAU,GAAG,QAAQ,CAAC;QAC5B,MAAM,KAAK,GAAwB;YACjC,UAAU,EAAE;gBACV,aAAa,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE;aAC5C;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,kBAAkB,CAC/D,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationFabricsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,UAAU,GAAG,QAAQ,CAAC;QAC5B,MAAM,KAAK,GAAwB;YACjC,UAAU,EAAE;gBACV,aAAa,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE;aAC5C;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,kBAAkB,CAC/D,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to delete or remove an Azure Site Recovery fabric.
17
17
  *
18
18
  * @summary The operation to delete or remove an Azure Site Recovery fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_Delete.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Delete.json
20
20
  */
21
21
  function deletesTheSite() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the details of an Azure Site Recovery fabric.
17
17
  *
18
18
  * @summary Gets the details of an Azure Site Recovery fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json
20
20
  */
21
21
  function getsTheDetailsOfAnAsrFabric() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a list of the Azure Site Recovery fabrics in the vault.
17
17
  *
18
18
  * @summary Gets a list of the Azure Site Recovery fabrics in the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_List.json
20
20
  */
21
21
  function getsTheListOfAsrFabrics() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to migrate an Azure Site Recovery fabric to AAD.
17
17
  *
18
18
  * @summary The operation to migrate an Azure Site Recovery fabric to AAD.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_MigrateToAad.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_MigrateToAad.json
20
20
  */
21
21
  function migratesTheSiteToAad() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to purge(force delete) an Azure Site Recovery fabric.
17
17
  *
18
18
  * @summary The operation to purge(force delete) an Azure Site Recovery fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_Purge.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Purge.json
20
20
  */
21
21
  function purgesTheSite() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to move replications from a process server to another process server.
17
17
  *
18
18
  * @summary The operation to move replications from a process server to another process server.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_ReassociateGateway.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_ReassociateGateway.json
20
20
  */
21
21
  function performFailoverOfTheProcessServer() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -31,8 +31,8 @@ function performFailoverOfTheProcessServer() {
31
31
  sourceProcessServerId: "AFA0EC54-1894-4E44-9CAB02DB8854B117",
32
32
  targetProcessServerId: "5D3ED340-85AE-C646-B338641E015DA405",
33
33
  updateType: "ServerLevel",
34
- vmsToMigrate: ["Vm1", "Vm2"]
35
- }
34
+ vmsToMigrate: ["Vm1", "Vm2"],
35
+ },
36
36
  };
37
37
  const credential = new DefaultAzureCredential();
38
38
  const client = new SiteRecoveryManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"replicationFabricsReassociateGatewaySample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsReassociateGatewaySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,IAAI,YAAY,CAAC;QAC7E,MAAM,UAAU,GAAG,aAAa,CAAC;QACjC,MAAM,4BAA4B,GAAiC;YACjE,UAAU,EAAE;gBACV,aAAa,EAAE,4CAA4C;gBAC3D,qBAAqB,EAAE,qCAAqC;gBAC5D,qBAAqB,EAAE,qCAAqC;gBAC5D,UAAU,EAAE,aAAa;gBACzB,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;aAC7B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,8BAA8B,CAC3E,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationFabricsReassociateGatewaySample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsReassociateGatewaySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,IAAI,YAAY,CAAC;QAC7E,MAAM,UAAU,GAAG,aAAa,CAAC;QACjC,MAAM,4BAA4B,GAAiC;YACjE,UAAU,EAAE;gBACV,aAAa,EAAE,4CAA4C;gBAC3D,qBAAqB,EAAE,qCAAqC;gBAC5D,qBAAqB,EAAE,qCAAqC;gBAC5D,UAAU,EAAE,aAAa;gBACzB,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;aAC7B;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,8BAA8B,CAC3E,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=replicationFabricsRemoveInfraSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationFabricsRemoveInfraSample.d.ts","sourceRoot":"","sources":["../../samples-dev/replicationFabricsRemoveInfraSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Removes the appliance's infrastructure under the fabric.
17
+ *
18
+ * @summary Removes the appliance's infrastructure under the fabric.
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationInfrastructure_Delete.json
20
+ */
21
+ function removesTheApplianceInfrastructureUnderTheFabric() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["RECOVERYSERVICESSITERECOVERY_SUBSCRIPTION_ID"] ||
24
+ "c183865e-6077-46f2-a3b1-deb0f4f4650a";
25
+ const resourceGroupName = process.env["RECOVERYSERVICESSITERECOVERY_RESOURCE_GROUP"] ||
26
+ "resourceGroupPS1";
27
+ const resourceName = "vault1";
28
+ const fabricName = "cloud1";
29
+ const credential = new DefaultAzureCredential();
30
+ const client = new SiteRecoveryManagementClient(credential, subscriptionId);
31
+ const result = yield client.replicationFabrics.beginRemoveInfraAndWait(resourceGroupName, resourceName, fabricName);
32
+ console.log(result);
33
+ });
34
+ }
35
+ function main() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ removesTheApplianceInfrastructureUnderTheFabric();
38
+ });
39
+ }
40
+ main().catch(console.error);
41
+ //# sourceMappingURL=replicationFabricsRemoveInfraSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationFabricsRemoveInfraSample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsRemoveInfraSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+CAA+C;;QAC5D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAG,QAAQ,CAAC;QAC5B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,uBAAuB,CACpE,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Renews the connection certificate for the ASR replication fabric.
17
17
  *
18
18
  * @summary Renews the connection certificate for the ASR replication fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationFabrics_RenewCertificate.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_RenewCertificate.json
20
20
  */
21
21
  function renewsCertificateForTheFabric() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -27,7 +27,7 @@ function renewsCertificateForTheFabric() {
27
27
  "resourceGroupPS1";
28
28
  const fabricName = "cloud1";
29
29
  const renewCertificate = {
30
- properties: { renewCertificateType: "Cloud" }
30
+ properties: { renewCertificateType: "Cloud" },
31
31
  };
32
32
  const credential = new DefaultAzureCredential();
33
33
  const client = new SiteRecoveryManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"replicationFabricsRenewCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsRenewCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,UAAU,GAAG,QAAQ,CAAC;QAC5B,MAAM,gBAAgB,GAA0B;YAC9C,UAAU,EAAE,EAAE,oBAAoB,EAAE,OAAO,EAAE;SAC9C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,4BAA4B,CACzE,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationFabricsRenewCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationFabricsRenewCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,UAAU,GAAG,QAAQ,CAAC;QAC5B,MAAM,gBAAgB,GAA0B;YAC9C,UAAU,EAAE,EAAE,oBAAoB,EAAE,OAAO,EAAE;SAC9C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,4BAA4B,CACzE,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to cancel an Azure Site Recovery job.
17
17
  *
18
18
  * @summary The operation to cancel an Azure Site Recovery job.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_Cancel.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Cancel.json
20
20
  */
21
21
  function cancelsTheSpecifiedJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to export the details of the Azure Site Recovery jobs of the vault.
17
17
  *
18
18
  * @summary The operation to export the details of the Azure Site Recovery jobs of the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_Export.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Export.json
20
20
  */
21
21
  function exportsTheDetailsOfTheAzureSiteRecoveryJobsOfTheVault() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -29,7 +29,7 @@ function exportsTheDetailsOfTheAzureSiteRecoveryJobsOfTheVault() {
29
29
  affectedObjectTypes: "",
30
30
  endTime: "2017-05-04T14:26:51.9161395Z",
31
31
  jobStatus: "",
32
- startTime: "2017-04-27T14:26:51.9161395Z"
32
+ startTime: "2017-04-27T14:26:51.9161395Z",
33
33
  };
34
34
  const credential = new DefaultAzureCredential();
35
35
  const client = new SiteRecoveryManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"replicationJobsExportSample.js","sourceRoot":"","sources":["../../samples-dev/replicationJobsExportSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qDAAqD;;QAClE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,iBAAiB,GAAsB;YAC3C,mBAAmB,EAAE,EAAE;YACvB,OAAO,EAAE,8BAA8B;YACvC,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,8BAA8B;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qDAAqD,EAAE,CAAC;IAC1D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationJobsExportSample.js","sourceRoot":"","sources":["../../samples-dev/replicationJobsExportSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qDAAqD;;QAClE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,iBAAiB,GAAsB;YAC3C,mBAAmB,EAAE,EAAE;YACvB,OAAO,EAAE,8BAA8B;YACvC,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,8BAA8B;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qDAAqD,EAAE,CAAC;IAC1D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the details of an Azure Site Recovery job.
17
17
  *
18
18
  * @summary Get the details of an Azure Site Recovery job.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json
20
20
  */
21
21
  function getsTheJobDetails() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the list of Azure Site Recovery Jobs for the vault.
17
17
  *
18
18
  * @summary Gets the list of Azure Site Recovery Jobs for the vault.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_List.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_List.json
20
20
  */
21
21
  function getsTheListOfJobs() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to restart an Azure Site Recovery job.
17
17
  *
18
18
  * @summary The operation to restart an Azure Site Recovery job.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_Restart.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Restart.json
20
20
  */
21
21
  function restartsTheSpecifiedJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to resume an Azure Site Recovery job.
17
17
  *
18
18
  * @summary The operation to resume an Azure Site Recovery job.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationJobs_Resume.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Resume.json
20
20
  */
21
21
  function resumesTheSpecifiedJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"replicationJobsResumeSample.js","sourceRoot":"","sources":["../../samples-dev/replicationJobsResumeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,OAAO,GAAG,sCAAsC,CAAC;QACvD,MAAM,eAAe,GAAoB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sBAAsB,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationJobsResumeSample.js","sourceRoot":"","sources":["../../samples-dev/replicationJobsResumeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,kBAAkB,CAAC;QACrB,MAAM,OAAO,GAAG,sCAAsC,CAAC;QACvD,MAAM,eAAe,GAAoB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sBAAsB,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the details of a logical network.
17
17
  *
18
18
  * @summary Gets the details of a logical network.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationLogicalNetworks_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json
20
20
  */
21
21
  function getsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all the logical networks of the Azure Site Recovery fabric.
17
17
  *
18
18
  * @summary Lists all the logical networks of the Azure Site Recovery fabric.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json
20
20
  */
21
21
  function getsTheListOfLogicalNetworksUnderAFabric() {
22
22
  var _a, e_1, _b, _c;
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { SiteRecoveryManagementClient } from "@azure/arm-recoveryservices-siterecovery";
11
+ import { SiteRecoveryManagementClient, } from "@azure/arm-recoveryservices-siterecovery";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to create an ASR migration item (enable migration).
17
17
  *
18
18
  * @summary The operation to create an ASR migration item (enable migration).
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationMigrationItems_Create.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Create.json
20
20
  */
21
21
  function enablesMigration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -38,16 +38,16 @@ function enablesMigration() {
38
38
  diskId: "disk1",
39
39
  isOSDisk: "true",
40
40
  logStorageAccountId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Storage/storageAccounts/logStorageAccount1",
41
- logStorageAccountSasSecretName: "logStorageSas"
42
- }
41
+ logStorageAccountSasSecretName: "logStorageSas",
42
+ },
43
43
  ],
44
44
  instanceType: "VMwareCbt",
45
45
  snapshotRunAsAccountId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/snapshotRunAsAccount1",
46
46
  targetNetworkId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1",
47
47
  targetResourceGroupId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1",
48
- vmwareMachineId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/machines/virtualmachine1"
49
- }
50
- }
48
+ vmwareMachineId: "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/machines/virtualmachine1",
49
+ },
50
+ },
51
51
  };
52
52
  const credential = new DefaultAzureCredential();
53
53
  const client = new SiteRecoveryManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"replicationMigrationItemsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationMigrationItemsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,gBAAgB,CAAC;QACnB,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,MAAM,uBAAuB,GAAG,kBAAkB,CAAC;QACnD,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,KAAK,GAAyB;YAClC,UAAU,EAAE;gBACV,QAAQ,EACN,gLAAgL;gBAClL,uBAAuB,EAAE;oBACvB,uBAAuB,EACrB,6KAA6K;oBAC/K,cAAc,EAAE;wBACd;4BACE,MAAM,EAAE,OAAO;4BACf,QAAQ,EAAE,MAAM;4BAChB,mBAAmB,EACjB,kJAAkJ;4BACpJ,8BAA8B,EAAE,eAAe;yBAChD;qBACF;oBACD,YAAY,EAAE,WAAW;oBACzB,sBAAsB,EACpB,4KAA4K;oBAC9K,eAAe,EACb,+IAA+I;oBACjJ,qBAAqB,EACnB,mFAAmF;oBACrF,eAAe,EACb,iKAAiK;iBACpK;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,kBAAkB,CACtE,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"replicationMigrationItemsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/replicationMigrationItemsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC;YAC1D,gBAAgB,CAAC;QACnB,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,MAAM,uBAAuB,GAAG,kBAAkB,CAAC;QACnD,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,KAAK,GAAyB;YAClC,UAAU,EAAE;gBACV,QAAQ,EACN,gLAAgL;gBAClL,uBAAuB,EAAE;oBACvB,uBAAuB,EACrB,6KAA6K;oBAC/K,cAAc,EAAE;wBACd;4BACE,MAAM,EAAE,OAAO;4BACf,QAAQ,EAAE,MAAM;4BAChB,mBAAmB,EACjB,kJAAkJ;4BACpJ,8BAA8B,EAAE,eAAe;yBAChD;qBACF;oBACD,YAAY,EAAE,WAAW;oBACzB,sBAAsB,EACpB,4KAA4K;oBAC9K,eAAe,EACb,+IAA+I;oBACjJ,qBAAqB,EACnB,mFAAmF;oBACrF,eAAe,EACb,iKAAiK;iBACpK;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,kBAAkB,CACtE,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The operation to delete an ASR migration item.
17
17
  *
18
18
  * @summary The operation to delete an ASR migration item.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationMigrationItems_Delete.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Delete.json
20
20
  */
21
21
  function deleteTheMigrationItem() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the details of a migration item.
17
17
  *
18
18
  * @summary Gets the details of a migration item.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationMigrationItems_Get.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json
20
20
  */
21
21
  function getsTheDetailsOfAMigrationItem() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the list of ASR migration items in the protection container.
17
17
  *
18
18
  * @summary Gets the list of ASR migration items in the protection container.
19
- * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
19
+ * x-ms-original-file: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json
20
20
  */
21
21
  function getsTheListOfMigrationItemsInTheProtectionContainer() {
22
22
  var _a, e_1, _b, _c;