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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +290 -0
- package/lib/client.js +1669 -0
- package/lib/client.js.map +1 -0
- package/lib/databaserecovery-waiter.d.ts +52 -0
- package/lib/databaserecovery-waiter.js +100 -0
- package/lib/databaserecovery-waiter.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/change-protected-database-compartment-details.d.ts +26 -0
- package/lib/model/change-protected-database-compartment-details.js +29 -0
- package/lib/model/change-protected-database-compartment-details.js.map +1 -0
- package/lib/model/change-protection-policy-compartment-details.d.ts +26 -0
- package/lib/model/change-protection-policy-compartment-details.js +29 -0
- package/lib/model/change-protection-policy-compartment-details.js.map +1 -0
- package/lib/model/change-recovery-service-subnet-compartment-details.d.ts +26 -0
- package/lib/model/change-recovery-service-subnet-compartment-details.js +29 -0
- package/lib/model/change-recovery-service-subnet-compartment-details.js.map +1 -0
- package/lib/model/create-protected-database-details.d.ts +93 -0
- package/lib/model/create-protected-database-details.js +61 -0
- package/lib/model/create-protected-database-details.js.map +1 -0
- package/lib/model/create-protection-policy-details.d.ts +51 -0
- package/lib/model/create-protection-policy-details.js +29 -0
- package/lib/model/create-protection-policy-details.js.map +1 -0
- package/lib/model/create-recovery-service-subnet-details.d.ts +55 -0
- package/lib/model/create-recovery-service-subnet-details.js +29 -0
- package/lib/model/create-recovery-service-subnet-details.js.map +1 -0
- package/lib/model/database-sizes.d.ts +33 -0
- package/lib/model/database-sizes.js +44 -0
- package/lib/model/database-sizes.js.map +1 -0
- package/lib/model/fetch-protected-database-configuration-details.d.ts +31 -0
- package/lib/model/fetch-protected-database-configuration-details.js +36 -0
- package/lib/model/fetch-protected-database-configuration-details.js.map +1 -0
- package/lib/model/health.d.ts +29 -0
- package/lib/model/health.js +40 -0
- package/lib/model/health.js.map +1 -0
- package/lib/model/index.d.ts +88 -0
- package/lib/model/index.js +111 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +32 -0
- package/lib/model/lifecycle-state.js +43 -0
- package/lib/model/lifecycle-state.js.map +1 -0
- package/lib/model/metrics-summary.d.ts +53 -0
- package/lib/model/metrics-summary.js +29 -0
- package/lib/model/metrics-summary.js.map +1 -0
- package/lib/model/metrics.d.ts +53 -0
- package/lib/model/metrics.js +29 -0
- package/lib/model/metrics.js.map +1 -0
- package/lib/model/operation-status.d.ts +32 -0
- package/lib/model/operation-status.js +43 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +38 -0
- package/lib/model/operation-type.js +49 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/protected-database-collection.d.ts +26 -0
- package/lib/model/protected-database-collection.js +61 -0
- package/lib/model/protected-database-collection.js.map +1 -0
- package/lib/model/protected-database-summary.d.ts +127 -0
- package/lib/model/protected-database-summary.js +65 -0
- package/lib/model/protected-database-summary.js.map +1 -0
- package/lib/model/protected-database.d.ts +157 -0
- package/lib/model/protected-database.js +63 -0
- package/lib/model/protected-database.js.map +1 -0
- package/lib/model/protection-policy-collection.d.ts +26 -0
- package/lib/model/protection-policy-collection.js +61 -0
- package/lib/model/protection-policy-collection.js.map +1 -0
- package/lib/model/protection-policy-summary.d.ts +91 -0
- package/lib/model/protection-policy-summary.js +29 -0
- package/lib/model/protection-policy-summary.js.map +1 -0
- package/lib/model/protection-policy.d.ts +97 -0
- package/lib/model/protection-policy.js +29 -0
- package/lib/model/protection-policy.js.map +1 -0
- package/lib/model/recovery-service-subnet-collection.d.ts +26 -0
- package/lib/model/recovery-service-subnet-collection.js +61 -0
- package/lib/model/recovery-service-subnet-collection.js.map +1 -0
- package/lib/model/recovery-service-subnet-details.d.ts +30 -0
- package/lib/model/recovery-service-subnet-details.js +29 -0
- package/lib/model/recovery-service-subnet-details.js.map +1 -0
- package/lib/model/recovery-service-subnet-input.d.ts +25 -0
- package/lib/model/recovery-service-subnet-input.js +29 -0
- package/lib/model/recovery-service-subnet-input.js.map +1 -0
- package/lib/model/recovery-service-subnet-summary.d.ts +101 -0
- package/lib/model/recovery-service-subnet-summary.js +29 -0
- package/lib/model/recovery-service-subnet-summary.js.map +1 -0
- package/lib/model/recovery-service-subnet.d.ts +99 -0
- package/lib/model/recovery-service-subnet.js +29 -0
- package/lib/model/recovery-service-subnet.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-protected-database-details.d.ts +75 -0
- package/lib/model/update-protected-database-details.js +61 -0
- package/lib/model/update-protected-database-details.js.map +1 -0
- package/lib/model/update-protection-policy-details.d.ts +47 -0
- package/lib/model/update-protection-policy-details.js +29 -0
- package/lib/model/update-protection-policy-details.js.map +1 -0
- package/lib/model/update-recovery-service-subnet-details.d.ts +43 -0
- package/lib/model/update-recovery-service-subnet-details.js +29 -0
- package/lib/model/update-recovery-service-subnet-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +42 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +65 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/change-protected-database-compartment-request.d.ts +40 -0
- package/lib/request/change-protected-database-compartment-request.js +15 -0
- package/lib/request/change-protected-database-compartment-request.js.map +1 -0
- package/lib/request/change-protection-policy-compartment-request.d.ts +40 -0
- package/lib/request/change-protection-policy-compartment-request.js +15 -0
- package/lib/request/change-protection-policy-compartment-request.js.map +1 -0
- package/lib/request/change-recovery-service-subnet-compartment-request.d.ts +40 -0
- package/lib/request/change-recovery-service-subnet-compartment-request.js +15 -0
- package/lib/request/change-recovery-service-subnet-compartment-request.js.map +1 -0
- package/lib/request/create-protected-database-request.d.ts +36 -0
- package/lib/request/create-protected-database-request.js +15 -0
- package/lib/request/create-protected-database-request.js.map +1 -0
- package/lib/request/create-protection-policy-request.d.ts +36 -0
- package/lib/request/create-protection-policy-request.js +15 -0
- package/lib/request/create-protection-policy-request.js.map +1 -0
- package/lib/request/create-recovery-service-subnet-request.d.ts +36 -0
- package/lib/request/create-recovery-service-subnet-request.js +15 -0
- package/lib/request/create-recovery-service-subnet-request.js.map +1 -0
- package/lib/request/delete-protected-database-request.d.ts +35 -0
- package/lib/request/delete-protected-database-request.js +15 -0
- package/lib/request/delete-protected-database-request.js.map +1 -0
- package/lib/request/delete-protection-policy-request.d.ts +35 -0
- package/lib/request/delete-protection-policy-request.js +15 -0
- package/lib/request/delete-protection-policy-request.js.map +1 -0
- package/lib/request/delete-recovery-service-subnet-request.d.ts +35 -0
- package/lib/request/delete-recovery-service-subnet-request.js +15 -0
- package/lib/request/delete-recovery-service-subnet-request.js.map +1 -0
- package/lib/request/fetch-protected-database-configuration-request.d.ts +40 -0
- package/lib/request/fetch-protected-database-configuration-request.js +15 -0
- package/lib/request/fetch-protected-database-configuration-request.js.map +1 -0
- package/lib/request/get-protected-database-request.d.ts +26 -0
- package/lib/request/get-protected-database-request.js +15 -0
- package/lib/request/get-protected-database-request.js.map +1 -0
- package/lib/request/get-protection-policy-request.d.ts +26 -0
- package/lib/request/get-protection-policy-request.js +15 -0
- package/lib/request/get-protection-policy-request.js.map +1 -0
- package/lib/request/get-recovery-service-subnet-request.d.ts +26 -0
- package/lib/request/get-recovery-service-subnet-request.js +15 -0
- package/lib/request/get-recovery-service-subnet-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +58 -0
- package/lib/request/index.js +47 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-protected-databases-request.d.ts +76 -0
- package/lib/request/list-protected-databases-request.js +24 -0
- package/lib/request/list-protected-databases-request.js.map +1 -0
- package/lib/request/list-protection-policies-request.d.ts +76 -0
- package/lib/request/list-protection-policies-request.js +29 -0
- package/lib/request/list-protection-policies-request.js.map +1 -0
- package/lib/request/list-recovery-service-subnets-request.d.ts +79 -0
- package/lib/request/list-recovery-service-subnets-request.js +24 -0
- package/lib/request/list-recovery-service-subnets-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +52 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +52 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +64 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-protected-database-request.d.ts +40 -0
- package/lib/request/update-protected-database-request.js +15 -0
- package/lib/request/update-protected-database-request.js.map +1 -0
- package/lib/request/update-protection-policy-request.d.ts +40 -0
- package/lib/request/update-protection-policy-request.js +15 -0
- package/lib/request/update-protection-policy-request.js.map +1 -0
- package/lib/request/update-recovery-service-subnet-request.d.ts +40 -0
- package/lib/request/update-recovery-service-subnet-request.js +15 -0
- package/lib/request/update-recovery-service-subnet-request.js.map +1 -0
- package/lib/response/change-protected-database-compartment-response.d.ts +25 -0
- package/lib/response/change-protected-database-compartment-response.js +15 -0
- package/lib/response/change-protected-database-compartment-response.js.map +1 -0
- package/lib/response/change-protection-policy-compartment-response.d.ts +25 -0
- package/lib/response/change-protection-policy-compartment-response.js +15 -0
- package/lib/response/change-protection-policy-compartment-response.js.map +1 -0
- package/lib/response/change-recovery-service-subnet-compartment-response.d.ts +25 -0
- package/lib/response/change-recovery-service-subnet-compartment-response.js +15 -0
- package/lib/response/change-recovery-service-subnet-compartment-response.js.map +1 -0
- package/lib/response/create-protected-database-response.d.ts +40 -0
- package/lib/response/create-protected-database-response.js +15 -0
- package/lib/response/create-protected-database-response.js.map +1 -0
- package/lib/response/create-protection-policy-response.d.ts +40 -0
- package/lib/response/create-protection-policy-response.js +15 -0
- package/lib/response/create-protection-policy-response.js.map +1 -0
- package/lib/response/create-recovery-service-subnet-response.d.ts +40 -0
- package/lib/response/create-recovery-service-subnet-response.js +15 -0
- package/lib/response/create-recovery-service-subnet-response.js.map +1 -0
- package/lib/response/delete-protected-database-response.d.ts +25 -0
- package/lib/response/delete-protected-database-response.js +15 -0
- package/lib/response/delete-protected-database-response.js.map +1 -0
- package/lib/response/delete-protection-policy-response.d.ts +25 -0
- package/lib/response/delete-protection-policy-response.js +15 -0
- package/lib/response/delete-protection-policy-response.js.map +1 -0
- package/lib/response/delete-recovery-service-subnet-response.d.ts +25 -0
- package/lib/response/delete-recovery-service-subnet-response.js +15 -0
- package/lib/response/delete-recovery-service-subnet-response.js.map +1 -0
- package/lib/response/fetch-protected-database-configuration-response.d.ts +31 -0
- package/lib/response/fetch-protected-database-configuration-response.js +15 -0
- package/lib/response/fetch-protected-database-configuration-response.js.map +1 -0
- package/lib/response/get-protected-database-response.d.ts +30 -0
- package/lib/response/get-protected-database-response.js +15 -0
- package/lib/response/get-protected-database-response.js.map +1 -0
- package/lib/response/get-protection-policy-response.d.ts +30 -0
- package/lib/response/get-protection-policy-response.js +15 -0
- package/lib/response/get-protection-policy-response.js.map +1 -0
- package/lib/response/get-recovery-service-subnet-response.d.ts +30 -0
- package/lib/response/get-recovery-service-subnet-response.js +15 -0
- package/lib/response/get-recovery-service-subnet-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +29 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +58 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-protected-databases-response.d.ts +32 -0
- package/lib/response/list-protected-databases-response.js +15 -0
- package/lib/response/list-protected-databases-response.js.map +1 -0
- package/lib/response/list-protection-policies-response.d.ts +32 -0
- package/lib/response/list-protection-policies-response.js +15 -0
- package/lib/response/list-protection-policies-response.js.map +1 -0
- package/lib/response/list-recovery-service-subnets-response.d.ts +32 -0
- package/lib/response/list-recovery-service-subnets-response.js +15 -0
- package/lib/response/list-recovery-service-subnets-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-protected-database-response.d.ts +25 -0
- package/lib/response/update-protected-database-response.js +15 -0
- package/lib/response/update-protected-database-response.js.map +1 -0
- package/lib/response/update-protection-policy-response.d.ts +25 -0
- package/lib/response/update-protection-policy-response.js +15 -0
- package/lib/response/update-protection-policy-response.js.map +1 -0
- package/lib/response/update-recovery-service-subnet-response.d.ts +25 -0
- package/lib/response/update-recovery-service-subnet-response.js +15 -0
- package/lib/response/update-recovery-service-subnet-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protected-database-collection.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protected-database-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,2BAA2B,CA6B3C;AA7BD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,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,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,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,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6B3C"}
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
* A protected database is an Oracle Cloud Database whose backups are managed by Oracle Database Autonomous Recovery Service.
|
|
16
|
+
* Each protected database requires a recovery service subnet and a protection policy to use Recovery Service as the backup destination for centralized backup and recovery.
|
|
17
|
+
* <p>
|
|
18
|
+
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator.
|
|
19
|
+
* If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).
|
|
20
|
+
* <p>
|
|
21
|
+
For information about access control and compartments, see [Overview of the Identity Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface ProtectedDatabaseSummary {
|
|
25
|
+
/**
|
|
26
|
+
* The OCID of the protected database.
|
|
27
|
+
*/
|
|
28
|
+
"id": string;
|
|
29
|
+
/**
|
|
30
|
+
* The protected database name. You can change the displayName. Avoid entering confidential information.
|
|
31
|
+
*/
|
|
32
|
+
"displayName"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The OCID of the compartment that contains the protected database.
|
|
35
|
+
*/
|
|
36
|
+
"compartmentId": string;
|
|
37
|
+
/**
|
|
38
|
+
* The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
|
|
39
|
+
*/
|
|
40
|
+
"dbUniqueName": string;
|
|
41
|
+
/**
|
|
42
|
+
* The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
|
|
43
|
+
*/
|
|
44
|
+
"vpcUserName": string;
|
|
45
|
+
/**
|
|
46
|
+
* The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
|
|
47
|
+
*/
|
|
48
|
+
"databaseSize": model.DatabaseSizes;
|
|
49
|
+
/**
|
|
50
|
+
* The OCID of the protection policy associated with the protected database.
|
|
51
|
+
*/
|
|
52
|
+
"protectionPolicyId": string;
|
|
53
|
+
/**
|
|
54
|
+
* List of recovery service subnet resources associated with the protected database.
|
|
55
|
+
*/
|
|
56
|
+
"recoveryServiceSubnets"?: Array<model.RecoveryServiceSubnetDetails>;
|
|
57
|
+
/**
|
|
58
|
+
* The OCID of the protected database.
|
|
59
|
+
*/
|
|
60
|
+
"databaseId"?: string;
|
|
61
|
+
/**
|
|
62
|
+
* An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"timeCreated"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"timeUpdated"?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* The current state of the Protected Database.
|
|
73
|
+
*/
|
|
74
|
+
"lifecycleState"?: model.LifecycleState;
|
|
75
|
+
/**
|
|
76
|
+
* The health of the Protected Database.
|
|
77
|
+
*/
|
|
78
|
+
"health"?: model.Health;
|
|
79
|
+
/**
|
|
80
|
+
* Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
|
|
81
|
+
*/
|
|
82
|
+
"lifecycleDetails"?: string;
|
|
83
|
+
/**
|
|
84
|
+
* A message describing the current health of the protected database.
|
|
85
|
+
*/
|
|
86
|
+
"healthDetails"?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Indicates whether the protected database is created by Recovery Service or created manually.
|
|
89
|
+
* Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
|
|
90
|
+
* Set to <b>FALSE</b> for a user-defined protected database.
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
"isReadOnlyResource"?: boolean;
|
|
94
|
+
"metrics"?: model.MetricsSummary;
|
|
95
|
+
/**
|
|
96
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
97
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"freeformTags"?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
105
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"definedTags"?: {
|
|
109
|
+
[key: string]: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
115
|
+
* 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)
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
"systemTags"?: {
|
|
119
|
+
[key: string]: {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export declare namespace ProtectedDatabaseSummary {
|
|
125
|
+
function getJsonObj(obj: ProtectedDatabaseSummary): object;
|
|
126
|
+
function getDeserializedJsonObj(obj: ProtectedDatabaseSummary): object;
|
|
127
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.ProtectedDatabaseSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProtectedDatabaseSummary;
|
|
37
|
+
(function (ProtectedDatabaseSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
41
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
42
|
+
return model.RecoveryServiceSubnetDetails.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"metrics": obj.metrics ? model.MetricsSummary.getJsonObj(obj.metrics) : undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
ProtectedDatabaseSummary.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
53
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
54
|
+
return model.RecoveryServiceSubnetDetails.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined,
|
|
57
|
+
"metrics": obj.metrics
|
|
58
|
+
? model.MetricsSummary.getDeserializedJsonObj(obj.metrics)
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
ProtectedDatabaseSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(ProtectedDatabaseSummary = exports.ProtectedDatabaseSummary || (exports.ProtectedDatabaseSummary = {}));
|
|
65
|
+
//# sourceMappingURL=protected-database-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protected-database-summary.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protected-database-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwGlC,IAAiB,wBAAwB,CAmCxC;AAnCD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SAClF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,mCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC1D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,+CAAsB,yBAiBrC,CAAA;AACH,CAAC,EAnCgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAmCxC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
* A protected database is an Oracle Cloud Database whose
|
|
16
|
+
* backups are managed by Oracle Database Autonomous Recovery Service. Each protected database
|
|
17
|
+
* requires a recovery service subnet and a protection policy to use Recovery Service as
|
|
18
|
+
* the backup destination for centralized backup and recovery
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface ProtectedDatabase {
|
|
22
|
+
/**
|
|
23
|
+
* The OCID of the protected database.
|
|
24
|
+
*/
|
|
25
|
+
"id": string;
|
|
26
|
+
/**
|
|
27
|
+
* The protected database name. You can change the displayName. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"displayName"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the compartment that contains the protected database.
|
|
32
|
+
*/
|
|
33
|
+
"compartmentId": string;
|
|
34
|
+
/**
|
|
35
|
+
* The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
|
|
36
|
+
*/
|
|
37
|
+
"dbUniqueName": string;
|
|
38
|
+
/**
|
|
39
|
+
* The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
|
|
40
|
+
*/
|
|
41
|
+
"vpcUserName": string;
|
|
42
|
+
/**
|
|
43
|
+
* The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
|
|
44
|
+
*/
|
|
45
|
+
"databaseSize": model.DatabaseSizes;
|
|
46
|
+
/**
|
|
47
|
+
* The OCID of the protection policy associated with the protected database.
|
|
48
|
+
*/
|
|
49
|
+
"protectionPolicyId": string;
|
|
50
|
+
/**
|
|
51
|
+
* List of recovery service subnet resources associated with the protected database.
|
|
52
|
+
*/
|
|
53
|
+
"recoveryServiceSubnets": Array<model.RecoveryServiceSubnetDetails>;
|
|
54
|
+
/**
|
|
55
|
+
* The OCID of the protected database.
|
|
56
|
+
*/
|
|
57
|
+
"databaseId"?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The size of the database in GBs, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
|
+
*/
|
|
61
|
+
"databaseSizeInGBs"?: number;
|
|
62
|
+
/**
|
|
63
|
+
* The percentage of data changes that exist in the database between successive incremental backups. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
64
|
+
*/
|
|
65
|
+
"changeRate"?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
68
|
+
*/
|
|
69
|
+
"compressionRatio"?: number;
|
|
70
|
+
/**
|
|
71
|
+
* 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.
|
|
72
|
+
* Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional
|
|
73
|
+
* configuration is needed on client side.
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
"isRedoLogsShipped"?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
"timeCreated"?: Date;
|
|
82
|
+
/**
|
|
83
|
+
* An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"timeUpdated"?: Date;
|
|
87
|
+
/**
|
|
88
|
+
* The current state of the Protected Database.
|
|
89
|
+
*/
|
|
90
|
+
"lifecycleState"?: model.LifecycleState;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates the protection status of the database. Allowed values are:
|
|
93
|
+
* - HEALTHY
|
|
94
|
+
* - WARNING
|
|
95
|
+
* - ALERT
|
|
96
|
+
* <p>
|
|
97
|
+
A 'HEALTHY' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
|
|
98
|
+
* - Less than 10 seconds, if Real-time data protection is enabled
|
|
99
|
+
* - Less than 70 minutes if Real-time data protection is disabled
|
|
100
|
+
* <p>
|
|
101
|
+
A 'WARNING' status indicates that Recovery Service can ensure database recovery within the current recovery window - 1 day. The potential data loss exposure since the last backup is:
|
|
102
|
+
* - Greater than 10 seconds, if Real-time data protection is enabled
|
|
103
|
+
* - Greater than 60 minutes, if if Real-time data protection is disabled
|
|
104
|
+
* <p>
|
|
105
|
+
An 'ALERT' status indicates that Recovery Service cannot recover the database within the current recovery window.
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"health"?: model.Health;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates whether the protected database is created by Recovery Service or created manually.
|
|
111
|
+
* Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
|
|
112
|
+
* Set to <b>FALSE</b> for a user-defined protected database.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
"isReadOnlyResource"?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
|
|
118
|
+
*/
|
|
119
|
+
"lifecycleDetails"?: string;
|
|
120
|
+
/**
|
|
121
|
+
* A message describing the current health of the protected database.
|
|
122
|
+
*/
|
|
123
|
+
"healthDetails"?: string;
|
|
124
|
+
"metrics"?: model.Metrics;
|
|
125
|
+
/**
|
|
126
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
127
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
"freeformTags"?: {
|
|
131
|
+
[key: string]: string;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
135
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
136
|
+
*
|
|
137
|
+
*/
|
|
138
|
+
"definedTags"?: {
|
|
139
|
+
[key: string]: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
145
|
+
* 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)
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
"systemTags"?: {
|
|
149
|
+
[key: string]: {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
export declare namespace ProtectedDatabase {
|
|
155
|
+
function getJsonObj(obj: ProtectedDatabase): object;
|
|
156
|
+
function getDeserializedJsonObj(obj: ProtectedDatabase): object;
|
|
157
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ProtectedDatabase = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProtectedDatabase;
|
|
37
|
+
(function (ProtectedDatabase) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
41
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
42
|
+
return model.RecoveryServiceSubnetDetails.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"metrics": obj.metrics ? model.Metrics.getJsonObj(obj.metrics) : undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
ProtectedDatabase.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
53
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
54
|
+
return model.RecoveryServiceSubnetDetails.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined,
|
|
57
|
+
"metrics": obj.metrics ? model.Metrics.getDeserializedJsonObj(obj.metrics) : undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
ProtectedDatabase.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(ProtectedDatabase = exports.ProtectedDatabase || (exports.ProtectedDatabase = {}));
|
|
63
|
+
//# sourceMappingURL=protected-database.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protected-database.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protected-database.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsIlC,IAAiB,iBAAiB,CAiCjC;AAjCD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,4BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAiCjC"}
|
|
@@ -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 Protection Policy search. Contains both Protection Policy Summary items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface ProtectionPolicyCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of ProtectionPolicies.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.ProtectionPolicySummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace ProtectionPolicyCollection {
|
|
24
|
+
function getJsonObj(obj: ProtectionPolicyCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: ProtectionPolicyCollection): 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.ProtectionPolicyCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProtectionPolicyCollection;
|
|
37
|
+
(function (ProtectionPolicyCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.ProtectionPolicySummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ProtectionPolicyCollection.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.ProtectionPolicySummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ProtectionPolicyCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ProtectionPolicyCollection = exports.ProtectionPolicyCollection || (exports.ProtectionPolicyCollection = {}));
|
|
61
|
+
//# sourceMappingURL=protection-policy-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protection-policy-collection.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protection-policy-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* Recovery Service enables policy driven backup storage management.
|
|
16
|
+
* <p>
|
|
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. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).
|
|
18
|
+
* <p>
|
|
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 ProtectionPolicySummary {
|
|
23
|
+
/**
|
|
24
|
+
* The protection policy OCID.
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* A user provided name for the protection policy.
|
|
29
|
+
*/
|
|
30
|
+
"displayName"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The OCID of the compartment that contains the protection policy.
|
|
33
|
+
*/
|
|
34
|
+
"compartmentId": string;
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
*/
|
|
38
|
+
"backupRetentionPeriodInDays": number;
|
|
39
|
+
/**
|
|
40
|
+
* Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
|
|
41
|
+
*/
|
|
42
|
+
"isPredefinedPolicy": boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The time the Protection Policy was created. An RFC3339 formatted datetime string
|
|
45
|
+
*/
|
|
46
|
+
"timeCreated"?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* The time the Protection Policy was updated. An RFC3339 formatted datetime string
|
|
49
|
+
*/
|
|
50
|
+
"timeUpdated"?: Date;
|
|
51
|
+
/**
|
|
52
|
+
* The current state of the Protection Policy.
|
|
53
|
+
*/
|
|
54
|
+
"lifecycleState"?: model.LifecycleState;
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
*/
|
|
58
|
+
"lifecycleDetails"?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
61
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"freeformTags"?: {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
69
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
"definedTags"?: {
|
|
73
|
+
[key: string]: {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
79
|
+
* 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)
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"systemTags"?: {
|
|
83
|
+
[key: string]: {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export declare namespace ProtectionPolicySummary {
|
|
89
|
+
function getJsonObj(obj: ProtectionPolicySummary): object;
|
|
90
|
+
function getDeserializedJsonObj(obj: ProtectionPolicySummary): object;
|
|
91
|
+
}
|
|
@@ -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.ProtectionPolicySummary = void 0;
|
|
16
|
+
var ProtectionPolicySummary;
|
|
17
|
+
(function (ProtectionPolicySummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
ProtectionPolicySummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
ProtectionPolicySummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(ProtectionPolicySummary = exports.ProtectionPolicySummary || (exports.ProtectionPolicySummary = {}));
|
|
29
|
+
//# sourceMappingURL=protection-policy-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protection-policy-summary.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/protection-policy-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAsEH,IAAiB,uBAAuB,CAWvC;AAXD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAWvC"}
|