oci-recovery 2.52.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 (275) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +290 -0
  9. package/lib/client.js +1669 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/databaserecovery-waiter.d.ts +52 -0
  12. package/lib/databaserecovery-waiter.js +100 -0
  13. package/lib/databaserecovery-waiter.js.map +1 -0
  14. package/lib/model/action-type.d.ts +32 -0
  15. package/lib/model/action-type.js +43 -0
  16. package/lib/model/action-type.js.map +1 -0
  17. package/lib/model/change-protected-database-compartment-details.d.ts +26 -0
  18. package/lib/model/change-protected-database-compartment-details.js +29 -0
  19. package/lib/model/change-protected-database-compartment-details.js.map +1 -0
  20. package/lib/model/change-protection-policy-compartment-details.d.ts +26 -0
  21. package/lib/model/change-protection-policy-compartment-details.js +29 -0
  22. package/lib/model/change-protection-policy-compartment-details.js.map +1 -0
  23. package/lib/model/change-recovery-service-subnet-compartment-details.d.ts +26 -0
  24. package/lib/model/change-recovery-service-subnet-compartment-details.js +29 -0
  25. package/lib/model/change-recovery-service-subnet-compartment-details.js.map +1 -0
  26. package/lib/model/create-protected-database-details.d.ts +93 -0
  27. package/lib/model/create-protected-database-details.js +61 -0
  28. package/lib/model/create-protected-database-details.js.map +1 -0
  29. package/lib/model/create-protection-policy-details.d.ts +51 -0
  30. package/lib/model/create-protection-policy-details.js +29 -0
  31. package/lib/model/create-protection-policy-details.js.map +1 -0
  32. package/lib/model/create-recovery-service-subnet-details.d.ts +55 -0
  33. package/lib/model/create-recovery-service-subnet-details.js +29 -0
  34. package/lib/model/create-recovery-service-subnet-details.js.map +1 -0
  35. package/lib/model/database-sizes.d.ts +33 -0
  36. package/lib/model/database-sizes.js +44 -0
  37. package/lib/model/database-sizes.js.map +1 -0
  38. package/lib/model/fetch-protected-database-configuration-details.d.ts +31 -0
  39. package/lib/model/fetch-protected-database-configuration-details.js +36 -0
  40. package/lib/model/fetch-protected-database-configuration-details.js.map +1 -0
  41. package/lib/model/health.d.ts +29 -0
  42. package/lib/model/health.js +40 -0
  43. package/lib/model/health.js.map +1 -0
  44. package/lib/model/index.d.ts +88 -0
  45. package/lib/model/index.js +111 -0
  46. package/lib/model/index.js.map +1 -0
  47. package/lib/model/lifecycle-state.d.ts +32 -0
  48. package/lib/model/lifecycle-state.js +43 -0
  49. package/lib/model/lifecycle-state.js.map +1 -0
  50. package/lib/model/metrics-summary.d.ts +53 -0
  51. package/lib/model/metrics-summary.js +29 -0
  52. package/lib/model/metrics-summary.js.map +1 -0
  53. package/lib/model/metrics.d.ts +53 -0
  54. package/lib/model/metrics.js +29 -0
  55. package/lib/model/metrics.js.map +1 -0
  56. package/lib/model/operation-status.d.ts +32 -0
  57. package/lib/model/operation-status.js +43 -0
  58. package/lib/model/operation-status.js.map +1 -0
  59. package/lib/model/operation-type.d.ts +38 -0
  60. package/lib/model/operation-type.js +49 -0
  61. package/lib/model/operation-type.js.map +1 -0
  62. package/lib/model/protected-database-collection.d.ts +26 -0
  63. package/lib/model/protected-database-collection.js +61 -0
  64. package/lib/model/protected-database-collection.js.map +1 -0
  65. package/lib/model/protected-database-summary.d.ts +127 -0
  66. package/lib/model/protected-database-summary.js +65 -0
  67. package/lib/model/protected-database-summary.js.map +1 -0
  68. package/lib/model/protected-database.d.ts +157 -0
  69. package/lib/model/protected-database.js +63 -0
  70. package/lib/model/protected-database.js.map +1 -0
  71. package/lib/model/protection-policy-collection.d.ts +26 -0
  72. package/lib/model/protection-policy-collection.js +61 -0
  73. package/lib/model/protection-policy-collection.js.map +1 -0
  74. package/lib/model/protection-policy-summary.d.ts +91 -0
  75. package/lib/model/protection-policy-summary.js +29 -0
  76. package/lib/model/protection-policy-summary.js.map +1 -0
  77. package/lib/model/protection-policy.d.ts +97 -0
  78. package/lib/model/protection-policy.js +29 -0
  79. package/lib/model/protection-policy.js.map +1 -0
  80. package/lib/model/recovery-service-subnet-collection.d.ts +26 -0
  81. package/lib/model/recovery-service-subnet-collection.js +61 -0
  82. package/lib/model/recovery-service-subnet-collection.js.map +1 -0
  83. package/lib/model/recovery-service-subnet-details.d.ts +30 -0
  84. package/lib/model/recovery-service-subnet-details.js +29 -0
  85. package/lib/model/recovery-service-subnet-details.js.map +1 -0
  86. package/lib/model/recovery-service-subnet-input.d.ts +25 -0
  87. package/lib/model/recovery-service-subnet-input.js +29 -0
  88. package/lib/model/recovery-service-subnet-input.js.map +1 -0
  89. package/lib/model/recovery-service-subnet-summary.d.ts +101 -0
  90. package/lib/model/recovery-service-subnet-summary.js +29 -0
  91. package/lib/model/recovery-service-subnet-summary.js.map +1 -0
  92. package/lib/model/recovery-service-subnet.d.ts +99 -0
  93. package/lib/model/recovery-service-subnet.js +29 -0
  94. package/lib/model/recovery-service-subnet.js.map +1 -0
  95. package/lib/model/sort-order.d.ts +23 -0
  96. package/lib/model/sort-order.js +34 -0
  97. package/lib/model/sort-order.js.map +1 -0
  98. package/lib/model/update-protected-database-details.d.ts +75 -0
  99. package/lib/model/update-protected-database-details.js +61 -0
  100. package/lib/model/update-protected-database-details.js.map +1 -0
  101. package/lib/model/update-protection-policy-details.d.ts +47 -0
  102. package/lib/model/update-protection-policy-details.js +29 -0
  103. package/lib/model/update-protection-policy-details.js.map +1 -0
  104. package/lib/model/update-recovery-service-subnet-details.d.ts +43 -0
  105. package/lib/model/update-recovery-service-subnet-details.js +29 -0
  106. package/lib/model/update-recovery-service-subnet-details.js.map +1 -0
  107. package/lib/model/work-request-error-collection.d.ts +26 -0
  108. package/lib/model/work-request-error-collection.js +61 -0
  109. package/lib/model/work-request-error-collection.js.map +1 -0
  110. package/lib/model/work-request-error.d.ts +35 -0
  111. package/lib/model/work-request-error.js +29 -0
  112. package/lib/model/work-request-error.js.map +1 -0
  113. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  114. package/lib/model/work-request-log-entry-collection.js +61 -0
  115. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  116. package/lib/model/work-request-log-entry.d.ts +29 -0
  117. package/lib/model/work-request-log-entry.js +29 -0
  118. package/lib/model/work-request-log-entry.js.map +1 -0
  119. package/lib/model/work-request-resource.d.ts +42 -0
  120. package/lib/model/work-request-resource.js +29 -0
  121. package/lib/model/work-request-resource.js.map +1 -0
  122. package/lib/model/work-request-summary-collection.d.ts +26 -0
  123. package/lib/model/work-request-summary-collection.js +61 -0
  124. package/lib/model/work-request-summary-collection.js.map +1 -0
  125. package/lib/model/work-request-summary.d.ts +65 -0
  126. package/lib/model/work-request-summary.js +61 -0
  127. package/lib/model/work-request-summary.js.map +1 -0
  128. package/lib/model/work-request.d.ts +67 -0
  129. package/lib/model/work-request.js +61 -0
  130. package/lib/model/work-request.js.map +1 -0
  131. package/lib/request/change-protected-database-compartment-request.d.ts +40 -0
  132. package/lib/request/change-protected-database-compartment-request.js +15 -0
  133. package/lib/request/change-protected-database-compartment-request.js.map +1 -0
  134. package/lib/request/change-protection-policy-compartment-request.d.ts +40 -0
  135. package/lib/request/change-protection-policy-compartment-request.js +15 -0
  136. package/lib/request/change-protection-policy-compartment-request.js.map +1 -0
  137. package/lib/request/change-recovery-service-subnet-compartment-request.d.ts +40 -0
  138. package/lib/request/change-recovery-service-subnet-compartment-request.js +15 -0
  139. package/lib/request/change-recovery-service-subnet-compartment-request.js.map +1 -0
  140. package/lib/request/create-protected-database-request.d.ts +36 -0
  141. package/lib/request/create-protected-database-request.js +15 -0
  142. package/lib/request/create-protected-database-request.js.map +1 -0
  143. package/lib/request/create-protection-policy-request.d.ts +36 -0
  144. package/lib/request/create-protection-policy-request.js +15 -0
  145. package/lib/request/create-protection-policy-request.js.map +1 -0
  146. package/lib/request/create-recovery-service-subnet-request.d.ts +36 -0
  147. package/lib/request/create-recovery-service-subnet-request.js +15 -0
  148. package/lib/request/create-recovery-service-subnet-request.js.map +1 -0
  149. package/lib/request/delete-protected-database-request.d.ts +35 -0
  150. package/lib/request/delete-protected-database-request.js +15 -0
  151. package/lib/request/delete-protected-database-request.js.map +1 -0
  152. package/lib/request/delete-protection-policy-request.d.ts +35 -0
  153. package/lib/request/delete-protection-policy-request.js +15 -0
  154. package/lib/request/delete-protection-policy-request.js.map +1 -0
  155. package/lib/request/delete-recovery-service-subnet-request.d.ts +35 -0
  156. package/lib/request/delete-recovery-service-subnet-request.js +15 -0
  157. package/lib/request/delete-recovery-service-subnet-request.js.map +1 -0
  158. package/lib/request/fetch-protected-database-configuration-request.d.ts +40 -0
  159. package/lib/request/fetch-protected-database-configuration-request.js +15 -0
  160. package/lib/request/fetch-protected-database-configuration-request.js.map +1 -0
  161. package/lib/request/get-protected-database-request.d.ts +26 -0
  162. package/lib/request/get-protected-database-request.js +15 -0
  163. package/lib/request/get-protected-database-request.js.map +1 -0
  164. package/lib/request/get-protection-policy-request.d.ts +26 -0
  165. package/lib/request/get-protection-policy-request.js +15 -0
  166. package/lib/request/get-protection-policy-request.js.map +1 -0
  167. package/lib/request/get-recovery-service-subnet-request.d.ts +26 -0
  168. package/lib/request/get-recovery-service-subnet-request.js +15 -0
  169. package/lib/request/get-recovery-service-subnet-request.js.map +1 -0
  170. package/lib/request/get-work-request-request.d.ts +26 -0
  171. package/lib/request/get-work-request-request.js +15 -0
  172. package/lib/request/get-work-request-request.js.map +1 -0
  173. package/lib/request/index.d.ts +58 -0
  174. package/lib/request/index.js +47 -0
  175. package/lib/request/index.js.map +1 -0
  176. package/lib/request/list-protected-databases-request.d.ts +76 -0
  177. package/lib/request/list-protected-databases-request.js +24 -0
  178. package/lib/request/list-protected-databases-request.js.map +1 -0
  179. package/lib/request/list-protection-policies-request.d.ts +76 -0
  180. package/lib/request/list-protection-policies-request.js +29 -0
  181. package/lib/request/list-protection-policies-request.js.map +1 -0
  182. package/lib/request/list-recovery-service-subnets-request.d.ts +79 -0
  183. package/lib/request/list-recovery-service-subnets-request.js +24 -0
  184. package/lib/request/list-recovery-service-subnets-request.js.map +1 -0
  185. package/lib/request/list-work-request-errors-request.d.ts +52 -0
  186. package/lib/request/list-work-request-errors-request.js +23 -0
  187. package/lib/request/list-work-request-errors-request.js.map +1 -0
  188. package/lib/request/list-work-request-logs-request.d.ts +52 -0
  189. package/lib/request/list-work-request-logs-request.js +23 -0
  190. package/lib/request/list-work-request-logs-request.js.map +1 -0
  191. package/lib/request/list-work-requests-request.d.ts +64 -0
  192. package/lib/request/list-work-requests-request.js +23 -0
  193. package/lib/request/list-work-requests-request.js.map +1 -0
  194. package/lib/request/update-protected-database-request.d.ts +40 -0
  195. package/lib/request/update-protected-database-request.js +15 -0
  196. package/lib/request/update-protected-database-request.js.map +1 -0
  197. package/lib/request/update-protection-policy-request.d.ts +40 -0
  198. package/lib/request/update-protection-policy-request.js +15 -0
  199. package/lib/request/update-protection-policy-request.js.map +1 -0
  200. package/lib/request/update-recovery-service-subnet-request.d.ts +40 -0
  201. package/lib/request/update-recovery-service-subnet-request.js +15 -0
  202. package/lib/request/update-recovery-service-subnet-request.js.map +1 -0
  203. package/lib/response/change-protected-database-compartment-response.d.ts +25 -0
  204. package/lib/response/change-protected-database-compartment-response.js +15 -0
  205. package/lib/response/change-protected-database-compartment-response.js.map +1 -0
  206. package/lib/response/change-protection-policy-compartment-response.d.ts +25 -0
  207. package/lib/response/change-protection-policy-compartment-response.js +15 -0
  208. package/lib/response/change-protection-policy-compartment-response.js.map +1 -0
  209. package/lib/response/change-recovery-service-subnet-compartment-response.d.ts +25 -0
  210. package/lib/response/change-recovery-service-subnet-compartment-response.js +15 -0
  211. package/lib/response/change-recovery-service-subnet-compartment-response.js.map +1 -0
  212. package/lib/response/create-protected-database-response.d.ts +40 -0
  213. package/lib/response/create-protected-database-response.js +15 -0
  214. package/lib/response/create-protected-database-response.js.map +1 -0
  215. package/lib/response/create-protection-policy-response.d.ts +40 -0
  216. package/lib/response/create-protection-policy-response.js +15 -0
  217. package/lib/response/create-protection-policy-response.js.map +1 -0
  218. package/lib/response/create-recovery-service-subnet-response.d.ts +40 -0
  219. package/lib/response/create-recovery-service-subnet-response.js +15 -0
  220. package/lib/response/create-recovery-service-subnet-response.js.map +1 -0
  221. package/lib/response/delete-protected-database-response.d.ts +25 -0
  222. package/lib/response/delete-protected-database-response.js +15 -0
  223. package/lib/response/delete-protected-database-response.js.map +1 -0
  224. package/lib/response/delete-protection-policy-response.d.ts +25 -0
  225. package/lib/response/delete-protection-policy-response.js +15 -0
  226. package/lib/response/delete-protection-policy-response.js.map +1 -0
  227. package/lib/response/delete-recovery-service-subnet-response.d.ts +25 -0
  228. package/lib/response/delete-recovery-service-subnet-response.js +15 -0
  229. package/lib/response/delete-recovery-service-subnet-response.js.map +1 -0
  230. package/lib/response/fetch-protected-database-configuration-response.d.ts +31 -0
  231. package/lib/response/fetch-protected-database-configuration-response.js +15 -0
  232. package/lib/response/fetch-protected-database-configuration-response.js.map +1 -0
  233. package/lib/response/get-protected-database-response.d.ts +30 -0
  234. package/lib/response/get-protected-database-response.js +15 -0
  235. package/lib/response/get-protected-database-response.js.map +1 -0
  236. package/lib/response/get-protection-policy-response.d.ts +30 -0
  237. package/lib/response/get-protection-policy-response.js +15 -0
  238. package/lib/response/get-protection-policy-response.js.map +1 -0
  239. package/lib/response/get-recovery-service-subnet-response.d.ts +30 -0
  240. package/lib/response/get-recovery-service-subnet-response.js +15 -0
  241. package/lib/response/get-recovery-service-subnet-response.js.map +1 -0
  242. package/lib/response/get-work-request-response.d.ts +29 -0
  243. package/lib/response/get-work-request-response.js +15 -0
  244. package/lib/response/get-work-request-response.js.map +1 -0
  245. package/lib/response/index.d.ts +58 -0
  246. package/lib/response/index.js +15 -0
  247. package/lib/response/index.js.map +1 -0
  248. package/lib/response/list-protected-databases-response.d.ts +32 -0
  249. package/lib/response/list-protected-databases-response.js +15 -0
  250. package/lib/response/list-protected-databases-response.js.map +1 -0
  251. package/lib/response/list-protection-policies-response.d.ts +32 -0
  252. package/lib/response/list-protection-policies-response.js +15 -0
  253. package/lib/response/list-protection-policies-response.js.map +1 -0
  254. package/lib/response/list-recovery-service-subnets-response.d.ts +32 -0
  255. package/lib/response/list-recovery-service-subnets-response.js +15 -0
  256. package/lib/response/list-recovery-service-subnets-response.js.map +1 -0
  257. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  258. package/lib/response/list-work-request-errors-response.js +15 -0
  259. package/lib/response/list-work-request-errors-response.js.map +1 -0
  260. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  261. package/lib/response/list-work-request-logs-response.js +15 -0
  262. package/lib/response/list-work-request-logs-response.js.map +1 -0
  263. package/lib/response/list-work-requests-response.d.ts +32 -0
  264. package/lib/response/list-work-requests-response.js +15 -0
  265. package/lib/response/list-work-requests-response.js.map +1 -0
  266. package/lib/response/update-protected-database-response.d.ts +25 -0
  267. package/lib/response/update-protected-database-response.js +15 -0
  268. package/lib/response/update-protected-database-response.js.map +1 -0
  269. package/lib/response/update-protection-policy-response.d.ts +25 -0
  270. package/lib/response/update-protection-policy-response.js +15 -0
  271. package/lib/response/update-protection-policy-response.js.map +1 -0
  272. package/lib/response/update-recovery-service-subnet-response.d.ts +25 -0
  273. package/lib/response/update-recovery-service-subnet-response.js +15 -0
  274. package/lib/response/update-recovery-service-subnet-response.js.map +1 -0
  275. package/package.json +29 -0
@@ -0,0 +1,290 @@
1
+ /**
2
+ * Oracle Database Autonomous Recovery Service API
3
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
4
+ * OpenAPI spec version: 20210216
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ import * as requests from "./request";
15
+ import * as responses from "./response";
16
+ import { DatabaseRecoveryWaiter } from "./databaserecovery-waiter";
17
+ export declare enum DatabaseRecoveryApiKeys {
18
+ }
19
+ /**
20
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
21
+ */
22
+ export declare class DatabaseRecoveryClient {
23
+ protected static serviceEndpointTemplate: string;
24
+ protected static endpointServiceName: string;
25
+ protected "_endpoint": string;
26
+ protected "_defaultHeaders": any;
27
+ protected "_waiters": DatabaseRecoveryWaiter;
28
+ protected "_clientConfiguration": common.ClientConfiguration;
29
+ protected _circuitBreaker: null;
30
+ protected _httpOptions: any;
31
+ targetService: string;
32
+ protected _httpClient: common.HttpClient;
33
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
34
+ /**
35
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
36
+ */
37
+ get endpoint(): string;
38
+ /**
39
+ * Sets the endpoint to call (ex, https://www.example.com).
40
+ * @param endpoint The endpoint of the service.
41
+ */
42
+ set endpoint(endpoint: string);
43
+ get logger(): import("oci-common/lib/log").Logger;
44
+ /**
45
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
46
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
47
+ * @param region The region of the service.
48
+ */
49
+ set region(region: common.Region);
50
+ /**
51
+ * Sets the regionId to call (ex, 'us-phoenix-1').
52
+ *
53
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
54
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
55
+ * and then call {@link #endpoint(String) endpoint}.
56
+ * @param regionId The public region ID.
57
+ */
58
+ set regionId(regionId: string);
59
+ /**
60
+ * Creates a new DatabaseRecoveryWaiter for resources for this service.
61
+ *
62
+ * @param config The waiter configuration for termination and delay strategy
63
+ * @return The service waiters.
64
+ */
65
+ createWaiters(config?: common.WaiterConfiguration): DatabaseRecoveryWaiter;
66
+ /**
67
+ * Gets the waiters available for resources for this service.
68
+ *
69
+ * @return The service waiters.
70
+ */
71
+ getWaiters(): DatabaseRecoveryWaiter;
72
+ /**
73
+ * Moves a protected database resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.
74
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
75
+ * @param ChangeProtectedDatabaseCompartmentRequest
76
+ * @return ChangeProtectedDatabaseCompartmentResponse
77
+ * @throws OciError when an error occurs
78
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ChangeProtectedDatabaseCompartment.ts.html |here} to see how to use ChangeProtectedDatabaseCompartment API.
79
+ */
80
+ changeProtectedDatabaseCompartment(changeProtectedDatabaseCompartmentRequest: requests.ChangeProtectedDatabaseCompartmentRequest): Promise<responses.ChangeProtectedDatabaseCompartmentResponse>;
81
+ /**
82
+ * Moves a protection policy resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.
83
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
84
+ * @param ChangeProtectionPolicyCompartmentRequest
85
+ * @return ChangeProtectionPolicyCompartmentResponse
86
+ * @throws OciError when an error occurs
87
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ChangeProtectionPolicyCompartment.ts.html |here} to see how to use ChangeProtectionPolicyCompartment API.
88
+ */
89
+ changeProtectionPolicyCompartment(changeProtectionPolicyCompartmentRequest: requests.ChangeProtectionPolicyCompartmentRequest): Promise<responses.ChangeProtectionPolicyCompartmentResponse>;
90
+ /**
91
+ * Moves a recovery service subnet resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.
92
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
93
+ * @param ChangeRecoveryServiceSubnetCompartmentRequest
94
+ * @return ChangeRecoveryServiceSubnetCompartmentResponse
95
+ * @throws OciError when an error occurs
96
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ChangeRecoveryServiceSubnetCompartment.ts.html |here} to see how to use ChangeRecoveryServiceSubnetCompartment API.
97
+ */
98
+ changeRecoveryServiceSubnetCompartment(changeRecoveryServiceSubnetCompartmentRequest: requests.ChangeRecoveryServiceSubnetCompartmentRequest): Promise<responses.ChangeRecoveryServiceSubnetCompartmentResponse>;
99
+ /**
100
+ * Creates a new Protected Database.
101
+ *
102
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
103
+ * @param CreateProtectedDatabaseRequest
104
+ * @return CreateProtectedDatabaseResponse
105
+ * @throws OciError when an error occurs
106
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/CreateProtectedDatabase.ts.html |here} to see how to use CreateProtectedDatabase API.
107
+ */
108
+ createProtectedDatabase(createProtectedDatabaseRequest: requests.CreateProtectedDatabaseRequest): Promise<responses.CreateProtectedDatabaseResponse>;
109
+ /**
110
+ * Creates a new Protection Policy.
111
+ *
112
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
113
+ * @param CreateProtectionPolicyRequest
114
+ * @return CreateProtectionPolicyResponse
115
+ * @throws OciError when an error occurs
116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/CreateProtectionPolicy.ts.html |here} to see how to use CreateProtectionPolicy API.
117
+ */
118
+ createProtectionPolicy(createProtectionPolicyRequest: requests.CreateProtectionPolicyRequest): Promise<responses.CreateProtectionPolicyResponse>;
119
+ /**
120
+ * Creates a new Recovery Service Subnet.
121
+ *
122
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
123
+ * @param CreateRecoveryServiceSubnetRequest
124
+ * @return CreateRecoveryServiceSubnetResponse
125
+ * @throws OciError when an error occurs
126
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/CreateRecoveryServiceSubnet.ts.html |here} to see how to use CreateRecoveryServiceSubnet API.
127
+ */
128
+ createRecoveryServiceSubnet(createRecoveryServiceSubnetRequest: requests.CreateRecoveryServiceSubnetRequest): Promise<responses.CreateRecoveryServiceSubnetResponse>;
129
+ /**
130
+ * Deletes a protected database based on the specified protected database ID.
131
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
132
+ * @param DeleteProtectedDatabaseRequest
133
+ * @return DeleteProtectedDatabaseResponse
134
+ * @throws OciError when an error occurs
135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/DeleteProtectedDatabase.ts.html |here} to see how to use DeleteProtectedDatabase API.
136
+ */
137
+ deleteProtectedDatabase(deleteProtectedDatabaseRequest: requests.DeleteProtectedDatabaseRequest): Promise<responses.DeleteProtectedDatabaseResponse>;
138
+ /**
139
+ * Deletes a specified protection policy. You can delete custom policies only.
140
+ * Deleting a Oracle predefined policies will result in status code 405 Method Not Allowed.
141
+ *
142
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
143
+ * @param DeleteProtectionPolicyRequest
144
+ * @return DeleteProtectionPolicyResponse
145
+ * @throws OciError when an error occurs
146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/DeleteProtectionPolicy.ts.html |here} to see how to use DeleteProtectionPolicy API.
147
+ */
148
+ deleteProtectionPolicy(deleteProtectionPolicyRequest: requests.DeleteProtectionPolicyRequest): Promise<responses.DeleteProtectionPolicyResponse>;
149
+ /**
150
+ * Deletes a specified recovery service subnet.
151
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
152
+ * @param DeleteRecoveryServiceSubnetRequest
153
+ * @return DeleteRecoveryServiceSubnetResponse
154
+ * @throws OciError when an error occurs
155
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/DeleteRecoveryServiceSubnet.ts.html |here} to see how to use DeleteRecoveryServiceSubnet API.
156
+ */
157
+ deleteRecoveryServiceSubnet(deleteRecoveryServiceSubnetRequest: requests.DeleteRecoveryServiceSubnetRequest): Promise<responses.DeleteRecoveryServiceSubnetResponse>;
158
+ /**
159
+ * Downloads the network service configuration file 'tnsnames.ora' for a specified protected database. Applies to user-defined recovery systems only.
160
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
161
+ * @param FetchProtectedDatabaseConfigurationRequest
162
+ * @return FetchProtectedDatabaseConfigurationResponse
163
+ * @throws OciError when an error occurs
164
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/FetchProtectedDatabaseConfiguration.ts.html |here} to see how to use FetchProtectedDatabaseConfiguration API.
165
+ */
166
+ fetchProtectedDatabaseConfiguration(fetchProtectedDatabaseConfigurationRequest: requests.FetchProtectedDatabaseConfigurationRequest): Promise<responses.FetchProtectedDatabaseConfigurationResponse>;
167
+ /**
168
+ * Gets information about a specified protected database.
169
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
170
+ * @param GetProtectedDatabaseRequest
171
+ * @return GetProtectedDatabaseResponse
172
+ * @throws OciError when an error occurs
173
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/GetProtectedDatabase.ts.html |here} to see how to use GetProtectedDatabase API.
174
+ */
175
+ getProtectedDatabase(getProtectedDatabaseRequest: requests.GetProtectedDatabaseRequest): Promise<responses.GetProtectedDatabaseResponse>;
176
+ /**
177
+ * Gets information about a specified protection policy.
178
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
179
+ * @param GetProtectionPolicyRequest
180
+ * @return GetProtectionPolicyResponse
181
+ * @throws OciError when an error occurs
182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/GetProtectionPolicy.ts.html |here} to see how to use GetProtectionPolicy API.
183
+ */
184
+ getProtectionPolicy(getProtectionPolicyRequest: requests.GetProtectionPolicyRequest): Promise<responses.GetProtectionPolicyResponse>;
185
+ /**
186
+ * Gets information about a specified recovery service subnet.
187
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
188
+ * @param GetRecoveryServiceSubnetRequest
189
+ * @return GetRecoveryServiceSubnetResponse
190
+ * @throws OciError when an error occurs
191
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/GetRecoveryServiceSubnet.ts.html |here} to see how to use GetRecoveryServiceSubnet API.
192
+ */
193
+ getRecoveryServiceSubnet(getRecoveryServiceSubnetRequest: requests.GetRecoveryServiceSubnetRequest): Promise<responses.GetRecoveryServiceSubnetResponse>;
194
+ /**
195
+ * Gets the status of the work request based on the specified ID
196
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
197
+ * @param GetWorkRequestRequest
198
+ * @return GetWorkRequestResponse
199
+ * @throws OciError when an error occurs
200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
201
+ */
202
+ getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
203
+ /**
204
+ * Lists the protected databases based on the specified parameters.
205
+ *
206
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
207
+ * @param ListProtectedDatabasesRequest
208
+ * @return ListProtectedDatabasesResponse
209
+ * @throws OciError when an error occurs
210
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListProtectedDatabases.ts.html |here} to see how to use ListProtectedDatabases API.
211
+ */
212
+ listProtectedDatabases(listProtectedDatabasesRequest: requests.ListProtectedDatabasesRequest): Promise<responses.ListProtectedDatabasesResponse>;
213
+ /**
214
+ * Gets a list of protection policies based on the specified parameters.
215
+ *
216
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
217
+ * @param ListProtectionPoliciesRequest
218
+ * @return ListProtectionPoliciesResponse
219
+ * @throws OciError when an error occurs
220
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListProtectionPolicies.ts.html |here} to see how to use ListProtectionPolicies API.
221
+ */
222
+ listProtectionPolicies(listProtectionPoliciesRequest: requests.ListProtectionPoliciesRequest): Promise<responses.ListProtectionPoliciesResponse>;
223
+ /**
224
+ * Returns a list of Recovery Service Subnets.
225
+ *
226
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
227
+ * @param ListRecoveryServiceSubnetsRequest
228
+ * @return ListRecoveryServiceSubnetsResponse
229
+ * @throws OciError when an error occurs
230
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListRecoveryServiceSubnets.ts.html |here} to see how to use ListRecoveryServiceSubnets API.
231
+ */
232
+ listRecoveryServiceSubnets(listRecoveryServiceSubnetsRequest: requests.ListRecoveryServiceSubnetsRequest): Promise<responses.ListRecoveryServiceSubnetsResponse>;
233
+ /**
234
+ * Return a (paginated) list of errors for a given work request.
235
+ *
236
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
237
+ * @param ListWorkRequestErrorsRequest
238
+ * @return ListWorkRequestErrorsResponse
239
+ * @throws OciError when an error occurs
240
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
241
+ */
242
+ listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
243
+ /**
244
+ * Return a (paginated) list of logs for a given work request.
245
+ *
246
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
247
+ * @param ListWorkRequestLogsRequest
248
+ * @return ListWorkRequestLogsResponse
249
+ * @throws OciError when an error occurs
250
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
251
+ */
252
+ listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
253
+ /**
254
+ * Lists the work requests in a compartment.
255
+ *
256
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
257
+ * @param ListWorkRequestsRequest
258
+ * @return ListWorkRequestsResponse
259
+ * @throws OciError when an error occurs
260
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
261
+ */
262
+ listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
263
+ /**
264
+ * Updates the Protected Database
265
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
266
+ * @param UpdateProtectedDatabaseRequest
267
+ * @return UpdateProtectedDatabaseResponse
268
+ * @throws OciError when an error occurs
269
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/UpdateProtectedDatabase.ts.html |here} to see how to use UpdateProtectedDatabase API.
270
+ */
271
+ updateProtectedDatabase(updateProtectedDatabaseRequest: requests.UpdateProtectedDatabaseRequest): Promise<responses.UpdateProtectedDatabaseResponse>;
272
+ /**
273
+ * Updates the specified protection policy.
274
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
275
+ * @param UpdateProtectionPolicyRequest
276
+ * @return UpdateProtectionPolicyResponse
277
+ * @throws OciError when an error occurs
278
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/UpdateProtectionPolicy.ts.html |here} to see how to use UpdateProtectionPolicy API.
279
+ */
280
+ updateProtectionPolicy(updateProtectionPolicyRequest: requests.UpdateProtectionPolicyRequest): Promise<responses.UpdateProtectionPolicyResponse>;
281
+ /**
282
+ * Updates the specified recovery service subnet.
283
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
284
+ * @param UpdateRecoveryServiceSubnetRequest
285
+ * @return UpdateRecoveryServiceSubnetResponse
286
+ * @throws OciError when an error occurs
287
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/recovery/UpdateRecoveryServiceSubnet.ts.html |here} to see how to use UpdateRecoveryServiceSubnet API.
288
+ */
289
+ updateRecoveryServiceSubnet(updateRecoveryServiceSubnetRequest: requests.UpdateRecoveryServiceSubnetRequest): Promise<responses.UpdateRecoveryServiceSubnetResponse>;
290
+ }