@azure/arm-recoveryservices-siterecovery 0.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +32127 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +9867 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +382 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +722 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/dist-esm/src/models/mappers.js +19684 -0
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +90 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/dist-esm/src/models/parameters.js +593 -0
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/{esm → dist-esm/src}/operations/index.d.ts +7 -0
  30. package/dist-esm/src/operations/index.d.ts.map +1 -0
  31. package/dist-esm/src/operations/index.js +36 -0
  32. package/dist-esm/src/operations/index.js.map +1 -0
  33. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts +51 -0
  34. package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -0
  35. package/dist-esm/src/operations/migrationRecoveryPoints.js +186 -0
  36. package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -0
  37. package/dist-esm/src/operations/operations.d.ts +32 -0
  38. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  39. package/dist-esm/src/operations/operations.js +123 -0
  40. package/dist-esm/src/operations/operations.js.map +1 -0
  41. package/dist-esm/src/operations/recoveryPoints.d.ts +51 -0
  42. package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -0
  43. package/dist-esm/src/operations/recoveryPoints.js +191 -0
  44. package/dist-esm/src/operations/recoveryPoints.js.map +1 -0
  45. package/dist-esm/src/operations/replicationAlertSettings.d.ts +45 -0
  46. package/dist-esm/src/operations/replicationAlertSettings.d.ts.map +1 -0
  47. package/dist-esm/src/operations/replicationAlertSettings.js +182 -0
  48. package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -0
  49. package/dist-esm/src/operations/replicationAppliances.d.ts +32 -0
  50. package/dist-esm/src/operations/replicationAppliances.d.ts.map +1 -0
  51. package/dist-esm/src/operations/replicationAppliances.js +125 -0
  52. package/dist-esm/src/operations/replicationAppliances.js.map +1 -0
  53. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts +25 -0
  54. package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -0
  55. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +75 -0
  56. package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -0
  57. package/dist-esm/src/operations/replicationEvents.d.ts +38 -0
  58. package/dist-esm/src/operations/replicationEvents.d.ts.map +1 -0
  59. package/dist-esm/src/operations/replicationEvents.js +152 -0
  60. package/dist-esm/src/operations/replicationEvents.js.map +1 -0
  61. package/dist-esm/src/operations/replicationFabrics.d.ts +129 -0
  62. package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -0
  63. package/dist-esm/src/operations/replicationFabrics.js +649 -0
  64. package/dist-esm/src/operations/replicationFabrics.js.map +1 -0
  65. package/dist-esm/src/operations/replicationJobs.d.ts +89 -0
  66. package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -0
  67. package/dist-esm/src/operations/replicationJobs.js +459 -0
  68. package/dist-esm/src/operations/replicationJobs.js.map +1 -0
  69. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts +43 -0
  70. package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -0
  71. package/dist-esm/src/operations/replicationLogicalNetworks.js +160 -0
  72. package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -0
  73. package/dist-esm/src/operations/replicationMigrationItems.d.ts +190 -0
  74. package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -0
  75. package/dist-esm/src/operations/replicationMigrationItems.js +902 -0
  76. package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -0
  77. package/dist-esm/src/operations/replicationNetworkMappings.d.ts +118 -0
  78. package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -0
  79. package/dist-esm/src/operations/replicationNetworkMappings.js +506 -0
  80. package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -0
  81. package/dist-esm/src/operations/replicationNetworks.d.ts +61 -0
  82. package/dist-esm/src/operations/replicationNetworks.d.ts.map +1 -0
  83. package/dist-esm/src/operations/replicationNetworks.js +260 -0
  84. package/dist-esm/src/operations/replicationNetworks.js.map +1 -0
  85. package/dist-esm/src/operations/replicationPolicies.d.ts +79 -0
  86. package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -0
  87. package/dist-esm/src/operations/replicationPolicies.js +373 -0
  88. package/dist-esm/src/operations/replicationPolicies.js.map +1 -0
  89. package/dist-esm/src/operations/replicationProtectableItems.d.ts +47 -0
  90. package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -0
  91. package/dist-esm/src/operations/replicationProtectableItems.js +177 -0
  92. package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -0
  93. package/dist-esm/src/operations/replicationProtectedItems.d.ts +412 -0
  94. package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -0
  95. package/dist-esm/src/operations/replicationProtectedItems.js +1977 -0
  96. package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -0
  97. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts +136 -0
  98. package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -0
  99. package/dist-esm/src/operations/replicationProtectionContainerMappings.js +596 -0
  100. package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -0
  101. package/dist-esm/src/operations/replicationProtectionContainers.d.ts +124 -0
  102. package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -0
  103. package/dist-esm/src/operations/replicationProtectionContainers.js +577 -0
  104. package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -0
  105. package/dist-esm/src/operations/replicationProtectionIntents.d.ts +45 -0
  106. package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -0
  107. package/dist-esm/src/operations/replicationProtectionIntents.js +190 -0
  108. package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -0
  109. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts +171 -0
  110. package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -0
  111. package/dist-esm/src/operations/replicationRecoveryPlans.js +914 -0
  112. package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -0
  113. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts +120 -0
  114. package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -0
  115. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +550 -0
  116. package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -0
  117. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts +100 -0
  118. package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -0
  119. package/dist-esm/src/operations/replicationStorageClassificationMappings.js +437 -0
  120. package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -0
  121. package/dist-esm/src/operations/replicationStorageClassifications.d.ts +61 -0
  122. package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -0
  123. package/dist-esm/src/operations/replicationStorageClassifications.js +260 -0
  124. package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -0
  125. package/dist-esm/src/operations/replicationVaultHealth.d.ts +29 -0
  126. package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -0
  127. package/dist-esm/src/operations/replicationVaultHealth.js +123 -0
  128. package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -0
  129. package/dist-esm/src/operations/replicationVaultSetting.d.ts +53 -0
  130. package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -0
  131. package/dist-esm/src/operations/replicationVaultSetting.js +233 -0
  132. package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -0
  133. package/dist-esm/src/operations/replicationvCenters.d.ts +108 -0
  134. package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -0
  135. package/dist-esm/src/operations/replicationvCenters.js +490 -0
  136. package/dist-esm/src/operations/replicationvCenters.js.map +1 -0
  137. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts +18 -0
  138. package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -0
  139. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +48 -0
  140. package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -0
  141. package/dist-esm/src/operations/targetComputeSizes.d.ts +42 -0
  142. package/dist-esm/src/operations/targetComputeSizes.d.ts.map +1 -0
  143. package/dist-esm/src/operations/targetComputeSizes.js +152 -0
  144. package/dist-esm/src/operations/targetComputeSizes.js.map +1 -0
  145. package/{esm/operations/index.js → dist-esm/src/operationsInterfaces/index.d.ts} +8 -10
  146. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/index.js +36 -0
  148. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  149. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts +23 -0
  150. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts.map +1 -0
  151. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.js +9 -0
  152. package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.js.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  154. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  157. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +23 -0
  158. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
  159. package/dist-esm/src/operationsInterfaces/recoveryPoints.js +9 -0
  160. package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +1 -0
  161. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts +24 -0
  162. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts.map +1 -0
  163. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.js +9 -0
  164. package/dist-esm/src/operationsInterfaces/replicationAlertSettings.js.map +1 -0
  165. package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts +11 -0
  166. package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts.map +1 -0
  167. package/dist-esm/src/operationsInterfaces/replicationAppliances.js +9 -0
  168. package/dist-esm/src/operationsInterfaces/replicationAppliances.js.map +1 -0
  169. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts +17 -0
  170. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts.map +1 -0
  171. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.js +9 -0
  172. package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.js.map +1 -0
  173. package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts +17 -0
  174. package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts.map +1 -0
  175. package/dist-esm/src/operationsInterfaces/replicationEvents.js +9 -0
  176. package/dist-esm/src/operationsInterfaces/replicationEvents.js.map +1 -0
  177. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +108 -0
  178. package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -0
  179. package/dist-esm/src/operationsInterfaces/replicationFabrics.js +9 -0
  180. package/dist-esm/src/operationsInterfaces/replicationFabrics.js.map +1 -0
  181. package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts +68 -0
  182. package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts.map +1 -0
  183. package/dist-esm/src/operationsInterfaces/replicationJobs.js +9 -0
  184. package/dist-esm/src/operationsInterfaces/replicationJobs.js.map +1 -0
  185. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts +19 -0
  186. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts.map +1 -0
  187. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.js +9 -0
  188. package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.js.map +1 -0
  189. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts +151 -0
  190. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts.map +1 -0
  191. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.js +9 -0
  192. package/dist-esm/src/operationsInterfaces/replicationMigrationItems.js.map +1 -0
  193. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts +79 -0
  194. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts.map +1 -0
  195. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.js +9 -0
  196. package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.js.map +1 -0
  197. package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts +24 -0
  198. package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts.map +1 -0
  199. package/dist-esm/src/operationsInterfaces/replicationNetworks.js +9 -0
  200. package/dist-esm/src/operationsInterfaces/replicationNetworks.js.map +1 -0
  201. package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts +58 -0
  202. package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts.map +1 -0
  203. package/dist-esm/src/operationsInterfaces/replicationPolicies.js +9 -0
  204. package/dist-esm/src/operationsInterfaces/replicationPolicies.js.map +1 -0
  205. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts +21 -0
  206. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts.map +1 -0
  207. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.js +9 -0
  208. package/dist-esm/src/operationsInterfaces/replicationProtectableItems.js.map +1 -0
  209. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts +373 -0
  210. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts.map +1 -0
  211. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.js +9 -0
  212. package/dist-esm/src/operationsInterfaces/replicationProtectedItems.js.map +1 -0
  213. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts +97 -0
  214. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts.map +1 -0
  215. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.js +9 -0
  216. package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.js.map +1 -0
  217. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts +87 -0
  218. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -0
  219. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.js +9 -0
  220. package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.js.map +1 -0
  221. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts +24 -0
  222. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.js +9 -0
  224. package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.js.map +1 -0
  225. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts +150 -0
  226. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts.map +1 -0
  227. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.js +9 -0
  228. package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.js.map +1 -0
  229. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts +83 -0
  230. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -0
  231. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.js +9 -0
  232. package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.js.map +1 -0
  233. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts +61 -0
  234. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts.map +1 -0
  235. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.js +9 -0
  236. package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.js.map +1 -0
  237. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts +24 -0
  238. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts.map +1 -0
  239. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.js +9 -0
  240. package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.js.map +1 -0
  241. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts +21 -0
  242. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts.map +1 -0
  243. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.js +9 -0
  244. package/dist-esm/src/operationsInterfaces/replicationVaultHealth.js.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts +32 -0
  246. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.js +9 -0
  248. package/dist-esm/src/operationsInterfaces/replicationVaultSetting.js.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts +71 -0
  250. package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts.map +1 -0
  251. package/dist-esm/src/operationsInterfaces/replicationvCenters.js +9 -0
  252. package/dist-esm/src/operationsInterfaces/replicationvCenters.js.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts +10 -0
  254. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.js +9 -0
  256. package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.js.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts +14 -0
  258. package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/targetComputeSizes.js +9 -0
  260. package/dist-esm/src/operationsInterfaces/targetComputeSizes.js.map +1 -0
  261. package/dist-esm/src/siteRecoveryManagementClient.d.ts +50 -0
  262. package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -0
  263. package/dist-esm/src/siteRecoveryManagementClient.js +89 -0
  264. package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -0
  265. package/dist-esm/test/sampleTest.d.ts +2 -0
  266. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  267. package/dist-esm/test/sampleTest.js +40 -0
  268. package/dist-esm/test/sampleTest.js.map +1 -0
  269. package/package.json +79 -34
  270. package/review/arm-recoveryservices-siterecovery.api.md +7219 -0
  271. package/rollup.config.js +184 -27
  272. package/src/index.ts +12 -0
  273. package/src/lroImpl.ts +34 -0
  274. package/src/models/index.ts +11124 -0
  275. package/src/models/mappers.ts +21728 -0
  276. package/src/models/parameters.ts +736 -0
  277. package/{lib → src}/operations/index.ts +10 -5
  278. package/src/operations/migrationRecoveryPoints.ts +263 -0
  279. package/src/operations/operations.ts +141 -0
  280. package/src/operations/recoveryPoints.ts +266 -0
  281. package/src/operations/replicationAlertSettings.ts +222 -0
  282. package/src/operations/replicationAppliances.ts +143 -0
  283. package/src/operations/replicationEligibilityResultsOperations.ts +104 -0
  284. package/src/operations/replicationEvents.ts +180 -0
  285. package/src/operations/replicationFabrics.ts +907 -0
  286. package/src/operations/replicationJobs.ts +623 -0
  287. package/src/operations/replicationLogicalNetworks.ts +205 -0
  288. package/src/operations/replicationMigrationItems.ts +1292 -0
  289. package/src/operations/replicationNetworkMappings.ts +708 -0
  290. package/src/operations/replicationNetworks.ts +313 -0
  291. package/src/operations/replicationPolicies.ts +500 -0
  292. package/src/operations/replicationProtectableItems.ts +246 -0
  293. package/src/operations/replicationProtectedItems.ts +2903 -0
  294. package/src/operations/replicationProtectionContainerMappings.ts +842 -0
  295. package/src/operations/replicationProtectionContainers.ts +799 -0
  296. package/src/operations/replicationProtectionIntents.ts +231 -0
  297. package/src/operations/replicationRecoveryPlans.ts +1300 -0
  298. package/src/operations/replicationRecoveryServicesProviders.ts +750 -0
  299. package/src/operations/replicationStorageClassificationMappings.ts +599 -0
  300. package/src/operations/replicationStorageClassifications.ts +318 -0
  301. package/src/operations/replicationVaultHealth.ts +163 -0
  302. package/src/operations/replicationVaultSetting.ts +297 -0
  303. package/src/operations/replicationvCenters.ts +658 -0
  304. package/src/operations/supportedOperatingSystemsOperations.ts +63 -0
  305. package/src/operations/targetComputeSizes.ts +214 -0
  306. package/src/operationsInterfaces/index.ts +36 -0
  307. package/src/operationsInterfaces/migrationRecoveryPoints.ts +48 -0
  308. package/src/operationsInterfaces/operations.ts +22 -0
  309. package/src/operationsInterfaces/recoveryPoints.ts +48 -0
  310. package/src/operationsInterfaces/replicationAlertSettings.ts +50 -0
  311. package/src/operationsInterfaces/replicationAppliances.ts +25 -0
  312. package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +36 -0
  313. package/src/operationsInterfaces/replicationEvents.ts +36 -0
  314. package/src/operationsInterfaces/replicationFabrics.ts +209 -0
  315. package/src/operationsInterfaces/replicationJobs.ts +143 -0
  316. package/src/operationsInterfaces/replicationLogicalNetworks.ts +40 -0
  317. package/src/operationsInterfaces/replicationMigrationItems.ts +308 -0
  318. package/src/operationsInterfaces/replicationNetworkMappings.ts +156 -0
  319. package/src/operationsInterfaces/replicationNetworks.ts +48 -0
  320. package/src/operationsInterfaces/replicationPolicies.ts +116 -0
  321. package/src/operationsInterfaces/replicationProtectableItems.ts +44 -0
  322. package/src/operationsInterfaces/replicationProtectedItems.ts +757 -0
  323. package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +188 -0
  324. package/src/operationsInterfaces/replicationProtectionContainers.ts +178 -0
  325. package/src/operationsInterfaces/replicationProtectionIntents.ts +50 -0
  326. package/src/operationsInterfaces/replicationRecoveryPlans.ts +311 -0
  327. package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +160 -0
  328. package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +120 -0
  329. package/src/operationsInterfaces/replicationStorageClassifications.ts +48 -0
  330. package/src/operationsInterfaces/replicationVaultHealth.ts +45 -0
  331. package/src/operationsInterfaces/replicationVaultSetting.ts +67 -0
  332. package/src/operationsInterfaces/replicationvCenters.ts +140 -0
  333. package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +23 -0
  334. package/src/operationsInterfaces/targetComputeSizes.ts +31 -0
  335. package/src/siteRecoveryManagementClient.ts +220 -0
  336. package/tsconfig.json +4 -4
  337. package/types/arm-recoveryservices-siterecovery.d.ts +12535 -0
  338. package/types/tsdoc-metadata.json +11 -0
  339. package/dist/arm-recoveryservices-siterecovery.js +0 -21612
  340. package/dist/arm-recoveryservices-siterecovery.js.map +0 -1
  341. package/dist/arm-recoveryservices-siterecovery.min.js +0 -1
  342. package/dist/arm-recoveryservices-siterecovery.min.js.map +0 -1
  343. package/esm/models/index.d.ts +0 -12202
  344. package/esm/models/index.d.ts.map +0 -1
  345. package/esm/models/index.js +0 -10
  346. package/esm/models/index.js.map +0 -1
  347. package/esm/models/mappers.d.ts +0 -458
  348. package/esm/models/mappers.d.ts.map +0 -1
  349. package/esm/models/mappers.js +0 -11364
  350. package/esm/models/mappers.js.map +0 -1
  351. package/esm/models/operationsMappers.d.ts +0 -2
  352. package/esm/models/operationsMappers.d.ts.map +0 -1
  353. package/esm/models/operationsMappers.js +0 -11
  354. package/esm/models/operationsMappers.js.map +0 -1
  355. package/esm/models/parameters.d.ts +0 -29
  356. package/esm/models/parameters.d.ts.map +0 -1
  357. package/esm/models/parameters.js +0 -285
  358. package/esm/models/parameters.js.map +0 -1
  359. package/esm/models/recoveryPointsMappers.d.ts +0 -2
  360. package/esm/models/recoveryPointsMappers.d.ts.map +0 -1
  361. package/esm/models/recoveryPointsMappers.js +0 -11
  362. package/esm/models/recoveryPointsMappers.js.map +0 -1
  363. package/esm/models/replicationAlertSettingsMappers.d.ts +0 -2
  364. package/esm/models/replicationAlertSettingsMappers.d.ts.map +0 -1
  365. package/esm/models/replicationAlertSettingsMappers.js +0 -11
  366. package/esm/models/replicationAlertSettingsMappers.js.map +0 -1
  367. package/esm/models/replicationEventsMappers.d.ts +0 -2
  368. package/esm/models/replicationEventsMappers.d.ts.map +0 -1
  369. package/esm/models/replicationEventsMappers.js +0 -11
  370. package/esm/models/replicationEventsMappers.js.map +0 -1
  371. package/esm/models/replicationFabricsMappers.d.ts +0 -2
  372. package/esm/models/replicationFabricsMappers.d.ts.map +0 -1
  373. package/esm/models/replicationFabricsMappers.js +0 -11
  374. package/esm/models/replicationFabricsMappers.js.map +0 -1
  375. package/esm/models/replicationJobsMappers.d.ts +0 -2
  376. package/esm/models/replicationJobsMappers.d.ts.map +0 -1
  377. package/esm/models/replicationJobsMappers.js +0 -11
  378. package/esm/models/replicationJobsMappers.js.map +0 -1
  379. package/esm/models/replicationLogicalNetworksMappers.d.ts +0 -2
  380. package/esm/models/replicationLogicalNetworksMappers.d.ts.map +0 -1
  381. package/esm/models/replicationLogicalNetworksMappers.js +0 -11
  382. package/esm/models/replicationLogicalNetworksMappers.js.map +0 -1
  383. package/esm/models/replicationNetworkMappingsMappers.d.ts +0 -2
  384. package/esm/models/replicationNetworkMappingsMappers.d.ts.map +0 -1
  385. package/esm/models/replicationNetworkMappingsMappers.js +0 -11
  386. package/esm/models/replicationNetworkMappingsMappers.js.map +0 -1
  387. package/esm/models/replicationNetworksMappers.d.ts +0 -2
  388. package/esm/models/replicationNetworksMappers.d.ts.map +0 -1
  389. package/esm/models/replicationNetworksMappers.js +0 -11
  390. package/esm/models/replicationNetworksMappers.js.map +0 -1
  391. package/esm/models/replicationPoliciesMappers.d.ts +0 -2
  392. package/esm/models/replicationPoliciesMappers.d.ts.map +0 -1
  393. package/esm/models/replicationPoliciesMappers.js +0 -11
  394. package/esm/models/replicationPoliciesMappers.js.map +0 -1
  395. package/esm/models/replicationProtectableItemsMappers.d.ts +0 -2
  396. package/esm/models/replicationProtectableItemsMappers.d.ts.map +0 -1
  397. package/esm/models/replicationProtectableItemsMappers.js +0 -11
  398. package/esm/models/replicationProtectableItemsMappers.js.map +0 -1
  399. package/esm/models/replicationProtectedItemsMappers.d.ts +0 -2
  400. package/esm/models/replicationProtectedItemsMappers.d.ts.map +0 -1
  401. package/esm/models/replicationProtectedItemsMappers.js +0 -11
  402. package/esm/models/replicationProtectedItemsMappers.js.map +0 -1
  403. package/esm/models/replicationProtectionContainerMappingsMappers.d.ts +0 -2
  404. package/esm/models/replicationProtectionContainerMappingsMappers.d.ts.map +0 -1
  405. package/esm/models/replicationProtectionContainerMappingsMappers.js +0 -11
  406. package/esm/models/replicationProtectionContainerMappingsMappers.js.map +0 -1
  407. package/esm/models/replicationProtectionContainersMappers.d.ts +0 -2
  408. package/esm/models/replicationProtectionContainersMappers.d.ts.map +0 -1
  409. package/esm/models/replicationProtectionContainersMappers.js +0 -11
  410. package/esm/models/replicationProtectionContainersMappers.js.map +0 -1
  411. package/esm/models/replicationRecoveryPlansMappers.d.ts +0 -2
  412. package/esm/models/replicationRecoveryPlansMappers.d.ts.map +0 -1
  413. package/esm/models/replicationRecoveryPlansMappers.js +0 -11
  414. package/esm/models/replicationRecoveryPlansMappers.js.map +0 -1
  415. package/esm/models/replicationRecoveryServicesProvidersMappers.d.ts +0 -2
  416. package/esm/models/replicationRecoveryServicesProvidersMappers.d.ts.map +0 -1
  417. package/esm/models/replicationRecoveryServicesProvidersMappers.js +0 -11
  418. package/esm/models/replicationRecoveryServicesProvidersMappers.js.map +0 -1
  419. package/esm/models/replicationStorageClassificationMappingsMappers.d.ts +0 -2
  420. package/esm/models/replicationStorageClassificationMappingsMappers.d.ts.map +0 -1
  421. package/esm/models/replicationStorageClassificationMappingsMappers.js +0 -11
  422. package/esm/models/replicationStorageClassificationMappingsMappers.js.map +0 -1
  423. package/esm/models/replicationStorageClassificationsMappers.d.ts +0 -2
  424. package/esm/models/replicationStorageClassificationsMappers.d.ts.map +0 -1
  425. package/esm/models/replicationStorageClassificationsMappers.js +0 -11
  426. package/esm/models/replicationStorageClassificationsMappers.js.map +0 -1
  427. package/esm/models/replicationVaultHealthMappers.d.ts +0 -2
  428. package/esm/models/replicationVaultHealthMappers.d.ts.map +0 -1
  429. package/esm/models/replicationVaultHealthMappers.js +0 -11
  430. package/esm/models/replicationVaultHealthMappers.js.map +0 -1
  431. package/esm/models/replicationvCentersMappers.d.ts +0 -2
  432. package/esm/models/replicationvCentersMappers.d.ts.map +0 -1
  433. package/esm/models/replicationvCentersMappers.js +0 -11
  434. package/esm/models/replicationvCentersMappers.js.map +0 -1
  435. package/esm/models/targetComputeSizesMappers.d.ts +0 -2
  436. package/esm/models/targetComputeSizesMappers.d.ts.map +0 -1
  437. package/esm/models/targetComputeSizesMappers.js +0 -11
  438. package/esm/models/targetComputeSizesMappers.js.map +0 -1
  439. package/esm/operations/index.d.ts.map +0 -1
  440. package/esm/operations/index.js.map +0 -1
  441. package/esm/operations/operations.d.ts +0 -48
  442. package/esm/operations/operations.d.ts.map +0 -1
  443. package/esm/operations/operations.js +0 -81
  444. package/esm/operations/operations.js.map +0 -1
  445. package/esm/operations/recoveryPoints.d.ts +0 -85
  446. package/esm/operations/recoveryPoints.d.ts.map +0 -1
  447. package/esm/operations/recoveryPoints.js +0 -125
  448. package/esm/operations/recoveryPoints.js.map +0 -1
  449. package/esm/operations/replicationAlertSettings.d.ts +0 -89
  450. package/esm/operations/replicationAlertSettings.d.ts.map +0 -1
  451. package/esm/operations/replicationAlertSettings.js +0 -150
  452. package/esm/operations/replicationAlertSettings.js.map +0 -1
  453. package/esm/operations/replicationEvents.d.ts +0 -67
  454. package/esm/operations/replicationEvents.d.ts.map +0 -1
  455. package/esm/operations/replicationEvents.js +0 -114
  456. package/esm/operations/replicationEvents.js.map +0 -1
  457. package/esm/operations/replicationFabrics.d.ts +0 -186
  458. package/esm/operations/replicationFabrics.d.ts.map +0 -1
  459. package/esm/operations/replicationFabrics.js +0 -479
  460. package/esm/operations/replicationFabrics.js.map +0 -1
  461. package/esm/operations/replicationJobs.d.ts +0 -134
  462. package/esm/operations/replicationJobs.d.ts.map +0 -1
  463. package/esm/operations/replicationJobs.js +0 -325
  464. package/esm/operations/replicationJobs.js.map +0 -1
  465. package/esm/operations/replicationLogicalNetworks.d.ts +0 -73
  466. package/esm/operations/replicationLogicalNetworks.d.ts.map +0 -1
  467. package/esm/operations/replicationLogicalNetworks.js +0 -117
  468. package/esm/operations/replicationLogicalNetworks.js.map +0 -1
  469. package/esm/operations/replicationNetworkMappings.d.ts +0 -179
  470. package/esm/operations/replicationNetworkMappings.d.ts.map +0 -1
  471. package/esm/operations/replicationNetworkMappings.js +0 -363
  472. package/esm/operations/replicationNetworkMappings.js.map +0 -1
  473. package/esm/operations/replicationNetworks.d.ts +0 -108
  474. package/esm/operations/replicationNetworks.d.ts.map +0 -1
  475. package/esm/operations/replicationNetworks.js +0 -172
  476. package/esm/operations/replicationNetworks.js.map +0 -1
  477. package/esm/operations/replicationPolicies.d.ts +0 -120
  478. package/esm/operations/replicationPolicies.d.ts.map +0 -1
  479. package/esm/operations/replicationPolicies.js +0 -276
  480. package/esm/operations/replicationPolicies.js.map +0 -1
  481. package/esm/operations/replicationProtectableItems.d.ts +0 -81
  482. package/esm/operations/replicationProtectableItems.d.ts.map +0 -1
  483. package/esm/operations/replicationProtectableItems.js +0 -122
  484. package/esm/operations/replicationProtectableItems.js.map +0 -1
  485. package/esm/operations/replicationProtectedItems.d.ts +0 -410
  486. package/esm/operations/replicationProtectedItems.d.ts.map +0 -1
  487. package/esm/operations/replicationProtectedItems.js +0 -1013
  488. package/esm/operations/replicationProtectedItems.js.map +0 -1
  489. package/esm/operations/replicationProtectionContainerMappings.d.ts +0 -203
  490. package/esm/operations/replicationProtectionContainerMappings.d.ts.map +0 -1
  491. package/esm/operations/replicationProtectionContainerMappings.js +0 -426
  492. package/esm/operations/replicationProtectionContainerMappings.js.map +0 -1
  493. package/esm/operations/replicationProtectionContainers.d.ts +0 -191
  494. package/esm/operations/replicationProtectionContainers.d.ts.map +0 -1
  495. package/esm/operations/replicationProtectionContainers.js +0 -412
  496. package/esm/operations/replicationProtectionContainers.js.map +0 -1
  497. package/esm/operations/replicationRecoveryPlans.d.ts +0 -224
  498. package/esm/operations/replicationRecoveryPlans.d.ts.map +0 -1
  499. package/esm/operations/replicationRecoveryPlans.js +0 -604
  500. package/esm/operations/replicationRecoveryPlans.js.map +0 -1
  501. package/esm/operations/replicationRecoveryServicesProviders.d.ts +0 -172
  502. package/esm/operations/replicationRecoveryServicesProviders.d.ts.map +0 -1
  503. package/esm/operations/replicationRecoveryServicesProviders.js +0 -336
  504. package/esm/operations/replicationRecoveryServicesProviders.js.map +0 -1
  505. package/esm/operations/replicationStorageClassificationMappings.d.ts +0 -159
  506. package/esm/operations/replicationStorageClassificationMappings.d.ts.map +0 -1
  507. package/esm/operations/replicationStorageClassificationMappings.js +0 -298
  508. package/esm/operations/replicationStorageClassificationMappings.js.map +0 -1
  509. package/esm/operations/replicationStorageClassifications.d.ts +0 -108
  510. package/esm/operations/replicationStorageClassifications.d.ts.map +0 -1
  511. package/esm/operations/replicationStorageClassifications.js +0 -172
  512. package/esm/operations/replicationStorageClassifications.js.map +0 -1
  513. package/esm/operations/replicationVaultHealth.d.ts +0 -42
  514. package/esm/operations/replicationVaultHealth.d.ts.map +0 -1
  515. package/esm/operations/replicationVaultHealth.js +0 -100
  516. package/esm/operations/replicationVaultHealth.js.map +0 -1
  517. package/esm/operations/replicationvCenters.d.ts +0 -167
  518. package/esm/operations/replicationvCenters.d.ts.map +0 -1
  519. package/esm/operations/replicationvCenters.js +0 -347
  520. package/esm/operations/replicationvCenters.js.map +0 -1
  521. package/esm/operations/targetComputeSizes.d.ts +0 -57
  522. package/esm/operations/targetComputeSizes.d.ts.map +0 -1
  523. package/esm/operations/targetComputeSizes.js +0 -88
  524. package/esm/operations/targetComputeSizes.js.map +0 -1
  525. package/esm/siteRecoveryManagementClient.d.ts +0 -41
  526. package/esm/siteRecoveryManagementClient.d.ts.map +0 -1
  527. package/esm/siteRecoveryManagementClient.js +0 -56
  528. package/esm/siteRecoveryManagementClient.js.map +0 -1
  529. package/esm/siteRecoveryManagementClientContext.d.ts +0 -21
  530. package/esm/siteRecoveryManagementClientContext.d.ts.map +0 -1
  531. package/esm/siteRecoveryManagementClientContext.js +0 -67
  532. package/esm/siteRecoveryManagementClientContext.js.map +0 -1
  533. package/lib/models/index.ts +0 -12736
  534. package/lib/models/mappers.ts +0 -12507
  535. package/lib/models/operationsMappers.ts +0 -18
  536. package/lib/models/parameters.ts +0 -287
  537. package/lib/models/recoveryPointsMappers.ts +0 -169
  538. package/lib/models/replicationAlertSettingsMappers.ts +0 -171
  539. package/lib/models/replicationEventsMappers.ts +0 -169
  540. package/lib/models/replicationFabricsMappers.ts +0 -178
  541. package/lib/models/replicationJobsMappers.ts +0 -172
  542. package/lib/models/replicationLogicalNetworksMappers.ts +0 -169
  543. package/lib/models/replicationNetworkMappingsMappers.ts +0 -181
  544. package/lib/models/replicationNetworksMappers.ts +0 -169
  545. package/lib/models/replicationPoliciesMappers.ts +0 -181
  546. package/lib/models/replicationProtectableItemsMappers.ts +0 -169
  547. package/lib/models/replicationProtectedItemsMappers.ts +0 -226
  548. package/lib/models/replicationProtectionContainerMappingsMappers.ts +0 -180
  549. package/lib/models/replicationProtectionContainersMappers.ts +0 -184
  550. package/lib/models/replicationRecoveryPlansMappers.ts +0 -187
  551. package/lib/models/replicationRecoveryServicesProvidersMappers.ts +0 -169
  552. package/lib/models/replicationStorageClassificationMappingsMappers.ts +0 -171
  553. package/lib/models/replicationStorageClassificationsMappers.ts +0 -169
  554. package/lib/models/replicationVaultHealthMappers.ts +0 -168
  555. package/lib/models/replicationvCentersMappers.ts +0 -173
  556. package/lib/models/targetComputeSizesMappers.ts +0 -19
  557. package/lib/operations/operations.ts +0 -129
  558. package/lib/operations/recoveryPoints.ts +0 -215
  559. package/lib/operations/replicationAlertSettings.ts +0 -251
  560. package/lib/operations/replicationEvents.ts +0 -186
  561. package/lib/operations/replicationFabrics.ts +0 -602
  562. package/lib/operations/replicationJobs.ts +0 -427
  563. package/lib/operations/replicationLogicalNetworks.ts +0 -195
  564. package/lib/operations/replicationNetworkMappings.ts +0 -516
  565. package/lib/operations/replicationNetworks.ts +0 -295
  566. package/lib/operations/replicationPolicies.ts +0 -372
  567. package/lib/operations/replicationProtectableItems.ts +0 -208
  568. package/lib/operations/replicationProtectedItems.ts +0 -1251
  569. package/lib/operations/replicationProtectionContainerMappings.ts +0 -590
  570. package/lib/operations/replicationProtectionContainers.ts +0 -568
  571. package/lib/operations/replicationRecoveryPlans.ts +0 -748
  572. package/lib/operations/replicationRecoveryServicesProviders.ts +0 -481
  573. package/lib/operations/replicationStorageClassificationMappings.ts +0 -444
  574. package/lib/operations/replicationStorageClassifications.ts +0 -295
  575. package/lib/operations/replicationVaultHealth.ts +0 -131
  576. package/lib/operations/replicationvCenters.ts +0 -494
  577. package/lib/operations/targetComputeSizes.ts +0 -145
  578. package/lib/siteRecoveryManagementClient.ts +0 -85
  579. package/lib/siteRecoveryManagementClientContext.ts +0 -75
@@ -0,0 +1,373 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing ReplicationPolicies operations. */
16
+ export class ReplicationPoliciesImpl {
17
+ /**
18
+ * Initialize a new instance of the class ReplicationPolicies class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists the replication policies for a vault.
26
+ * @param options The options parameters.
27
+ */
28
+ list(options) {
29
+ const iter = this.listPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listNext(continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listPagingAll(options) {
55
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Lists the replication policies for a vault.
74
+ * @param options The options parameters.
75
+ */
76
+ _list(options) {
77
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
78
+ }
79
+ /**
80
+ * Gets the details of a replication policy.
81
+ * @param policyName Replication policy name.
82
+ * @param options The options parameters.
83
+ */
84
+ get(policyName, options) {
85
+ return this.client.sendOperationRequest({ policyName, options }, getOperationSpec);
86
+ }
87
+ /**
88
+ * The operation to create a replication policy.
89
+ * @param policyName Replication policy name.
90
+ * @param input Create policy input.
91
+ * @param options The options parameters.
92
+ */
93
+ beginCreate(policyName, input, options) {
94
+ return __awaiter(this, void 0, void 0, function* () {
95
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
96
+ return this.client.sendOperationRequest(args, spec);
97
+ });
98
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
99
+ var _a;
100
+ let currentRawResponse = undefined;
101
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
102
+ const callback = (rawResponse, flatResponse) => {
103
+ currentRawResponse = rawResponse;
104
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
105
+ };
106
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
107
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
108
+ return {
109
+ flatResponse,
110
+ rawResponse: {
111
+ statusCode: currentRawResponse.status,
112
+ body: currentRawResponse.parsedBody,
113
+ headers: currentRawResponse.headers.toJSON()
114
+ }
115
+ };
116
+ });
117
+ const lro = new LroImpl(sendOperation, { policyName, input, options }, createOperationSpec);
118
+ return new LroEngine(lro, {
119
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
120
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
121
+ });
122
+ });
123
+ }
124
+ /**
125
+ * The operation to create a replication policy.
126
+ * @param policyName Replication policy name.
127
+ * @param input Create policy input.
128
+ * @param options The options parameters.
129
+ */
130
+ beginCreateAndWait(policyName, input, options) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ const poller = yield this.beginCreate(policyName, input, options);
133
+ return poller.pollUntilDone();
134
+ });
135
+ }
136
+ /**
137
+ * The operation to delete a replication policy.
138
+ * @param policyName Replication policy name.
139
+ * @param options The options parameters.
140
+ */
141
+ beginDelete(policyName, options) {
142
+ return __awaiter(this, void 0, void 0, function* () {
143
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
144
+ return this.client.sendOperationRequest(args, spec);
145
+ });
146
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
147
+ var _a;
148
+ let currentRawResponse = undefined;
149
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
150
+ const callback = (rawResponse, flatResponse) => {
151
+ currentRawResponse = rawResponse;
152
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
153
+ };
154
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
155
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
156
+ return {
157
+ flatResponse,
158
+ rawResponse: {
159
+ statusCode: currentRawResponse.status,
160
+ body: currentRawResponse.parsedBody,
161
+ headers: currentRawResponse.headers.toJSON()
162
+ }
163
+ };
164
+ });
165
+ const lro = new LroImpl(sendOperation, { policyName, options }, deleteOperationSpec);
166
+ return new LroEngine(lro, {
167
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
168
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
169
+ });
170
+ });
171
+ }
172
+ /**
173
+ * The operation to delete a replication policy.
174
+ * @param policyName Replication policy name.
175
+ * @param options The options parameters.
176
+ */
177
+ beginDeleteAndWait(policyName, options) {
178
+ return __awaiter(this, void 0, void 0, function* () {
179
+ const poller = yield this.beginDelete(policyName, options);
180
+ return poller.pollUntilDone();
181
+ });
182
+ }
183
+ /**
184
+ * The operation to update a replication policy.
185
+ * @param policyName Policy Id.
186
+ * @param input Update Policy Input.
187
+ * @param options The options parameters.
188
+ */
189
+ beginUpdate(policyName, input, options) {
190
+ return __awaiter(this, void 0, void 0, function* () {
191
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
192
+ return this.client.sendOperationRequest(args, spec);
193
+ });
194
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
195
+ var _a;
196
+ let currentRawResponse = undefined;
197
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
198
+ const callback = (rawResponse, flatResponse) => {
199
+ currentRawResponse = rawResponse;
200
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
201
+ };
202
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
203
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
204
+ return {
205
+ flatResponse,
206
+ rawResponse: {
207
+ statusCode: currentRawResponse.status,
208
+ body: currentRawResponse.parsedBody,
209
+ headers: currentRawResponse.headers.toJSON()
210
+ }
211
+ };
212
+ });
213
+ const lro = new LroImpl(sendOperation, { policyName, input, options }, updateOperationSpec);
214
+ return new LroEngine(lro, {
215
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
216
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
217
+ });
218
+ });
219
+ }
220
+ /**
221
+ * The operation to update a replication policy.
222
+ * @param policyName Policy Id.
223
+ * @param input Update Policy Input.
224
+ * @param options The options parameters.
225
+ */
226
+ beginUpdateAndWait(policyName, input, options) {
227
+ return __awaiter(this, void 0, void 0, function* () {
228
+ const poller = yield this.beginUpdate(policyName, input, options);
229
+ return poller.pollUntilDone();
230
+ });
231
+ }
232
+ /**
233
+ * ListNext
234
+ * @param nextLink The nextLink from the previous successful call to the List method.
235
+ * @param options The options parameters.
236
+ */
237
+ _listNext(nextLink, options) {
238
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
239
+ }
240
+ }
241
+ // Operation Specifications
242
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
243
+ const listOperationSpec = {
244
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies",
245
+ httpMethod: "GET",
246
+ responses: {
247
+ 200: {
248
+ bodyMapper: Mappers.PolicyCollection
249
+ }
250
+ },
251
+ queryParameters: [Parameters.apiVersion],
252
+ urlParameters: [
253
+ Parameters.$host,
254
+ Parameters.resourceGroupName,
255
+ Parameters.subscriptionId,
256
+ Parameters.resourceName
257
+ ],
258
+ headerParameters: [Parameters.accept],
259
+ serializer
260
+ };
261
+ const getOperationSpec = {
262
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
263
+ httpMethod: "GET",
264
+ responses: {
265
+ 200: {
266
+ bodyMapper: Mappers.Policy
267
+ }
268
+ },
269
+ queryParameters: [Parameters.apiVersion],
270
+ urlParameters: [
271
+ Parameters.$host,
272
+ Parameters.resourceGroupName,
273
+ Parameters.subscriptionId,
274
+ Parameters.resourceName,
275
+ Parameters.policyName
276
+ ],
277
+ headerParameters: [Parameters.accept],
278
+ serializer
279
+ };
280
+ const createOperationSpec = {
281
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
282
+ httpMethod: "PUT",
283
+ responses: {
284
+ 200: {
285
+ bodyMapper: Mappers.Policy
286
+ },
287
+ 201: {
288
+ bodyMapper: Mappers.Policy
289
+ },
290
+ 202: {
291
+ bodyMapper: Mappers.Policy
292
+ },
293
+ 204: {
294
+ bodyMapper: Mappers.Policy
295
+ }
296
+ },
297
+ requestBody: Parameters.input7,
298
+ queryParameters: [Parameters.apiVersion],
299
+ urlParameters: [
300
+ Parameters.$host,
301
+ Parameters.resourceGroupName,
302
+ Parameters.subscriptionId,
303
+ Parameters.resourceName,
304
+ Parameters.policyName
305
+ ],
306
+ headerParameters: [Parameters.accept, Parameters.contentType],
307
+ mediaType: "json",
308
+ serializer
309
+ };
310
+ const deleteOperationSpec = {
311
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
312
+ httpMethod: "DELETE",
313
+ responses: { 200: {}, 201: {}, 202: {}, 204: {} },
314
+ queryParameters: [Parameters.apiVersion],
315
+ urlParameters: [
316
+ Parameters.$host,
317
+ Parameters.resourceGroupName,
318
+ Parameters.subscriptionId,
319
+ Parameters.resourceName,
320
+ Parameters.policyName
321
+ ],
322
+ serializer
323
+ };
324
+ const updateOperationSpec = {
325
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
326
+ httpMethod: "PATCH",
327
+ responses: {
328
+ 200: {
329
+ bodyMapper: Mappers.Policy
330
+ },
331
+ 201: {
332
+ bodyMapper: Mappers.Policy
333
+ },
334
+ 202: {
335
+ bodyMapper: Mappers.Policy
336
+ },
337
+ 204: {
338
+ bodyMapper: Mappers.Policy
339
+ }
340
+ },
341
+ requestBody: Parameters.input8,
342
+ queryParameters: [Parameters.apiVersion],
343
+ urlParameters: [
344
+ Parameters.$host,
345
+ Parameters.resourceGroupName,
346
+ Parameters.subscriptionId,
347
+ Parameters.resourceName,
348
+ Parameters.policyName
349
+ ],
350
+ headerParameters: [Parameters.accept, Parameters.contentType],
351
+ mediaType: "json",
352
+ serializer
353
+ };
354
+ const listNextOperationSpec = {
355
+ path: "{nextLink}",
356
+ httpMethod: "GET",
357
+ responses: {
358
+ 200: {
359
+ bodyMapper: Mappers.PolicyCollection
360
+ }
361
+ },
362
+ queryParameters: [Parameters.apiVersion],
363
+ urlParameters: [
364
+ Parameters.$host,
365
+ Parameters.resourceGroupName,
366
+ Parameters.subscriptionId,
367
+ Parameters.nextLink,
368
+ Parameters.resourceName
369
+ ],
370
+ headerParameters: [Parameters.accept],
371
+ serializer
372
+ };
373
+ //# sourceMappingURL=replicationPolicies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationPolicies.js","sourceRoot":"","sources":["../../../src/operations/replicationPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAkBrC,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,C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B,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ReplicationProtectableItems } from "../operationsInterfaces";
3
+ import { SiteRecoveryManagementClient } from "../siteRecoveryManagementClient";
4
+ import { ProtectableItem, ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams, ReplicationProtectableItemsGetOptionalParams, ReplicationProtectableItemsGetResponse } from "../models";
5
+ /** Class containing ReplicationProtectableItems operations. */
6
+ export declare class ReplicationProtectableItemsImpl implements ReplicationProtectableItems {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ReplicationProtectableItems class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SiteRecoveryManagementClient);
13
+ /**
14
+ * Lists the protectable items in a protection container.
15
+ * @param fabricName Fabric name.
16
+ * @param protectionContainerName Protection container name.
17
+ * @param options The options parameters.
18
+ */
19
+ listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams): PagedAsyncIterableIterator<ProtectableItem>;
20
+ private listByReplicationProtectionContainersPagingPage;
21
+ private listByReplicationProtectionContainersPagingAll;
22
+ /**
23
+ * Lists the protectable items in a protection container.
24
+ * @param fabricName Fabric name.
25
+ * @param protectionContainerName Protection container name.
26
+ * @param options The options parameters.
27
+ */
28
+ private _listByReplicationProtectionContainers;
29
+ /**
30
+ * The operation to get the details of a protectable item.
31
+ * @param fabricName Fabric name.
32
+ * @param protectionContainerName Protection container name.
33
+ * @param protectableItemName Protectable item name.
34
+ * @param options The options parameters.
35
+ */
36
+ get(fabricName: string, protectionContainerName: string, protectableItemName: string, options?: ReplicationProtectableItemsGetOptionalParams): Promise<ReplicationProtectableItemsGetResponse>;
37
+ /**
38
+ * ListByReplicationProtectionContainersNext
39
+ * @param fabricName Fabric name.
40
+ * @param protectionContainerName Protection container name.
41
+ * @param nextLink The nextLink from the previous successful call to the
42
+ * ListByReplicationProtectionContainers method.
43
+ * @param options The options parameters.
44
+ */
45
+ private _listByReplicationProtectionContainersNext;
46
+ }
47
+ //# sourceMappingURL=replicationProtectableItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationProtectableItems.d.ts","sourceRoot":"","sources":["../../../src/operations/replicationProtectableItems.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAItE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EACL,eAAe,EAEf,8EAA8E,EAE9E,4CAA4C,EAC5C,sCAAsC,EAEvC,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACI,qCAAqC,CAC1C,UAAU,EAAE,MAAM,EAClB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,8EAA8E,GACvF,0BAA0B,CAAC,eAAe,CAAC;YAuB/B,+CAA+C;YAwB/C,8CAA8C;IAc7D;;;;;OAKG;IACH,OAAO,CAAC,sCAAsC;IAa9C;;;;;;OAMG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,uBAAuB,EAAE,MAAM,EAC/B,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;;OAOG;IACH,OAAO,CAAC,0CAA0C;CAanD"}
@@ -0,0 +1,177 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing ReplicationProtectableItems operations. */
14
+ export class ReplicationProtectableItemsImpl {
15
+ /**
16
+ * Initialize a new instance of the class ReplicationProtectableItems class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists the protectable items in a protection container.
24
+ * @param fabricName Fabric name.
25
+ * @param protectionContainerName Protection container name.
26
+ * @param options The options parameters.
27
+ */
28
+ listByReplicationProtectionContainers(fabricName, protectionContainerName, options) {
29
+ const iter = this.listByReplicationProtectionContainersPagingAll(fabricName, protectionContainerName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByReplicationProtectionContainersPagingPage(fabricName, protectionContainerName, options);
39
+ }
40
+ };
41
+ }
42
+ listByReplicationProtectionContainersPagingPage(fabricName, protectionContainerName, options) {
43
+ return __asyncGenerator(this, arguments, function* listByReplicationProtectionContainersPagingPage_1() {
44
+ let result = yield __await(this._listByReplicationProtectionContainers(fabricName, protectionContainerName, options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listByReplicationProtectionContainersNext(fabricName, protectionContainerName, continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listByReplicationProtectionContainersPagingAll(fabricName, protectionContainerName, options) {
55
+ return __asyncGenerator(this, arguments, function* listByReplicationProtectionContainersPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listByReplicationProtectionContainersPagingPage(fabricName, protectionContainerName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Lists the protectable items in a protection container.
74
+ * @param fabricName Fabric name.
75
+ * @param protectionContainerName Protection container name.
76
+ * @param options The options parameters.
77
+ */
78
+ _listByReplicationProtectionContainers(fabricName, protectionContainerName, options) {
79
+ return this.client.sendOperationRequest({ fabricName, protectionContainerName, options }, listByReplicationProtectionContainersOperationSpec);
80
+ }
81
+ /**
82
+ * The operation to get the details of a protectable item.
83
+ * @param fabricName Fabric name.
84
+ * @param protectionContainerName Protection container name.
85
+ * @param protectableItemName Protectable item name.
86
+ * @param options The options parameters.
87
+ */
88
+ get(fabricName, protectionContainerName, protectableItemName, options) {
89
+ return this.client.sendOperationRequest({ fabricName, protectionContainerName, protectableItemName, options }, getOperationSpec);
90
+ }
91
+ /**
92
+ * ListByReplicationProtectionContainersNext
93
+ * @param fabricName Fabric name.
94
+ * @param protectionContainerName Protection container name.
95
+ * @param nextLink The nextLink from the previous successful call to the
96
+ * ListByReplicationProtectionContainers method.
97
+ * @param options The options parameters.
98
+ */
99
+ _listByReplicationProtectionContainersNext(fabricName, protectionContainerName, nextLink, options) {
100
+ return this.client.sendOperationRequest({ fabricName, protectionContainerName, nextLink, options }, listByReplicationProtectionContainersNextOperationSpec);
101
+ }
102
+ }
103
+ // Operation Specifications
104
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
105
+ const listByReplicationProtectionContainersOperationSpec = {
106
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems",
107
+ httpMethod: "GET",
108
+ responses: {
109
+ 200: {
110
+ bodyMapper: Mappers.ProtectableItemCollection
111
+ }
112
+ },
113
+ queryParameters: [
114
+ Parameters.apiVersion,
115
+ Parameters.filter,
116
+ Parameters.take,
117
+ Parameters.skipToken1
118
+ ],
119
+ urlParameters: [
120
+ Parameters.$host,
121
+ Parameters.resourceGroupName,
122
+ Parameters.subscriptionId,
123
+ Parameters.resourceName,
124
+ Parameters.fabricName,
125
+ Parameters.protectionContainerName
126
+ ],
127
+ headerParameters: [Parameters.accept],
128
+ serializer
129
+ };
130
+ const getOperationSpec = {
131
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}",
132
+ httpMethod: "GET",
133
+ responses: {
134
+ 200: {
135
+ bodyMapper: Mappers.ProtectableItem
136
+ }
137
+ },
138
+ queryParameters: [Parameters.apiVersion],
139
+ urlParameters: [
140
+ Parameters.$host,
141
+ Parameters.resourceGroupName,
142
+ Parameters.subscriptionId,
143
+ Parameters.resourceName,
144
+ Parameters.fabricName,
145
+ Parameters.protectionContainerName,
146
+ Parameters.protectableItemName
147
+ ],
148
+ headerParameters: [Parameters.accept],
149
+ serializer
150
+ };
151
+ const listByReplicationProtectionContainersNextOperationSpec = {
152
+ path: "{nextLink}",
153
+ httpMethod: "GET",
154
+ responses: {
155
+ 200: {
156
+ bodyMapper: Mappers.ProtectableItemCollection
157
+ }
158
+ },
159
+ queryParameters: [
160
+ Parameters.apiVersion,
161
+ Parameters.filter,
162
+ Parameters.take,
163
+ Parameters.skipToken1
164
+ ],
165
+ urlParameters: [
166
+ Parameters.$host,
167
+ Parameters.resourceGroupName,
168
+ Parameters.subscriptionId,
169
+ Parameters.nextLink,
170
+ Parameters.resourceName,
171
+ Parameters.fabricName,
172
+ Parameters.protectionContainerName
173
+ ],
174
+ headerParameters: [Parameters.accept],
175
+ serializer
176
+ };
177
+ //# sourceMappingURL=replicationProtectableItems.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationProtectableItems.js","sourceRoot":"","sources":["../../../src/operations/replicationProtectableItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,qCAAqC,CAC1C,UAAkB,EAClB,uBAA+B,EAC/B,OAAwF;QAExF,MAAM,IAAI,GAAG,IAAI,CAAC,8CAA8C,CAC9D,UAAU,EACV,uBAAuB,EACvB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gB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