@azure/arm-recoveryservices-siterecovery 4.0.0 → 5.0.0-alpha.20221215.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 (822) hide show
  1. package/CHANGELOG.md +463 -0
  2. package/README.md +12 -1
  3. package/dist/index.js +3961 -1411
  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.d.ts +2 -0
  8. package/dist-esm/samples-dev/migrationRecoveryPointsGetSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/migrationRecoveryPointsGetSample.js +35 -0
  10. package/dist-esm/samples-dev/migrationRecoveryPointsGetSample.js.map +1 -0
  11. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js +48 -0
  14. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js.map +1 -0
  15. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/operationsListSample.js +44 -0
  18. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  19. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/recoveryPointsGetSample.js +35 -0
  22. package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -0
  23. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js +48 -0
  26. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js.map +1 -0
  27. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js +39 -0
  30. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.js +32 -0
  34. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.js.map +1 -0
  35. package/dist-esm/samples-dev/replicationAlertSettingsListSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/replicationAlertSettingsListSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/replicationAlertSettingsListSample.js +45 -0
  38. package/dist-esm/samples-dev/replicationAlertSettingsListSample.js.map +1 -0
  39. package/dist-esm/samples-dev/replicationAppliancesListSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/replicationAppliancesListSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/replicationAppliancesListSample.js +45 -0
  42. package/dist-esm/samples-dev/replicationAppliancesListSample.js.map +1 -0
  43. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.js +31 -0
  46. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.js.map +1 -0
  47. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.js +31 -0
  50. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.js.map +1 -0
  51. package/dist-esm/samples-dev/replicationEventsGetSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/replicationEventsGetSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/replicationEventsGetSample.js +32 -0
  54. package/dist-esm/samples-dev/replicationEventsGetSample.js.map +1 -0
  55. package/dist-esm/samples-dev/replicationEventsListSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/replicationEventsListSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/replicationEventsListSample.js +45 -0
  58. package/dist-esm/samples-dev/replicationEventsListSample.js.map +1 -0
  59. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.d.ts +2 -0
  60. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.js +32 -0
  62. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.js.map +1 -0
  63. package/dist-esm/samples-dev/replicationFabricsCreateSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/replicationFabricsCreateSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/replicationFabricsCreateSample.js +37 -0
  66. package/dist-esm/samples-dev/replicationFabricsCreateSample.js.map +1 -0
  67. package/dist-esm/samples-dev/replicationFabricsDeleteSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/replicationFabricsDeleteSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/replicationFabricsDeleteSample.js +32 -0
  70. package/dist-esm/samples-dev/replicationFabricsDeleteSample.js.map +1 -0
  71. package/dist-esm/samples-dev/replicationFabricsGetSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/replicationFabricsGetSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/replicationFabricsGetSample.js +32 -0
  74. package/dist-esm/samples-dev/replicationFabricsGetSample.js.map +1 -0
  75. package/dist-esm/samples-dev/replicationFabricsListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/replicationFabricsListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/replicationFabricsListSample.js +45 -0
  78. package/dist-esm/samples-dev/replicationFabricsListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.js +32 -0
  82. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.js.map +1 -0
  83. package/dist-esm/samples-dev/replicationFabricsPurgeSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/replicationFabricsPurgeSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/replicationFabricsPurgeSample.js +32 -0
  86. package/dist-esm/samples-dev/replicationFabricsPurgeSample.js.map +1 -0
  87. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.d.ts +2 -0
  88. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js +41 -0
  90. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js.map +1 -0
  91. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js +35 -0
  94. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js.map +1 -0
  95. package/dist-esm/samples-dev/replicationJobsCancelSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/replicationJobsCancelSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/replicationJobsCancelSample.js +32 -0
  98. package/dist-esm/samples-dev/replicationJobsCancelSample.js.map +1 -0
  99. package/dist-esm/samples-dev/replicationJobsExportSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/replicationJobsExportSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/replicationJobsExportSample.js +37 -0
  102. package/dist-esm/samples-dev/replicationJobsExportSample.js.map +1 -0
  103. package/dist-esm/samples-dev/replicationJobsGetSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/replicationJobsGetSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/replicationJobsGetSample.js +32 -0
  106. package/dist-esm/samples-dev/replicationJobsGetSample.js.map +1 -0
  107. package/dist-esm/samples-dev/replicationJobsListSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/replicationJobsListSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/replicationJobsListSample.js +45 -0
  110. package/dist-esm/samples-dev/replicationJobsListSample.js.map +1 -0
  111. package/dist-esm/samples-dev/replicationJobsRestartSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/replicationJobsRestartSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/replicationJobsRestartSample.js +32 -0
  114. package/dist-esm/samples-dev/replicationJobsRestartSample.js.map +1 -0
  115. package/dist-esm/samples-dev/replicationJobsResumeSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/replicationJobsResumeSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/replicationJobsResumeSample.js +33 -0
  118. package/dist-esm/samples-dev/replicationJobsResumeSample.js.map +1 -0
  119. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.js +33 -0
  122. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.js.map +1 -0
  123. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js +46 -0
  126. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js.map +1 -0
  127. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.d.ts +2 -0
  128. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.d.ts.map +1 -0
  129. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js +55 -0
  130. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js.map +1 -0
  131. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.d.ts +2 -0
  132. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.d.ts.map +1 -0
  133. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.js +34 -0
  134. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.js.map +1 -0
  135. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.js +34 -0
  138. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.js.map +1 -0
  139. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.d.ts +2 -0
  140. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.d.ts.map +1 -0
  141. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js +47 -0
  142. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js.map +1 -0
  143. package/dist-esm/samples-dev/replicationMigrationItemsListSample.d.ts +2 -0
  144. package/dist-esm/samples-dev/replicationMigrationItemsListSample.d.ts.map +1 -0
  145. package/dist-esm/samples-dev/replicationMigrationItemsListSample.js +45 -0
  146. package/dist-esm/samples-dev/replicationMigrationItemsListSample.js.map +1 -0
  147. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.d.ts +2 -0
  148. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.d.ts.map +1 -0
  149. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js +42 -0
  150. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js.map +1 -0
  151. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.d.ts +2 -0
  152. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.d.ts.map +1 -0
  153. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js +37 -0
  154. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js.map +1 -0
  155. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.d.ts +2 -0
  156. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.d.ts.map +1 -0
  157. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js +42 -0
  158. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js.map +1 -0
  159. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.d.ts +2 -0
  160. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.d.ts.map +1 -0
  161. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js +42 -0
  162. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js.map +1 -0
  163. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.d.ts +2 -0
  164. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.d.ts.map +1 -0
  165. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js +37 -0
  166. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js.map +1 -0
  167. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.d.ts +2 -0
  168. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.d.ts.map +1 -0
  169. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js +43 -0
  170. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js.map +1 -0
  171. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.d.ts +2 -0
  172. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.d.ts.map +1 -0
  173. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js +37 -0
  174. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js.map +1 -0
  175. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.d.ts +2 -0
  176. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.d.ts.map +1 -0
  177. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js +41 -0
  178. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js.map +1 -0
  179. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.d.ts +2 -0
  180. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.d.ts.map +1 -0
  181. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.js +34 -0
  182. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.js.map +1 -0
  183. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.d.ts +2 -0
  184. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.d.ts.map +1 -0
  185. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.js +34 -0
  186. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.js.map +1 -0
  187. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.d.ts +2 -0
  188. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.d.ts.map +1 -0
  189. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js +47 -0
  190. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js.map +1 -0
  191. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.d.ts +2 -0
  192. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.d.ts.map +1 -0
  193. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js +45 -0
  194. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js.map +1 -0
  195. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.d.ts +2 -0
  196. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.d.ts.map +1 -0
  197. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js +41 -0
  198. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js.map +1 -0
  199. package/dist-esm/samples-dev/replicationNetworksGetSample.d.ts +2 -0
  200. package/dist-esm/samples-dev/replicationNetworksGetSample.d.ts.map +1 -0
  201. package/dist-esm/samples-dev/replicationNetworksGetSample.js +33 -0
  202. package/dist-esm/samples-dev/replicationNetworksGetSample.js.map +1 -0
  203. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.d.ts +2 -0
  204. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.d.ts.map +1 -0
  205. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js +46 -0
  206. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js.map +1 -0
  207. package/dist-esm/samples-dev/replicationNetworksListSample.d.ts +2 -0
  208. package/dist-esm/samples-dev/replicationNetworksListSample.d.ts.map +1 -0
  209. package/dist-esm/samples-dev/replicationNetworksListSample.js +45 -0
  210. package/dist-esm/samples-dev/replicationNetworksListSample.js.map +1 -0
  211. package/dist-esm/samples-dev/replicationPoliciesCreateSample.d.ts +2 -0
  212. package/dist-esm/samples-dev/replicationPoliciesCreateSample.d.ts.map +1 -0
  213. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js +37 -0
  214. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js.map +1 -0
  215. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.d.ts +2 -0
  216. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.d.ts.map +1 -0
  217. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.js +32 -0
  218. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.js.map +1 -0
  219. package/dist-esm/samples-dev/replicationPoliciesGetSample.d.ts +2 -0
  220. package/dist-esm/samples-dev/replicationPoliciesGetSample.d.ts.map +1 -0
  221. package/dist-esm/samples-dev/replicationPoliciesGetSample.js +32 -0
  222. package/dist-esm/samples-dev/replicationPoliciesGetSample.js.map +1 -0
  223. package/dist-esm/samples-dev/replicationPoliciesListSample.d.ts +2 -0
  224. package/dist-esm/samples-dev/replicationPoliciesListSample.d.ts.map +1 -0
  225. package/dist-esm/samples-dev/replicationPoliciesListSample.js +45 -0
  226. package/dist-esm/samples-dev/replicationPoliciesListSample.js.map +1 -0
  227. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.d.ts +2 -0
  228. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.d.ts.map +1 -0
  229. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js +37 -0
  230. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js.map +1 -0
  231. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.d.ts +2 -0
  232. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.d.ts.map +1 -0
  233. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.js +34 -0
  234. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.js.map +1 -0
  235. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.d.ts +2 -0
  236. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.d.ts.map +1 -0
  237. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js +47 -0
  238. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js.map +1 -0
  239. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.d.ts +2 -0
  240. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.d.ts.map +1 -0
  241. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js +48 -0
  242. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js.map +1 -0
  243. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.d.ts +2 -0
  244. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.d.ts.map +1 -0
  245. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js +40 -0
  246. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js.map +1 -0
  247. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.d.ts +2 -0
  248. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.d.ts.map +1 -0
  249. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js +41 -0
  250. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js.map +1 -0
  251. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.d.ts +2 -0
  252. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.d.ts.map +1 -0
  253. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js +41 -0
  254. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js.map +1 -0
  255. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.d.ts +2 -0
  256. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.d.ts.map +1 -0
  257. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js +34 -0
  258. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js.map +1 -0
  259. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.d.ts +2 -0
  260. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.d.ts.map +1 -0
  261. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js +34 -0
  262. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js.map +1 -0
  263. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.d.ts +2 -0
  264. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.d.ts.map +1 -0
  265. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.js +34 -0
  266. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.js.map +1 -0
  267. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.d.ts +2 -0
  268. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.d.ts.map +1 -0
  269. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js +47 -0
  270. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js.map +1 -0
  271. package/dist-esm/samples-dev/replicationProtectedItemsListSample.d.ts +2 -0
  272. package/dist-esm/samples-dev/replicationProtectedItemsListSample.d.ts.map +1 -0
  273. package/dist-esm/samples-dev/replicationProtectedItemsListSample.js +45 -0
  274. package/dist-esm/samples-dev/replicationProtectedItemsListSample.js.map +1 -0
  275. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.d.ts +2 -0
  276. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.d.ts.map +1 -0
  277. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js +40 -0
  278. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js.map +1 -0
  279. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.d.ts +2 -0
  280. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.d.ts.map +1 -0
  281. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.js +34 -0
  282. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.js.map +1 -0
  283. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.d.ts +2 -0
  284. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.d.ts.map +1 -0
  285. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js +44 -0
  286. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js.map +1 -0
  287. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.d.ts +2 -0
  288. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.d.ts.map +1 -0
  289. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js +34 -0
  290. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js.map +1 -0
  291. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.d.ts +2 -0
  292. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.d.ts.map +1 -0
  293. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js +40 -0
  294. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js.map +1 -0
  295. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.d.ts +2 -0
  296. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.d.ts.map +1 -0
  297. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js +37 -0
  298. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js.map +1 -0
  299. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.d.ts +2 -0
  300. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.d.ts.map +1 -0
  301. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js +45 -0
  302. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js.map +1 -0
  303. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.d.ts +2 -0
  304. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.d.ts.map +1 -0
  305. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js +37 -0
  306. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js.map +1 -0
  307. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.d.ts +2 -0
  308. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.d.ts.map +1 -0
  309. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js +42 -0
  310. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js.map +1 -0
  311. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.d.ts +2 -0
  312. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.d.ts.map +1 -0
  313. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js +41 -0
  314. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js.map +1 -0
  315. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.d.ts +2 -0
  316. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.d.ts.map +1 -0
  317. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js +43 -0
  318. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js.map +1 -0
  319. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.d.ts +2 -0
  320. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.d.ts.map +1 -0
  321. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js +37 -0
  322. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js.map +1 -0
  323. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.d.ts +2 -0
  324. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.d.ts.map +1 -0
  325. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js +57 -0
  326. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js.map +1 -0
  327. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.d.ts +2 -0
  328. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.d.ts.map +1 -0
  329. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js +43 -0
  330. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js.map +1 -0
  331. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.d.ts +2 -0
  332. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.d.ts.map +1 -0
  333. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js +37 -0
  334. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js.map +1 -0
  335. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.d.ts +2 -0
  336. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.d.ts.map +1 -0
  337. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.js +34 -0
  338. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.js.map +1 -0
  339. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.d.ts +2 -0
  340. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.d.ts.map +1 -0
  341. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js +47 -0
  342. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js.map +1 -0
  343. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.d.ts +2 -0
  344. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.d.ts.map +1 -0
  345. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js +45 -0
  346. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js.map +1 -0
  347. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.d.ts +2 -0
  348. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.d.ts.map +1 -0
  349. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js +34 -0
  350. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js.map +1 -0
  351. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.d.ts +2 -0
  352. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.d.ts.map +1 -0
  353. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js +43 -0
  354. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js.map +1 -0
  355. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.d.ts +2 -0
  356. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.d.ts.map +1 -0
  357. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js +40 -0
  358. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js.map +1 -0
  359. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.d.ts +2 -0
  360. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.d.ts.map +1 -0
  361. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js +33 -0
  362. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js.map +1 -0
  363. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.d.ts +2 -0
  364. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.d.ts.map +1 -0
  365. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js +40 -0
  366. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js.map +1 -0
  367. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.d.ts +2 -0
  368. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.d.ts.map +1 -0
  369. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.js +33 -0
  370. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.js.map +1 -0
  371. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.d.ts +2 -0
  372. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.d.ts.map +1 -0
  373. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js +46 -0
  374. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js.map +1 -0
  375. package/dist-esm/samples-dev/replicationProtectionContainersListSample.d.ts +2 -0
  376. package/dist-esm/samples-dev/replicationProtectionContainersListSample.d.ts.map +1 -0
  377. package/dist-esm/samples-dev/replicationProtectionContainersListSample.js +45 -0
  378. package/dist-esm/samples-dev/replicationProtectionContainersListSample.js.map +1 -0
  379. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.d.ts +2 -0
  380. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.d.ts.map +1 -0
  381. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js +36 -0
  382. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js.map +1 -0
  383. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.d.ts +2 -0
  384. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.d.ts.map +1 -0
  385. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js +45 -0
  386. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js.map +1 -0
  387. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.d.ts +2 -0
  388. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.d.ts.map +1 -0
  389. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.js +32 -0
  390. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.js.map +1 -0
  391. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.d.ts +2 -0
  392. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.d.ts.map +1 -0
  393. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js +45 -0
  394. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js.map +1 -0
  395. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.d.ts +2 -0
  396. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.d.ts.map +1 -0
  397. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js +52 -0
  398. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js.map +1 -0
  399. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.d.ts +2 -0
  400. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.d.ts.map +1 -0
  401. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.js +32 -0
  402. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.js.map +1 -0
  403. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.d.ts +2 -0
  404. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.d.ts.map +1 -0
  405. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js +32 -0
  406. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js.map +1 -0
  407. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.d.ts +2 -0
  408. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.d.ts.map +1 -0
  409. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js +32 -0
  410. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js.map +1 -0
  411. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.d.ts +2 -0
  412. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.d.ts.map +1 -0
  413. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.js +32 -0
  414. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.js.map +1 -0
  415. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.d.ts +2 -0
  416. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.d.ts.map +1 -0
  417. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js +45 -0
  418. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js.map +1 -0
  419. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.d.ts +2 -0
  420. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.d.ts.map +1 -0
  421. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js +38 -0
  422. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js.map +1 -0
  423. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.d.ts +2 -0
  424. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.d.ts.map +1 -0
  425. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.js +32 -0
  426. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.js.map +1 -0
  427. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.d.ts +2 -0
  428. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.d.ts.map +1 -0
  429. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js +35 -0
  430. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js.map +1 -0
  431. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.d.ts +2 -0
  432. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.d.ts.map +1 -0
  433. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js +40 -0
  434. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js.map +1 -0
  435. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.d.ts +2 -0
  436. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.d.ts.map +1 -0
  437. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js +39 -0
  438. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js.map +1 -0
  439. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.d.ts +2 -0
  440. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.d.ts.map +1 -0
  441. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js +72 -0
  442. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js.map +1 -0
  443. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.d.ts +2 -0
  444. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.d.ts.map +1 -0
  445. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js +52 -0
  446. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js.map +1 -0
  447. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.d.ts +2 -0
  448. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.d.ts.map +1 -0
  449. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js +33 -0
  450. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js.map +1 -0
  451. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.d.ts +2 -0
  452. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.d.ts.map +1 -0
  453. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.js +33 -0
  454. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.js.map +1 -0
  455. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.d.ts +2 -0
  456. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.d.ts.map +1 -0
  457. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js +46 -0
  458. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js.map +1 -0
  459. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.d.ts +2 -0
  460. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.d.ts.map +1 -0
  461. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js +45 -0
  462. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js.map +1 -0
  463. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.d.ts +2 -0
  464. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.d.ts.map +1 -0
  465. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js +33 -0
  466. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js.map +1 -0
  467. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.d.ts +2 -0
  468. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.d.ts.map +1 -0
  469. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js +33 -0
  470. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js.map +1 -0
  471. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.d.ts +2 -0
  472. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.d.ts.map +1 -0
  473. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js +39 -0
  474. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js.map +1 -0
  475. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.d.ts +2 -0
  476. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.d.ts.map +1 -0
  477. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js +34 -0
  478. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js.map +1 -0
  479. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.d.ts +2 -0
  480. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.d.ts.map +1 -0
  481. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.js +34 -0
  482. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.js.map +1 -0
  483. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.d.ts +2 -0
  484. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.d.ts.map +1 -0
  485. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js +47 -0
  486. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js.map +1 -0
  487. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.d.ts +2 -0
  488. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.d.ts.map +1 -0
  489. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js +45 -0
  490. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js.map +1 -0
  491. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.d.ts +2 -0
  492. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.d.ts.map +1 -0
  493. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.js +33 -0
  494. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.js.map +1 -0
  495. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.d.ts +2 -0
  496. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.d.ts.map +1 -0
  497. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js +46 -0
  498. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js.map +1 -0
  499. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.d.ts +2 -0
  500. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.d.ts.map +1 -0
  501. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js +45 -0
  502. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js.map +1 -0
  503. package/dist-esm/samples-dev/replicationVaultHealthGetSample.d.ts +2 -0
  504. package/dist-esm/samples-dev/replicationVaultHealthGetSample.d.ts.map +1 -0
  505. package/dist-esm/samples-dev/replicationVaultHealthGetSample.js +31 -0
  506. package/dist-esm/samples-dev/replicationVaultHealthGetSample.js.map +1 -0
  507. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.d.ts +2 -0
  508. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.d.ts.map +1 -0
  509. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.js +31 -0
  510. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.js.map +1 -0
  511. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.d.ts +2 -0
  512. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.d.ts.map +1 -0
  513. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js +37 -0
  514. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js.map +1 -0
  515. package/dist-esm/samples-dev/replicationVaultSettingGetSample.d.ts +2 -0
  516. package/dist-esm/samples-dev/replicationVaultSettingGetSample.d.ts.map +1 -0
  517. package/dist-esm/samples-dev/replicationVaultSettingGetSample.js +32 -0
  518. package/dist-esm/samples-dev/replicationVaultSettingGetSample.js.map +1 -0
  519. package/dist-esm/samples-dev/replicationVaultSettingListSample.d.ts +2 -0
  520. package/dist-esm/samples-dev/replicationVaultSettingListSample.d.ts.map +1 -0
  521. package/dist-esm/samples-dev/replicationVaultSettingListSample.js +45 -0
  522. package/dist-esm/samples-dev/replicationVaultSettingListSample.js.map +1 -0
  523. package/dist-esm/samples-dev/replicationvCentersCreateSample.d.ts +2 -0
  524. package/dist-esm/samples-dev/replicationvCentersCreateSample.d.ts.map +1 -0
  525. package/dist-esm/samples-dev/replicationvCentersCreateSample.js +42 -0
  526. package/dist-esm/samples-dev/replicationvCentersCreateSample.js.map +1 -0
  527. package/dist-esm/samples-dev/replicationvCentersDeleteSample.d.ts +2 -0
  528. package/dist-esm/samples-dev/replicationvCentersDeleteSample.d.ts.map +1 -0
  529. package/dist-esm/samples-dev/replicationvCentersDeleteSample.js +33 -0
  530. package/dist-esm/samples-dev/replicationvCentersDeleteSample.js.map +1 -0
  531. package/dist-esm/samples-dev/replicationvCentersGetSample.d.ts +2 -0
  532. package/dist-esm/samples-dev/replicationvCentersGetSample.d.ts.map +1 -0
  533. package/dist-esm/samples-dev/replicationvCentersGetSample.js +33 -0
  534. package/dist-esm/samples-dev/replicationvCentersGetSample.js.map +1 -0
  535. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.d.ts +2 -0
  536. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.d.ts.map +1 -0
  537. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js +46 -0
  538. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js.map +1 -0
  539. package/dist-esm/samples-dev/replicationvCentersListSample.d.ts +2 -0
  540. package/dist-esm/samples-dev/replicationvCentersListSample.d.ts.map +1 -0
  541. package/dist-esm/samples-dev/replicationvCentersListSample.js +45 -0
  542. package/dist-esm/samples-dev/replicationvCentersListSample.js.map +1 -0
  543. package/dist-esm/samples-dev/replicationvCentersUpdateSample.d.ts +2 -0
  544. package/dist-esm/samples-dev/replicationvCentersUpdateSample.d.ts.map +1 -0
  545. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js +36 -0
  546. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js.map +1 -0
  547. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.d.ts +2 -0
  548. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.d.ts.map +1 -0
  549. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.js +31 -0
  550. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.js.map +1 -0
  551. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.d.ts +2 -0
  552. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.d.ts.map +1 -0
  553. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js +48 -0
  554. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js.map +1 -0
  555. package/dist-esm/src/index.d.ts +1 -0
  556. package/dist-esm/src/index.d.ts.map +1 -1
  557. package/dist-esm/src/index.js +1 -0
  558. package/dist-esm/src/index.js.map +1 -1
  559. package/dist-esm/src/models/index.d.ts +776 -412
  560. package/dist-esm/src/models/index.d.ts.map +1 -1
  561. package/dist-esm/src/models/index.js +202 -0
  562. package/dist-esm/src/models/index.js.map +1 -1
  563. package/dist-esm/src/models/mappers.d.ts +16 -5
  564. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  565. package/dist-esm/src/models/mappers.js +378 -19
  566. package/dist-esm/src/models/mappers.js.map +1 -1
  567. package/dist-esm/src/models/parameters.d.ts +2 -1
  568. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  569. package/dist-esm/src/models/parameters.js +10 -12
  570. package/dist-esm/src/models/parameters.js.map +1 -1
  571. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts +14 -2
  572. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -1
  573. package/dist-esm/src/operations/migrationRecoveryPoints.js +51 -17
  574. package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -1
  575. package/dist-esm/src/operations/operations.d.ts +7 -1
  576. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  577. package/dist-esm/src/operations/operations.js +34 -17
  578. package/dist-esm/src/operations/operations.js.map +1 -1
  579. package/dist-esm/src/operations/recoveryPoints.d.ts +14 -2
  580. package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -1
  581. package/dist-esm/src/operations/recoveryPoints.js +45 -16
  582. package/dist-esm/src/operations/recoveryPoints.js.map +1 -1
  583. package/dist-esm/src/operations/replicationAlertSettings.d.ts +18 -3
  584. package/dist-esm/src/operations/replicationAlertSettings.d.ts.map +1 -1
  585. package/dist-esm/src/operations/replicationAlertSettings.js +47 -21
  586. package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -1
  587. package/dist-esm/src/operations/replicationAppliances.d.ts +10 -1
  588. package/dist-esm/src/operations/replicationAppliances.d.ts.map +1 -1
  589. package/dist-esm/src/operations/replicationAppliances.js +37 -17
  590. package/dist-esm/src/operations/replicationAppliances.js.map +1 -1
  591. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts +6 -2
  592. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -1
  593. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +8 -4
  594. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -1
  595. package/dist-esm/src/operations/replicationEvents.d.ts +14 -2
  596. package/dist-esm/src/operations/replicationEvents.d.ts.map +1 -1
  597. package/dist-esm/src/operations/replicationEvents.js +42 -19
  598. package/dist-esm/src/operations/replicationEvents.js.map +1 -1
  599. package/dist-esm/src/operations/replicationFabrics.d.ts +70 -16
  600. package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -1
  601. package/dist-esm/src/operations/replicationFabrics.js +145 -54
  602. package/dist-esm/src/operations/replicationFabrics.js.map +1 -1
  603. package/dist-esm/src/operations/replicationJobs.d.ts +46 -10
  604. package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -1
  605. package/dist-esm/src/operations/replicationJobs.js +94 -39
  606. package/dist-esm/src/operations/replicationJobs.js.map +1 -1
  607. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts +14 -2
  608. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -1
  609. package/dist-esm/src/operations/replicationLogicalNetworks.js +48 -19
  610. package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -1
  611. package/dist-esm/src/operations/replicationMigrationItems.d.ts +129 -18
  612. package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -1
  613. package/dist-esm/src/operations/replicationMigrationItems.js +404 -75
  614. package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -1
  615. package/dist-esm/src/operations/replicationNetworkMappings.d.ts +48 -9
  616. package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -1
  617. package/dist-esm/src/operations/replicationNetworkMappings.js +154 -51
  618. package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -1
  619. package/dist-esm/src/operations/replicationNetworks.d.ts +24 -3
  620. package/dist-esm/src/operations/replicationNetworks.d.ts.map +1 -1
  621. package/dist-esm/src/operations/replicationNetworks.js +78 -36
  622. package/dist-esm/src/operations/replicationNetworks.js.map +1 -1
  623. package/dist-esm/src/operations/replicationPolicies.d.ts +38 -8
  624. package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -1
  625. package/dist-esm/src/operations/replicationPolicies.js +81 -34
  626. package/dist-esm/src/operations/replicationPolicies.js.map +1 -1
  627. package/dist-esm/src/operations/replicationProtectableItems.d.ts +14 -2
  628. package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -1
  629. package/dist-esm/src/operations/replicationProtectableItems.js +62 -24
  630. package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -1
  631. package/dist-esm/src/operations/replicationProtectedItems.d.ts +180 -45
  632. package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -1
  633. package/dist-esm/src/operations/replicationProtectedItems.js +367 -123
  634. package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -1
  635. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts +56 -11
  636. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -1
  637. package/dist-esm/src/operations/replicationProtectionContainerMappings.js +160 -53
  638. package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -1
  639. package/dist-esm/src/operations/replicationProtectionContainers.d.ts +56 -11
  640. package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -1
  641. package/dist-esm/src/operations/replicationProtectionContainers.js +157 -55
  642. package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -1
  643. package/dist-esm/src/operations/replicationProtectionIntents.d.ts +18 -3
  644. package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -1
  645. package/dist-esm/src/operations/replicationProtectionIntents.js +47 -25
  646. package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -1
  647. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts +94 -22
  648. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -1
  649. package/dist-esm/src/operations/replicationRecoveryPlans.js +172 -69
  650. package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -1
  651. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts +56 -11
  652. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -1
  653. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +137 -56
  654. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -1
  655. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts +40 -7
  656. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -1
  657. package/dist-esm/src/operations/replicationStorageClassificationMappings.js +120 -43
  658. package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -1
  659. package/dist-esm/src/operations/replicationStorageClassifications.d.ts +24 -3
  660. package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -1
  661. package/dist-esm/src/operations/replicationStorageClassifications.js +84 -36
  662. package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -1
  663. package/dist-esm/src/operations/replicationVaultHealth.d.ts +12 -3
  664. package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -1
  665. package/dist-esm/src/operations/replicationVaultHealth.js +18 -7
  666. package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -1
  667. package/dist-esm/src/operations/replicationVaultSetting.d.ts +22 -4
  668. package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -1
  669. package/dist-esm/src/operations/replicationVaultSetting.js +55 -24
  670. package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -1
  671. package/dist-esm/src/operations/replicationvCenters.d.ts +48 -9
  672. package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -1
  673. package/dist-esm/src/operations/replicationvCenters.js +131 -51
  674. package/dist-esm/src/operations/replicationvCenters.js.map +1 -1
  675. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts +4 -1
  676. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -1
  677. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +5 -2
  678. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -1
  679. package/dist-esm/src/operations/targetComputeSizes.d.ts +10 -1
  680. package/dist-esm/src/operations/targetComputeSizes.d.ts.map +1 -1
  681. package/dist-esm/src/operations/targetComputeSizes.js +39 -15
  682. package/dist-esm/src/operations/targetComputeSizes.js.map +1 -1
  683. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts +8 -2
  684. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts.map +1 -1
  685. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -1
  686. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  687. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +8 -2
  688. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -1
  689. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts +12 -3
  690. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts.map +1 -1
  691. package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts +4 -1
  692. package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts.map +1 -1
  693. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts +6 -2
  694. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts.map +1 -1
  695. package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts +8 -2
  696. package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts.map +1 -1
  697. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +64 -16
  698. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -1
  699. package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts +40 -10
  700. package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts.map +1 -1
  701. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts +8 -2
  702. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts.map +1 -1
  703. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts +117 -18
  704. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts.map +1 -1
  705. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts +36 -9
  706. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts.map +1 -1
  707. package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts +12 -3
  708. package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts.map +1 -1
  709. package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts +32 -8
  710. package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts.map +1 -1
  711. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts +8 -2
  712. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts.map +1 -1
  713. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts +168 -45
  714. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts.map +1 -1
  715. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts +44 -11
  716. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts.map +1 -1
  717. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts +44 -11
  718. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -1
  719. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts +12 -3
  720. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts.map +1 -1
  721. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts +88 -22
  722. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts.map +1 -1
  723. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts +44 -11
  724. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -1
  725. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts +28 -7
  726. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts.map +1 -1
  727. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts +12 -3
  728. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts.map +1 -1
  729. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts +12 -3
  730. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts.map +1 -1
  731. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts +16 -4
  732. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts.map +1 -1
  733. package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts +36 -9
  734. package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts.map +1 -1
  735. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts +4 -1
  736. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts.map +1 -1
  737. package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts +4 -1
  738. package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts.map +1 -1
  739. package/dist-esm/src/pagingHelper.d.ts +13 -0
  740. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  741. package/dist-esm/src/pagingHelper.js +32 -0
  742. package/dist-esm/src/pagingHelper.js.map +1 -0
  743. package/dist-esm/src/siteRecoveryManagementClient.d.ts +3 -6
  744. package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -1
  745. package/dist-esm/src/siteRecoveryManagementClient.js +56 -18
  746. package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -1
  747. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.d.ts +4 -0
  748. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.d.ts.map +1 -0
  749. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js +68 -0
  750. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js.map +1 -0
  751. package/package.json +43 -21
  752. package/review/arm-recoveryservices-siterecovery.api.md +1356 -1438
  753. package/rollup.config.js +6 -72
  754. package/src/index.ts +1 -0
  755. package/src/models/index.ts +915 -428
  756. package/src/models/mappers.ts +406 -19
  757. package/src/models/parameters.ts +13 -12
  758. package/src/operations/migrationRecoveryPoints.ts +73 -15
  759. package/src/operations/operations.ts +44 -14
  760. package/src/operations/recoveryPoints.ts +67 -14
  761. package/src/operations/replicationAlertSettings.ts +74 -16
  762. package/src/operations/replicationAppliances.ts +62 -14
  763. package/src/operations/replicationEligibilityResultsOperations.ts +8 -2
  764. package/src/operations/replicationEvents.ts +68 -15
  765. package/src/operations/replicationFabrics.ts +213 -34
  766. package/src/operations/replicationJobs.ts +149 -27
  767. package/src/operations/replicationLogicalNetworks.ts +75 -13
  768. package/src/operations/replicationMigrationItems.ts +576 -49
  769. package/src/operations/replicationNetworkMappings.ts +210 -37
  770. package/src/operations/replicationNetworks.ts +131 -28
  771. package/src/operations/replicationPolicies.ts +130 -24
  772. package/src/operations/replicationProtectableItems.ts +83 -21
  773. package/src/operations/replicationProtectedItems.ts +474 -64
  774. package/src/operations/replicationProtectionContainerMappings.ts +219 -36
  775. package/src/operations/replicationProtectionContainers.ts +222 -35
  776. package/src/operations/replicationProtectionIntents.ts +74 -20
  777. package/src/operations/replicationRecoveryPlans.ts +254 -41
  778. package/src/operations/replicationRecoveryServicesProviders.ts +212 -38
  779. package/src/operations/replicationStorageClassificationMappings.ts +173 -32
  780. package/src/operations/replicationStorageClassifications.ts +137 -28
  781. package/src/operations/replicationVaultHealth.ts +32 -4
  782. package/src/operations/replicationVaultSetting.ts +89 -18
  783. package/src/operations/replicationvCenters.ts +198 -35
  784. package/src/operations/supportedOperatingSystemsOperations.ts +9 -1
  785. package/src/operations/targetComputeSizes.ts +60 -14
  786. package/src/operationsInterfaces/migrationRecoveryPoints.ts +10 -0
  787. package/src/operationsInterfaces/operations.ts +3 -0
  788. package/src/operationsInterfaces/recoveryPoints.ts +10 -0
  789. package/src/operationsInterfaces/replicationAlertSettings.ts +15 -0
  790. package/src/operationsInterfaces/replicationAppliances.ts +5 -0
  791. package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +6 -0
  792. package/src/operationsInterfaces/replicationEvents.ts +10 -0
  793. package/src/operationsInterfaces/replicationFabrics.ts +80 -0
  794. package/src/operationsInterfaces/replicationJobs.ts +50 -0
  795. package/src/operationsInterfaces/replicationLogicalNetworks.ts +10 -0
  796. package/src/operationsInterfaces/replicationMigrationItems.ts +181 -0
  797. package/src/operationsInterfaces/replicationNetworkMappings.ts +45 -0
  798. package/src/operationsInterfaces/replicationNetworks.ts +15 -0
  799. package/src/operationsInterfaces/replicationPolicies.ts +40 -0
  800. package/src/operationsInterfaces/replicationProtectableItems.ts +10 -0
  801. package/src/operationsInterfaces/replicationProtectedItems.ts +211 -6
  802. package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +55 -0
  803. package/src/operationsInterfaces/replicationProtectionContainers.ts +55 -0
  804. package/src/operationsInterfaces/replicationProtectionIntents.ts +15 -0
  805. package/src/operationsInterfaces/replicationRecoveryPlans.ts +110 -0
  806. package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +55 -0
  807. package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +35 -0
  808. package/src/operationsInterfaces/replicationStorageClassifications.ts +15 -0
  809. package/src/operationsInterfaces/replicationVaultHealth.ts +15 -0
  810. package/src/operationsInterfaces/replicationVaultSetting.ts +20 -0
  811. package/src/operationsInterfaces/replicationvCenters.ts +45 -0
  812. package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +5 -0
  813. package/src/operationsInterfaces/targetComputeSizes.ts +5 -0
  814. package/src/pagingHelper.ts +39 -0
  815. package/src/siteRecoveryManagementClient.ts +71 -21
  816. package/tsconfig.json +19 -5
  817. package/types/arm-recoveryservices-siterecovery.d.ts +1680 -630
  818. package/types/tsdoc-metadata.json +1 -1
  819. package/dist-esm/test/sampleTest.d.ts +0 -2
  820. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  821. package/dist-esm/test/sampleTest.js +0 -40
  822. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { ReplicationProtectedItems } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -18,9 +19,10 @@ import {
18
19
  ReplicationProtectedItem,
19
20
  ReplicationProtectedItemsListByReplicationProtectionContainersNextOptionalParams,
20
21
  ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams,
22
+ ReplicationProtectedItemsListByReplicationProtectionContainersResponse,
21
23
  ReplicationProtectedItemsListNextOptionalParams,
22
24
  ReplicationProtectedItemsListOptionalParams,
23
- ReplicationProtectedItemsListByReplicationProtectionContainersResponse,
25
+ ReplicationProtectedItemsListResponse,
24
26
  ReplicationProtectedItemsGetOptionalParams,
25
27
  ReplicationProtectedItemsGetResponse,
26
28
  EnableProtectionInput,
@@ -74,7 +76,6 @@ import {
74
76
  UpdateMobilityServiceRequest,
75
77
  ReplicationProtectedItemsUpdateMobilityServiceOptionalParams,
76
78
  ReplicationProtectedItemsUpdateMobilityServiceResponse,
77
- ReplicationProtectedItemsListResponse,
78
79
  ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse,
79
80
  ReplicationProtectedItemsListNextResponse
80
81
  } from "../models";
@@ -95,16 +96,23 @@ export class ReplicationProtectedItemsImpl
95
96
 
96
97
  /**
97
98
  * Gets the list of ASR replication protected items in the protection container.
99
+ * @param resourceName The name of the recovery services vault.
100
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
101
+ * present.
98
102
  * @param fabricName Fabric name.
99
103
  * @param protectionContainerName Protection container name.
100
104
  * @param options The options parameters.
101
105
  */
102
106
  public listByReplicationProtectionContainers(
107
+ resourceName: string,
108
+ resourceGroupName: string,
103
109
  fabricName: string,
104
110
  protectionContainerName: string,
105
111
  options?: ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams
106
112
  ): PagedAsyncIterableIterator<ReplicationProtectedItem> {
107
113
  const iter = this.listByReplicationProtectionContainersPagingAll(
114
+ resourceName,
115
+ resourceGroupName,
108
116
  fabricName,
109
117
  protectionContainerName,
110
118
  options
@@ -116,46 +124,71 @@ export class ReplicationProtectedItemsImpl
116
124
  [Symbol.asyncIterator]() {
117
125
  return this;
118
126
  },
119
- byPage: () => {
127
+ byPage: (settings?: PageSettings) => {
128
+ if (settings?.maxPageSize) {
129
+ throw new Error("maxPageSize is not supported by this operation.");
130
+ }
120
131
  return this.listByReplicationProtectionContainersPagingPage(
132
+ resourceName,
133
+ resourceGroupName,
121
134
  fabricName,
122
135
  protectionContainerName,
123
- options
136
+ options,
137
+ settings
124
138
  );
125
139
  }
126
140
  };
127
141
  }
128
142
 
129
143
  private async *listByReplicationProtectionContainersPagingPage(
144
+ resourceName: string,
145
+ resourceGroupName: string,
130
146
  fabricName: string,
131
147
  protectionContainerName: string,
132
- options?: ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams
148
+ options?: ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams,
149
+ settings?: PageSettings
133
150
  ): AsyncIterableIterator<ReplicationProtectedItem[]> {
134
- let result = await this._listByReplicationProtectionContainers(
135
- fabricName,
136
- protectionContainerName,
137
- options
138
- );
139
- yield result.value || [];
140
- let continuationToken = result.nextLink;
151
+ let result: ReplicationProtectedItemsListByReplicationProtectionContainersResponse;
152
+ let continuationToken = settings?.continuationToken;
153
+ if (!continuationToken) {
154
+ result = await this._listByReplicationProtectionContainers(
155
+ resourceName,
156
+ resourceGroupName,
157
+ fabricName,
158
+ protectionContainerName,
159
+ options
160
+ );
161
+ let page = result.value || [];
162
+ continuationToken = result.nextLink;
163
+ setContinuationToken(page, continuationToken);
164
+ yield page;
165
+ }
141
166
  while (continuationToken) {
142
167
  result = await this._listByReplicationProtectionContainersNext(
168
+ resourceName,
169
+ resourceGroupName,
143
170
  fabricName,
144
171
  protectionContainerName,
145
172
  continuationToken,
146
173
  options
147
174
  );
148
175
  continuationToken = result.nextLink;
149
- yield result.value || [];
176
+ let page = result.value || [];
177
+ setContinuationToken(page, continuationToken);
178
+ yield page;
150
179
  }
151
180
  }
152
181
 
153
182
  private async *listByReplicationProtectionContainersPagingAll(
183
+ resourceName: string,
184
+ resourceGroupName: string,
154
185
  fabricName: string,
155
186
  protectionContainerName: string,
156
187
  options?: ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams
157
188
  ): AsyncIterableIterator<ReplicationProtectedItem> {
158
189
  for await (const page of this.listByReplicationProtectionContainersPagingPage(
190
+ resourceName,
191
+ resourceGroupName,
159
192
  fabricName,
160
193
  protectionContainerName,
161
194
  options
@@ -166,12 +199,17 @@ export class ReplicationProtectedItemsImpl
166
199
 
167
200
  /**
168
201
  * Gets the list of ASR replication protected items in the vault.
202
+ * @param resourceName The name of the recovery services vault.
203
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
204
+ * present.
169
205
  * @param options The options parameters.
170
206
  */
171
207
  public list(
208
+ resourceName: string,
209
+ resourceGroupName: string,
172
210
  options?: ReplicationProtectedItemsListOptionalParams
173
211
  ): PagedAsyncIterableIterator<ReplicationProtectedItem> {
174
- const iter = this.listPagingAll(options);
212
+ const iter = this.listPagingAll(resourceName, resourceGroupName, options);
175
213
  return {
176
214
  next() {
177
215
  return iter.next();
@@ -179,40 +217,75 @@ export class ReplicationProtectedItemsImpl
179
217
  [Symbol.asyncIterator]() {
180
218
  return this;
181
219
  },
182
- byPage: () => {
183
- return this.listPagingPage(options);
220
+ byPage: (settings?: PageSettings) => {
221
+ if (settings?.maxPageSize) {
222
+ throw new Error("maxPageSize is not supported by this operation.");
223
+ }
224
+ return this.listPagingPage(
225
+ resourceName,
226
+ resourceGroupName,
227
+ options,
228
+ settings
229
+ );
184
230
  }
185
231
  };
186
232
  }
187
233
 
188
234
  private async *listPagingPage(
189
- options?: ReplicationProtectedItemsListOptionalParams
235
+ resourceName: string,
236
+ resourceGroupName: string,
237
+ options?: ReplicationProtectedItemsListOptionalParams,
238
+ settings?: PageSettings
190
239
  ): AsyncIterableIterator<ReplicationProtectedItem[]> {
191
- let result = await this._list(options);
192
- yield result.value || [];
193
- let continuationToken = result.nextLink;
240
+ let result: ReplicationProtectedItemsListResponse;
241
+ let continuationToken = settings?.continuationToken;
242
+ if (!continuationToken) {
243
+ result = await this._list(resourceName, resourceGroupName, options);
244
+ let page = result.value || [];
245
+ continuationToken = result.nextLink;
246
+ setContinuationToken(page, continuationToken);
247
+ yield page;
248
+ }
194
249
  while (continuationToken) {
195
- result = await this._listNext(continuationToken, options);
250
+ result = await this._listNext(
251
+ resourceName,
252
+ resourceGroupName,
253
+ continuationToken,
254
+ options
255
+ );
196
256
  continuationToken = result.nextLink;
197
- yield result.value || [];
257
+ let page = result.value || [];
258
+ setContinuationToken(page, continuationToken);
259
+ yield page;
198
260
  }
199
261
  }
200
262
 
201
263
  private async *listPagingAll(
264
+ resourceName: string,
265
+ resourceGroupName: string,
202
266
  options?: ReplicationProtectedItemsListOptionalParams
203
267
  ): AsyncIterableIterator<ReplicationProtectedItem> {
204
- for await (const page of this.listPagingPage(options)) {
268
+ for await (const page of this.listPagingPage(
269
+ resourceName,
270
+ resourceGroupName,
271
+ options
272
+ )) {
205
273
  yield* page;
206
274
  }
207
275
  }
208
276
 
209
277
  /**
210
278
  * Gets the list of ASR replication protected items in the protection container.
279
+ * @param resourceName The name of the recovery services vault.
280
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
281
+ * present.
211
282
  * @param fabricName Fabric name.
212
283
  * @param protectionContainerName Protection container name.
213
284
  * @param options The options parameters.
214
285
  */
215
286
  private _listByReplicationProtectionContainers(
287
+ resourceName: string,
288
+ resourceGroupName: string,
216
289
  fabricName: string,
217
290
  protectionContainerName: string,
218
291
  options?: ReplicationProtectedItemsListByReplicationProtectionContainersOptionalParams
@@ -220,19 +293,30 @@ export class ReplicationProtectedItemsImpl
220
293
  ReplicationProtectedItemsListByReplicationProtectionContainersResponse
221
294
  > {
222
295
  return this.client.sendOperationRequest(
223
- { fabricName, protectionContainerName, options },
296
+ {
297
+ resourceName,
298
+ resourceGroupName,
299
+ fabricName,
300
+ protectionContainerName,
301
+ options
302
+ },
224
303
  listByReplicationProtectionContainersOperationSpec
225
304
  );
226
305
  }
227
306
 
228
307
  /**
229
308
  * Gets the details of an ASR replication protected item.
309
+ * @param resourceName The name of the recovery services vault.
310
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
311
+ * present.
230
312
  * @param fabricName Fabric unique name.
231
313
  * @param protectionContainerName Protection container name.
232
314
  * @param replicatedProtectedItemName Replication protected item name.
233
315
  * @param options The options parameters.
234
316
  */
235
317
  get(
318
+ resourceName: string,
319
+ resourceGroupName: string,
236
320
  fabricName: string,
237
321
  protectionContainerName: string,
238
322
  replicatedProtectedItemName: string,
@@ -240,6 +324,8 @@ export class ReplicationProtectedItemsImpl
240
324
  ): Promise<ReplicationProtectedItemsGetResponse> {
241
325
  return this.client.sendOperationRequest(
242
326
  {
327
+ resourceName,
328
+ resourceGroupName,
243
329
  fabricName,
244
330
  protectionContainerName,
245
331
  replicatedProtectedItemName,
@@ -251,6 +337,9 @@ export class ReplicationProtectedItemsImpl
251
337
 
252
338
  /**
253
339
  * The operation to create an ASR replication protected item (Enable replication).
340
+ * @param resourceName The name of the recovery services vault.
341
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
342
+ * present.
254
343
  * @param fabricName Name of the fabric.
255
344
  * @param protectionContainerName Protection container name.
256
345
  * @param replicatedProtectedItemName A name for the replication protected item.
@@ -258,6 +347,8 @@ export class ReplicationProtectedItemsImpl
258
347
  * @param options The options parameters.
259
348
  */
260
349
  async beginCreate(
350
+ resourceName: string,
351
+ resourceGroupName: string,
261
352
  fabricName: string,
262
353
  protectionContainerName: string,
263
354
  replicatedProtectedItemName: string,
@@ -311,6 +402,8 @@ export class ReplicationProtectedItemsImpl
311
402
  const lro = new LroImpl(
312
403
  sendOperation,
313
404
  {
405
+ resourceName,
406
+ resourceGroupName,
314
407
  fabricName,
315
408
  protectionContainerName,
316
409
  replicatedProtectedItemName,
@@ -319,14 +412,19 @@ export class ReplicationProtectedItemsImpl
319
412
  },
320
413
  createOperationSpec
321
414
  );
322
- return new LroEngine(lro, {
415
+ const poller = new LroEngine(lro, {
323
416
  resumeFrom: options?.resumeFrom,
324
417
  intervalInMs: options?.updateIntervalInMs
325
418
  });
419
+ await poller.poll();
420
+ return poller;
326
421
  }
327
422
 
328
423
  /**
329
424
  * The operation to create an ASR replication protected item (Enable replication).
425
+ * @param resourceName The name of the recovery services vault.
426
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
427
+ * present.
330
428
  * @param fabricName Name of the fabric.
331
429
  * @param protectionContainerName Protection container name.
332
430
  * @param replicatedProtectedItemName A name for the replication protected item.
@@ -334,6 +432,8 @@ export class ReplicationProtectedItemsImpl
334
432
  * @param options The options parameters.
335
433
  */
336
434
  async beginCreateAndWait(
435
+ resourceName: string,
436
+ resourceGroupName: string,
337
437
  fabricName: string,
338
438
  protectionContainerName: string,
339
439
  replicatedProtectedItemName: string,
@@ -341,6 +441,8 @@ export class ReplicationProtectedItemsImpl
341
441
  options?: ReplicationProtectedItemsCreateOptionalParams
342
442
  ): Promise<ReplicationProtectedItemsCreateResponse> {
343
443
  const poller = await this.beginCreate(
444
+ resourceName,
445
+ resourceGroupName,
344
446
  fabricName,
345
447
  protectionContainerName,
346
448
  replicatedProtectedItemName,
@@ -354,12 +456,17 @@ export class ReplicationProtectedItemsImpl
354
456
  * The operation to delete or purge a replication protected item. This operation will force delete the
355
457
  * replication protected item. Use the remove operation on replication protected item to perform a
356
458
  * clean disable replication for the item.
459
+ * @param resourceName The name of the recovery services vault.
460
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
461
+ * present.
357
462
  * @param fabricName Fabric name.
358
463
  * @param protectionContainerName Protection container name.
359
464
  * @param replicatedProtectedItemName Replication protected item name.
360
465
  * @param options The options parameters.
361
466
  */
362
467
  async beginPurge(
468
+ resourceName: string,
469
+ resourceGroupName: string,
363
470
  fabricName: string,
364
471
  protectionContainerName: string,
365
472
  replicatedProtectedItemName: string,
@@ -407,6 +514,8 @@ export class ReplicationProtectedItemsImpl
407
514
  const lro = new LroImpl(
408
515
  sendOperation,
409
516
  {
517
+ resourceName,
518
+ resourceGroupName,
410
519
  fabricName,
411
520
  protectionContainerName,
412
521
  replicatedProtectedItemName,
@@ -414,28 +523,37 @@ export class ReplicationProtectedItemsImpl
414
523
  },
415
524
  purgeOperationSpec
416
525
  );
417
- return new LroEngine(lro, {
526
+ const poller = new LroEngine(lro, {
418
527
  resumeFrom: options?.resumeFrom,
419
528
  intervalInMs: options?.updateIntervalInMs
420
529
  });
530
+ await poller.poll();
531
+ return poller;
421
532
  }
422
533
 
423
534
  /**
424
535
  * The operation to delete or purge a replication protected item. This operation will force delete the
425
536
  * replication protected item. Use the remove operation on replication protected item to perform a
426
537
  * clean disable replication for the item.
538
+ * @param resourceName The name of the recovery services vault.
539
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
540
+ * present.
427
541
  * @param fabricName Fabric name.
428
542
  * @param protectionContainerName Protection container name.
429
543
  * @param replicatedProtectedItemName Replication protected item name.
430
544
  * @param options The options parameters.
431
545
  */
432
546
  async beginPurgeAndWait(
547
+ resourceName: string,
548
+ resourceGroupName: string,
433
549
  fabricName: string,
434
550
  protectionContainerName: string,
435
551
  replicatedProtectedItemName: string,
436
552
  options?: ReplicationProtectedItemsPurgeOptionalParams
437
553
  ): Promise<void> {
438
554
  const poller = await this.beginPurge(
555
+ resourceName,
556
+ resourceGroupName,
439
557
  fabricName,
440
558
  protectionContainerName,
441
559
  replicatedProtectedItemName,
@@ -446,6 +564,9 @@ export class ReplicationProtectedItemsImpl
446
564
 
447
565
  /**
448
566
  * The operation to update the recovery settings of an ASR replication protected item.
567
+ * @param resourceName The name of the recovery services vault.
568
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
569
+ * present.
449
570
  * @param fabricName Fabric name.
450
571
  * @param protectionContainerName Protection container name.
451
572
  * @param replicatedProtectedItemName Replication protected item name.
@@ -453,6 +574,8 @@ export class ReplicationProtectedItemsImpl
453
574
  * @param options The options parameters.
454
575
  */
455
576
  async beginUpdate(
577
+ resourceName: string,
578
+ resourceGroupName: string,
456
579
  fabricName: string,
457
580
  protectionContainerName: string,
458
581
  replicatedProtectedItemName: string,
@@ -506,6 +629,8 @@ export class ReplicationProtectedItemsImpl
506
629
  const lro = new LroImpl(
507
630
  sendOperation,
508
631
  {
632
+ resourceName,
633
+ resourceGroupName,
509
634
  fabricName,
510
635
  protectionContainerName,
511
636
  replicatedProtectedItemName,
@@ -514,14 +639,19 @@ export class ReplicationProtectedItemsImpl
514
639
  },
515
640
  updateOperationSpec
516
641
  );
517
- return new LroEngine(lro, {
642
+ const poller = new LroEngine(lro, {
518
643
  resumeFrom: options?.resumeFrom,
519
644
  intervalInMs: options?.updateIntervalInMs
520
645
  });
646
+ await poller.poll();
647
+ return poller;
521
648
  }
522
649
 
523
650
  /**
524
651
  * The operation to update the recovery settings of an ASR replication protected item.
652
+ * @param resourceName The name of the recovery services vault.
653
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
654
+ * present.
525
655
  * @param fabricName Fabric name.
526
656
  * @param protectionContainerName Protection container name.
527
657
  * @param replicatedProtectedItemName Replication protected item name.
@@ -529,6 +659,8 @@ export class ReplicationProtectedItemsImpl
529
659
  * @param options The options parameters.
530
660
  */
531
661
  async beginUpdateAndWait(
662
+ resourceName: string,
663
+ resourceGroupName: string,
532
664
  fabricName: string,
533
665
  protectionContainerName: string,
534
666
  replicatedProtectedItemName: string,
@@ -536,6 +668,8 @@ export class ReplicationProtectedItemsImpl
536
668
  options?: ReplicationProtectedItemsUpdateOptionalParams
537
669
  ): Promise<ReplicationProtectedItemsUpdateResponse> {
538
670
  const poller = await this.beginUpdate(
671
+ resourceName,
672
+ resourceGroupName,
539
673
  fabricName,
540
674
  protectionContainerName,
541
675
  replicatedProtectedItemName,
@@ -547,6 +681,9 @@ export class ReplicationProtectedItemsImpl
547
681
 
548
682
  /**
549
683
  * Operation to add disks(s) to the replication protected item.
684
+ * @param resourceName The name of the recovery services vault.
685
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
686
+ * present.
550
687
  * @param fabricName Unique fabric name.
551
688
  * @param protectionContainerName Protection container name.
552
689
  * @param replicatedProtectedItemName Replication protected item name.
@@ -554,6 +691,8 @@ export class ReplicationProtectedItemsImpl
554
691
  * @param options The options parameters.
555
692
  */
556
693
  async beginAddDisks(
694
+ resourceName: string,
695
+ resourceGroupName: string,
557
696
  fabricName: string,
558
697
  protectionContainerName: string,
559
698
  replicatedProtectedItemName: string,
@@ -607,6 +746,8 @@ export class ReplicationProtectedItemsImpl
607
746
  const lro = new LroImpl(
608
747
  sendOperation,
609
748
  {
749
+ resourceName,
750
+ resourceGroupName,
610
751
  fabricName,
611
752
  protectionContainerName,
612
753
  replicatedProtectedItemName,
@@ -615,14 +756,19 @@ export class ReplicationProtectedItemsImpl
615
756
  },
616
757
  addDisksOperationSpec
617
758
  );
618
- return new LroEngine(lro, {
759
+ const poller = new LroEngine(lro, {
619
760
  resumeFrom: options?.resumeFrom,
620
761
  intervalInMs: options?.updateIntervalInMs
621
762
  });
763
+ await poller.poll();
764
+ return poller;
622
765
  }
623
766
 
624
767
  /**
625
768
  * Operation to add disks(s) to the replication protected item.
769
+ * @param resourceName The name of the recovery services vault.
770
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
771
+ * present.
626
772
  * @param fabricName Unique fabric name.
627
773
  * @param protectionContainerName Protection container name.
628
774
  * @param replicatedProtectedItemName Replication protected item name.
@@ -630,6 +776,8 @@ export class ReplicationProtectedItemsImpl
630
776
  * @param options The options parameters.
631
777
  */
632
778
  async beginAddDisksAndWait(
779
+ resourceName: string,
780
+ resourceGroupName: string,
633
781
  fabricName: string,
634
782
  protectionContainerName: string,
635
783
  replicatedProtectedItemName: string,
@@ -637,6 +785,8 @@ export class ReplicationProtectedItemsImpl
637
785
  options?: ReplicationProtectedItemsAddDisksOptionalParams
638
786
  ): Promise<ReplicationProtectedItemsAddDisksResponse> {
639
787
  const poller = await this.beginAddDisks(
788
+ resourceName,
789
+ resourceGroupName,
640
790
  fabricName,
641
791
  protectionContainerName,
642
792
  replicatedProtectedItemName,
@@ -648,6 +798,9 @@ export class ReplicationProtectedItemsImpl
648
798
 
649
799
  /**
650
800
  * The operation to change the recovery point of a failed over replication protected item.
801
+ * @param resourceName The name of the recovery services vault.
802
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
803
+ * present.
651
804
  * @param fabricName The ARM fabric name.
652
805
  * @param protectionContainerName The protection container name.
653
806
  * @param replicatedProtectedItemName The replicated protected item name.
@@ -655,6 +808,8 @@ export class ReplicationProtectedItemsImpl
655
808
  * @param options The options parameters.
656
809
  */
657
810
  async beginApplyRecoveryPoint(
811
+ resourceName: string,
812
+ resourceGroupName: string,
658
813
  fabricName: string,
659
814
  protectionContainerName: string,
660
815
  replicatedProtectedItemName: string,
@@ -708,6 +863,8 @@ export class ReplicationProtectedItemsImpl
708
863
  const lro = new LroImpl(
709
864
  sendOperation,
710
865
  {
866
+ resourceName,
867
+ resourceGroupName,
711
868
  fabricName,
712
869
  protectionContainerName,
713
870
  replicatedProtectedItemName,
@@ -716,14 +873,19 @@ export class ReplicationProtectedItemsImpl
716
873
  },
717
874
  applyRecoveryPointOperationSpec
718
875
  );
719
- return new LroEngine(lro, {
876
+ const poller = new LroEngine(lro, {
720
877
  resumeFrom: options?.resumeFrom,
721
878
  intervalInMs: options?.updateIntervalInMs
722
879
  });
880
+ await poller.poll();
881
+ return poller;
723
882
  }
724
883
 
725
884
  /**
726
885
  * The operation to change the recovery point of a failed over replication protected item.
886
+ * @param resourceName The name of the recovery services vault.
887
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
888
+ * present.
727
889
  * @param fabricName The ARM fabric name.
728
890
  * @param protectionContainerName The protection container name.
729
891
  * @param replicatedProtectedItemName The replicated protected item name.
@@ -731,6 +893,8 @@ export class ReplicationProtectedItemsImpl
731
893
  * @param options The options parameters.
732
894
  */
733
895
  async beginApplyRecoveryPointAndWait(
896
+ resourceName: string,
897
+ resourceGroupName: string,
734
898
  fabricName: string,
735
899
  protectionContainerName: string,
736
900
  replicatedProtectedItemName: string,
@@ -738,6 +902,8 @@ export class ReplicationProtectedItemsImpl
738
902
  options?: ReplicationProtectedItemsApplyRecoveryPointOptionalParams
739
903
  ): Promise<ReplicationProtectedItemsApplyRecoveryPointResponse> {
740
904
  const poller = await this.beginApplyRecoveryPoint(
905
+ resourceName,
906
+ resourceGroupName,
741
907
  fabricName,
742
908
  protectionContainerName,
743
909
  replicatedProtectedItemName,
@@ -749,12 +915,17 @@ export class ReplicationProtectedItemsImpl
749
915
 
750
916
  /**
751
917
  * Operation to cancel the failover of the replication protected item.
918
+ * @param resourceName The name of the recovery services vault.
919
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
920
+ * present.
752
921
  * @param fabricName Unique fabric name.
753
922
  * @param protectionContainerName Protection container name.
754
923
  * @param replicatedProtectedItemName Replication protected item name.
755
924
  * @param options The options parameters.
756
925
  */
757
926
  async beginFailoverCancel(
927
+ resourceName: string,
928
+ resourceGroupName: string,
758
929
  fabricName: string,
759
930
  protectionContainerName: string,
760
931
  replicatedProtectedItemName: string,
@@ -807,6 +978,8 @@ export class ReplicationProtectedItemsImpl
807
978
  const lro = new LroImpl(
808
979
  sendOperation,
809
980
  {
981
+ resourceName,
982
+ resourceGroupName,
810
983
  fabricName,
811
984
  protectionContainerName,
812
985
  replicatedProtectedItemName,
@@ -814,26 +987,35 @@ export class ReplicationProtectedItemsImpl
814
987
  },
815
988
  failoverCancelOperationSpec
816
989
  );
817
- return new LroEngine(lro, {
990
+ const poller = new LroEngine(lro, {
818
991
  resumeFrom: options?.resumeFrom,
819
992
  intervalInMs: options?.updateIntervalInMs
820
993
  });
994
+ await poller.poll();
995
+ return poller;
821
996
  }
822
997
 
823
998
  /**
824
999
  * Operation to cancel the failover of the replication protected item.
1000
+ * @param resourceName The name of the recovery services vault.
1001
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1002
+ * present.
825
1003
  * @param fabricName Unique fabric name.
826
1004
  * @param protectionContainerName Protection container name.
827
1005
  * @param replicatedProtectedItemName Replication protected item name.
828
1006
  * @param options The options parameters.
829
1007
  */
830
1008
  async beginFailoverCancelAndWait(
1009
+ resourceName: string,
1010
+ resourceGroupName: string,
831
1011
  fabricName: string,
832
1012
  protectionContainerName: string,
833
1013
  replicatedProtectedItemName: string,
834
1014
  options?: ReplicationProtectedItemsFailoverCancelOptionalParams
835
1015
  ): Promise<ReplicationProtectedItemsFailoverCancelResponse> {
836
1016
  const poller = await this.beginFailoverCancel(
1017
+ resourceName,
1018
+ resourceGroupName,
837
1019
  fabricName,
838
1020
  protectionContainerName,
839
1021
  replicatedProtectedItemName,
@@ -844,12 +1026,17 @@ export class ReplicationProtectedItemsImpl
844
1026
 
845
1027
  /**
846
1028
  * Operation to commit the failover of the replication protected item.
1029
+ * @param resourceName The name of the recovery services vault.
1030
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1031
+ * present.
847
1032
  * @param fabricName Unique fabric name.
848
1033
  * @param protectionContainerName Protection container name.
849
1034
  * @param replicatedProtectedItemName Replication protected item name.
850
1035
  * @param options The options parameters.
851
1036
  */
852
1037
  async beginFailoverCommit(
1038
+ resourceName: string,
1039
+ resourceGroupName: string,
853
1040
  fabricName: string,
854
1041
  protectionContainerName: string,
855
1042
  replicatedProtectedItemName: string,
@@ -902,6 +1089,8 @@ export class ReplicationProtectedItemsImpl
902
1089
  const lro = new LroImpl(
903
1090
  sendOperation,
904
1091
  {
1092
+ resourceName,
1093
+ resourceGroupName,
905
1094
  fabricName,
906
1095
  protectionContainerName,
907
1096
  replicatedProtectedItemName,
@@ -909,26 +1098,35 @@ export class ReplicationProtectedItemsImpl
909
1098
  },
910
1099
  failoverCommitOperationSpec
911
1100
  );
912
- return new LroEngine(lro, {
1101
+ const poller = new LroEngine(lro, {
913
1102
  resumeFrom: options?.resumeFrom,
914
1103
  intervalInMs: options?.updateIntervalInMs
915
1104
  });
1105
+ await poller.poll();
1106
+ return poller;
916
1107
  }
917
1108
 
918
1109
  /**
919
1110
  * Operation to commit the failover of the replication protected item.
1111
+ * @param resourceName The name of the recovery services vault.
1112
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1113
+ * present.
920
1114
  * @param fabricName Unique fabric name.
921
1115
  * @param protectionContainerName Protection container name.
922
1116
  * @param replicatedProtectedItemName Replication protected item name.
923
1117
  * @param options The options parameters.
924
1118
  */
925
1119
  async beginFailoverCommitAndWait(
1120
+ resourceName: string,
1121
+ resourceGroupName: string,
926
1122
  fabricName: string,
927
1123
  protectionContainerName: string,
928
1124
  replicatedProtectedItemName: string,
929
1125
  options?: ReplicationProtectedItemsFailoverCommitOptionalParams
930
1126
  ): Promise<ReplicationProtectedItemsFailoverCommitResponse> {
931
1127
  const poller = await this.beginFailoverCommit(
1128
+ resourceName,
1129
+ resourceGroupName,
932
1130
  fabricName,
933
1131
  protectionContainerName,
934
1132
  replicatedProtectedItemName,
@@ -939,6 +1137,9 @@ export class ReplicationProtectedItemsImpl
939
1137
 
940
1138
  /**
941
1139
  * Operation to initiate a planned failover of the replication protected item.
1140
+ * @param resourceName The name of the recovery services vault.
1141
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1142
+ * present.
942
1143
  * @param fabricName Unique fabric name.
943
1144
  * @param protectionContainerName Protection container name.
944
1145
  * @param replicatedProtectedItemName Replication protected item name.
@@ -946,6 +1147,8 @@ export class ReplicationProtectedItemsImpl
946
1147
  * @param options The options parameters.
947
1148
  */
948
1149
  async beginPlannedFailover(
1150
+ resourceName: string,
1151
+ resourceGroupName: string,
949
1152
  fabricName: string,
950
1153
  protectionContainerName: string,
951
1154
  replicatedProtectedItemName: string,
@@ -999,6 +1202,8 @@ export class ReplicationProtectedItemsImpl
999
1202
  const lro = new LroImpl(
1000
1203
  sendOperation,
1001
1204
  {
1205
+ resourceName,
1206
+ resourceGroupName,
1002
1207
  fabricName,
1003
1208
  protectionContainerName,
1004
1209
  replicatedProtectedItemName,
@@ -1007,14 +1212,19 @@ export class ReplicationProtectedItemsImpl
1007
1212
  },
1008
1213
  plannedFailoverOperationSpec
1009
1214
  );
1010
- return new LroEngine(lro, {
1215
+ const poller = new LroEngine(lro, {
1011
1216
  resumeFrom: options?.resumeFrom,
1012
1217
  intervalInMs: options?.updateIntervalInMs
1013
1218
  });
1219
+ await poller.poll();
1220
+ return poller;
1014
1221
  }
1015
1222
 
1016
1223
  /**
1017
1224
  * Operation to initiate a planned failover of the replication protected item.
1225
+ * @param resourceName The name of the recovery services vault.
1226
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1227
+ * present.
1018
1228
  * @param fabricName Unique fabric name.
1019
1229
  * @param protectionContainerName Protection container name.
1020
1230
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1022,6 +1232,8 @@ export class ReplicationProtectedItemsImpl
1022
1232
  * @param options The options parameters.
1023
1233
  */
1024
1234
  async beginPlannedFailoverAndWait(
1235
+ resourceName: string,
1236
+ resourceGroupName: string,
1025
1237
  fabricName: string,
1026
1238
  protectionContainerName: string,
1027
1239
  replicatedProtectedItemName: string,
@@ -1029,6 +1241,8 @@ export class ReplicationProtectedItemsImpl
1029
1241
  options?: ReplicationProtectedItemsPlannedFailoverOptionalParams
1030
1242
  ): Promise<ReplicationProtectedItemsPlannedFailoverResponse> {
1031
1243
  const poller = await this.beginPlannedFailover(
1244
+ resourceName,
1245
+ resourceGroupName,
1032
1246
  fabricName,
1033
1247
  protectionContainerName,
1034
1248
  replicatedProtectedItemName,
@@ -1041,6 +1255,9 @@ export class ReplicationProtectedItemsImpl
1041
1255
  /**
1042
1256
  * The operation to disable replication on a replication protected item. This will also remove the
1043
1257
  * item.
1258
+ * @param resourceName The name of the recovery services vault.
1259
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1260
+ * present.
1044
1261
  * @param fabricName Fabric name.
1045
1262
  * @param protectionContainerName Protection container name.
1046
1263
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1048,6 +1265,8 @@ export class ReplicationProtectedItemsImpl
1048
1265
  * @param options The options parameters.
1049
1266
  */
1050
1267
  async beginDelete(
1268
+ resourceName: string,
1269
+ resourceGroupName: string,
1051
1270
  fabricName: string,
1052
1271
  protectionContainerName: string,
1053
1272
  replicatedProtectedItemName: string,
@@ -1096,6 +1315,8 @@ export class ReplicationProtectedItemsImpl
1096
1315
  const lro = new LroImpl(
1097
1316
  sendOperation,
1098
1317
  {
1318
+ resourceName,
1319
+ resourceGroupName,
1099
1320
  fabricName,
1100
1321
  protectionContainerName,
1101
1322
  replicatedProtectedItemName,
@@ -1104,15 +1325,20 @@ export class ReplicationProtectedItemsImpl
1104
1325
  },
1105
1326
  deleteOperationSpec
1106
1327
  );
1107
- return new LroEngine(lro, {
1328
+ const poller = new LroEngine(lro, {
1108
1329
  resumeFrom: options?.resumeFrom,
1109
1330
  intervalInMs: options?.updateIntervalInMs
1110
1331
  });
1332
+ await poller.poll();
1333
+ return poller;
1111
1334
  }
1112
1335
 
1113
1336
  /**
1114
1337
  * The operation to disable replication on a replication protected item. This will also remove the
1115
1338
  * item.
1339
+ * @param resourceName The name of the recovery services vault.
1340
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1341
+ * present.
1116
1342
  * @param fabricName Fabric name.
1117
1343
  * @param protectionContainerName Protection container name.
1118
1344
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1120,6 +1346,8 @@ export class ReplicationProtectedItemsImpl
1120
1346
  * @param options The options parameters.
1121
1347
  */
1122
1348
  async beginDeleteAndWait(
1349
+ resourceName: string,
1350
+ resourceGroupName: string,
1123
1351
  fabricName: string,
1124
1352
  protectionContainerName: string,
1125
1353
  replicatedProtectedItemName: string,
@@ -1127,6 +1355,8 @@ export class ReplicationProtectedItemsImpl
1127
1355
  options?: ReplicationProtectedItemsDeleteOptionalParams
1128
1356
  ): Promise<void> {
1129
1357
  const poller = await this.beginDelete(
1358
+ resourceName,
1359
+ resourceGroupName,
1130
1360
  fabricName,
1131
1361
  protectionContainerName,
1132
1362
  replicatedProtectedItemName,
@@ -1138,6 +1368,9 @@ export class ReplicationProtectedItemsImpl
1138
1368
 
1139
1369
  /**
1140
1370
  * Operation to remove disk(s) from the replication protected item.
1371
+ * @param resourceName The name of the recovery services vault.
1372
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1373
+ * present.
1141
1374
  * @param fabricName Unique fabric name.
1142
1375
  * @param protectionContainerName Protection container name.
1143
1376
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1145,6 +1378,8 @@ export class ReplicationProtectedItemsImpl
1145
1378
  * @param options The options parameters.
1146
1379
  */
1147
1380
  async beginRemoveDisks(
1381
+ resourceName: string,
1382
+ resourceGroupName: string,
1148
1383
  fabricName: string,
1149
1384
  protectionContainerName: string,
1150
1385
  replicatedProtectedItemName: string,
@@ -1198,6 +1433,8 @@ export class ReplicationProtectedItemsImpl
1198
1433
  const lro = new LroImpl(
1199
1434
  sendOperation,
1200
1435
  {
1436
+ resourceName,
1437
+ resourceGroupName,
1201
1438
  fabricName,
1202
1439
  protectionContainerName,
1203
1440
  replicatedProtectedItemName,
@@ -1206,14 +1443,19 @@ export class ReplicationProtectedItemsImpl
1206
1443
  },
1207
1444
  removeDisksOperationSpec
1208
1445
  );
1209
- return new LroEngine(lro, {
1446
+ const poller = new LroEngine(lro, {
1210
1447
  resumeFrom: options?.resumeFrom,
1211
1448
  intervalInMs: options?.updateIntervalInMs
1212
1449
  });
1450
+ await poller.poll();
1451
+ return poller;
1213
1452
  }
1214
1453
 
1215
1454
  /**
1216
1455
  * Operation to remove disk(s) from the replication protected item.
1456
+ * @param resourceName The name of the recovery services vault.
1457
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1458
+ * present.
1217
1459
  * @param fabricName Unique fabric name.
1218
1460
  * @param protectionContainerName Protection container name.
1219
1461
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1221,6 +1463,8 @@ export class ReplicationProtectedItemsImpl
1221
1463
  * @param options The options parameters.
1222
1464
  */
1223
1465
  async beginRemoveDisksAndWait(
1466
+ resourceName: string,
1467
+ resourceGroupName: string,
1224
1468
  fabricName: string,
1225
1469
  protectionContainerName: string,
1226
1470
  replicatedProtectedItemName: string,
@@ -1228,6 +1472,8 @@ export class ReplicationProtectedItemsImpl
1228
1472
  options?: ReplicationProtectedItemsRemoveDisksOptionalParams
1229
1473
  ): Promise<ReplicationProtectedItemsRemoveDisksResponse> {
1230
1474
  const poller = await this.beginRemoveDisks(
1475
+ resourceName,
1476
+ resourceGroupName,
1231
1477
  fabricName,
1232
1478
  protectionContainerName,
1233
1479
  replicatedProtectedItemName,
@@ -1240,12 +1486,17 @@ export class ReplicationProtectedItemsImpl
1240
1486
  /**
1241
1487
  * The operation to start resynchronize/repair replication for a replication protected item requiring
1242
1488
  * resynchronization.
1489
+ * @param resourceName The name of the recovery services vault.
1490
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1491
+ * present.
1243
1492
  * @param fabricName The name of the fabric.
1244
1493
  * @param protectionContainerName The name of the container.
1245
1494
  * @param replicatedProtectedItemName The name of the replication protected item.
1246
1495
  * @param options The options parameters.
1247
1496
  */
1248
1497
  async beginRepairReplication(
1498
+ resourceName: string,
1499
+ resourceGroupName: string,
1249
1500
  fabricName: string,
1250
1501
  protectionContainerName: string,
1251
1502
  replicatedProtectedItemName: string,
@@ -1298,6 +1549,8 @@ export class ReplicationProtectedItemsImpl
1298
1549
  const lro = new LroImpl(
1299
1550
  sendOperation,
1300
1551
  {
1552
+ resourceName,
1553
+ resourceGroupName,
1301
1554
  fabricName,
1302
1555
  protectionContainerName,
1303
1556
  replicatedProtectedItemName,
@@ -1305,27 +1558,36 @@ export class ReplicationProtectedItemsImpl
1305
1558
  },
1306
1559
  repairReplicationOperationSpec
1307
1560
  );
1308
- return new LroEngine(lro, {
1561
+ const poller = new LroEngine(lro, {
1309
1562
  resumeFrom: options?.resumeFrom,
1310
1563
  intervalInMs: options?.updateIntervalInMs
1311
1564
  });
1565
+ await poller.poll();
1566
+ return poller;
1312
1567
  }
1313
1568
 
1314
1569
  /**
1315
1570
  * The operation to start resynchronize/repair replication for a replication protected item requiring
1316
1571
  * resynchronization.
1572
+ * @param resourceName The name of the recovery services vault.
1573
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1574
+ * present.
1317
1575
  * @param fabricName The name of the fabric.
1318
1576
  * @param protectionContainerName The name of the container.
1319
1577
  * @param replicatedProtectedItemName The name of the replication protected item.
1320
1578
  * @param options The options parameters.
1321
1579
  */
1322
1580
  async beginRepairReplicationAndWait(
1581
+ resourceName: string,
1582
+ resourceGroupName: string,
1323
1583
  fabricName: string,
1324
1584
  protectionContainerName: string,
1325
1585
  replicatedProtectedItemName: string,
1326
1586
  options?: ReplicationProtectedItemsRepairReplicationOptionalParams
1327
1587
  ): Promise<ReplicationProtectedItemsRepairReplicationResponse> {
1328
1588
  const poller = await this.beginRepairReplication(
1589
+ resourceName,
1590
+ resourceGroupName,
1329
1591
  fabricName,
1330
1592
  protectionContainerName,
1331
1593
  replicatedProtectedItemName,
@@ -1336,6 +1598,9 @@ export class ReplicationProtectedItemsImpl
1336
1598
 
1337
1599
  /**
1338
1600
  * Operation to reprotect or reverse replicate a failed over replication protected item.
1601
+ * @param resourceName The name of the recovery services vault.
1602
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1603
+ * present.
1339
1604
  * @param fabricName Unique fabric name.
1340
1605
  * @param protectionContainerName Protection container name.
1341
1606
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1343,6 +1608,8 @@ export class ReplicationProtectedItemsImpl
1343
1608
  * @param options The options parameters.
1344
1609
  */
1345
1610
  async beginReprotect(
1611
+ resourceName: string,
1612
+ resourceGroupName: string,
1346
1613
  fabricName: string,
1347
1614
  protectionContainerName: string,
1348
1615
  replicatedProtectedItemName: string,
@@ -1396,6 +1663,8 @@ export class ReplicationProtectedItemsImpl
1396
1663
  const lro = new LroImpl(
1397
1664
  sendOperation,
1398
1665
  {
1666
+ resourceName,
1667
+ resourceGroupName,
1399
1668
  fabricName,
1400
1669
  protectionContainerName,
1401
1670
  replicatedProtectedItemName,
@@ -1404,14 +1673,19 @@ export class ReplicationProtectedItemsImpl
1404
1673
  },
1405
1674
  reprotectOperationSpec
1406
1675
  );
1407
- return new LroEngine(lro, {
1676
+ const poller = new LroEngine(lro, {
1408
1677
  resumeFrom: options?.resumeFrom,
1409
1678
  intervalInMs: options?.updateIntervalInMs
1410
1679
  });
1680
+ await poller.poll();
1681
+ return poller;
1411
1682
  }
1412
1683
 
1413
1684
  /**
1414
1685
  * Operation to reprotect or reverse replicate a failed over replication protected item.
1686
+ * @param resourceName The name of the recovery services vault.
1687
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1688
+ * present.
1415
1689
  * @param fabricName Unique fabric name.
1416
1690
  * @param protectionContainerName Protection container name.
1417
1691
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1419,6 +1693,8 @@ export class ReplicationProtectedItemsImpl
1419
1693
  * @param options The options parameters.
1420
1694
  */
1421
1695
  async beginReprotectAndWait(
1696
+ resourceName: string,
1697
+ resourceGroupName: string,
1422
1698
  fabricName: string,
1423
1699
  protectionContainerName: string,
1424
1700
  replicatedProtectedItemName: string,
@@ -1426,6 +1702,8 @@ export class ReplicationProtectedItemsImpl
1426
1702
  options?: ReplicationProtectedItemsReprotectOptionalParams
1427
1703
  ): Promise<ReplicationProtectedItemsReprotectResponse> {
1428
1704
  const poller = await this.beginReprotect(
1705
+ resourceName,
1706
+ resourceGroupName,
1429
1707
  fabricName,
1430
1708
  protectionContainerName,
1431
1709
  replicatedProtectedItemName,
@@ -1437,6 +1715,9 @@ export class ReplicationProtectedItemsImpl
1437
1715
 
1438
1716
  /**
1439
1717
  * Operation to resolve health issues of the replication protected item.
1718
+ * @param resourceName The name of the recovery services vault.
1719
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1720
+ * present.
1440
1721
  * @param fabricName Unique fabric name.
1441
1722
  * @param protectionContainerName Protection container name.
1442
1723
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1444,6 +1725,8 @@ export class ReplicationProtectedItemsImpl
1444
1725
  * @param options The options parameters.
1445
1726
  */
1446
1727
  async beginResolveHealthErrors(
1728
+ resourceName: string,
1729
+ resourceGroupName: string,
1447
1730
  fabricName: string,
1448
1731
  protectionContainerName: string,
1449
1732
  replicatedProtectedItemName: string,
@@ -1497,6 +1780,8 @@ export class ReplicationProtectedItemsImpl
1497
1780
  const lro = new LroImpl(
1498
1781
  sendOperation,
1499
1782
  {
1783
+ resourceName,
1784
+ resourceGroupName,
1500
1785
  fabricName,
1501
1786
  protectionContainerName,
1502
1787
  replicatedProtectedItemName,
@@ -1505,14 +1790,19 @@ export class ReplicationProtectedItemsImpl
1505
1790
  },
1506
1791
  resolveHealthErrorsOperationSpec
1507
1792
  );
1508
- return new LroEngine(lro, {
1793
+ const poller = new LroEngine(lro, {
1509
1794
  resumeFrom: options?.resumeFrom,
1510
1795
  intervalInMs: options?.updateIntervalInMs
1511
1796
  });
1797
+ await poller.poll();
1798
+ return poller;
1512
1799
  }
1513
1800
 
1514
1801
  /**
1515
1802
  * Operation to resolve health issues of the replication protected item.
1803
+ * @param resourceName The name of the recovery services vault.
1804
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1805
+ * present.
1516
1806
  * @param fabricName Unique fabric name.
1517
1807
  * @param protectionContainerName Protection container name.
1518
1808
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1520,6 +1810,8 @@ export class ReplicationProtectedItemsImpl
1520
1810
  * @param options The options parameters.
1521
1811
  */
1522
1812
  async beginResolveHealthErrorsAndWait(
1813
+ resourceName: string,
1814
+ resourceGroupName: string,
1523
1815
  fabricName: string,
1524
1816
  protectionContainerName: string,
1525
1817
  replicatedProtectedItemName: string,
@@ -1527,6 +1819,8 @@ export class ReplicationProtectedItemsImpl
1527
1819
  options?: ReplicationProtectedItemsResolveHealthErrorsOptionalParams
1528
1820
  ): Promise<ReplicationProtectedItemsResolveHealthErrorsResponse> {
1529
1821
  const poller = await this.beginResolveHealthErrors(
1822
+ resourceName,
1823
+ resourceGroupName,
1530
1824
  fabricName,
1531
1825
  protectionContainerName,
1532
1826
  replicatedProtectedItemName,
@@ -1538,6 +1832,9 @@ export class ReplicationProtectedItemsImpl
1538
1832
 
1539
1833
  /**
1540
1834
  * Operation to initiate a switch provider of the replication protected item.
1835
+ * @param resourceName The name of the recovery services vault.
1836
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1837
+ * present.
1541
1838
  * @param fabricName Unique fabric name.
1542
1839
  * @param protectionContainerName Protection container name.
1543
1840
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1545,6 +1842,8 @@ export class ReplicationProtectedItemsImpl
1545
1842
  * @param options The options parameters.
1546
1843
  */
1547
1844
  async beginSwitchProvider(
1845
+ resourceName: string,
1846
+ resourceGroupName: string,
1548
1847
  fabricName: string,
1549
1848
  protectionContainerName: string,
1550
1849
  replicatedProtectedItemName: string,
@@ -1598,6 +1897,8 @@ export class ReplicationProtectedItemsImpl
1598
1897
  const lro = new LroImpl(
1599
1898
  sendOperation,
1600
1899
  {
1900
+ resourceName,
1901
+ resourceGroupName,
1601
1902
  fabricName,
1602
1903
  protectionContainerName,
1603
1904
  replicatedProtectedItemName,
@@ -1606,15 +1907,20 @@ export class ReplicationProtectedItemsImpl
1606
1907
  },
1607
1908
  switchProviderOperationSpec
1608
1909
  );
1609
- return new LroEngine(lro, {
1910
+ const poller = new LroEngine(lro, {
1610
1911
  resumeFrom: options?.resumeFrom,
1611
1912
  intervalInMs: options?.updateIntervalInMs,
1612
1913
  lroResourceLocationConfig: "azure-async-operation"
1613
1914
  });
1915
+ await poller.poll();
1916
+ return poller;
1614
1917
  }
1615
1918
 
1616
1919
  /**
1617
1920
  * Operation to initiate a switch provider of the replication protected item.
1921
+ * @param resourceName The name of the recovery services vault.
1922
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1923
+ * present.
1618
1924
  * @param fabricName Unique fabric name.
1619
1925
  * @param protectionContainerName Protection container name.
1620
1926
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1622,6 +1928,8 @@ export class ReplicationProtectedItemsImpl
1622
1928
  * @param options The options parameters.
1623
1929
  */
1624
1930
  async beginSwitchProviderAndWait(
1931
+ resourceName: string,
1932
+ resourceGroupName: string,
1625
1933
  fabricName: string,
1626
1934
  protectionContainerName: string,
1627
1935
  replicatedProtectedItemName: string,
@@ -1629,6 +1937,8 @@ export class ReplicationProtectedItemsImpl
1629
1937
  options?: ReplicationProtectedItemsSwitchProviderOptionalParams
1630
1938
  ): Promise<ReplicationProtectedItemsSwitchProviderResponse> {
1631
1939
  const poller = await this.beginSwitchProvider(
1940
+ resourceName,
1941
+ resourceGroupName,
1632
1942
  fabricName,
1633
1943
  protectionContainerName,
1634
1944
  replicatedProtectedItemName,
@@ -1640,6 +1950,9 @@ export class ReplicationProtectedItemsImpl
1640
1950
 
1641
1951
  /**
1642
1952
  * Operation to perform a test failover of the replication protected item.
1953
+ * @param resourceName The name of the recovery services vault.
1954
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
1955
+ * present.
1643
1956
  * @param fabricName Unique fabric name.
1644
1957
  * @param protectionContainerName Protection container name.
1645
1958
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1647,6 +1960,8 @@ export class ReplicationProtectedItemsImpl
1647
1960
  * @param options The options parameters.
1648
1961
  */
1649
1962
  async beginTestFailover(
1963
+ resourceName: string,
1964
+ resourceGroupName: string,
1650
1965
  fabricName: string,
1651
1966
  protectionContainerName: string,
1652
1967
  replicatedProtectedItemName: string,
@@ -1700,6 +2015,8 @@ export class ReplicationProtectedItemsImpl
1700
2015
  const lro = new LroImpl(
1701
2016
  sendOperation,
1702
2017
  {
2018
+ resourceName,
2019
+ resourceGroupName,
1703
2020
  fabricName,
1704
2021
  protectionContainerName,
1705
2022
  replicatedProtectedItemName,
@@ -1708,14 +2025,19 @@ export class ReplicationProtectedItemsImpl
1708
2025
  },
1709
2026
  testFailoverOperationSpec
1710
2027
  );
1711
- return new LroEngine(lro, {
2028
+ const poller = new LroEngine(lro, {
1712
2029
  resumeFrom: options?.resumeFrom,
1713
2030
  intervalInMs: options?.updateIntervalInMs
1714
2031
  });
2032
+ await poller.poll();
2033
+ return poller;
1715
2034
  }
1716
2035
 
1717
2036
  /**
1718
2037
  * Operation to perform a test failover of the replication protected item.
2038
+ * @param resourceName The name of the recovery services vault.
2039
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2040
+ * present.
1719
2041
  * @param fabricName Unique fabric name.
1720
2042
  * @param protectionContainerName Protection container name.
1721
2043
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1723,6 +2045,8 @@ export class ReplicationProtectedItemsImpl
1723
2045
  * @param options The options parameters.
1724
2046
  */
1725
2047
  async beginTestFailoverAndWait(
2048
+ resourceName: string,
2049
+ resourceGroupName: string,
1726
2050
  fabricName: string,
1727
2051
  protectionContainerName: string,
1728
2052
  replicatedProtectedItemName: string,
@@ -1730,6 +2054,8 @@ export class ReplicationProtectedItemsImpl
1730
2054
  options?: ReplicationProtectedItemsTestFailoverOptionalParams
1731
2055
  ): Promise<ReplicationProtectedItemsTestFailoverResponse> {
1732
2056
  const poller = await this.beginTestFailover(
2057
+ resourceName,
2058
+ resourceGroupName,
1733
2059
  fabricName,
1734
2060
  protectionContainerName,
1735
2061
  replicatedProtectedItemName,
@@ -1741,6 +2067,9 @@ export class ReplicationProtectedItemsImpl
1741
2067
 
1742
2068
  /**
1743
2069
  * Operation to clean up the test failover of a replication protected item.
2070
+ * @param resourceName The name of the recovery services vault.
2071
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2072
+ * present.
1744
2073
  * @param fabricName Unique fabric name.
1745
2074
  * @param protectionContainerName Protection container name.
1746
2075
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1748,6 +2077,8 @@ export class ReplicationProtectedItemsImpl
1748
2077
  * @param options The options parameters.
1749
2078
  */
1750
2079
  async beginTestFailoverCleanup(
2080
+ resourceName: string,
2081
+ resourceGroupName: string,
1751
2082
  fabricName: string,
1752
2083
  protectionContainerName: string,
1753
2084
  replicatedProtectedItemName: string,
@@ -1801,6 +2132,8 @@ export class ReplicationProtectedItemsImpl
1801
2132
  const lro = new LroImpl(
1802
2133
  sendOperation,
1803
2134
  {
2135
+ resourceName,
2136
+ resourceGroupName,
1804
2137
  fabricName,
1805
2138
  protectionContainerName,
1806
2139
  replicatedProtectedItemName,
@@ -1809,14 +2142,19 @@ export class ReplicationProtectedItemsImpl
1809
2142
  },
1810
2143
  testFailoverCleanupOperationSpec
1811
2144
  );
1812
- return new LroEngine(lro, {
2145
+ const poller = new LroEngine(lro, {
1813
2146
  resumeFrom: options?.resumeFrom,
1814
2147
  intervalInMs: options?.updateIntervalInMs
1815
2148
  });
2149
+ await poller.poll();
2150
+ return poller;
1816
2151
  }
1817
2152
 
1818
2153
  /**
1819
2154
  * Operation to clean up the test failover of a replication protected item.
2155
+ * @param resourceName The name of the recovery services vault.
2156
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2157
+ * present.
1820
2158
  * @param fabricName Unique fabric name.
1821
2159
  * @param protectionContainerName Protection container name.
1822
2160
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1824,6 +2162,8 @@ export class ReplicationProtectedItemsImpl
1824
2162
  * @param options The options parameters.
1825
2163
  */
1826
2164
  async beginTestFailoverCleanupAndWait(
2165
+ resourceName: string,
2166
+ resourceGroupName: string,
1827
2167
  fabricName: string,
1828
2168
  protectionContainerName: string,
1829
2169
  replicatedProtectedItemName: string,
@@ -1831,6 +2171,8 @@ export class ReplicationProtectedItemsImpl
1831
2171
  options?: ReplicationProtectedItemsTestFailoverCleanupOptionalParams
1832
2172
  ): Promise<ReplicationProtectedItemsTestFailoverCleanupResponse> {
1833
2173
  const poller = await this.beginTestFailoverCleanup(
2174
+ resourceName,
2175
+ resourceGroupName,
1834
2176
  fabricName,
1835
2177
  protectionContainerName,
1836
2178
  replicatedProtectedItemName,
@@ -1842,6 +2184,9 @@ export class ReplicationProtectedItemsImpl
1842
2184
 
1843
2185
  /**
1844
2186
  * Operation to initiate a failover of the replication protected item.
2187
+ * @param resourceName The name of the recovery services vault.
2188
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2189
+ * present.
1845
2190
  * @param fabricName Unique fabric name.
1846
2191
  * @param protectionContainerName Protection container name.
1847
2192
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1849,6 +2194,8 @@ export class ReplicationProtectedItemsImpl
1849
2194
  * @param options The options parameters.
1850
2195
  */
1851
2196
  async beginUnplannedFailover(
2197
+ resourceName: string,
2198
+ resourceGroupName: string,
1852
2199
  fabricName: string,
1853
2200
  protectionContainerName: string,
1854
2201
  replicatedProtectedItemName: string,
@@ -1902,6 +2249,8 @@ export class ReplicationProtectedItemsImpl
1902
2249
  const lro = new LroImpl(
1903
2250
  sendOperation,
1904
2251
  {
2252
+ resourceName,
2253
+ resourceGroupName,
1905
2254
  fabricName,
1906
2255
  protectionContainerName,
1907
2256
  replicatedProtectedItemName,
@@ -1910,14 +2259,19 @@ export class ReplicationProtectedItemsImpl
1910
2259
  },
1911
2260
  unplannedFailoverOperationSpec
1912
2261
  );
1913
- return new LroEngine(lro, {
2262
+ const poller = new LroEngine(lro, {
1914
2263
  resumeFrom: options?.resumeFrom,
1915
2264
  intervalInMs: options?.updateIntervalInMs
1916
2265
  });
2266
+ await poller.poll();
2267
+ return poller;
1917
2268
  }
1918
2269
 
1919
2270
  /**
1920
2271
  * Operation to initiate a failover of the replication protected item.
2272
+ * @param resourceName The name of the recovery services vault.
2273
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2274
+ * present.
1921
2275
  * @param fabricName Unique fabric name.
1922
2276
  * @param protectionContainerName Protection container name.
1923
2277
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1925,6 +2279,8 @@ export class ReplicationProtectedItemsImpl
1925
2279
  * @param options The options parameters.
1926
2280
  */
1927
2281
  async beginUnplannedFailoverAndWait(
2282
+ resourceName: string,
2283
+ resourceGroupName: string,
1928
2284
  fabricName: string,
1929
2285
  protectionContainerName: string,
1930
2286
  replicatedProtectedItemName: string,
@@ -1932,6 +2288,8 @@ export class ReplicationProtectedItemsImpl
1932
2288
  options?: ReplicationProtectedItemsUnplannedFailoverOptionalParams
1933
2289
  ): Promise<ReplicationProtectedItemsUnplannedFailoverResponse> {
1934
2290
  const poller = await this.beginUnplannedFailover(
2291
+ resourceName,
2292
+ resourceGroupName,
1935
2293
  fabricName,
1936
2294
  protectionContainerName,
1937
2295
  replicatedProtectedItemName,
@@ -1943,6 +2301,9 @@ export class ReplicationProtectedItemsImpl
1943
2301
 
1944
2302
  /**
1945
2303
  * The operation to update appliance of an ASR replication protected item.
2304
+ * @param resourceName The name of the recovery services vault.
2305
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2306
+ * present.
1946
2307
  * @param fabricName Fabric name.
1947
2308
  * @param protectionContainerName Protection container name.
1948
2309
  * @param replicatedProtectedItemName Replication protected item name.
@@ -1950,6 +2311,8 @@ export class ReplicationProtectedItemsImpl
1950
2311
  * @param options The options parameters.
1951
2312
  */
1952
2313
  async beginUpdateAppliance(
2314
+ resourceName: string,
2315
+ resourceGroupName: string,
1953
2316
  fabricName: string,
1954
2317
  protectionContainerName: string,
1955
2318
  replicatedProtectedItemName: string,
@@ -2003,6 +2366,8 @@ export class ReplicationProtectedItemsImpl
2003
2366
  const lro = new LroImpl(
2004
2367
  sendOperation,
2005
2368
  {
2369
+ resourceName,
2370
+ resourceGroupName,
2006
2371
  fabricName,
2007
2372
  protectionContainerName,
2008
2373
  replicatedProtectedItemName,
@@ -2011,14 +2376,19 @@ export class ReplicationProtectedItemsImpl
2011
2376
  },
2012
2377
  updateApplianceOperationSpec
2013
2378
  );
2014
- return new LroEngine(lro, {
2379
+ const poller = new LroEngine(lro, {
2015
2380
  resumeFrom: options?.resumeFrom,
2016
2381
  intervalInMs: options?.updateIntervalInMs
2017
2382
  });
2383
+ await poller.poll();
2384
+ return poller;
2018
2385
  }
2019
2386
 
2020
2387
  /**
2021
2388
  * The operation to update appliance of an ASR replication protected item.
2389
+ * @param resourceName The name of the recovery services vault.
2390
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2391
+ * present.
2022
2392
  * @param fabricName Fabric name.
2023
2393
  * @param protectionContainerName Protection container name.
2024
2394
  * @param replicatedProtectedItemName Replication protected item name.
@@ -2026,6 +2396,8 @@ export class ReplicationProtectedItemsImpl
2026
2396
  * @param options The options parameters.
2027
2397
  */
2028
2398
  async beginUpdateApplianceAndWait(
2399
+ resourceName: string,
2400
+ resourceGroupName: string,
2029
2401
  fabricName: string,
2030
2402
  protectionContainerName: string,
2031
2403
  replicatedProtectedItemName: string,
@@ -2033,6 +2405,8 @@ export class ReplicationProtectedItemsImpl
2033
2405
  options?: ReplicationProtectedItemsUpdateApplianceOptionalParams
2034
2406
  ): Promise<ReplicationProtectedItemsUpdateApplianceResponse> {
2035
2407
  const poller = await this.beginUpdateAppliance(
2408
+ resourceName,
2409
+ resourceGroupName,
2036
2410
  fabricName,
2037
2411
  protectionContainerName,
2038
2412
  replicatedProtectedItemName,
@@ -2045,17 +2419,22 @@ export class ReplicationProtectedItemsImpl
2045
2419
  /**
2046
2420
  * The operation to update(push update) the installed mobility service software on a replication
2047
2421
  * protected item to the latest available version.
2422
+ * @param resourceName The name of the recovery services vault.
2423
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2424
+ * present.
2048
2425
  * @param fabricName The name of the fabric containing the protected item.
2049
2426
  * @param protectionContainerName The name of the container containing the protected item.
2050
- * @param replicationProtectedItemName The name of the protected item on which the agent is to be
2051
- * updated.
2427
+ * @param replicatedProtectedItemName The name of the protected item on which the agent is to be
2428
+ * updated.
2052
2429
  * @param updateMobilityServiceRequest Request to update the mobility service on the protected item.
2053
2430
  * @param options The options parameters.
2054
2431
  */
2055
2432
  async beginUpdateMobilityService(
2433
+ resourceName: string,
2434
+ resourceGroupName: string,
2056
2435
  fabricName: string,
2057
2436
  protectionContainerName: string,
2058
- replicationProtectedItemName: string,
2437
+ replicatedProtectedItemName: string,
2059
2438
  updateMobilityServiceRequest: UpdateMobilityServiceRequest,
2060
2439
  options?: ReplicationProtectedItemsUpdateMobilityServiceOptionalParams
2061
2440
  ): Promise<
@@ -2108,41 +2487,53 @@ export class ReplicationProtectedItemsImpl
2108
2487
  const lro = new LroImpl(
2109
2488
  sendOperation,
2110
2489
  {
2490
+ resourceName,
2491
+ resourceGroupName,
2111
2492
  fabricName,
2112
2493
  protectionContainerName,
2113
- replicationProtectedItemName,
2494
+ replicatedProtectedItemName,
2114
2495
  updateMobilityServiceRequest,
2115
2496
  options
2116
2497
  },
2117
2498
  updateMobilityServiceOperationSpec
2118
2499
  );
2119
- return new LroEngine(lro, {
2500
+ const poller = new LroEngine(lro, {
2120
2501
  resumeFrom: options?.resumeFrom,
2121
- intervalInMs: options?.updateIntervalInMs
2502
+ intervalInMs: options?.updateIntervalInMs,
2503
+ lroResourceLocationConfig: "location"
2122
2504
  });
2505
+ await poller.poll();
2506
+ return poller;
2123
2507
  }
2124
2508
 
2125
2509
  /**
2126
2510
  * The operation to update(push update) the installed mobility service software on a replication
2127
2511
  * protected item to the latest available version.
2512
+ * @param resourceName The name of the recovery services vault.
2513
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2514
+ * present.
2128
2515
  * @param fabricName The name of the fabric containing the protected item.
2129
2516
  * @param protectionContainerName The name of the container containing the protected item.
2130
- * @param replicationProtectedItemName The name of the protected item on which the agent is to be
2131
- * updated.
2517
+ * @param replicatedProtectedItemName The name of the protected item on which the agent is to be
2518
+ * updated.
2132
2519
  * @param updateMobilityServiceRequest Request to update the mobility service on the protected item.
2133
2520
  * @param options The options parameters.
2134
2521
  */
2135
2522
  async beginUpdateMobilityServiceAndWait(
2523
+ resourceName: string,
2524
+ resourceGroupName: string,
2136
2525
  fabricName: string,
2137
2526
  protectionContainerName: string,
2138
- replicationProtectedItemName: string,
2527
+ replicatedProtectedItemName: string,
2139
2528
  updateMobilityServiceRequest: UpdateMobilityServiceRequest,
2140
2529
  options?: ReplicationProtectedItemsUpdateMobilityServiceOptionalParams
2141
2530
  ): Promise<ReplicationProtectedItemsUpdateMobilityServiceResponse> {
2142
2531
  const poller = await this.beginUpdateMobilityService(
2532
+ resourceName,
2533
+ resourceGroupName,
2143
2534
  fabricName,
2144
2535
  protectionContainerName,
2145
- replicationProtectedItemName,
2536
+ replicatedProtectedItemName,
2146
2537
  updateMobilityServiceRequest,
2147
2538
  options
2148
2539
  );
@@ -2151,16 +2542,27 @@ export class ReplicationProtectedItemsImpl
2151
2542
 
2152
2543
  /**
2153
2544
  * Gets the list of ASR replication protected items in the vault.
2545
+ * @param resourceName The name of the recovery services vault.
2546
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2547
+ * present.
2154
2548
  * @param options The options parameters.
2155
2549
  */
2156
2550
  private _list(
2551
+ resourceName: string,
2552
+ resourceGroupName: string,
2157
2553
  options?: ReplicationProtectedItemsListOptionalParams
2158
2554
  ): Promise<ReplicationProtectedItemsListResponse> {
2159
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2555
+ return this.client.sendOperationRequest(
2556
+ { resourceName, resourceGroupName, options },
2557
+ listOperationSpec
2558
+ );
2160
2559
  }
2161
2560
 
2162
2561
  /**
2163
2562
  * ListByReplicationProtectionContainersNext
2563
+ * @param resourceName The name of the recovery services vault.
2564
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2565
+ * present.
2164
2566
  * @param fabricName Fabric name.
2165
2567
  * @param protectionContainerName Protection container name.
2166
2568
  * @param nextLink The nextLink from the previous successful call to the
@@ -2168,6 +2570,8 @@ export class ReplicationProtectedItemsImpl
2168
2570
  * @param options The options parameters.
2169
2571
  */
2170
2572
  private _listByReplicationProtectionContainersNext(
2573
+ resourceName: string,
2574
+ resourceGroupName: string,
2171
2575
  fabricName: string,
2172
2576
  protectionContainerName: string,
2173
2577
  nextLink: string,
@@ -2176,22 +2580,34 @@ export class ReplicationProtectedItemsImpl
2176
2580
  ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse
2177
2581
  > {
2178
2582
  return this.client.sendOperationRequest(
2179
- { fabricName, protectionContainerName, nextLink, options },
2583
+ {
2584
+ resourceName,
2585
+ resourceGroupName,
2586
+ fabricName,
2587
+ protectionContainerName,
2588
+ nextLink,
2589
+ options
2590
+ },
2180
2591
  listByReplicationProtectionContainersNextOperationSpec
2181
2592
  );
2182
2593
  }
2183
2594
 
2184
2595
  /**
2185
2596
  * ListNext
2597
+ * @param resourceName The name of the recovery services vault.
2598
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
2599
+ * present.
2186
2600
  * @param nextLink The nextLink from the previous successful call to the List method.
2187
2601
  * @param options The options parameters.
2188
2602
  */
2189
2603
  private _listNext(
2604
+ resourceName: string,
2605
+ resourceGroupName: string,
2190
2606
  nextLink: string,
2191
2607
  options?: ReplicationProtectedItemsListNextOptionalParams
2192
2608
  ): Promise<ReplicationProtectedItemsListNextResponse> {
2193
2609
  return this.client.sendOperationRequest(
2194
- { nextLink, options },
2610
+ { resourceName, resourceGroupName, nextLink, options },
2195
2611
  listNextOperationSpec
2196
2612
  );
2197
2613
  }
@@ -2803,7 +3219,7 @@ const updateApplianceOperationSpec: coreClient.OperationSpec = {
2803
3219
  };
2804
3220
  const updateMobilityServiceOperationSpec: coreClient.OperationSpec = {
2805
3221
  path:
2806
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService",
3222
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateMobilityService",
2807
3223
  httpMethod: "POST",
2808
3224
  responses: {
2809
3225
  200: {
@@ -2828,7 +3244,7 @@ const updateMobilityServiceOperationSpec: coreClient.OperationSpec = {
2828
3244
  Parameters.resourceName,
2829
3245
  Parameters.fabricName,
2830
3246
  Parameters.protectionContainerName,
2831
- Parameters.replicationProtectedItemName
3247
+ Parameters.replicatedProtectedItemName
2832
3248
  ],
2833
3249
  headerParameters: [Parameters.accept, Parameters.contentType],
2834
3250
  mediaType: "json",
@@ -2865,7 +3281,6 @@ const listByReplicationProtectionContainersNextOperationSpec: coreClient.Operati
2865
3281
  bodyMapper: Mappers.ReplicationProtectedItemCollection
2866
3282
  }
2867
3283
  },
2868
- queryParameters: [Parameters.apiVersion],
2869
3284
  urlParameters: [
2870
3285
  Parameters.$host,
2871
3286
  Parameters.resourceGroupName,
@@ -2886,11 +3301,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
2886
3301
  bodyMapper: Mappers.ReplicationProtectedItemCollection
2887
3302
  }
2888
3303
  },
2889
- queryParameters: [
2890
- Parameters.apiVersion,
2891
- Parameters.filter,
2892
- Parameters.skipToken
2893
- ],
2894
3304
  urlParameters: [
2895
3305
  Parameters.$host,
2896
3306
  Parameters.resourceGroupName,