@azure/arm-recoveryservicesdatareplication 1.0.0-beta.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 (434) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +9908 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +43 -0
  11. package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
  12. package/dist-esm/samples-dev/deploymentPreflightSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/deploymentPreflightSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/deploymentPreflightSample.js +51 -0
  15. package/dist-esm/samples-dev/deploymentPreflightSample.js.map +1 -0
  16. package/dist-esm/samples-dev/draCreateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/draCreateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/draCreateSample.js +63 -0
  19. package/dist-esm/samples-dev/draCreateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/draDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/draDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/draDeleteSample.js +41 -0
  23. package/dist-esm/samples-dev/draDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/draGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/draGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/draGetSample.js +41 -0
  27. package/dist-esm/samples-dev/draGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/draListSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/draListSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/draListSample.js +61 -0
  31. package/dist-esm/samples-dev/draListSample.js.map +1 -0
  32. package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/draOperationStatusGetSample.js +42 -0
  35. package/dist-esm/samples-dev/draOperationStatusGetSample.js.map +1 -0
  36. package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/emailConfigurationCreateSample.js +49 -0
  39. package/dist-esm/samples-dev/emailConfigurationCreateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/emailConfigurationGetSample.js +41 -0
  43. package/dist-esm/samples-dev/emailConfigurationGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/emailConfigurationListSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/emailConfigurationListSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/emailConfigurationListSample.js +61 -0
  47. package/dist-esm/samples-dev/emailConfigurationListSample.js.map +1 -0
  48. package/dist-esm/samples-dev/eventGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/eventGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/eventGetSample.js +41 -0
  51. package/dist-esm/samples-dev/eventGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/eventListSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/eventListSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/eventListSample.js +64 -0
  55. package/dist-esm/samples-dev/eventListSample.js.map +1 -0
  56. package/dist-esm/samples-dev/fabricCreateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/fabricCreateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/fabricCreateSample.js +48 -0
  59. package/dist-esm/samples-dev/fabricCreateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/fabricDeleteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/fabricDeleteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/fabricDeleteSample.js +40 -0
  63. package/dist-esm/samples-dev/fabricDeleteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/fabricGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/fabricGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/fabricGetSample.js +40 -0
  67. package/dist-esm/samples-dev/fabricGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/fabricListBySubscriptionSample.js +60 -0
  71. package/dist-esm/samples-dev/fabricListBySubscriptionSample.js.map +1 -0
  72. package/dist-esm/samples-dev/fabricListSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/fabricListSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/fabricListSample.js +62 -0
  75. package/dist-esm/samples-dev/fabricListSample.js.map +1 -0
  76. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js +41 -0
  79. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js.map +1 -0
  80. package/dist-esm/samples-dev/fabricUpdateSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/fabricUpdateSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/fabricUpdateSample.js +47 -0
  83. package/dist-esm/samples-dev/fabricUpdateSample.js.map +1 -0
  84. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/operationsListSample.js +58 -0
  87. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  88. package/dist-esm/samples-dev/policyCreateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/policyCreateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/policyCreateSample.js +47 -0
  91. package/dist-esm/samples-dev/policyCreateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/policyDeleteSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/policyDeleteSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/policyDeleteSample.js +41 -0
  95. package/dist-esm/samples-dev/policyDeleteSample.js.map +1 -0
  96. package/dist-esm/samples-dev/policyGetSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/policyGetSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/policyGetSample.js +41 -0
  99. package/dist-esm/samples-dev/policyGetSample.js.map +1 -0
  100. package/dist-esm/samples-dev/policyListSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/policyListSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/policyListSample.js +61 -0
  103. package/dist-esm/samples-dev/policyListSample.js.map +1 -0
  104. package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/policyOperationStatusGetSample.js +42 -0
  107. package/dist-esm/samples-dev/policyOperationStatusGetSample.js.map +1 -0
  108. package/dist-esm/samples-dev/protectedItemCreateSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/protectedItemCreateSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/protectedItemCreateSample.js +49 -0
  111. package/dist-esm/samples-dev/protectedItemCreateSample.js.map +1 -0
  112. package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/protectedItemDeleteSample.js +43 -0
  115. package/dist-esm/samples-dev/protectedItemDeleteSample.js.map +1 -0
  116. package/dist-esm/samples-dev/protectedItemGetSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/protectedItemGetSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/protectedItemGetSample.js +41 -0
  119. package/dist-esm/samples-dev/protectedItemGetSample.js.map +1 -0
  120. package/dist-esm/samples-dev/protectedItemListSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/protectedItemListSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/protectedItemListSample.js +61 -0
  123. package/dist-esm/samples-dev/protectedItemListSample.js.map +1 -0
  124. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js +42 -0
  127. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js.map +1 -0
  128. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js +47 -0
  131. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js.map +1 -0
  132. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/recoveryPointsGetSample.js +42 -0
  135. package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -0
  136. package/dist-esm/samples-dev/recoveryPointsListSample.d.ts +2 -0
  137. package/dist-esm/samples-dev/recoveryPointsListSample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/recoveryPointsListSample.js +62 -0
  139. package/dist-esm/samples-dev/recoveryPointsListSample.js.map +1 -0
  140. package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/replicationExtensionCreateSample.js +49 -0
  143. package/dist-esm/samples-dev/replicationExtensionCreateSample.js.map +1 -0
  144. package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/replicationExtensionDeleteSample.js +41 -0
  147. package/dist-esm/samples-dev/replicationExtensionDeleteSample.js.map +1 -0
  148. package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/replicationExtensionGetSample.js +41 -0
  151. package/dist-esm/samples-dev/replicationExtensionGetSample.js.map +1 -0
  152. package/dist-esm/samples-dev/replicationExtensionListSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/replicationExtensionListSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/replicationExtensionListSample.js +61 -0
  155. package/dist-esm/samples-dev/replicationExtensionListSample.js.map +1 -0
  156. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts +2 -0
  157. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js +42 -0
  159. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js.map +1 -0
  160. package/dist-esm/samples-dev/vaultCreateSample.d.ts +2 -0
  161. package/dist-esm/samples-dev/vaultCreateSample.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/vaultCreateSample.js +46 -0
  163. package/dist-esm/samples-dev/vaultCreateSample.js.map +1 -0
  164. package/dist-esm/samples-dev/vaultDeleteSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/vaultDeleteSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/vaultDeleteSample.js +40 -0
  167. package/dist-esm/samples-dev/vaultDeleteSample.js.map +1 -0
  168. package/dist-esm/samples-dev/vaultGetSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/vaultGetSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/vaultGetSample.js +40 -0
  171. package/dist-esm/samples-dev/vaultGetSample.js.map +1 -0
  172. package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/vaultListBySubscriptionSample.js +60 -0
  175. package/dist-esm/samples-dev/vaultListBySubscriptionSample.js.map +1 -0
  176. package/dist-esm/samples-dev/vaultListSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/vaultListSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/vaultListSample.js +62 -0
  179. package/dist-esm/samples-dev/vaultListSample.js.map +1 -0
  180. package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/vaultOperationStatusGetSample.js +41 -0
  183. package/dist-esm/samples-dev/vaultOperationStatusGetSample.js.map +1 -0
  184. package/dist-esm/samples-dev/vaultUpdateSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/vaultUpdateSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/vaultUpdateSample.js +45 -0
  187. package/dist-esm/samples-dev/vaultUpdateSample.js.map +1 -0
  188. package/dist-esm/samples-dev/workflowGetSample.d.ts +2 -0
  189. package/dist-esm/samples-dev/workflowGetSample.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/workflowGetSample.js +41 -0
  191. package/dist-esm/samples-dev/workflowGetSample.js.map +1 -0
  192. package/dist-esm/samples-dev/workflowListSample.d.ts +2 -0
  193. package/dist-esm/samples-dev/workflowListSample.d.ts.map +1 -0
  194. package/dist-esm/samples-dev/workflowListSample.js +64 -0
  195. package/dist-esm/samples-dev/workflowListSample.js.map +1 -0
  196. package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts +2 -0
  197. package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts.map +1 -0
  198. package/dist-esm/samples-dev/workflowOperationStatusGetSample.js +42 -0
  199. package/dist-esm/samples-dev/workflowOperationStatusGetSample.js.map +1 -0
  200. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
  201. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
  202. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js +183 -0
  203. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
  204. package/dist-esm/src/index.d.ts +6 -0
  205. package/dist-esm/src/index.d.ts.map +1 -0
  206. package/dist-esm/src/index.js +13 -0
  207. package/dist-esm/src/index.js.map +1 -0
  208. package/dist-esm/src/lroImpl.d.ts +11 -0
  209. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  210. package/dist-esm/src/lroImpl.js +21 -0
  211. package/dist-esm/src/lroImpl.js.map +1 -0
  212. package/dist-esm/src/models/index.d.ts +3253 -0
  213. package/dist-esm/src/models/index.d.ts.map +1 -0
  214. package/dist-esm/src/models/index.js +298 -0
  215. package/dist-esm/src/models/index.js.map +1 -0
  216. package/dist-esm/src/models/mappers.d.ts +149 -0
  217. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  218. package/dist-esm/src/models/mappers.js +4952 -0
  219. package/dist-esm/src/models/mappers.js.map +1 -0
  220. package/dist-esm/src/models/parameters.d.ts +37 -0
  221. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  222. package/dist-esm/src/models/parameters.js +329 -0
  223. package/dist-esm/src/models/parameters.js.map +1 -0
  224. package/dist-esm/src/operations/dra.d.ts +79 -0
  225. package/dist-esm/src/operations/dra.d.ts.map +1 -0
  226. package/dist-esm/src/operations/dra.js +369 -0
  227. package/dist-esm/src/operations/dra.js.map +1 -0
  228. package/dist-esm/src/operations/draOperationStatus.d.ts +22 -0
  229. package/dist-esm/src/operations/draOperationStatus.d.ts.map +1 -0
  230. package/dist-esm/src/operations/draOperationStatus.js +57 -0
  231. package/dist-esm/src/operations/draOperationStatus.js.map +1 -0
  232. package/dist-esm/src/operations/emailConfiguration.d.ts +54 -0
  233. package/dist-esm/src/operations/emailConfiguration.d.ts.map +1 -0
  234. package/dist-esm/src/operations/emailConfiguration.js +224 -0
  235. package/dist-esm/src/operations/emailConfiguration.js.map +1 -0
  236. package/dist-esm/src/operations/event.d.ts +46 -0
  237. package/dist-esm/src/operations/event.d.ts.map +1 -0
  238. package/dist-esm/src/operations/event.js +191 -0
  239. package/dist-esm/src/operations/event.js.map +1 -0
  240. package/dist-esm/src/operations/fabric.d.ts +103 -0
  241. package/dist-esm/src/operations/fabric.d.ts.map +1 -0
  242. package/dist-esm/src/operations/fabric.js +560 -0
  243. package/dist-esm/src/operations/fabric.js.map +1 -0
  244. package/dist-esm/src/operations/fabricOperationsStatus.d.ts +21 -0
  245. package/dist-esm/src/operations/fabricOperationsStatus.d.ts.map +1 -0
  246. package/dist-esm/src/operations/fabricOperationsStatus.js +55 -0
  247. package/dist-esm/src/operations/fabricOperationsStatus.js.map +1 -0
  248. package/dist-esm/src/operations/index.d.ts +19 -0
  249. package/dist-esm/src/operations/index.d.ts.map +1 -0
  250. package/dist-esm/src/operations/index.js +26 -0
  251. package/dist-esm/src/operations/index.js.map +1 -0
  252. package/dist-esm/src/operations/operations.d.ts +32 -0
  253. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  254. package/dist-esm/src/operations/operations.js +138 -0
  255. package/dist-esm/src/operations/operations.js.map +1 -0
  256. package/dist-esm/src/operations/policy.d.ts +79 -0
  257. package/dist-esm/src/operations/policy.d.ts.map +1 -0
  258. package/dist-esm/src/operations/policy.js +369 -0
  259. package/dist-esm/src/operations/policy.js.map +1 -0
  260. package/dist-esm/src/operations/policyOperationStatus.d.ts +22 -0
  261. package/dist-esm/src/operations/policyOperationStatus.d.ts.map +1 -0
  262. package/dist-esm/src/operations/policyOperationStatus.js +57 -0
  263. package/dist-esm/src/operations/policyOperationStatus.js.map +1 -0
  264. package/dist-esm/src/operations/protectedItem.d.ts +95 -0
  265. package/dist-esm/src/operations/protectedItem.d.ts.map +1 -0
  266. package/dist-esm/src/operations/protectedItem.js +460 -0
  267. package/dist-esm/src/operations/protectedItem.js.map +1 -0
  268. package/dist-esm/src/operations/protectedItemOperationStatus.d.ts +22 -0
  269. package/dist-esm/src/operations/protectedItemOperationStatus.d.ts.map +1 -0
  270. package/dist-esm/src/operations/protectedItemOperationStatus.js +57 -0
  271. package/dist-esm/src/operations/protectedItemOperationStatus.js.map +1 -0
  272. package/dist-esm/src/operations/recoveryPoints.d.ts +50 -0
  273. package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -0
  274. package/dist-esm/src/operations/recoveryPoints.js +200 -0
  275. package/dist-esm/src/operations/recoveryPoints.js.map +1 -0
  276. package/dist-esm/src/operations/replicationExtension.d.ts +79 -0
  277. package/dist-esm/src/operations/replicationExtension.d.ts.map +1 -0
  278. package/dist-esm/src/operations/replicationExtension.js +369 -0
  279. package/dist-esm/src/operations/replicationExtension.js.map +1 -0
  280. package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts +22 -0
  281. package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
  282. package/dist-esm/src/operations/replicationExtensionOperationStatus.js +63 -0
  283. package/dist-esm/src/operations/replicationExtensionOperationStatus.js.map +1 -0
  284. package/dist-esm/src/operations/vault.d.ts +103 -0
  285. package/dist-esm/src/operations/vault.d.ts.map +1 -0
  286. package/dist-esm/src/operations/vault.js +560 -0
  287. package/dist-esm/src/operations/vault.js.map +1 -0
  288. package/dist-esm/src/operations/vaultOperationStatus.d.ts +21 -0
  289. package/dist-esm/src/operations/vaultOperationStatus.d.ts.map +1 -0
  290. package/dist-esm/src/operations/vaultOperationStatus.js +55 -0
  291. package/dist-esm/src/operations/vaultOperationStatus.js.map +1 -0
  292. package/dist-esm/src/operations/workflow.d.ts +46 -0
  293. package/dist-esm/src/operations/workflow.d.ts.map +1 -0
  294. package/dist-esm/src/operations/workflow.js +191 -0
  295. package/dist-esm/src/operations/workflow.js.map +1 -0
  296. package/dist-esm/src/operations/workflowOperationStatus.d.ts +22 -0
  297. package/dist-esm/src/operations/workflowOperationStatus.d.ts.map +1 -0
  298. package/dist-esm/src/operations/workflowOperationStatus.js +57 -0
  299. package/dist-esm/src/operations/workflowOperationStatus.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/dra.d.ts +54 -0
  301. package/dist-esm/src/operationsInterfaces/dra.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/dra.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/dra.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts +14 -0
  305. package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/draOperationStatus.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/draOperationStatus.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts +29 -0
  309. package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/emailConfiguration.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/emailConfiguration.js.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/event.d.ts +21 -0
  313. package/dist-esm/src/operationsInterfaces/event.d.ts.map +1 -0
  314. package/dist-esm/src/operationsInterfaces/event.js +9 -0
  315. package/dist-esm/src/operationsInterfaces/event.js.map +1 -0
  316. package/dist-esm/src/operationsInterfaces/fabric.d.ts +67 -0
  317. package/dist-esm/src/operationsInterfaces/fabric.d.ts.map +1 -0
  318. package/dist-esm/src/operationsInterfaces/fabric.js +9 -0
  319. package/dist-esm/src/operationsInterfaces/fabric.js.map +1 -0
  320. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
  321. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
  322. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.js +9 -0
  323. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
  324. package/dist-esm/src/operationsInterfaces/index.d.ts +19 -0
  325. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  326. package/dist-esm/src/operationsInterfaces/index.js +26 -0
  327. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  328. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  329. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  330. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  331. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  332. package/dist-esm/src/operationsInterfaces/policy.d.ts +54 -0
  333. package/dist-esm/src/operationsInterfaces/policy.d.ts.map +1 -0
  334. package/dist-esm/src/operationsInterfaces/policy.js +9 -0
  335. package/dist-esm/src/operationsInterfaces/policy.js.map +1 -0
  336. package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts +14 -0
  337. package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
  338. package/dist-esm/src/operationsInterfaces/policyOperationStatus.js +9 -0
  339. package/dist-esm/src/operationsInterfaces/policyOperationStatus.js.map +1 -0
  340. package/dist-esm/src/operationsInterfaces/protectedItem.d.ts +70 -0
  341. package/dist-esm/src/operationsInterfaces/protectedItem.d.ts.map +1 -0
  342. package/dist-esm/src/operationsInterfaces/protectedItem.js +9 -0
  343. package/dist-esm/src/operationsInterfaces/protectedItem.js.map +1 -0
  344. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
  345. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
  346. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.js +9 -0
  347. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
  348. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +23 -0
  349. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
  350. package/dist-esm/src/operationsInterfaces/recoveryPoints.js +9 -0
  351. package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +1 -0
  352. package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts +54 -0
  353. package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts.map +1 -0
  354. package/dist-esm/src/operationsInterfaces/replicationExtension.js +9 -0
  355. package/dist-esm/src/operationsInterfaces/replicationExtension.js.map +1 -0
  356. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
  357. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
  358. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.js +9 -0
  359. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
  360. package/dist-esm/src/operationsInterfaces/vault.d.ts +67 -0
  361. package/dist-esm/src/operationsInterfaces/vault.d.ts.map +1 -0
  362. package/dist-esm/src/operationsInterfaces/vault.js +9 -0
  363. package/dist-esm/src/operationsInterfaces/vault.js.map +1 -0
  364. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
  365. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
  366. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.js +9 -0
  367. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.js.map +1 -0
  368. package/dist-esm/src/operationsInterfaces/workflow.d.ts +21 -0
  369. package/dist-esm/src/operationsInterfaces/workflow.d.ts.map +1 -0
  370. package/dist-esm/src/operationsInterfaces/workflow.js +9 -0
  371. package/dist-esm/src/operationsInterfaces/workflow.js.map +1 -0
  372. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
  373. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
  374. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.js +9 -0
  375. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.js.map +1 -0
  376. package/dist-esm/src/pagingHelper.d.ts +13 -0
  377. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  378. package/dist-esm/src/pagingHelper.js +32 -0
  379. package/dist-esm/src/pagingHelper.js.map +1 -0
  380. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts +4 -0
  381. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts.map +1 -0
  382. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js +76 -0
  383. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js.map +1 -0
  384. package/package.json +124 -0
  385. package/review/arm-recoveryservicesdatareplication.api.md +1973 -0
  386. package/rollup.config.js +122 -0
  387. package/src/azureSiteRecoveryManagementServiceAPI.ts +306 -0
  388. package/src/index.ts +13 -0
  389. package/src/lroImpl.ts +42 -0
  390. package/src/models/index.ts +3567 -0
  391. package/src/models/mappers.ts +5306 -0
  392. package/src/models/parameters.ts +382 -0
  393. package/src/operations/dra.ts +500 -0
  394. package/src/operations/draOperationStatus.ts +78 -0
  395. package/src/operations/emailConfiguration.ts +287 -0
  396. package/src/operations/event.ts +242 -0
  397. package/src/operations/fabric.ts +710 -0
  398. package/src/operations/fabricOperationsStatus.ts +75 -0
  399. package/src/operations/index.ts +26 -0
  400. package/src/operations/operations.ts +149 -0
  401. package/src/operations/policy.ts +500 -0
  402. package/src/operations/policyOperationStatus.ts +78 -0
  403. package/src/operations/protectedItem.ts +638 -0
  404. package/src/operations/protectedItemOperationStatus.ts +79 -0
  405. package/src/operations/recoveryPoints.ts +270 -0
  406. package/src/operations/replicationExtension.ts +506 -0
  407. package/src/operations/replicationExtensionOperationStatus.ts +85 -0
  408. package/src/operations/vault.ts +710 -0
  409. package/src/operations/vaultOperationStatus.ts +75 -0
  410. package/src/operations/workflow.ts +242 -0
  411. package/src/operations/workflowOperationStatus.ts +78 -0
  412. package/src/operationsInterfaces/dra.ts +105 -0
  413. package/src/operationsInterfaces/draOperationStatus.ts +31 -0
  414. package/src/operationsInterfaces/emailConfiguration.ts +59 -0
  415. package/src/operationsInterfaces/event.ts +44 -0
  416. package/src/operationsInterfaces/fabric.ts +127 -0
  417. package/src/operationsInterfaces/fabricOperationsStatus.ts +29 -0
  418. package/src/operationsInterfaces/index.ts +26 -0
  419. package/src/operationsInterfaces/operations.ts +22 -0
  420. package/src/operationsInterfaces/policy.ts +105 -0
  421. package/src/operationsInterfaces/policyOperationStatus.ts +31 -0
  422. package/src/operationsInterfaces/protectedItem.ts +144 -0
  423. package/src/operationsInterfaces/protectedItemOperationStatus.ts +31 -0
  424. package/src/operationsInterfaces/recoveryPoints.ts +48 -0
  425. package/src/operationsInterfaces/replicationExtension.ts +111 -0
  426. package/src/operationsInterfaces/replicationExtensionOperationStatus.ts +31 -0
  427. package/src/operationsInterfaces/vault.ts +127 -0
  428. package/src/operationsInterfaces/vaultOperationStatus.ts +29 -0
  429. package/src/operationsInterfaces/workflow.ts +44 -0
  430. package/src/operationsInterfaces/workflowOperationStatus.ts +31 -0
  431. package/src/pagingHelper.ts +39 -0
  432. package/tsconfig.json +33 -0
  433. package/types/arm-recoveryservicesdatareplication.d.ts +4127 -0
  434. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,127 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ FabricModel,
13
+ FabricListBySubscriptionOptionalParams,
14
+ FabricListOptionalParams,
15
+ FabricGetOptionalParams,
16
+ FabricGetResponse,
17
+ FabricCreateOptionalParams,
18
+ FabricCreateResponse,
19
+ FabricUpdateOptionalParams,
20
+ FabricUpdateResponse,
21
+ FabricDeleteOptionalParams,
22
+ FabricDeleteResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a Fabric. */
27
+ export interface Fabric {
28
+ /**
29
+ * Gets the list of fabrics in the given subscription.
30
+ * @param options The options parameters.
31
+ */
32
+ listBySubscription(
33
+ options?: FabricListBySubscriptionOptionalParams
34
+ ): PagedAsyncIterableIterator<FabricModel>;
35
+ /**
36
+ * Gets the list of fabrics in the given subscription and resource group.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param options The options parameters.
39
+ */
40
+ list(
41
+ resourceGroupName: string,
42
+ options?: FabricListOptionalParams
43
+ ): PagedAsyncIterableIterator<FabricModel>;
44
+ /**
45
+ * Gets the details of the fabric.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param fabricName The fabric name.
48
+ * @param options The options parameters.
49
+ */
50
+ get(
51
+ resourceGroupName: string,
52
+ fabricName: string,
53
+ options?: FabricGetOptionalParams
54
+ ): Promise<FabricGetResponse>;
55
+ /**
56
+ * Creates the fabric.
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param fabricName The fabric name.
59
+ * @param options The options parameters.
60
+ */
61
+ beginCreate(
62
+ resourceGroupName: string,
63
+ fabricName: string,
64
+ options?: FabricCreateOptionalParams
65
+ ): Promise<
66
+ SimplePollerLike<OperationState<FabricCreateResponse>, FabricCreateResponse>
67
+ >;
68
+ /**
69
+ * Creates the fabric.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param fabricName The fabric name.
72
+ * @param options The options parameters.
73
+ */
74
+ beginCreateAndWait(
75
+ resourceGroupName: string,
76
+ fabricName: string,
77
+ options?: FabricCreateOptionalParams
78
+ ): Promise<FabricCreateResponse>;
79
+ /**
80
+ * Performs update on the fabric.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param fabricName The fabric name.
83
+ * @param options The options parameters.
84
+ */
85
+ beginUpdate(
86
+ resourceGroupName: string,
87
+ fabricName: string,
88
+ options?: FabricUpdateOptionalParams
89
+ ): Promise<
90
+ SimplePollerLike<OperationState<FabricUpdateResponse>, FabricUpdateResponse>
91
+ >;
92
+ /**
93
+ * Performs update on the fabric.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param fabricName The fabric name.
96
+ * @param options The options parameters.
97
+ */
98
+ beginUpdateAndWait(
99
+ resourceGroupName: string,
100
+ fabricName: string,
101
+ options?: FabricUpdateOptionalParams
102
+ ): Promise<FabricUpdateResponse>;
103
+ /**
104
+ * Removes the fabric.
105
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
106
+ * @param fabricName The fabric name.
107
+ * @param options The options parameters.
108
+ */
109
+ beginDelete(
110
+ resourceGroupName: string,
111
+ fabricName: string,
112
+ options?: FabricDeleteOptionalParams
113
+ ): Promise<
114
+ SimplePollerLike<OperationState<FabricDeleteResponse>, FabricDeleteResponse>
115
+ >;
116
+ /**
117
+ * Removes the fabric.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param fabricName The fabric name.
120
+ * @param options The options parameters.
121
+ */
122
+ beginDeleteAndWait(
123
+ resourceGroupName: string,
124
+ fabricName: string,
125
+ options?: FabricDeleteOptionalParams
126
+ ): Promise<FabricDeleteResponse>;
127
+ }
@@ -0,0 +1,29 @@
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
+
9
+ import {
10
+ FabricOperationsStatusGetOptionalParams,
11
+ FabricOperationsStatusGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a FabricOperationsStatus. */
15
+ export interface FabricOperationsStatus {
16
+ /**
17
+ * Tracks the results of an asynchronous operation on the fabric.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param fabricName The fabric name.
20
+ * @param operationId The ID of an ongoing async operation.
21
+ * @param options The options parameters.
22
+ */
23
+ get(
24
+ resourceGroupName: string,
25
+ fabricName: string,
26
+ operationId: string,
27
+ options?: FabricOperationsStatusGetOptionalParams
28
+ ): Promise<FabricOperationsStatusGetResponse>;
29
+ }
@@ -0,0 +1,26 @@
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
+
9
+ export * from "./dra";
10
+ export * from "./draOperationStatus";
11
+ export * from "./emailConfiguration";
12
+ export * from "./event";
13
+ export * from "./fabric";
14
+ export * from "./fabricOperationsStatus";
15
+ export * from "./policy";
16
+ export * from "./policyOperationStatus";
17
+ export * from "./protectedItem";
18
+ export * from "./protectedItemOperationStatus";
19
+ export * from "./recoveryPoints";
20
+ export * from "./replicationExtension";
21
+ export * from "./replicationExtensionOperationStatus";
22
+ export * from "./operations";
23
+ export * from "./vault";
24
+ export * from "./vaultOperationStatus";
25
+ export * from "./workflow";
26
+ export * from "./workflowOperationStatus";
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Gets the operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,105 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ PolicyModel,
13
+ PolicyListOptionalParams,
14
+ PolicyGetOptionalParams,
15
+ PolicyGetResponse,
16
+ PolicyCreateOptionalParams,
17
+ PolicyCreateResponse,
18
+ PolicyDeleteOptionalParams,
19
+ PolicyDeleteResponse
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a Policy. */
24
+ export interface Policy {
25
+ /**
26
+ * Gets the list of policies in the given vault.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param vaultName The vault name.
29
+ * @param options The options parameters.
30
+ */
31
+ list(
32
+ resourceGroupName: string,
33
+ vaultName: string,
34
+ options?: PolicyListOptionalParams
35
+ ): PagedAsyncIterableIterator<PolicyModel>;
36
+ /**
37
+ * Gets the details of the policy.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param vaultName The vault name.
40
+ * @param policyName The policy name.
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ vaultName: string,
46
+ policyName: string,
47
+ options?: PolicyGetOptionalParams
48
+ ): Promise<PolicyGetResponse>;
49
+ /**
50
+ * Creates the policy.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param vaultName The vault name.
53
+ * @param policyName The policy name.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreate(
57
+ resourceGroupName: string,
58
+ vaultName: string,
59
+ policyName: string,
60
+ options?: PolicyCreateOptionalParams
61
+ ): Promise<
62
+ SimplePollerLike<OperationState<PolicyCreateResponse>, PolicyCreateResponse>
63
+ >;
64
+ /**
65
+ * Creates the policy.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param vaultName The vault name.
68
+ * @param policyName The policy name.
69
+ * @param options The options parameters.
70
+ */
71
+ beginCreateAndWait(
72
+ resourceGroupName: string,
73
+ vaultName: string,
74
+ policyName: string,
75
+ options?: PolicyCreateOptionalParams
76
+ ): Promise<PolicyCreateResponse>;
77
+ /**
78
+ * Removes the policy.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param vaultName The vault name.
81
+ * @param policyName The policy name.
82
+ * @param options The options parameters.
83
+ */
84
+ beginDelete(
85
+ resourceGroupName: string,
86
+ vaultName: string,
87
+ policyName: string,
88
+ options?: PolicyDeleteOptionalParams
89
+ ): Promise<
90
+ SimplePollerLike<OperationState<PolicyDeleteResponse>, PolicyDeleteResponse>
91
+ >;
92
+ /**
93
+ * Removes the policy.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param vaultName The vault name.
96
+ * @param policyName The policy name.
97
+ * @param options The options parameters.
98
+ */
99
+ beginDeleteAndWait(
100
+ resourceGroupName: string,
101
+ vaultName: string,
102
+ policyName: string,
103
+ options?: PolicyDeleteOptionalParams
104
+ ): Promise<PolicyDeleteResponse>;
105
+ }
@@ -0,0 +1,31 @@
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
+
9
+ import {
10
+ PolicyOperationStatusGetOptionalParams,
11
+ PolicyOperationStatusGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a PolicyOperationStatus. */
15
+ export interface PolicyOperationStatus {
16
+ /**
17
+ * Tracks the results of an asynchronous operation on the policy.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param vaultName The vault name.
20
+ * @param policyName The policy name.
21
+ * @param operationId The ID of an ongoing async operation.
22
+ * @param options The options parameters.
23
+ */
24
+ get(
25
+ resourceGroupName: string,
26
+ vaultName: string,
27
+ policyName: string,
28
+ operationId: string,
29
+ options?: PolicyOperationStatusGetOptionalParams
30
+ ): Promise<PolicyOperationStatusGetResponse>;
31
+ }
@@ -0,0 +1,144 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ ProtectedItemModel,
13
+ ProtectedItemListOptionalParams,
14
+ ProtectedItemGetOptionalParams,
15
+ ProtectedItemGetResponse,
16
+ ProtectedItemCreateOptionalParams,
17
+ ProtectedItemCreateResponse,
18
+ ProtectedItemDeleteOptionalParams,
19
+ ProtectedItemDeleteResponse,
20
+ ProtectedItemPlannedFailoverOptionalParams,
21
+ ProtectedItemPlannedFailoverResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a ProtectedItem. */
26
+ export interface ProtectedItem {
27
+ /**
28
+ * Gets the list of protected items in the given vault.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param vaultName The vault name.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ vaultName: string,
36
+ options?: ProtectedItemListOptionalParams
37
+ ): PagedAsyncIterableIterator<ProtectedItemModel>;
38
+ /**
39
+ * Gets the details of the protected item.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param vaultName The vault name.
42
+ * @param protectedItemName The protected item name.
43
+ * @param options The options parameters.
44
+ */
45
+ get(
46
+ resourceGroupName: string,
47
+ vaultName: string,
48
+ protectedItemName: string,
49
+ options?: ProtectedItemGetOptionalParams
50
+ ): Promise<ProtectedItemGetResponse>;
51
+ /**
52
+ * Creates the protected item.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param vaultName The vault name.
55
+ * @param protectedItemName The protected item name.
56
+ * @param options The options parameters.
57
+ */
58
+ beginCreate(
59
+ resourceGroupName: string,
60
+ vaultName: string,
61
+ protectedItemName: string,
62
+ options?: ProtectedItemCreateOptionalParams
63
+ ): Promise<
64
+ SimplePollerLike<
65
+ OperationState<ProtectedItemCreateResponse>,
66
+ ProtectedItemCreateResponse
67
+ >
68
+ >;
69
+ /**
70
+ * Creates the protected item.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param vaultName The vault name.
73
+ * @param protectedItemName The protected item name.
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateAndWait(
77
+ resourceGroupName: string,
78
+ vaultName: string,
79
+ protectedItemName: string,
80
+ options?: ProtectedItemCreateOptionalParams
81
+ ): Promise<ProtectedItemCreateResponse>;
82
+ /**
83
+ * Removes the protected item.
84
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
+ * @param vaultName The vault name.
86
+ * @param protectedItemName The protected item name.
87
+ * @param options The options parameters.
88
+ */
89
+ beginDelete(
90
+ resourceGroupName: string,
91
+ vaultName: string,
92
+ protectedItemName: string,
93
+ options?: ProtectedItemDeleteOptionalParams
94
+ ): Promise<
95
+ SimplePollerLike<
96
+ OperationState<ProtectedItemDeleteResponse>,
97
+ ProtectedItemDeleteResponse
98
+ >
99
+ >;
100
+ /**
101
+ * Removes the protected item.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param vaultName The vault name.
104
+ * @param protectedItemName The protected item name.
105
+ * @param options The options parameters.
106
+ */
107
+ beginDeleteAndWait(
108
+ resourceGroupName: string,
109
+ vaultName: string,
110
+ protectedItemName: string,
111
+ options?: ProtectedItemDeleteOptionalParams
112
+ ): Promise<ProtectedItemDeleteResponse>;
113
+ /**
114
+ * Performs the planned failover on the protected item.
115
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
116
+ * @param vaultName The vault name.
117
+ * @param protectedItemName The protected item name.
118
+ * @param options The options parameters.
119
+ */
120
+ beginPlannedFailover(
121
+ resourceGroupName: string,
122
+ vaultName: string,
123
+ protectedItemName: string,
124
+ options?: ProtectedItemPlannedFailoverOptionalParams
125
+ ): Promise<
126
+ SimplePollerLike<
127
+ OperationState<ProtectedItemPlannedFailoverResponse>,
128
+ ProtectedItemPlannedFailoverResponse
129
+ >
130
+ >;
131
+ /**
132
+ * Performs the planned failover on the protected item.
133
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
134
+ * @param vaultName The vault name.
135
+ * @param protectedItemName The protected item name.
136
+ * @param options The options parameters.
137
+ */
138
+ beginPlannedFailoverAndWait(
139
+ resourceGroupName: string,
140
+ vaultName: string,
141
+ protectedItemName: string,
142
+ options?: ProtectedItemPlannedFailoverOptionalParams
143
+ ): Promise<ProtectedItemPlannedFailoverResponse>;
144
+ }
@@ -0,0 +1,31 @@
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
+
9
+ import {
10
+ ProtectedItemOperationStatusGetOptionalParams,
11
+ ProtectedItemOperationStatusGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a ProtectedItemOperationStatus. */
15
+ export interface ProtectedItemOperationStatus {
16
+ /**
17
+ * Tracks the results of an asynchronous operation on the protected item.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param vaultName The vault name.
20
+ * @param protectedItemName The protected item name.
21
+ * @param operationId The ID of an ongoing async operation.
22
+ * @param options The options parameters.
23
+ */
24
+ get(
25
+ resourceGroupName: string,
26
+ vaultName: string,
27
+ protectedItemName: string,
28
+ operationId: string,
29
+ options?: ProtectedItemOperationStatusGetOptionalParams
30
+ ): Promise<ProtectedItemOperationStatusGetResponse>;
31
+ }
@@ -0,0 +1,48 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ RecoveryPointModel,
12
+ RecoveryPointsListOptionalParams,
13
+ RecoveryPointsGetOptionalParams,
14
+ RecoveryPointsGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a RecoveryPoints. */
19
+ export interface RecoveryPoints {
20
+ /**
21
+ * Gets the list of recovery points of the given protected item.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param vaultName The vault name.
24
+ * @param protectedItemName The protected item name.
25
+ * @param options The options parameters.
26
+ */
27
+ list(
28
+ resourceGroupName: string,
29
+ vaultName: string,
30
+ protectedItemName: string,
31
+ options?: RecoveryPointsListOptionalParams
32
+ ): PagedAsyncIterableIterator<RecoveryPointModel>;
33
+ /**
34
+ * Gets the details of the recovery point of a protected item.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param vaultName The vault name.
37
+ * @param protectedItemName The protected item name.
38
+ * @param recoveryPointName The recovery point name.
39
+ * @param options The options parameters.
40
+ */
41
+ get(
42
+ resourceGroupName: string,
43
+ vaultName: string,
44
+ protectedItemName: string,
45
+ recoveryPointName: string,
46
+ options?: RecoveryPointsGetOptionalParams
47
+ ): Promise<RecoveryPointsGetResponse>;
48
+ }
@@ -0,0 +1,111 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ ReplicationExtensionModel,
13
+ ReplicationExtensionListOptionalParams,
14
+ ReplicationExtensionGetOptionalParams,
15
+ ReplicationExtensionGetResponse,
16
+ ReplicationExtensionCreateOptionalParams,
17
+ ReplicationExtensionCreateResponse,
18
+ ReplicationExtensionDeleteOptionalParams,
19
+ ReplicationExtensionDeleteResponse
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a ReplicationExtension. */
24
+ export interface ReplicationExtension {
25
+ /**
26
+ * Gets the list of replication extensions in the given vault.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param vaultName The vault name.
29
+ * @param options The options parameters.
30
+ */
31
+ list(
32
+ resourceGroupName: string,
33
+ vaultName: string,
34
+ options?: ReplicationExtensionListOptionalParams
35
+ ): PagedAsyncIterableIterator<ReplicationExtensionModel>;
36
+ /**
37
+ * Gets the details of the replication extension.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param vaultName The vault name.
40
+ * @param replicationExtensionName The replication extension name.
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ vaultName: string,
46
+ replicationExtensionName: string,
47
+ options?: ReplicationExtensionGetOptionalParams
48
+ ): Promise<ReplicationExtensionGetResponse>;
49
+ /**
50
+ * Creates the replication extension in the given vault.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param vaultName The vault name.
53
+ * @param replicationExtensionName The replication extension name.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreate(
57
+ resourceGroupName: string,
58
+ vaultName: string,
59
+ replicationExtensionName: string,
60
+ options?: ReplicationExtensionCreateOptionalParams
61
+ ): Promise<
62
+ SimplePollerLike<
63
+ OperationState<ReplicationExtensionCreateResponse>,
64
+ ReplicationExtensionCreateResponse
65
+ >
66
+ >;
67
+ /**
68
+ * Creates the replication extension in the given vault.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param vaultName The vault name.
71
+ * @param replicationExtensionName The replication extension name.
72
+ * @param options The options parameters.
73
+ */
74
+ beginCreateAndWait(
75
+ resourceGroupName: string,
76
+ vaultName: string,
77
+ replicationExtensionName: string,
78
+ options?: ReplicationExtensionCreateOptionalParams
79
+ ): Promise<ReplicationExtensionCreateResponse>;
80
+ /**
81
+ * Deletes the replication extension in the given vault.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param vaultName The vault name.
84
+ * @param replicationExtensionName The replication extension name.
85
+ * @param options The options parameters.
86
+ */
87
+ beginDelete(
88
+ resourceGroupName: string,
89
+ vaultName: string,
90
+ replicationExtensionName: string,
91
+ options?: ReplicationExtensionDeleteOptionalParams
92
+ ): Promise<
93
+ SimplePollerLike<
94
+ OperationState<ReplicationExtensionDeleteResponse>,
95
+ ReplicationExtensionDeleteResponse
96
+ >
97
+ >;
98
+ /**
99
+ * Deletes the replication extension in the given vault.
100
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
+ * @param vaultName The vault name.
102
+ * @param replicationExtensionName The replication extension name.
103
+ * @param options The options parameters.
104
+ */
105
+ beginDeleteAndWait(
106
+ resourceGroupName: string,
107
+ vaultName: string,
108
+ replicationExtensionName: string,
109
+ options?: ReplicationExtensionDeleteOptionalParams
110
+ ): Promise<ReplicationExtensionDeleteResponse>;
111
+ }