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,97 @@
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
+ * The details of a protection policy.A policy defines the exact number of days to retain protected database backups created by Recovery Service.
16
+ * Each protected database must be associated with one protection policy. You can use Oracle-defined protection policies or create custom policies to suit your internal backup storage regulation demands.
17
+ *
18
+ */
19
+ export interface ProtectionPolicy {
20
+ /**
21
+ * The protection policy OCID.
22
+ */
23
+ "id": string;
24
+ /**
25
+ * A user provided name for the protection policy.
26
+ */
27
+ "displayName"?: string;
28
+ /**
29
+ * The OCID of the compartment that contains the protection policy.
30
+ */
31
+ "compartmentId": string;
32
+ /**
33
+ * The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
34
+ */
35
+ "backupRetentionPeriodInDays": number;
36
+ /**
37
+ * Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
38
+ */
39
+ "isPredefinedPolicy": boolean;
40
+ /**
41
+ * An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
42
+ *
43
+ */
44
+ "timeCreated"?: Date;
45
+ /**
46
+ * An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
47
+ *
48
+ */
49
+ "timeUpdated"?: Date;
50
+ /**
51
+ * The current state of the protection policy. Allowed values are:
52
+ * - CREATING
53
+ * - UPDATING
54
+ * - ACTIVE
55
+ * - DELETING
56
+ * - DELETED
57
+ * - FAILED
58
+ *
59
+ */
60
+ "lifecycleState"?: model.LifecycleState;
61
+ /**
62
+ * Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
63
+ */
64
+ "lifecycleDetails"?: string;
65
+ /**
66
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
67
+ * Example: `{\"bar-key\": \"value\"}`
68
+ *
69
+ */
70
+ "freeformTags"?: {
71
+ [key: string]: string;
72
+ };
73
+ /**
74
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
75
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
76
+ *
77
+ */
78
+ "definedTags"?: {
79
+ [key: string]: {
80
+ [key: string]: any;
81
+ };
82
+ };
83
+ /**
84
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
85
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
86
+ *
87
+ */
88
+ "systemTags"?: {
89
+ [key: string]: {
90
+ [key: string]: any;
91
+ };
92
+ };
93
+ }
94
+ export declare namespace ProtectionPolicy {
95
+ function getJsonObj(obj: ProtectionPolicy): object;
96
+ function getDeserializedJsonObj(obj: ProtectionPolicy): object;
97
+ }
@@ -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.ProtectionPolicy = void 0;
16
+ var ProtectionPolicy;
17
+ (function (ProtectionPolicy) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ProtectionPolicy.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ProtectionPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ProtectionPolicy = exports.ProtectionPolicy || (exports.ProtectionPolicy = {}));
29
+ //# sourceMappingURL=protection-policy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protection-policy.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protection-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA4EH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
@@ -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 recovery service subnet search operation. The results contain recovery service subnet summary and metadata information.
16
+ */
17
+ export interface RecoveryServiceSubnetCollection {
18
+ /**
19
+ * List of recovery service subnet resources.
20
+ */
21
+ "items": Array<model.RecoveryServiceSubnetSummary>;
22
+ }
23
+ export declare namespace RecoveryServiceSubnetCollection {
24
+ function getJsonObj(obj: RecoveryServiceSubnetCollection): object;
25
+ function getDeserializedJsonObj(obj: RecoveryServiceSubnetCollection): 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.RecoveryServiceSubnetCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RecoveryServiceSubnetCollection;
37
+ (function (RecoveryServiceSubnetCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.RecoveryServiceSubnetSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ RecoveryServiceSubnetCollection.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.RecoveryServiceSubnetSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ RecoveryServiceSubnetCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(RecoveryServiceSubnetCollection = exports.RecoveryServiceSubnetCollection || (exports.RecoveryServiceSubnetCollection = {}));
61
+ //# sourceMappingURL=recovery-service-subnet-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recovery-service-subnet-collection.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/recovery-service-subnet-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,+BAA+B,CA6B/C;AA7BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA6B/C"}
@@ -0,0 +1,30 @@
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
+ * Details of the Recovery Service Subnet.
16
+ */
17
+ export interface RecoveryServiceSubnetDetails {
18
+ /**
19
+ * Recovery Service Subnet Identifier.
20
+ */
21
+ "recoveryServiceSubnetId": string;
22
+ /**
23
+ * The current state of the Recovery Service Subnet.
24
+ */
25
+ "lifecycleState"?: model.LifecycleState;
26
+ }
27
+ export declare namespace RecoveryServiceSubnetDetails {
28
+ function getJsonObj(obj: RecoveryServiceSubnetDetails): object;
29
+ function getDeserializedJsonObj(obj: RecoveryServiceSubnetDetails): object;
30
+ }
@@ -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.RecoveryServiceSubnetDetails = void 0;
16
+ var RecoveryServiceSubnetDetails;
17
+ (function (RecoveryServiceSubnetDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RecoveryServiceSubnetDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RecoveryServiceSubnetDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RecoveryServiceSubnetDetails = exports.RecoveryServiceSubnetDetails || (exports.RecoveryServiceSubnetDetails = {}));
29
+ //# sourceMappingURL=recovery-service-subnet-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recovery-service-subnet-details.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/recovery-service-subnet-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAW5C"}
@@ -0,0 +1,25 @@
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
+ * Parameters to retrieve information about a specific recovery service subnet.
15
+ */
16
+ export interface RecoveryServiceSubnetInput {
17
+ /**
18
+ * The recovery service subnet OCID.
19
+ */
20
+ "recoveryServiceSubnetId": string;
21
+ }
22
+ export declare namespace RecoveryServiceSubnetInput {
23
+ function getJsonObj(obj: RecoveryServiceSubnetInput): object;
24
+ function getDeserializedJsonObj(obj: RecoveryServiceSubnetInput): object;
25
+ }
@@ -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.RecoveryServiceSubnetInput = void 0;
16
+ var RecoveryServiceSubnetInput;
17
+ (function (RecoveryServiceSubnetInput) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RecoveryServiceSubnetInput.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RecoveryServiceSubnetInput.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RecoveryServiceSubnetInput = exports.RecoveryServiceSubnetInput || (exports.RecoveryServiceSubnetInput = {}));
29
+ //# sourceMappingURL=recovery-service-subnet-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recovery-service-subnet-input.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/recovery-service-subnet-input.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
@@ -0,0 +1,101 @@
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
+ * Each Recovery Service subnet uses a single private endpoint on a subnet of your choice within a VCN.
16
+ * The private endpoint need not be on the same subnet as the Oracle Cloud Database, although, it must be on a subnet that can communicate with the Oracle Cloud Database.
17
+ * To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator.
18
+ * If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
19
+ * For information about access control and compartments, see [Overview of the Identity Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
20
+ *
21
+ */
22
+ export interface RecoveryServiceSubnetSummary {
23
+ /**
24
+ * The recovery service subnet OCID.
25
+ */
26
+ "id": string;
27
+ /**
28
+ * A user-provided name for the recovery service subnet.
29
+ */
30
+ "displayName"?: string;
31
+ /**
32
+ * The compartment OCID.
33
+ */
34
+ "compartmentId": string;
35
+ /**
36
+ * The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. You can create a single recovery service subnet per VCN.
37
+ */
38
+ "vcnId": string;
39
+ /**
40
+ * The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
41
+ */
42
+ "subnetId": string;
43
+ /**
44
+ * An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
45
+ *
46
+ */
47
+ "timeCreated"?: Date;
48
+ /**
49
+ * An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
50
+ *
51
+ */
52
+ "timeUpdated"?: Date;
53
+ /**
54
+ * The current state of the recovery service subnet.
55
+ * Allowed values are:
56
+ * - CREATING
57
+ * - UPDATING
58
+ * - ACTIVE
59
+ * - DELETING
60
+ * - DELETED
61
+ * - FAILED
62
+ *
63
+ */
64
+ "lifecycleState"?: model.LifecycleState;
65
+ /**
66
+ * Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
67
+ */
68
+ "lifecycleDetails"?: string;
69
+ /**
70
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
71
+ * Example: `{\"bar-key\": \"value\"}`
72
+ *
73
+ */
74
+ "freeformTags"?: {
75
+ [key: string]: string;
76
+ };
77
+ /**
78
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
79
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
80
+ *
81
+ */
82
+ "definedTags"?: {
83
+ [key: string]: {
84
+ [key: string]: any;
85
+ };
86
+ };
87
+ /**
88
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
89
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
90
+ *
91
+ */
92
+ "systemTags"?: {
93
+ [key: string]: {
94
+ [key: string]: any;
95
+ };
96
+ };
97
+ }
98
+ export declare namespace RecoveryServiceSubnetSummary {
99
+ function getJsonObj(obj: RecoveryServiceSubnetSummary): object;
100
+ function getDeserializedJsonObj(obj: RecoveryServiceSubnetSummary): object;
101
+ }
@@ -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.RecoveryServiceSubnetSummary = void 0;
16
+ var RecoveryServiceSubnetSummary;
17
+ (function (RecoveryServiceSubnetSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RecoveryServiceSubnetSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RecoveryServiceSubnetSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RecoveryServiceSubnetSummary = exports.RecoveryServiceSubnetSummary || (exports.RecoveryServiceSubnetSummary = {}));
29
+ //# sourceMappingURL=recovery-service-subnet-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recovery-service-subnet-summary.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/recovery-service-subnet-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAgFH,IAAiB,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAW5C"}
@@ -0,0 +1,99 @@
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
+ * The details of a recovery service subnet.
16
+ * Recovery service subnets allows Recovery Service to access protected databases in each VCN.
17
+ * Each recovery service subnet uses a single private endpoint on a subnet of your choice within a VCN. The private endpoint need not be on the same subnet as the Oracle Cloud Database, although, it must be on a subnet that can communicate with the Oracle Cloud Database.
18
+ *
19
+ */
20
+ export interface RecoveryServiceSubnet {
21
+ /**
22
+ * The recovery service subnet OCID.
23
+ */
24
+ "id": string;
25
+ /**
26
+ * A user-provided name for the recovery service subnet.
27
+ */
28
+ "displayName"?: string;
29
+ /**
30
+ * The compartment OCID.
31
+ */
32
+ "compartmentId": string;
33
+ /**
34
+ * VCN Identifier.
35
+ */
36
+ "vcnId": string;
37
+ /**
38
+ * The OCID of the subnet used as the recovery service subnet.
39
+ */
40
+ "subnetId": string;
41
+ /**
42
+ * An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
43
+ *
44
+ */
45
+ "timeCreated"?: Date;
46
+ /**
47
+ * An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
48
+ *
49
+ */
50
+ "timeUpdated"?: Date;
51
+ /**
52
+ * The current state of the recovery service subnet.
53
+ * Allowed values are:
54
+ * - CREATING
55
+ * - UPDATING
56
+ * - ACTIVE
57
+ * - DELETING
58
+ * - DELETED
59
+ * - FAILED
60
+ *
61
+ */
62
+ "lifecycleState"?: model.LifecycleState;
63
+ /**
64
+ * Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
65
+ */
66
+ "lifecycleDetails"?: string;
67
+ /**
68
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
69
+ * Example: `{\"bar-key\": \"value\"}`
70
+ *
71
+ */
72
+ "freeformTags"?: {
73
+ [key: string]: string;
74
+ };
75
+ /**
76
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
77
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
78
+ *
79
+ */
80
+ "definedTags"?: {
81
+ [key: string]: {
82
+ [key: string]: any;
83
+ };
84
+ };
85
+ /**
86
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
87
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
88
+ *
89
+ */
90
+ "systemTags"?: {
91
+ [key: string]: {
92
+ [key: string]: any;
93
+ };
94
+ };
95
+ }
96
+ export declare namespace RecoveryServiceSubnet {
97
+ function getJsonObj(obj: RecoveryServiceSubnet): object;
98
+ function getDeserializedJsonObj(obj: RecoveryServiceSubnet): object;
99
+ }
@@ -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.RecoveryServiceSubnet = void 0;
16
+ var RecoveryServiceSubnet;
17
+ (function (RecoveryServiceSubnet) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RecoveryServiceSubnet.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RecoveryServiceSubnet.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RecoveryServiceSubnet = exports.RecoveryServiceSubnet || (exports.RecoveryServiceSubnet = {}));
29
+ //# sourceMappingURL=recovery-service-subnet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recovery-service-subnet.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/recovery-service-subnet.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA8EH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
@@ -0,0 +1,23 @@
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
+ * Sort orders.
15
+ **/
16
+ export declare enum SortOrder {
17
+ Asc = "ASC",
18
+ Desc = "DESC"
19
+ }
20
+ export declare namespace SortOrder {
21
+ function getJsonObj(obj: SortOrder): SortOrder;
22
+ function getDeserializedJsonObj(obj: SortOrder): SortOrder;
23
+ }