@azure/arm-recoveryservices-siterecovery 5.1.0 → 5.2.0-alpha.20240226.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 (411) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +8977 -8906
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/migrationRecoveryPointsGetSample.js +1 -1
  8. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js +4 -9
  9. package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js.map +1 -1
  10. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  11. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  12. package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
  13. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js +4 -9
  14. package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js.map +1 -1
  15. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js +4 -4
  16. package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js.map +1 -1
  17. package/dist-esm/samples-dev/replicationAlertSettingsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/replicationAlertSettingsListSample.js +4 -9
  19. package/dist-esm/samples-dev/replicationAlertSettingsListSample.js.map +1 -1
  20. package/dist-esm/samples-dev/replicationAppliancesListSample.js +4 -9
  21. package/dist-esm/samples-dev/replicationAppliancesListSample.js.map +1 -1
  22. package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.js +1 -1
  23. package/dist-esm/samples-dev/replicationEligibilityResultsListSample.js +1 -1
  24. package/dist-esm/samples-dev/replicationEventsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/replicationEventsListSample.js +4 -9
  26. package/dist-esm/samples-dev/replicationEventsListSample.js.map +1 -1
  27. package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.js +1 -1
  28. package/dist-esm/samples-dev/replicationFabricsCreateSample.js +2 -2
  29. package/dist-esm/samples-dev/replicationFabricsCreateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/replicationFabricsDeleteSample.js +1 -1
  31. package/dist-esm/samples-dev/replicationFabricsGetSample.js +1 -1
  32. package/dist-esm/samples-dev/replicationFabricsListSample.js +4 -9
  33. package/dist-esm/samples-dev/replicationFabricsListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.js +1 -1
  35. package/dist-esm/samples-dev/replicationFabricsPurgeSample.js +1 -1
  36. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js +4 -4
  37. package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js.map +1 -1
  38. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts +2 -0
  39. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts.map +1 -0
  40. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js +41 -0
  41. package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js.map +1 -0
  42. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js +3 -3
  43. package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/replicationJobsCancelSample.js +1 -1
  45. package/dist-esm/samples-dev/replicationJobsExportSample.js +3 -3
  46. package/dist-esm/samples-dev/replicationJobsExportSample.js.map +1 -1
  47. package/dist-esm/samples-dev/replicationJobsGetSample.js +1 -1
  48. package/dist-esm/samples-dev/replicationJobsListSample.js +4 -9
  49. package/dist-esm/samples-dev/replicationJobsListSample.js.map +1 -1
  50. package/dist-esm/samples-dev/replicationJobsRestartSample.js +1 -1
  51. package/dist-esm/samples-dev/replicationJobsResumeSample.js +2 -2
  52. package/dist-esm/samples-dev/replicationJobsResumeSample.js.map +1 -1
  53. package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.js +1 -1
  54. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js +4 -9
  55. package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js.map +1 -1
  56. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js +7 -7
  57. package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js.map +1 -1
  58. package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.js +1 -1
  59. package/dist-esm/samples-dev/replicationMigrationItemsGetSample.js +1 -1
  60. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js +4 -9
  61. package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js.map +1 -1
  62. package/dist-esm/samples-dev/replicationMigrationItemsListSample.js +4 -9
  63. package/dist-esm/samples-dev/replicationMigrationItemsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js +5 -5
  65. package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js.map +1 -1
  66. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js +3 -3
  67. package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js.map +1 -1
  68. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js +5 -5
  69. package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js.map +1 -1
  70. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js +5 -5
  71. package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js.map +1 -1
  72. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js +3 -3
  73. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js.map +1 -1
  74. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js +5 -5
  75. package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js.map +1 -1
  76. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js +3 -3
  77. package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js.map +1 -1
  78. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js +4 -4
  79. package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js.map +1 -1
  80. package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.js +1 -1
  81. package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.js +1 -1
  82. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js +4 -9
  83. package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js.map +1 -1
  84. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js +4 -9
  85. package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js.map +1 -1
  86. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js +4 -4
  87. package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js.map +1 -1
  88. package/dist-esm/samples-dev/replicationNetworksGetSample.js +1 -1
  89. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js +4 -9
  90. package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js.map +1 -1
  91. package/dist-esm/samples-dev/replicationNetworksListSample.js +4 -9
  92. package/dist-esm/samples-dev/replicationNetworksListSample.js.map +1 -1
  93. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js +4 -4
  94. package/dist-esm/samples-dev/replicationPoliciesCreateSample.js.map +1 -1
  95. package/dist-esm/samples-dev/replicationPoliciesDeleteSample.js +1 -1
  96. package/dist-esm/samples-dev/replicationPoliciesGetSample.js +1 -1
  97. package/dist-esm/samples-dev/replicationPoliciesListSample.js +4 -9
  98. package/dist-esm/samples-dev/replicationPoliciesListSample.js.map +1 -1
  99. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js +4 -4
  100. package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/replicationProtectableItemsGetSample.js +1 -1
  102. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js +4 -9
  103. package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js.map +1 -1
  104. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js +7 -7
  105. package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js.map +1 -1
  106. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js +4 -4
  107. package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js.map +1 -1
  108. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js +4 -4
  109. package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js.map +1 -1
  110. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js +2 -2
  111. package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js.map +1 -1
  112. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js +1 -1
  113. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js.map +1 -1
  114. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js +1 -1
  115. package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js.map +1 -1
  116. package/dist-esm/samples-dev/replicationProtectedItemsGetSample.js +1 -1
  117. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js +4 -9
  118. package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js.map +1 -1
  119. package/dist-esm/samples-dev/replicationProtectedItemsListSample.js +4 -9
  120. package/dist-esm/samples-dev/replicationProtectedItemsListSample.js.map +1 -1
  121. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js +4 -4
  122. package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js.map +1 -1
  123. package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.js +1 -1
  124. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js +6 -6
  125. package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js.map +1 -1
  126. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js +1 -1
  127. package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js.map +1 -1
  128. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js +4 -4
  129. package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js.map +1 -1
  130. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js +3 -3
  131. package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js.map +1 -1
  132. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js +5 -5
  133. package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js.map +1 -1
  134. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js +3 -3
  135. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js.map +1 -1
  136. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js +4 -4
  137. package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js.map +1 -1
  138. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js +4 -4
  139. package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js.map +1 -1
  140. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js +5 -5
  141. package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js.map +1 -1
  142. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js +3 -3
  143. package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js.map +1 -1
  144. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js +8 -8
  145. package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js.map +1 -1
  146. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js +4 -4
  147. package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js.map +1 -1
  148. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js +3 -3
  149. package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js.map +1 -1
  150. package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.js +1 -1
  151. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js +4 -9
  152. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js.map +1 -1
  153. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js +4 -9
  154. package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js.map +1 -1
  155. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js +1 -1
  156. package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js.map +1 -1
  157. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js +5 -5
  158. package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js.map +1 -1
  159. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js +2 -2
  160. package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js.map +1 -1
  161. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js +1 -1
  162. package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js.map +1 -1
  163. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js +4 -4
  164. package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js.map +1 -1
  165. package/dist-esm/samples-dev/replicationProtectionContainersGetSample.js +1 -1
  166. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js +4 -9
  167. package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js.map +1 -1
  168. package/dist-esm/samples-dev/replicationProtectionContainersListSample.js +4 -9
  169. package/dist-esm/samples-dev/replicationProtectionContainersListSample.js.map +1 -1
  170. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js +4 -4
  171. package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js.map +1 -1
  172. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js +5 -5
  173. package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js.map +1 -1
  174. package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.js +1 -1
  175. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js +4 -9
  176. package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js.map +1 -1
  177. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js +8 -8
  178. package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js.map +1 -1
  179. package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.js +1 -1
  180. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js +1 -1
  181. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js.map +1 -1
  182. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js +1 -1
  183. package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js.map +1 -1
  184. package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.js +1 -1
  185. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js +4 -9
  186. package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js.map +1 -1
  187. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js +4 -4
  188. package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js.map +1 -1
  189. package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.js +1 -1
  190. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js +3 -3
  191. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js.map +1 -1
  192. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js +4 -4
  193. package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js.map +1 -1
  194. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js +4 -4
  195. package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js.map +1 -1
  196. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js +13 -13
  197. package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js.map +1 -1
  198. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js +6 -6
  199. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js.map +1 -1
  200. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js +1 -1
  201. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js.map +1 -1
  202. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.js +1 -1
  203. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js +4 -9
  204. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js.map +1 -1
  205. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js +4 -9
  206. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js.map +1 -1
  207. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js +1 -1
  208. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js.map +1 -1
  209. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js +1 -1
  210. package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js.map +1 -1
  211. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js +4 -4
  212. package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js.map +1 -1
  213. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js +1 -1
  214. package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js.map +1 -1
  215. package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.js +1 -1
  216. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js +4 -9
  217. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js.map +1 -1
  218. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js +4 -9
  219. package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js.map +1 -1
  220. package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.js +1 -1
  221. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js +4 -9
  222. package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js.map +1 -1
  223. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js +4 -9
  224. package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js.map +1 -1
  225. package/dist-esm/samples-dev/replicationVaultHealthGetSample.js +1 -1
  226. package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.js +1 -1
  227. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js +4 -4
  228. package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js.map +1 -1
  229. package/dist-esm/samples-dev/replicationVaultSettingGetSample.js +1 -1
  230. package/dist-esm/samples-dev/replicationVaultSettingListSample.js +4 -9
  231. package/dist-esm/samples-dev/replicationVaultSettingListSample.js.map +1 -1
  232. package/dist-esm/samples-dev/replicationvCentersCreateSample.js +4 -4
  233. package/dist-esm/samples-dev/replicationvCentersCreateSample.js.map +1 -1
  234. package/dist-esm/samples-dev/replicationvCentersDeleteSample.js +1 -1
  235. package/dist-esm/samples-dev/replicationvCentersGetSample.js +1 -1
  236. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js +4 -9
  237. package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js.map +1 -1
  238. package/dist-esm/samples-dev/replicationvCentersListSample.js +4 -9
  239. package/dist-esm/samples-dev/replicationvCentersListSample.js.map +1 -1
  240. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js +3 -3
  241. package/dist-esm/samples-dev/replicationvCentersUpdateSample.js.map +1 -1
  242. package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.js +1 -1
  243. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js +4 -9
  244. package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js.map +1 -1
  245. package/dist-esm/src/lroImpl.js +1 -1
  246. package/dist-esm/src/models/index.d.ts +61 -0
  247. package/dist-esm/src/models/index.d.ts.map +1 -1
  248. package/dist-esm/src/models/index.js.map +1 -1
  249. package/dist-esm/src/models/mappers.d.ts +4 -0
  250. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  251. package/dist-esm/src/models/mappers.js +6827 -6707
  252. package/dist-esm/src/models/mappers.js.map +1 -1
  253. package/dist-esm/src/models/parameters.d.ts +2 -0
  254. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  255. package/dist-esm/src/models/parameters.js +193 -167
  256. package/dist-esm/src/models/parameters.js.map +1 -1
  257. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -1
  258. package/dist-esm/src/operations/migrationRecoveryPoints.js +19 -24
  259. package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -1
  260. package/dist-esm/src/operations/operations.js +12 -17
  261. package/dist-esm/src/operations/operations.js.map +1 -1
  262. package/dist-esm/src/operations/recoveryPoints.js +19 -24
  263. package/dist-esm/src/operations/recoveryPoints.js.map +1 -1
  264. package/dist-esm/src/operations/replicationAlertSettings.js +20 -25
  265. package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -1
  266. package/dist-esm/src/operations/replicationAppliances.js +12 -17
  267. package/dist-esm/src/operations/replicationAppliances.js.map +1 -1
  268. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -1
  269. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +8 -8
  270. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -1
  271. package/dist-esm/src/operations/replicationEvents.js +16 -21
  272. package/dist-esm/src/operations/replicationEvents.js.map +1 -1
  273. package/dist-esm/src/operations/replicationFabrics.d.ts +19 -1
  274. package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -1
  275. package/dist-esm/src/operations/replicationFabrics.js +171 -86
  276. package/dist-esm/src/operations/replicationFabrics.js.map +1 -1
  277. package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -1
  278. package/dist-esm/src/operations/replicationJobs.js +62 -67
  279. package/dist-esm/src/operations/replicationJobs.js.map +1 -1
  280. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -1
  281. package/dist-esm/src/operations/replicationLogicalNetworks.js +17 -22
  282. package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -1
  283. package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -1
  284. package/dist-esm/src/operations/replicationMigrationItems.js +137 -147
  285. package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -1
  286. package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -1
  287. package/dist-esm/src/operations/replicationNetworkMappings.js +62 -72
  288. package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -1
  289. package/dist-esm/src/operations/replicationNetworks.js +28 -38
  290. package/dist-esm/src/operations/replicationNetworks.js.map +1 -1
  291. package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -1
  292. package/dist-esm/src/operations/replicationPolicies.js +45 -50
  293. package/dist-esm/src/operations/replicationPolicies.js.map +1 -1
  294. package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -1
  295. package/dist-esm/src/operations/replicationProtectableItems.js +20 -25
  296. package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -1
  297. package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -1
  298. package/dist-esm/src/operations/replicationProtectedItems.js +251 -261
  299. package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -1
  300. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -1
  301. package/dist-esm/src/operations/replicationProtectionContainerMappings.js +70 -80
  302. package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -1
  303. package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -1
  304. package/dist-esm/src/operations/replicationProtectionContainers.js +73 -83
  305. package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -1
  306. package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -1
  307. package/dist-esm/src/operations/replicationProtectionIntents.js +21 -26
  308. package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -1
  309. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -1
  310. package/dist-esm/src/operations/replicationRecoveryPlans.js +128 -133
  311. package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -1
  312. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -1
  313. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +67 -77
  314. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -1
  315. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -1
  316. package/dist-esm/src/operations/replicationStorageClassificationMappings.js +51 -61
  317. package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -1
  318. package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -1
  319. package/dist-esm/src/operations/replicationStorageClassifications.js +29 -39
  320. package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -1
  321. package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -1
  322. package/dist-esm/src/operations/replicationVaultHealth.js +16 -16
  323. package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -1
  324. package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -1
  325. package/dist-esm/src/operations/replicationVaultSetting.js +29 -34
  326. package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -1
  327. package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -1
  328. package/dist-esm/src/operations/replicationvCenters.js +60 -70
  329. package/dist-esm/src/operations/replicationvCenters.js.map +1 -1
  330. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -1
  331. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +4 -4
  332. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -1
  333. package/dist-esm/src/operations/targetComputeSizes.js +14 -19
  334. package/dist-esm/src/operations/targetComputeSizes.js.map +1 -1
  335. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +19 -1
  336. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -1
  337. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -1
  338. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -1
  339. package/dist-esm/src/pagingHelper.js.map +1 -1
  340. package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -1
  341. package/dist-esm/src/siteRecoveryManagementClient.js +23 -16
  342. package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -1
  343. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js +3 -8
  344. package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js.map +1 -1
  345. package/package.json +16 -22
  346. package/review/arm-recoveryservices-siterecovery.api.md +38 -0
  347. package/src/lroImpl.ts +3 -3
  348. package/src/models/index.ts +272 -127
  349. package/src/models/mappers.ts +10025 -9693
  350. package/src/models/parameters.ts +196 -168
  351. package/src/operations/migrationRecoveryPoints.ts +52 -55
  352. package/src/operations/operations.ts +19 -20
  353. package/src/operations/recoveryPoints.ts +51 -52
  354. package/src/operations/replicationAlertSettings.ts +35 -38
  355. package/src/operations/replicationAppliances.ts +21 -22
  356. package/src/operations/replicationEligibilityResultsOperations.ts +17 -18
  357. package/src/operations/replicationEvents.ts +28 -30
  358. package/src/operations/replicationFabrics.ts +299 -186
  359. package/src/operations/replicationJobs.ts +118 -128
  360. package/src/operations/replicationLogicalNetworks.ts +33 -34
  361. package/src/operations/replicationMigrationItems.ts +298 -320
  362. package/src/operations/replicationNetworkMappings.ts +119 -127
  363. package/src/operations/replicationNetworks.ts +50 -53
  364. package/src/operations/replicationPolicies.ts +90 -98
  365. package/src/operations/replicationProtectableItems.ts +75 -78
  366. package/src/operations/replicationProtectedItems.ts +518 -560
  367. package/src/operations/replicationProtectionContainerMappings.ts +172 -184
  368. package/src/operations/replicationProtectionContainers.ts +144 -160
  369. package/src/operations/replicationProtectionIntents.ts +38 -40
  370. package/src/operations/replicationRecoveryPlans.ts +250 -272
  371. package/src/operations/replicationRecoveryServicesProviders.ts +139 -157
  372. package/src/operations/replicationStorageClassificationMappings.ts +131 -139
  373. package/src/operations/replicationStorageClassifications.ts +55 -61
  374. package/src/operations/replicationVaultHealth.ts +31 -34
  375. package/src/operations/replicationVaultSetting.ts +52 -56
  376. package/src/operations/replicationvCenters.ts +115 -124
  377. package/src/operations/supportedOperatingSystemsOperations.ts +10 -10
  378. package/src/operations/targetComputeSizes.ts +43 -43
  379. package/src/operationsInterfaces/migrationRecoveryPoints.ts +3 -3
  380. package/src/operationsInterfaces/operations.ts +1 -1
  381. package/src/operationsInterfaces/recoveryPoints.ts +3 -3
  382. package/src/operationsInterfaces/replicationAlertSettings.ts +4 -4
  383. package/src/operationsInterfaces/replicationAppliances.ts +2 -2
  384. package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +3 -3
  385. package/src/operationsInterfaces/replicationEvents.ts +3 -3
  386. package/src/operationsInterfaces/replicationFabrics.ts +52 -17
  387. package/src/operationsInterfaces/replicationJobs.ts +11 -11
  388. package/src/operationsInterfaces/replicationLogicalNetworks.ts +3 -3
  389. package/src/operationsInterfaces/replicationMigrationItems.ts +22 -22
  390. package/src/operationsInterfaces/replicationNetworkMappings.ts +10 -10
  391. package/src/operationsInterfaces/replicationNetworks.ts +4 -4
  392. package/src/operationsInterfaces/replicationPolicies.ts +9 -9
  393. package/src/operationsInterfaces/replicationProtectableItems.ts +3 -3
  394. package/src/operationsInterfaces/replicationProtectedItems.ts +42 -42
  395. package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +12 -12
  396. package/src/operationsInterfaces/replicationProtectionContainers.ts +13 -15
  397. package/src/operationsInterfaces/replicationProtectionIntents.ts +4 -4
  398. package/src/operationsInterfaces/replicationRecoveryPlans.ts +23 -23
  399. package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +13 -15
  400. package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +8 -8
  401. package/src/operationsInterfaces/replicationStorageClassifications.ts +4 -4
  402. package/src/operationsInterfaces/replicationVaultHealth.ts +4 -4
  403. package/src/operationsInterfaces/replicationVaultSetting.ts +5 -5
  404. package/src/operationsInterfaces/replicationvCenters.ts +10 -10
  405. package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +2 -2
  406. package/src/operationsInterfaces/targetComputeSizes.ts +2 -2
  407. package/src/pagingHelper.ts +1 -1
  408. package/src/siteRecoveryManagementClient.ts +34 -40
  409. package/types/arm-recoveryservices-siterecovery.d.ts +85 -0
  410. package/types/tsdoc-metadata.json +1 -1
  411. package/rollup.config.js +0 -122
@@ -16,7 +16,7 @@ import { SiteRecoveryManagementClient } from "../siteRecoveryManagementClient";
16
16
  import {
17
17
  SimplePollerLike,
18
18
  OperationState,
19
- createHttpPoller
19
+ createHttpPoller,
20
20
  } from "@azure/core-lro";
21
21
  import { createLroSpec } from "../lroImpl";
22
22
  import {
@@ -39,13 +39,14 @@ import {
39
39
  RemoveProtectionContainerMappingInput,
40
40
  ReplicationProtectionContainerMappingsDeleteOptionalParams,
41
41
  ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse,
42
- ReplicationProtectionContainerMappingsListNextResponse
42
+ ReplicationProtectionContainerMappingsListNextResponse,
43
43
  } from "../models";
44
44
 
45
45
  /// <reference lib="esnext.asynciterable" />
46
46
  /** Class containing ReplicationProtectionContainerMappings operations. */
47
47
  export class ReplicationProtectionContainerMappingsImpl
48
- implements ReplicationProtectionContainerMappings {
48
+ implements ReplicationProtectionContainerMappings
49
+ {
49
50
  private readonly client: SiteRecoveryManagementClient;
50
51
 
51
52
  /**
@@ -70,14 +71,14 @@ export class ReplicationProtectionContainerMappingsImpl
70
71
  resourceGroupName: string,
71
72
  fabricName: string,
72
73
  protectionContainerName: string,
73
- options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams
74
+ options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,
74
75
  ): PagedAsyncIterableIterator<ProtectionContainerMapping> {
75
76
  const iter = this.listByReplicationProtectionContainersPagingAll(
76
77
  resourceName,
77
78
  resourceGroupName,
78
79
  fabricName,
79
80
  protectionContainerName,
80
- options
81
+ options,
81
82
  );
82
83
  return {
83
84
  next() {
@@ -96,9 +97,9 @@ export class ReplicationProtectionContainerMappingsImpl
96
97
  fabricName,
97
98
  protectionContainerName,
98
99
  options,
99
- settings
100
+ settings,
100
101
  );
101
- }
102
+ },
102
103
  };
103
104
  }
104
105
 
@@ -108,7 +109,7 @@ export class ReplicationProtectionContainerMappingsImpl
108
109
  fabricName: string,
109
110
  protectionContainerName: string,
110
111
  options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,
111
- settings?: PageSettings
112
+ settings?: PageSettings,
112
113
  ): AsyncIterableIterator<ProtectionContainerMapping[]> {
113
114
  let result: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse;
114
115
  let continuationToken = settings?.continuationToken;
@@ -118,7 +119,7 @@ export class ReplicationProtectionContainerMappingsImpl
118
119
  resourceGroupName,
119
120
  fabricName,
120
121
  protectionContainerName,
121
- options
122
+ options,
122
123
  );
123
124
  let page = result.value || [];
124
125
  continuationToken = result.nextLink;
@@ -132,7 +133,7 @@ export class ReplicationProtectionContainerMappingsImpl
132
133
  fabricName,
133
134
  protectionContainerName,
134
135
  continuationToken,
135
- options
136
+ options,
136
137
  );
137
138
  continuationToken = result.nextLink;
138
139
  let page = result.value || [];
@@ -146,14 +147,14 @@ export class ReplicationProtectionContainerMappingsImpl
146
147
  resourceGroupName: string,
147
148
  fabricName: string,
148
149
  protectionContainerName: string,
149
- options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams
150
+ options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,
150
151
  ): AsyncIterableIterator<ProtectionContainerMapping> {
151
152
  for await (const page of this.listByReplicationProtectionContainersPagingPage(
152
153
  resourceName,
153
154
  resourceGroupName,
154
155
  fabricName,
155
156
  protectionContainerName,
156
- options
157
+ options,
157
158
  )) {
158
159
  yield* page;
159
160
  }
@@ -169,7 +170,7 @@ export class ReplicationProtectionContainerMappingsImpl
169
170
  public list(
170
171
  resourceName: string,
171
172
  resourceGroupName: string,
172
- options?: ReplicationProtectionContainerMappingsListOptionalParams
173
+ options?: ReplicationProtectionContainerMappingsListOptionalParams,
173
174
  ): PagedAsyncIterableIterator<ProtectionContainerMapping> {
174
175
  const iter = this.listPagingAll(resourceName, resourceGroupName, options);
175
176
  return {
@@ -187,9 +188,9 @@ export class ReplicationProtectionContainerMappingsImpl
187
188
  resourceName,
188
189
  resourceGroupName,
189
190
  options,
190
- settings
191
+ settings,
191
192
  );
192
- }
193
+ },
193
194
  };
194
195
  }
195
196
 
@@ -197,7 +198,7 @@ export class ReplicationProtectionContainerMappingsImpl
197
198
  resourceName: string,
198
199
  resourceGroupName: string,
199
200
  options?: ReplicationProtectionContainerMappingsListOptionalParams,
200
- settings?: PageSettings
201
+ settings?: PageSettings,
201
202
  ): AsyncIterableIterator<ProtectionContainerMapping[]> {
202
203
  let result: ReplicationProtectionContainerMappingsListResponse;
203
204
  let continuationToken = settings?.continuationToken;
@@ -213,7 +214,7 @@ export class ReplicationProtectionContainerMappingsImpl
213
214
  resourceName,
214
215
  resourceGroupName,
215
216
  continuationToken,
216
- options
217
+ options,
217
218
  );
218
219
  continuationToken = result.nextLink;
219
220
  let page = result.value || [];
@@ -225,12 +226,12 @@ export class ReplicationProtectionContainerMappingsImpl
225
226
  private async *listPagingAll(
226
227
  resourceName: string,
227
228
  resourceGroupName: string,
228
- options?: ReplicationProtectionContainerMappingsListOptionalParams
229
+ options?: ReplicationProtectionContainerMappingsListOptionalParams,
229
230
  ): AsyncIterableIterator<ProtectionContainerMapping> {
230
231
  for await (const page of this.listPagingPage(
231
232
  resourceName,
232
233
  resourceGroupName,
233
- options
234
+ options,
234
235
  )) {
235
236
  yield* page;
236
237
  }
@@ -250,19 +251,17 @@ export class ReplicationProtectionContainerMappingsImpl
250
251
  resourceGroupName: string,
251
252
  fabricName: string,
252
253
  protectionContainerName: string,
253
- options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams
254
- ): Promise<
255
- ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse
256
- > {
254
+ options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,
255
+ ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse> {
257
256
  return this.client.sendOperationRequest(
258
257
  {
259
258
  resourceName,
260
259
  resourceGroupName,
261
260
  fabricName,
262
261
  protectionContainerName,
263
- options
262
+ options,
264
263
  },
265
- listByReplicationProtectionContainersOperationSpec
264
+ listByReplicationProtectionContainersOperationSpec,
266
265
  );
267
266
  }
268
267
 
@@ -282,7 +281,7 @@ export class ReplicationProtectionContainerMappingsImpl
282
281
  fabricName: string,
283
282
  protectionContainerName: string,
284
283
  mappingName: string,
285
- options?: ReplicationProtectionContainerMappingsGetOptionalParams
284
+ options?: ReplicationProtectionContainerMappingsGetOptionalParams,
286
285
  ): Promise<ReplicationProtectionContainerMappingsGetResponse> {
287
286
  return this.client.sendOperationRequest(
288
287
  {
@@ -291,9 +290,9 @@ export class ReplicationProtectionContainerMappingsImpl
291
290
  fabricName,
292
291
  protectionContainerName,
293
292
  mappingName,
294
- options
293
+ options,
295
294
  },
296
- getOperationSpec
295
+ getOperationSpec,
297
296
  );
298
297
  }
299
298
 
@@ -315,7 +314,7 @@ export class ReplicationProtectionContainerMappingsImpl
315
314
  protectionContainerName: string,
316
315
  mappingName: string,
317
316
  creationInput: CreateProtectionContainerMappingInput,
318
- options?: ReplicationProtectionContainerMappingsCreateOptionalParams
317
+ options?: ReplicationProtectionContainerMappingsCreateOptionalParams,
319
318
  ): Promise<
320
319
  SimplePollerLike<
321
320
  OperationState<ReplicationProtectionContainerMappingsCreateResponse>,
@@ -324,21 +323,20 @@ export class ReplicationProtectionContainerMappingsImpl
324
323
  > {
325
324
  const directSendOperation = async (
326
325
  args: coreClient.OperationArguments,
327
- spec: coreClient.OperationSpec
326
+ spec: coreClient.OperationSpec,
328
327
  ): Promise<ReplicationProtectionContainerMappingsCreateResponse> => {
329
328
  return this.client.sendOperationRequest(args, spec);
330
329
  };
331
330
  const sendOperationFn = async (
332
331
  args: coreClient.OperationArguments,
333
- spec: coreClient.OperationSpec
332
+ spec: coreClient.OperationSpec,
334
333
  ) => {
335
- let currentRawResponse:
336
- | coreClient.FullOperationResponse
337
- | undefined = undefined;
334
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
335
+ undefined;
338
336
  const providedCallback = args.options?.onResponse;
339
337
  const callback: coreClient.RawResponseCallback = (
340
338
  rawResponse: coreClient.FullOperationResponse,
341
- flatResponse: unknown
339
+ flatResponse: unknown,
342
340
  ) => {
343
341
  currentRawResponse = rawResponse;
344
342
  providedCallback?.(rawResponse, flatResponse);
@@ -347,8 +345,8 @@ export class ReplicationProtectionContainerMappingsImpl
347
345
  ...args,
348
346
  options: {
349
347
  ...args.options,
350
- onResponse: callback
351
- }
348
+ onResponse: callback,
349
+ },
352
350
  };
353
351
  const flatResponse = await directSendOperation(updatedArgs, spec);
354
352
  return {
@@ -356,8 +354,8 @@ export class ReplicationProtectionContainerMappingsImpl
356
354
  rawResponse: {
357
355
  statusCode: currentRawResponse!.status,
358
356
  body: currentRawResponse!.parsedBody,
359
- headers: currentRawResponse!.headers.toJSON()
360
- }
357
+ headers: currentRawResponse!.headers.toJSON(),
358
+ },
361
359
  };
362
360
  };
363
361
 
@@ -370,16 +368,16 @@ export class ReplicationProtectionContainerMappingsImpl
370
368
  protectionContainerName,
371
369
  mappingName,
372
370
  creationInput,
373
- options
371
+ options,
374
372
  },
375
- spec: createOperationSpec
373
+ spec: createOperationSpec,
376
374
  });
377
375
  const poller = await createHttpPoller<
378
376
  ReplicationProtectionContainerMappingsCreateResponse,
379
377
  OperationState<ReplicationProtectionContainerMappingsCreateResponse>
380
378
  >(lro, {
381
379
  restoreFrom: options?.resumeFrom,
382
- intervalInMs: options?.updateIntervalInMs
380
+ intervalInMs: options?.updateIntervalInMs,
383
381
  });
384
382
  await poller.poll();
385
383
  return poller;
@@ -403,7 +401,7 @@ export class ReplicationProtectionContainerMappingsImpl
403
401
  protectionContainerName: string,
404
402
  mappingName: string,
405
403
  creationInput: CreateProtectionContainerMappingInput,
406
- options?: ReplicationProtectionContainerMappingsCreateOptionalParams
404
+ options?: ReplicationProtectionContainerMappingsCreateOptionalParams,
407
405
  ): Promise<ReplicationProtectionContainerMappingsCreateResponse> {
408
406
  const poller = await this.beginCreate(
409
407
  resourceName,
@@ -412,7 +410,7 @@ export class ReplicationProtectionContainerMappingsImpl
412
410
  protectionContainerName,
413
411
  mappingName,
414
412
  creationInput,
415
- options
413
+ options,
416
414
  );
417
415
  return poller.pollUntilDone();
418
416
  }
@@ -433,25 +431,24 @@ export class ReplicationProtectionContainerMappingsImpl
433
431
  fabricName: string,
434
432
  protectionContainerName: string,
435
433
  mappingName: string,
436
- options?: ReplicationProtectionContainerMappingsPurgeOptionalParams
434
+ options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,
437
435
  ): Promise<SimplePollerLike<OperationState<void>, void>> {
438
436
  const directSendOperation = async (
439
437
  args: coreClient.OperationArguments,
440
- spec: coreClient.OperationSpec
438
+ spec: coreClient.OperationSpec,
441
439
  ): Promise<void> => {
442
440
  return this.client.sendOperationRequest(args, spec);
443
441
  };
444
442
  const sendOperationFn = async (
445
443
  args: coreClient.OperationArguments,
446
- spec: coreClient.OperationSpec
444
+ spec: coreClient.OperationSpec,
447
445
  ) => {
448
- let currentRawResponse:
449
- | coreClient.FullOperationResponse
450
- | undefined = undefined;
446
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
447
+ undefined;
451
448
  const providedCallback = args.options?.onResponse;
452
449
  const callback: coreClient.RawResponseCallback = (
453
450
  rawResponse: coreClient.FullOperationResponse,
454
- flatResponse: unknown
451
+ flatResponse: unknown,
455
452
  ) => {
456
453
  currentRawResponse = rawResponse;
457
454
  providedCallback?.(rawResponse, flatResponse);
@@ -460,8 +457,8 @@ export class ReplicationProtectionContainerMappingsImpl
460
457
  ...args,
461
458
  options: {
462
459
  ...args.options,
463
- onResponse: callback
464
- }
460
+ onResponse: callback,
461
+ },
465
462
  };
466
463
  const flatResponse = await directSendOperation(updatedArgs, spec);
467
464
  return {
@@ -469,8 +466,8 @@ export class ReplicationProtectionContainerMappingsImpl
469
466
  rawResponse: {
470
467
  statusCode: currentRawResponse!.status,
471
468
  body: currentRawResponse!.parsedBody,
472
- headers: currentRawResponse!.headers.toJSON()
473
- }
469
+ headers: currentRawResponse!.headers.toJSON(),
470
+ },
474
471
  };
475
472
  };
476
473
 
@@ -482,13 +479,13 @@ export class ReplicationProtectionContainerMappingsImpl
482
479
  fabricName,
483
480
  protectionContainerName,
484
481
  mappingName,
485
- options
482
+ options,
486
483
  },
487
- spec: purgeOperationSpec
484
+ spec: purgeOperationSpec,
488
485
  });
489
486
  const poller = await createHttpPoller<void, OperationState<void>>(lro, {
490
487
  restoreFrom: options?.resumeFrom,
491
- intervalInMs: options?.updateIntervalInMs
488
+ intervalInMs: options?.updateIntervalInMs,
492
489
  });
493
490
  await poller.poll();
494
491
  return poller;
@@ -510,7 +507,7 @@ export class ReplicationProtectionContainerMappingsImpl
510
507
  fabricName: string,
511
508
  protectionContainerName: string,
512
509
  mappingName: string,
513
- options?: ReplicationProtectionContainerMappingsPurgeOptionalParams
510
+ options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,
514
511
  ): Promise<void> {
515
512
  const poller = await this.beginPurge(
516
513
  resourceName,
@@ -518,7 +515,7 @@ export class ReplicationProtectionContainerMappingsImpl
518
515
  fabricName,
519
516
  protectionContainerName,
520
517
  mappingName,
521
- options
518
+ options,
522
519
  );
523
520
  return poller.pollUntilDone();
524
521
  }
@@ -541,7 +538,7 @@ export class ReplicationProtectionContainerMappingsImpl
541
538
  protectionContainerName: string,
542
539
  mappingName: string,
543
540
  updateInput: UpdateProtectionContainerMappingInput,
544
- options?: ReplicationProtectionContainerMappingsUpdateOptionalParams
541
+ options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,
545
542
  ): Promise<
546
543
  SimplePollerLike<
547
544
  OperationState<ReplicationProtectionContainerMappingsUpdateResponse>,
@@ -550,21 +547,20 @@ export class ReplicationProtectionContainerMappingsImpl
550
547
  > {
551
548
  const directSendOperation = async (
552
549
  args: coreClient.OperationArguments,
553
- spec: coreClient.OperationSpec
550
+ spec: coreClient.OperationSpec,
554
551
  ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> => {
555
552
  return this.client.sendOperationRequest(args, spec);
556
553
  };
557
554
  const sendOperationFn = async (
558
555
  args: coreClient.OperationArguments,
559
- spec: coreClient.OperationSpec
556
+ spec: coreClient.OperationSpec,
560
557
  ) => {
561
- let currentRawResponse:
562
- | coreClient.FullOperationResponse
563
- | undefined = undefined;
558
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
559
+ undefined;
564
560
  const providedCallback = args.options?.onResponse;
565
561
  const callback: coreClient.RawResponseCallback = (
566
562
  rawResponse: coreClient.FullOperationResponse,
567
- flatResponse: unknown
563
+ flatResponse: unknown,
568
564
  ) => {
569
565
  currentRawResponse = rawResponse;
570
566
  providedCallback?.(rawResponse, flatResponse);
@@ -573,8 +569,8 @@ export class ReplicationProtectionContainerMappingsImpl
573
569
  ...args,
574
570
  options: {
575
571
  ...args.options,
576
- onResponse: callback
577
- }
572
+ onResponse: callback,
573
+ },
578
574
  };
579
575
  const flatResponse = await directSendOperation(updatedArgs, spec);
580
576
  return {
@@ -582,8 +578,8 @@ export class ReplicationProtectionContainerMappingsImpl
582
578
  rawResponse: {
583
579
  statusCode: currentRawResponse!.status,
584
580
  body: currentRawResponse!.parsedBody,
585
- headers: currentRawResponse!.headers.toJSON()
586
- }
581
+ headers: currentRawResponse!.headers.toJSON(),
582
+ },
587
583
  };
588
584
  };
589
585
 
@@ -596,16 +592,16 @@ export class ReplicationProtectionContainerMappingsImpl
596
592
  protectionContainerName,
597
593
  mappingName,
598
594
  updateInput,
599
- options
595
+ options,
600
596
  },
601
- spec: updateOperationSpec
597
+ spec: updateOperationSpec,
602
598
  });
603
599
  const poller = await createHttpPoller<
604
600
  ReplicationProtectionContainerMappingsUpdateResponse,
605
601
  OperationState<ReplicationProtectionContainerMappingsUpdateResponse>
606
602
  >(lro, {
607
603
  restoreFrom: options?.resumeFrom,
608
- intervalInMs: options?.updateIntervalInMs
604
+ intervalInMs: options?.updateIntervalInMs,
609
605
  });
610
606
  await poller.poll();
611
607
  return poller;
@@ -629,7 +625,7 @@ export class ReplicationProtectionContainerMappingsImpl
629
625
  protectionContainerName: string,
630
626
  mappingName: string,
631
627
  updateInput: UpdateProtectionContainerMappingInput,
632
- options?: ReplicationProtectionContainerMappingsUpdateOptionalParams
628
+ options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,
633
629
  ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> {
634
630
  const poller = await this.beginUpdate(
635
631
  resourceName,
@@ -638,7 +634,7 @@ export class ReplicationProtectionContainerMappingsImpl
638
634
  protectionContainerName,
639
635
  mappingName,
640
636
  updateInput,
641
- options
637
+ options,
642
638
  );
643
639
  return poller.pollUntilDone();
644
640
  }
@@ -661,25 +657,24 @@ export class ReplicationProtectionContainerMappingsImpl
661
657
  protectionContainerName: string,
662
658
  mappingName: string,
663
659
  removalInput: RemoveProtectionContainerMappingInput,
664
- options?: ReplicationProtectionContainerMappingsDeleteOptionalParams
660
+ options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,
665
661
  ): Promise<SimplePollerLike<OperationState<void>, void>> {
666
662
  const directSendOperation = async (
667
663
  args: coreClient.OperationArguments,
668
- spec: coreClient.OperationSpec
664
+ spec: coreClient.OperationSpec,
669
665
  ): Promise<void> => {
670
666
  return this.client.sendOperationRequest(args, spec);
671
667
  };
672
668
  const sendOperationFn = async (
673
669
  args: coreClient.OperationArguments,
674
- spec: coreClient.OperationSpec
670
+ spec: coreClient.OperationSpec,
675
671
  ) => {
676
- let currentRawResponse:
677
- | coreClient.FullOperationResponse
678
- | undefined = undefined;
672
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
673
+ undefined;
679
674
  const providedCallback = args.options?.onResponse;
680
675
  const callback: coreClient.RawResponseCallback = (
681
676
  rawResponse: coreClient.FullOperationResponse,
682
- flatResponse: unknown
677
+ flatResponse: unknown,
683
678
  ) => {
684
679
  currentRawResponse = rawResponse;
685
680
  providedCallback?.(rawResponse, flatResponse);
@@ -688,8 +683,8 @@ export class ReplicationProtectionContainerMappingsImpl
688
683
  ...args,
689
684
  options: {
690
685
  ...args.options,
691
- onResponse: callback
692
- }
686
+ onResponse: callback,
687
+ },
693
688
  };
694
689
  const flatResponse = await directSendOperation(updatedArgs, spec);
695
690
  return {
@@ -697,8 +692,8 @@ export class ReplicationProtectionContainerMappingsImpl
697
692
  rawResponse: {
698
693
  statusCode: currentRawResponse!.status,
699
694
  body: currentRawResponse!.parsedBody,
700
- headers: currentRawResponse!.headers.toJSON()
701
- }
695
+ headers: currentRawResponse!.headers.toJSON(),
696
+ },
702
697
  };
703
698
  };
704
699
 
@@ -711,13 +706,13 @@ export class ReplicationProtectionContainerMappingsImpl
711
706
  protectionContainerName,
712
707
  mappingName,
713
708
  removalInput,
714
- options
709
+ options,
715
710
  },
716
- spec: deleteOperationSpec
711
+ spec: deleteOperationSpec,
717
712
  });
718
713
  const poller = await createHttpPoller<void, OperationState<void>>(lro, {
719
714
  restoreFrom: options?.resumeFrom,
720
- intervalInMs: options?.updateIntervalInMs
715
+ intervalInMs: options?.updateIntervalInMs,
721
716
  });
722
717
  await poller.poll();
723
718
  return poller;
@@ -741,7 +736,7 @@ export class ReplicationProtectionContainerMappingsImpl
741
736
  protectionContainerName: string,
742
737
  mappingName: string,
743
738
  removalInput: RemoveProtectionContainerMappingInput,
744
- options?: ReplicationProtectionContainerMappingsDeleteOptionalParams
739
+ options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,
745
740
  ): Promise<void> {
746
741
  const poller = await this.beginDelete(
747
742
  resourceName,
@@ -750,7 +745,7 @@ export class ReplicationProtectionContainerMappingsImpl
750
745
  protectionContainerName,
751
746
  mappingName,
752
747
  removalInput,
753
- options
748
+ options,
754
749
  );
755
750
  return poller.pollUntilDone();
756
751
  }
@@ -765,11 +760,11 @@ export class ReplicationProtectionContainerMappingsImpl
765
760
  private _list(
766
761
  resourceName: string,
767
762
  resourceGroupName: string,
768
- options?: ReplicationProtectionContainerMappingsListOptionalParams
763
+ options?: ReplicationProtectionContainerMappingsListOptionalParams,
769
764
  ): Promise<ReplicationProtectionContainerMappingsListResponse> {
770
765
  return this.client.sendOperationRequest(
771
766
  { resourceName, resourceGroupName, options },
772
- listOperationSpec
767
+ listOperationSpec,
773
768
  );
774
769
  }
775
770
 
@@ -790,10 +785,8 @@ export class ReplicationProtectionContainerMappingsImpl
790
785
  fabricName: string,
791
786
  protectionContainerName: string,
792
787
  nextLink: string,
793
- options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams
794
- ): Promise<
795
- ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse
796
- > {
788
+ options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams,
789
+ ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse> {
797
790
  return this.client.sendOperationRequest(
798
791
  {
799
792
  resourceName,
@@ -801,9 +794,9 @@ export class ReplicationProtectionContainerMappingsImpl
801
794
  fabricName,
802
795
  protectionContainerName,
803
796
  nextLink,
804
- options
797
+ options,
805
798
  },
806
- listByReplicationProtectionContainersNextOperationSpec
799
+ listByReplicationProtectionContainersNextOperationSpec,
807
800
  );
808
801
  }
809
802
 
@@ -819,46 +812,45 @@ export class ReplicationProtectionContainerMappingsImpl
819
812
  resourceName: string,
820
813
  resourceGroupName: string,
821
814
  nextLink: string,
822
- options?: ReplicationProtectionContainerMappingsListNextOptionalParams
815
+ options?: ReplicationProtectionContainerMappingsListNextOptionalParams,
823
816
  ): Promise<ReplicationProtectionContainerMappingsListNextResponse> {
824
817
  return this.client.sendOperationRequest(
825
818
  { resourceName, resourceGroupName, nextLink, options },
826
- listNextOperationSpec
819
+ listNextOperationSpec,
827
820
  );
828
821
  }
829
822
  }
830
823
  // Operation Specifications
831
824
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
832
825
 
833
- const listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec = {
834
- path:
835
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings",
836
- httpMethod: "GET",
837
- responses: {
838
- 200: {
839
- bodyMapper: Mappers.ProtectionContainerMappingCollection
840
- }
841
- },
842
- queryParameters: [Parameters.apiVersion],
843
- urlParameters: [
844
- Parameters.$host,
845
- Parameters.resourceGroupName,
846
- Parameters.subscriptionId,
847
- Parameters.resourceName,
848
- Parameters.fabricName,
849
- Parameters.protectionContainerName
850
- ],
851
- headerParameters: [Parameters.accept],
852
- serializer
853
- };
826
+ const listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec =
827
+ {
828
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings",
829
+ httpMethod: "GET",
830
+ responses: {
831
+ 200: {
832
+ bodyMapper: Mappers.ProtectionContainerMappingCollection,
833
+ },
834
+ },
835
+ queryParameters: [Parameters.apiVersion],
836
+ urlParameters: [
837
+ Parameters.$host,
838
+ Parameters.resourceGroupName,
839
+ Parameters.subscriptionId,
840
+ Parameters.resourceName,
841
+ Parameters.fabricName,
842
+ Parameters.protectionContainerName,
843
+ ],
844
+ headerParameters: [Parameters.accept],
845
+ serializer,
846
+ };
854
847
  const getOperationSpec: coreClient.OperationSpec = {
855
- path:
856
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
848
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
857
849
  httpMethod: "GET",
858
850
  responses: {
859
851
  200: {
860
- bodyMapper: Mappers.ProtectionContainerMapping
861
- }
852
+ bodyMapper: Mappers.ProtectionContainerMapping,
853
+ },
862
854
  },
863
855
  queryParameters: [Parameters.apiVersion],
864
856
  urlParameters: [
@@ -868,28 +860,27 @@ const getOperationSpec: coreClient.OperationSpec = {
868
860
  Parameters.resourceName,
869
861
  Parameters.fabricName,
870
862
  Parameters.protectionContainerName,
871
- Parameters.mappingName
863
+ Parameters.mappingName,
872
864
  ],
873
865
  headerParameters: [Parameters.accept],
874
- serializer
866
+ serializer,
875
867
  };
876
868
  const createOperationSpec: coreClient.OperationSpec = {
877
- path:
878
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
869
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
879
870
  httpMethod: "PUT",
880
871
  responses: {
881
872
  200: {
882
- bodyMapper: Mappers.ProtectionContainerMapping
873
+ bodyMapper: Mappers.ProtectionContainerMapping,
883
874
  },
884
875
  201: {
885
- bodyMapper: Mappers.ProtectionContainerMapping
876
+ bodyMapper: Mappers.ProtectionContainerMapping,
886
877
  },
887
878
  202: {
888
- bodyMapper: Mappers.ProtectionContainerMapping
879
+ bodyMapper: Mappers.ProtectionContainerMapping,
889
880
  },
890
881
  204: {
891
- bodyMapper: Mappers.ProtectionContainerMapping
892
- }
882
+ bodyMapper: Mappers.ProtectionContainerMapping,
883
+ },
893
884
  },
894
885
  requestBody: Parameters.creationInput1,
895
886
  queryParameters: [Parameters.apiVersion],
@@ -900,15 +891,14 @@ const createOperationSpec: coreClient.OperationSpec = {
900
891
  Parameters.resourceName,
901
892
  Parameters.fabricName,
902
893
  Parameters.protectionContainerName,
903
- Parameters.mappingName
894
+ Parameters.mappingName,
904
895
  ],
905
896
  headerParameters: [Parameters.accept, Parameters.contentType],
906
897
  mediaType: "json",
907
- serializer
898
+ serializer,
908
899
  };
909
900
  const purgeOperationSpec: coreClient.OperationSpec = {
910
- path:
911
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
901
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
912
902
  httpMethod: "DELETE",
913
903
  responses: { 200: {}, 201: {}, 202: {}, 204: {} },
914
904
  queryParameters: [Parameters.apiVersion],
@@ -919,27 +909,26 @@ const purgeOperationSpec: coreClient.OperationSpec = {
919
909
  Parameters.resourceName,
920
910
  Parameters.fabricName,
921
911
  Parameters.protectionContainerName,
922
- Parameters.mappingName
912
+ Parameters.mappingName,
923
913
  ],
924
- serializer
914
+ serializer,
925
915
  };
926
916
  const updateOperationSpec: coreClient.OperationSpec = {
927
- path:
928
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
917
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
929
918
  httpMethod: "PATCH",
930
919
  responses: {
931
920
  200: {
932
- bodyMapper: Mappers.ProtectionContainerMapping
921
+ bodyMapper: Mappers.ProtectionContainerMapping,
933
922
  },
934
923
  201: {
935
- bodyMapper: Mappers.ProtectionContainerMapping
924
+ bodyMapper: Mappers.ProtectionContainerMapping,
936
925
  },
937
926
  202: {
938
- bodyMapper: Mappers.ProtectionContainerMapping
927
+ bodyMapper: Mappers.ProtectionContainerMapping,
939
928
  },
940
929
  204: {
941
- bodyMapper: Mappers.ProtectionContainerMapping
942
- }
930
+ bodyMapper: Mappers.ProtectionContainerMapping,
931
+ },
943
932
  },
944
933
  requestBody: Parameters.updateInput,
945
934
  queryParameters: [Parameters.apiVersion],
@@ -950,15 +939,14 @@ const updateOperationSpec: coreClient.OperationSpec = {
950
939
  Parameters.resourceName,
951
940
  Parameters.fabricName,
952
941
  Parameters.protectionContainerName,
953
- Parameters.mappingName
942
+ Parameters.mappingName,
954
943
  ],
955
944
  headerParameters: [Parameters.accept, Parameters.contentType],
956
945
  mediaType: "json",
957
- serializer
946
+ serializer,
958
947
  };
959
948
  const deleteOperationSpec: coreClient.OperationSpec = {
960
- path:
961
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove",
949
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove",
962
950
  httpMethod: "POST",
963
951
  responses: { 200: {}, 201: {}, 202: {}, 204: {} },
964
952
  requestBody: Parameters.removalInput,
@@ -970,66 +958,66 @@ const deleteOperationSpec: coreClient.OperationSpec = {
970
958
  Parameters.resourceName,
971
959
  Parameters.fabricName,
972
960
  Parameters.protectionContainerName,
973
- Parameters.mappingName
961
+ Parameters.mappingName,
974
962
  ],
975
963
  headerParameters: [Parameters.contentType],
976
964
  mediaType: "json",
977
- serializer
965
+ serializer,
978
966
  };
979
967
  const listOperationSpec: coreClient.OperationSpec = {
980
- path:
981
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings",
968
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings",
982
969
  httpMethod: "GET",
983
970
  responses: {
984
971
  200: {
985
- bodyMapper: Mappers.ProtectionContainerMappingCollection
986
- }
972
+ bodyMapper: Mappers.ProtectionContainerMappingCollection,
973
+ },
987
974
  },
988
975
  queryParameters: [Parameters.apiVersion],
989
976
  urlParameters: [
990
977
  Parameters.$host,
991
978
  Parameters.resourceGroupName,
992
979
  Parameters.subscriptionId,
993
- Parameters.resourceName
994
- ],
995
- headerParameters: [Parameters.accept],
996
- serializer
997
- };
998
- const listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec = {
999
- path: "{nextLink}",
1000
- httpMethod: "GET",
1001
- responses: {
1002
- 200: {
1003
- bodyMapper: Mappers.ProtectionContainerMappingCollection
1004
- }
1005
- },
1006
- urlParameters: [
1007
- Parameters.$host,
1008
- Parameters.resourceGroupName,
1009
- Parameters.subscriptionId,
1010
- Parameters.nextLink,
1011
980
  Parameters.resourceName,
1012
- Parameters.fabricName,
1013
- Parameters.protectionContainerName
1014
981
  ],
1015
982
  headerParameters: [Parameters.accept],
1016
- serializer
983
+ serializer,
1017
984
  };
985
+ const listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec =
986
+ {
987
+ path: "{nextLink}",
988
+ httpMethod: "GET",
989
+ responses: {
990
+ 200: {
991
+ bodyMapper: Mappers.ProtectionContainerMappingCollection,
992
+ },
993
+ },
994
+ urlParameters: [
995
+ Parameters.$host,
996
+ Parameters.resourceGroupName,
997
+ Parameters.subscriptionId,
998
+ Parameters.nextLink,
999
+ Parameters.resourceName,
1000
+ Parameters.fabricName,
1001
+ Parameters.protectionContainerName,
1002
+ ],
1003
+ headerParameters: [Parameters.accept],
1004
+ serializer,
1005
+ };
1018
1006
  const listNextOperationSpec: coreClient.OperationSpec = {
1019
1007
  path: "{nextLink}",
1020
1008
  httpMethod: "GET",
1021
1009
  responses: {
1022
1010
  200: {
1023
- bodyMapper: Mappers.ProtectionContainerMappingCollection
1024
- }
1011
+ bodyMapper: Mappers.ProtectionContainerMappingCollection,
1012
+ },
1025
1013
  },
1026
1014
  urlParameters: [
1027
1015
  Parameters.$host,
1028
1016
  Parameters.resourceGroupName,
1029
1017
  Parameters.subscriptionId,
1030
1018
  Parameters.nextLink,
1031
- Parameters.resourceName
1019
+ Parameters.resourceName,
1032
1020
  ],
1033
1021
  headerParameters: [Parameters.accept],
1034
- serializer
1022
+ serializer,
1035
1023
  };