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,111 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdateRecoveryServiceSubnetDetails = exports.UpdateProtectionPolicyDetails = exports.UpdateProtectedDatabaseDetails = exports.SortOrder = exports.RecoveryServiceSubnetSummary = exports.RecoveryServiceSubnetInput = exports.RecoveryServiceSubnetDetails = exports.RecoveryServiceSubnetCollection = exports.RecoveryServiceSubnet = exports.ProtectionPolicySummary = exports.ProtectionPolicyCollection = exports.ProtectionPolicy = exports.ProtectedDatabaseSummary = exports.ProtectedDatabaseCollection = exports.ProtectedDatabase = exports.OperationType = exports.OperationStatus = exports.MetricsSummary = exports.Metrics = exports.LifecycleState = exports.Health = exports.FetchProtectedDatabaseConfigurationDetails = exports.DatabaseSizes = exports.CreateRecoveryServiceSubnetDetails = exports.CreateProtectionPolicyDetails = exports.CreateProtectedDatabaseDetails = exports.ChangeRecoveryServiceSubnetCompartmentDetails = exports.ChangeProtectionPolicyCompartmentDetails = exports.ChangeProtectedDatabaseCompartmentDetails = exports.ActionType = void 0;
35
+ const ActionType = __importStar(require("./action-type"));
36
+ exports.ActionType = ActionType.ActionType;
37
+ const ChangeProtectedDatabaseCompartmentDetails = __importStar(require("./change-protected-database-compartment-details"));
38
+ exports.ChangeProtectedDatabaseCompartmentDetails = ChangeProtectedDatabaseCompartmentDetails.ChangeProtectedDatabaseCompartmentDetails;
39
+ const ChangeProtectionPolicyCompartmentDetails = __importStar(require("./change-protection-policy-compartment-details"));
40
+ exports.ChangeProtectionPolicyCompartmentDetails = ChangeProtectionPolicyCompartmentDetails.ChangeProtectionPolicyCompartmentDetails;
41
+ const ChangeRecoveryServiceSubnetCompartmentDetails = __importStar(require("./change-recovery-service-subnet-compartment-details"));
42
+ exports.ChangeRecoveryServiceSubnetCompartmentDetails = ChangeRecoveryServiceSubnetCompartmentDetails.ChangeRecoveryServiceSubnetCompartmentDetails;
43
+ const CreateProtectedDatabaseDetails = __importStar(require("./create-protected-database-details"));
44
+ exports.CreateProtectedDatabaseDetails = CreateProtectedDatabaseDetails.CreateProtectedDatabaseDetails;
45
+ const CreateProtectionPolicyDetails = __importStar(require("./create-protection-policy-details"));
46
+ exports.CreateProtectionPolicyDetails = CreateProtectionPolicyDetails.CreateProtectionPolicyDetails;
47
+ const CreateRecoveryServiceSubnetDetails = __importStar(require("./create-recovery-service-subnet-details"));
48
+ exports.CreateRecoveryServiceSubnetDetails = CreateRecoveryServiceSubnetDetails.CreateRecoveryServiceSubnetDetails;
49
+ const DatabaseSizes = __importStar(require("./database-sizes"));
50
+ exports.DatabaseSizes = DatabaseSizes.DatabaseSizes;
51
+ const FetchProtectedDatabaseConfigurationDetails = __importStar(require("./fetch-protected-database-configuration-details"));
52
+ exports.FetchProtectedDatabaseConfigurationDetails = FetchProtectedDatabaseConfigurationDetails.FetchProtectedDatabaseConfigurationDetails;
53
+ const Health = __importStar(require("./health"));
54
+ exports.Health = Health.Health;
55
+ const LifecycleState = __importStar(require("./lifecycle-state"));
56
+ exports.LifecycleState = LifecycleState.LifecycleState;
57
+ const Metrics = __importStar(require("./metrics"));
58
+ exports.Metrics = Metrics.Metrics;
59
+ const MetricsSummary = __importStar(require("./metrics-summary"));
60
+ exports.MetricsSummary = MetricsSummary.MetricsSummary;
61
+ const OperationStatus = __importStar(require("./operation-status"));
62
+ exports.OperationStatus = OperationStatus.OperationStatus;
63
+ const OperationType = __importStar(require("./operation-type"));
64
+ exports.OperationType = OperationType.OperationType;
65
+ const ProtectedDatabase = __importStar(require("./protected-database"));
66
+ exports.ProtectedDatabase = ProtectedDatabase.ProtectedDatabase;
67
+ const ProtectedDatabaseCollection = __importStar(require("./protected-database-collection"));
68
+ exports.ProtectedDatabaseCollection = ProtectedDatabaseCollection.ProtectedDatabaseCollection;
69
+ const ProtectedDatabaseSummary = __importStar(require("./protected-database-summary"));
70
+ exports.ProtectedDatabaseSummary = ProtectedDatabaseSummary.ProtectedDatabaseSummary;
71
+ const ProtectionPolicy = __importStar(require("./protection-policy"));
72
+ exports.ProtectionPolicy = ProtectionPolicy.ProtectionPolicy;
73
+ const ProtectionPolicyCollection = __importStar(require("./protection-policy-collection"));
74
+ exports.ProtectionPolicyCollection = ProtectionPolicyCollection.ProtectionPolicyCollection;
75
+ const ProtectionPolicySummary = __importStar(require("./protection-policy-summary"));
76
+ exports.ProtectionPolicySummary = ProtectionPolicySummary.ProtectionPolicySummary;
77
+ const RecoveryServiceSubnet = __importStar(require("./recovery-service-subnet"));
78
+ exports.RecoveryServiceSubnet = RecoveryServiceSubnet.RecoveryServiceSubnet;
79
+ const RecoveryServiceSubnetCollection = __importStar(require("./recovery-service-subnet-collection"));
80
+ exports.RecoveryServiceSubnetCollection = RecoveryServiceSubnetCollection.RecoveryServiceSubnetCollection;
81
+ const RecoveryServiceSubnetDetails = __importStar(require("./recovery-service-subnet-details"));
82
+ exports.RecoveryServiceSubnetDetails = RecoveryServiceSubnetDetails.RecoveryServiceSubnetDetails;
83
+ const RecoveryServiceSubnetInput = __importStar(require("./recovery-service-subnet-input"));
84
+ exports.RecoveryServiceSubnetInput = RecoveryServiceSubnetInput.RecoveryServiceSubnetInput;
85
+ const RecoveryServiceSubnetSummary = __importStar(require("./recovery-service-subnet-summary"));
86
+ exports.RecoveryServiceSubnetSummary = RecoveryServiceSubnetSummary.RecoveryServiceSubnetSummary;
87
+ const SortOrder = __importStar(require("./sort-order"));
88
+ exports.SortOrder = SortOrder.SortOrder;
89
+ const UpdateProtectedDatabaseDetails = __importStar(require("./update-protected-database-details"));
90
+ exports.UpdateProtectedDatabaseDetails = UpdateProtectedDatabaseDetails.UpdateProtectedDatabaseDetails;
91
+ const UpdateProtectionPolicyDetails = __importStar(require("./update-protection-policy-details"));
92
+ exports.UpdateProtectionPolicyDetails = UpdateProtectionPolicyDetails.UpdateProtectionPolicyDetails;
93
+ const UpdateRecoveryServiceSubnetDetails = __importStar(require("./update-recovery-service-subnet-details"));
94
+ exports.UpdateRecoveryServiceSubnetDetails = UpdateRecoveryServiceSubnetDetails.UpdateRecoveryServiceSubnetDetails;
95
+ const WorkRequest = __importStar(require("./work-request"));
96
+ exports.WorkRequest = WorkRequest.WorkRequest;
97
+ const WorkRequestError = __importStar(require("./work-request-error"));
98
+ exports.WorkRequestError = WorkRequestError.WorkRequestError;
99
+ const WorkRequestErrorCollection = __importStar(require("./work-request-error-collection"));
100
+ exports.WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
101
+ const WorkRequestLogEntry = __importStar(require("./work-request-log-entry"));
102
+ exports.WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
103
+ const WorkRequestLogEntryCollection = __importStar(require("./work-request-log-entry-collection"));
104
+ exports.WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
105
+ const WorkRequestResource = __importStar(require("./work-request-resource"));
106
+ exports.WorkRequestResource = WorkRequestResource.WorkRequestResource;
107
+ const WorkRequestSummary = __importStar(require("./work-request-summary"));
108
+ exports.WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
109
+ const WorkRequestSummaryCollection = __importStar(require("./work-request-summary-collection"));
110
+ exports.WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
111
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,2HAA6G;AAC/F,QAAA,yCAAyC,GAAG,yCAAyC,CAAC,yCAAyC,CAAC;AAC9I,yHAA2G;AAC7F,QAAA,wCAAwC,GAAG,wCAAwC,CAAC,wCAAwC,CAAC;AAC3I,oIAAsH;AACxG,QAAA,6CAA6C,GAAG,6CAA6C,CAAC,6CAA6C,CAAC;AAC1J,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6GAA+F;AACjF,QAAA,kCAAkC,GAAG,kCAAkC,CAAC,kCAAkC,CAAC;AACzH,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,6HAA+G;AACjG,QAAA,0CAA0C,GAAG,0CAA0C,CAAC,0CAA0C,CAAC;AACjJ,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,6FAA+E;AACjE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,2FAA6E;AAC/D,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,qFAAuE;AACzD,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6GAA+F;AACjF,QAAA,kCAAkC,GAAG,kCAAkC,CAAC,kCAAkC,CAAC;AACzH,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,8EAAgE;AAClD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC"}
@@ -0,0 +1,32 @@
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
+ /**
14
+ * The current state of the Resource.
15
+ **/
16
+ export declare enum LifecycleState {
17
+ Creating = "CREATING",
18
+ Updating = "UPDATING",
19
+ Active = "ACTIVE",
20
+ Deleting = "DELETING",
21
+ Deleted = "DELETED",
22
+ Failed = "FAILED",
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ UnknownValue = "UNKNOWN_VALUE"
28
+ }
29
+ export declare namespace LifecycleState {
30
+ function getJsonObj(obj: LifecycleState): LifecycleState;
31
+ function getDeserializedJsonObj(obj: LifecycleState): LifecycleState;
32
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.LifecycleState = void 0;
16
+ /**
17
+ * The current state of the Resource.
18
+ **/
19
+ var LifecycleState;
20
+ (function (LifecycleState) {
21
+ LifecycleState["Creating"] = "CREATING";
22
+ LifecycleState["Updating"] = "UPDATING";
23
+ LifecycleState["Active"] = "ACTIVE";
24
+ LifecycleState["Deleting"] = "DELETING";
25
+ LifecycleState["Deleted"] = "DELETED";
26
+ LifecycleState["Failed"] = "FAILED";
27
+ /**
28
+ * This value is used if a service returns a value for this enum that is not recognized by this
29
+ * version of the SDK.
30
+ */
31
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
32
+ })(LifecycleState = exports.LifecycleState || (exports.LifecycleState = {}));
33
+ (function (LifecycleState) {
34
+ function getJsonObj(obj) {
35
+ return obj;
36
+ }
37
+ LifecycleState.getJsonObj = getJsonObj;
38
+ function getDeserializedJsonObj(obj) {
39
+ return obj;
40
+ }
41
+ LifecycleState.getDeserializedJsonObj = getDeserializedJsonObj;
42
+ })(LifecycleState = exports.LifecycleState || (exports.LifecycleState = {}));
43
+ //# sourceMappingURL=lifecycle-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle-state.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/lifecycle-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,cAaX;AAbD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IAEjB;;;OAGG;IACH,gDAA8B,CAAA;AAChC,CAAC,EAbW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAazB;AAED,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAO9B"}
@@ -0,0 +1,53 @@
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
+ /**
14
+ * Backup performance and storage utilization metrics for the Protected Database.
15
+ */
16
+ export interface MetricsSummary {
17
+ /**
18
+ * Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
19
+ */
20
+ "backupSpaceUsedInGBs"?: number;
21
+ /**
22
+ * The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "backupSpaceEstimateInGBs"?: number;
25
+ /**
26
+ * This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.
27
+ * This is the time we received the last backup or last redo-log shipped.
28
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
29
+ */
30
+ "unprotectedWindowInSeconds"?: number;
31
+ /**
32
+ * The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
33
+ */
34
+ "dbSizeInGBs"?: number;
35
+ /**
36
+ * The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
37
+ * Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
38
+ *
39
+ */
40
+ "isRedoLogsEnabled"?: boolean;
41
+ /**
42
+ * The maximum number of days to retain backups for a protected database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
43
+ */
44
+ "retentionPeriodInDays"?: number;
45
+ /**
46
+ * Number of seconds backups are currently retained for this database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
47
+ */
48
+ "currentRetentionPeriodInSeconds"?: number;
49
+ }
50
+ export declare namespace MetricsSummary {
51
+ function getJsonObj(obj: MetricsSummary): object;
52
+ function getDeserializedJsonObj(obj: MetricsSummary): object;
53
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.MetricsSummary = void 0;
16
+ var MetricsSummary;
17
+ (function (MetricsSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ MetricsSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ MetricsSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(MetricsSummary = exports.MetricsSummary || (exports.MetricsSummary = {}));
29
+ //# sourceMappingURL=metrics-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metrics-summary.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/metrics-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
@@ -0,0 +1,53 @@
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
+ /**
14
+ * Backup performance and storage utilization metrics for the protected database.
15
+ */
16
+ export interface Metrics {
17
+ /**
18
+ * Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
19
+ */
20
+ "backupSpaceUsedInGBs"?: number;
21
+ /**
22
+ * The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "backupSpaceEstimateInGBs"?: number;
25
+ /**
26
+ * This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.
27
+ * This is the time we received the last backup or last redo-log shipped.
28
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
29
+ */
30
+ "unprotectedWindowInSeconds"?: number;
31
+ /**
32
+ * The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
33
+ */
34
+ "dbSizeInGBs"?: number;
35
+ /**
36
+ * The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
37
+ * Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
38
+ *
39
+ */
40
+ "isRedoLogsEnabled"?: boolean;
41
+ /**
42
+ * The maximum number of days to retain backups for a protected database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
43
+ */
44
+ "retentionPeriodInDays"?: number;
45
+ /**
46
+ * Number of seconds backups are currently retained for this database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
47
+ */
48
+ "currentRetentionPeriodInSeconds"?: number;
49
+ }
50
+ export declare namespace Metrics {
51
+ function getJsonObj(obj: Metrics): object;
52
+ function getDeserializedJsonObj(obj: Metrics): object;
53
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Metrics = void 0;
16
+ var Metrics;
17
+ (function (Metrics) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ Metrics.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ Metrics.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(Metrics = exports.Metrics || (exports.Metrics = {}));
29
+ //# sourceMappingURL=metrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/metrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAWvB"}
@@ -0,0 +1,32 @@
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
+ /**
14
+ * Possible operation status.
15
+ **/
16
+ export declare enum OperationStatus {
17
+ Accepted = "ACCEPTED",
18
+ InProgress = "IN_PROGRESS",
19
+ Failed = "FAILED",
20
+ Succeeded = "SUCCEEDED",
21
+ Canceling = "CANCELING",
22
+ Canceled = "CANCELED",
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ UnknownValue = "UNKNOWN_VALUE"
28
+ }
29
+ export declare namespace OperationStatus {
30
+ function getJsonObj(obj: OperationStatus): OperationStatus;
31
+ function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
32
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OperationStatus = void 0;
16
+ /**
17
+ * Possible operation status.
18
+ **/
19
+ var OperationStatus;
20
+ (function (OperationStatus) {
21
+ OperationStatus["Accepted"] = "ACCEPTED";
22
+ OperationStatus["InProgress"] = "IN_PROGRESS";
23
+ OperationStatus["Failed"] = "FAILED";
24
+ OperationStatus["Succeeded"] = "SUCCEEDED";
25
+ OperationStatus["Canceling"] = "CANCELING";
26
+ OperationStatus["Canceled"] = "CANCELED";
27
+ /**
28
+ * This value is used if a service returns a value for this enum that is not recognized by this
29
+ * version of the SDK.
30
+ */
31
+ OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
32
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
33
+ (function (OperationStatus) {
34
+ function getJsonObj(obj) {
35
+ return obj;
36
+ }
37
+ OperationStatus.getJsonObj = getJsonObj;
38
+ function getDeserializedJsonObj(obj) {
39
+ return obj;
40
+ }
41
+ OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
42
+ })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
43
+ //# sourceMappingURL=operation-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAaX;AAbD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAbW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAa1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
@@ -0,0 +1,38 @@
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
+ /**
14
+ * The type of work request.
15
+ **/
16
+ export declare enum OperationType {
17
+ CreateProtectedDatabase = "CREATE_PROTECTED_DATABASE",
18
+ UpdateProtectedDatabase = "UPDATE_PROTECTED_DATABASE",
19
+ DeleteProtectedDatabase = "DELETE_PROTECTED_DATABASE",
20
+ MoveProtectedDatabase = "MOVE_PROTECTED_DATABASE",
21
+ CreateProtectionPolicy = "CREATE_PROTECTION_POLICY",
22
+ UpdateProtectionPolicy = "UPDATE_PROTECTION_POLICY",
23
+ DeleteProtectionPolicy = "DELETE_PROTECTION_POLICY",
24
+ MoveProtectionPolicy = "MOVE_PROTECTION_POLICY",
25
+ CreateRecoveryServiceSubnet = "CREATE_RECOVERY_SERVICE_SUBNET",
26
+ UpdateRecoveryServiceSubnet = "UPDATE_RECOVERY_SERVICE_SUBNET",
27
+ DeleteRecoveryServiceSubnet = "DELETE_RECOVERY_SERVICE_SUBNET",
28
+ MoveRecoveryServiceSubnet = "MOVE_RECOVERY_SERVICE_SUBNET",
29
+ /**
30
+ * This value is used if a service returns a value for this enum that is not recognized by this
31
+ * version of the SDK.
32
+ */
33
+ UnknownValue = "UNKNOWN_VALUE"
34
+ }
35
+ export declare namespace OperationType {
36
+ function getJsonObj(obj: OperationType): OperationType;
37
+ function getDeserializedJsonObj(obj: OperationType): OperationType;
38
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.OperationType = void 0;
16
+ /**
17
+ * The type of work request.
18
+ **/
19
+ var OperationType;
20
+ (function (OperationType) {
21
+ OperationType["CreateProtectedDatabase"] = "CREATE_PROTECTED_DATABASE";
22
+ OperationType["UpdateProtectedDatabase"] = "UPDATE_PROTECTED_DATABASE";
23
+ OperationType["DeleteProtectedDatabase"] = "DELETE_PROTECTED_DATABASE";
24
+ OperationType["MoveProtectedDatabase"] = "MOVE_PROTECTED_DATABASE";
25
+ OperationType["CreateProtectionPolicy"] = "CREATE_PROTECTION_POLICY";
26
+ OperationType["UpdateProtectionPolicy"] = "UPDATE_PROTECTION_POLICY";
27
+ OperationType["DeleteProtectionPolicy"] = "DELETE_PROTECTION_POLICY";
28
+ OperationType["MoveProtectionPolicy"] = "MOVE_PROTECTION_POLICY";
29
+ OperationType["CreateRecoveryServiceSubnet"] = "CREATE_RECOVERY_SERVICE_SUBNET";
30
+ OperationType["UpdateRecoveryServiceSubnet"] = "UPDATE_RECOVERY_SERVICE_SUBNET";
31
+ OperationType["DeleteRecoveryServiceSubnet"] = "DELETE_RECOVERY_SERVICE_SUBNET";
32
+ OperationType["MoveRecoveryServiceSubnet"] = "MOVE_RECOVERY_SERVICE_SUBNET";
33
+ /**
34
+ * This value is used if a service returns a value for this enum that is not recognized by this
35
+ * version of the SDK.
36
+ */
37
+ OperationType["UnknownValue"] = "UNKNOWN_VALUE";
38
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
39
+ (function (OperationType) {
40
+ function getJsonObj(obj) {
41
+ return obj;
42
+ }
43
+ OperationType.getJsonObj = getJsonObj;
44
+ function getDeserializedJsonObj(obj) {
45
+ return obj;
46
+ }
47
+ OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
48
+ })(OperationType = exports.OperationType || (exports.OperationType = {}));
49
+ //# sourceMappingURL=operation-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAmBX;AAnBD,WAAY,aAAa;IACvB,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,kEAAiD,CAAA;IACjD,oEAAmD,CAAA;IACnD,oEAAmD,CAAA;IACnD,oEAAmD,CAAA;IACnD,gEAA+C,CAAA;IAC/C,+EAA8D,CAAA;IAC9D,+EAA8D,CAAA;IAC9D,+EAA8D,CAAA;IAC9D,2EAA0D,CAAA;IAE1D;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAnBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAmBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
@@ -0,0 +1,26 @@
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 * as model from "../model";
14
+ /**
15
+ * Results of a protected database search operation. The results contain protected database summary and metadata information.
16
+ */
17
+ export interface ProtectedDatabaseCollection {
18
+ /**
19
+ * List of protected databases.
20
+ */
21
+ "items": Array<model.ProtectedDatabaseSummary>;
22
+ }
23
+ export declare namespace ProtectedDatabaseCollection {
24
+ function getJsonObj(obj: ProtectedDatabaseCollection): object;
25
+ function getDeserializedJsonObj(obj: ProtectedDatabaseCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Oracle Database Autonomous Recovery Service API
4
+ * Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
5
+ * OpenAPI spec version: 20210216
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ProtectedDatabaseCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ProtectedDatabaseCollection;
37
+ (function (ProtectedDatabaseCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ProtectedDatabaseSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ProtectedDatabaseCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.ProtectedDatabaseSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ProtectedDatabaseCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ProtectedDatabaseCollection = exports.ProtectedDatabaseCollection || (exports.ProtectedDatabaseCollection = {}));
61
+ //# sourceMappingURL=protected-database-collection.js.map