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,34 @@
|
|
|
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.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Asc"] = "ASC";
|
|
22
|
+
SortOrder["Desc"] = "DESC";
|
|
23
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
24
|
+
(function (SortOrder) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
* Describes the parameters required to update a protected database.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateProtectedDatabaseDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The protected database name. You can change the displayName. Avoid entering confidential information.
|
|
20
|
+
*/
|
|
21
|
+
"displayName"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The size of the database is allowed to be decreased. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
|
|
24
|
+
*/
|
|
25
|
+
"databaseSize"?: model.DatabaseSizes;
|
|
26
|
+
/**
|
|
27
|
+
* The size of the database, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"databaseSizeInGBs"?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Password credential which can be used to connect to Protected Database.
|
|
32
|
+
* It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters.
|
|
33
|
+
* The special characters must be underscore (_), number sign (#) or hyphen (-). The password must not contain the username \"admin\", regardless of casing.
|
|
34
|
+
* Password must not be same as current passsword.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"password"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The OCID of the protection policy associated with the protected database.
|
|
40
|
+
*/
|
|
41
|
+
"protectionPolicyId"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* List of recovery service subnet resources associated with the protected database.
|
|
44
|
+
*/
|
|
45
|
+
"recoveryServiceSubnets"?: Array<model.RecoveryServiceSubnetInput>;
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
* 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
|
|
49
|
+
* configuration is needed on client side.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"isRedoLogsShipped"?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
55
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"freeformTags"?: {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
63
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"definedTags"?: {
|
|
67
|
+
[key: string]: {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export declare namespace UpdateProtectedDatabaseDetails {
|
|
73
|
+
function getJsonObj(obj: UpdateProtectedDatabaseDetails): object;
|
|
74
|
+
function getDeserializedJsonObj(obj: UpdateProtectedDatabaseDetails): object;
|
|
75
|
+
}
|
|
@@ -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.UpdateProtectedDatabaseDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateProtectedDatabaseDetails;
|
|
37
|
+
(function (UpdateProtectedDatabaseDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
41
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
42
|
+
return model.RecoveryServiceSubnetInput.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
UpdateProtectedDatabaseDetails.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"recoveryServiceSubnets": obj.recoveryServiceSubnets
|
|
52
|
+
? obj.recoveryServiceSubnets.map(item => {
|
|
53
|
+
return model.RecoveryServiceSubnetInput.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
UpdateProtectedDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(UpdateProtectedDatabaseDetails = exports.UpdateProtectedDatabaseDetails || (exports.UpdateProtectedDatabaseDetails = {}));
|
|
61
|
+
//# sourceMappingURL=update-protected-database-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-protected-database-details.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/update-protected-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwDlC,IAAiB,8BAA8B,CA6B9C;AA7BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,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,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,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,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA6B9C"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Database Autonomous Recovery Service API
|
|
3
|
+
* Use Oracle Database Autonomous Recovery Service API to manage Protected Databases.
|
|
4
|
+
* OpenAPI spec version: 20210216
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The information to be updated.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateProtectionPolicyDetails {
|
|
17
|
+
/**
|
|
18
|
+
* A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
"backupRetentionPeriodInDays"?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
27
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"freeformTags"?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
35
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"definedTags"?: {
|
|
39
|
+
[key: string]: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export declare namespace UpdateProtectionPolicyDetails {
|
|
45
|
+
function getJsonObj(obj: UpdateProtectionPolicyDetails): object;
|
|
46
|
+
function getDeserializedJsonObj(obj: UpdateProtectionPolicyDetails): object;
|
|
47
|
+
}
|
|
@@ -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.UpdateProtectionPolicyDetails = void 0;
|
|
16
|
+
var UpdateProtectionPolicyDetails;
|
|
17
|
+
(function (UpdateProtectionPolicyDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateProtectionPolicyDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateProtectionPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateProtectionPolicyDetails = exports.UpdateProtectionPolicyDetails || (exports.UpdateProtectionPolicyDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-protection-policy-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-protection-policy-details.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/update-protection-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,IAAiB,6BAA6B,CAW7C;AAXD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAW7C"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Describes the parameters required to update a recovery service subnet.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateRecoveryServiceSubnetDetails {
|
|
17
|
+
/**
|
|
18
|
+
* A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
23
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"freeformTags"?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
31
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"definedTags"?: {
|
|
35
|
+
[key: string]: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare namespace UpdateRecoveryServiceSubnetDetails {
|
|
41
|
+
function getJsonObj(obj: UpdateRecoveryServiceSubnetDetails): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: UpdateRecoveryServiceSubnetDetails): object;
|
|
43
|
+
}
|
|
@@ -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.UpdateRecoveryServiceSubnetDetails = void 0;
|
|
16
|
+
var UpdateRecoveryServiceSubnetDetails;
|
|
17
|
+
(function (UpdateRecoveryServiceSubnetDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateRecoveryServiceSubnetDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateRecoveryServiceSubnetDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateRecoveryServiceSubnetDetails = exports.UpdateRecoveryServiceSubnetDetails || (exports.UpdateRecoveryServiceSubnetDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-recovery-service-subnet-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-recovery-service-subnet-details.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/update-recovery-service-subnet-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,IAAiB,kCAAkC,CAWlD;AAXD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CAAC,GAAuC;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuC;QAC5E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAWlD"}
|
|
@@ -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 workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestErrorCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of workRequestError objects.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.WorkRequestError>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace WorkRequestErrorCollection {
|
|
24
|
+
function getJsonObj(obj: WorkRequestErrorCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: WorkRequestErrorCollection): 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.WorkRequestErrorCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestErrorCollection;
|
|
37
|
+
(function (WorkRequestErrorCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.WorkRequestError.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestErrorCollection.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.WorkRequestError.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestErrorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestErrorCollection = exports.WorkRequestErrorCollection || (exports.WorkRequestErrorCollection = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-error-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error-collection.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/work-request-error-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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,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,35 @@
|
|
|
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
|
+
* An error encountered while executing a work request.
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkRequestError {
|
|
17
|
+
/**
|
|
18
|
+
* A machine-usable code for the error that occured. Error codes are listed on
|
|
19
|
+
* (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"code": string;
|
|
23
|
+
/**
|
|
24
|
+
* A human readable description of the issue encountered.
|
|
25
|
+
*/
|
|
26
|
+
"message": string;
|
|
27
|
+
/**
|
|
28
|
+
* The time the error occured. An RFC3339 formatted datetime string.
|
|
29
|
+
*/
|
|
30
|
+
"timestamp": Date;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace WorkRequestError {
|
|
33
|
+
function getJsonObj(obj: WorkRequestError): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: WorkRequestError): object;
|
|
35
|
+
}
|
|
@@ -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.WorkRequestError = void 0;
|
|
16
|
+
var WorkRequestError;
|
|
17
|
+
(function (WorkRequestError) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
WorkRequestError.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
WorkRequestError.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(WorkRequestError = exports.WorkRequestError || (exports.WorkRequestError = {}));
|
|
29
|
+
//# sourceMappingURL=work-request-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/work-request-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAyBH,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 workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestLogEntryCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of workRequestLogEntries.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.WorkRequestLogEntry>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace WorkRequestLogEntryCollection {
|
|
24
|
+
function getJsonObj(obj: WorkRequestLogEntryCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): 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.WorkRequestLogEntryCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestLogEntryCollection;
|
|
37
|
+
(function (WorkRequestLogEntryCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.WorkRequestLogEntry.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestLogEntryCollection.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.WorkRequestLogEntry.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestLogEntryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestLogEntryCollection = exports.WorkRequestLogEntryCollection || (exports.WorkRequestLogEntryCollection = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-log-entry-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry-collection.js","sourceRoot":"","sources":["../../../../../lib/recovery/lib/model/work-request-log-entry-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* A log message from the execution of a work request.
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkRequestLogEntry {
|
|
17
|
+
/**
|
|
18
|
+
* Human-readable log message.
|
|
19
|
+
*/
|
|
20
|
+
"message": string;
|
|
21
|
+
/**
|
|
22
|
+
* The time the log message was written. An RFC3339 formatted datetime string
|
|
23
|
+
*/
|
|
24
|
+
"timestamp": Date;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestLogEntry {
|
|
27
|
+
function getJsonObj(obj: WorkRequestLogEntry): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
|
|
29
|
+
}
|