oci-disasterrecovery 2.119.1 → 2.121.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/lib/client.d.ts +45 -0
- package/lib/client.js +323 -0
- package/lib/client.js.map +1 -1
- package/lib/disasterrecovery-waiter.d.ts +8 -0
- package/lib/disasterrecovery-waiter.js +12 -0
- package/lib/disasterrecovery-waiter.js.map +1 -1
- package/lib/model/automatic-dr-configuration-collection.d.ts +31 -0
- package/lib/model/automatic-dr-configuration-collection.js +65 -0
- package/lib/model/automatic-dr-configuration-collection.js.map +1 -0
- package/lib/model/automatic-dr-configuration-lifecycle-state.d.ts +47 -0
- package/lib/model/automatic-dr-configuration-lifecycle-state.js +58 -0
- package/lib/model/automatic-dr-configuration-lifecycle-state.js.map +1 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-container-database.d.ts +42 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-container-database.js +58 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-container-database.js.map +1 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-database.d.ts +42 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-database.js +58 -0
- package/lib/model/automatic-dr-configuration-member-autonomous-database.js.map +1 -0
- package/lib/model/automatic-dr-configuration-member-database.d.ts +42 -0
- package/lib/model/automatic-dr-configuration-member-database.js +58 -0
- package/lib/model/automatic-dr-configuration-member-database.js.map +1 -0
- package/lib/model/automatic-dr-configuration-member-type.d.ts +37 -0
- package/lib/model/automatic-dr-configuration-member-type.js +48 -0
- package/lib/model/automatic-dr-configuration-member-type.js.map +1 -0
- package/lib/model/automatic-dr-configuration-member.d.ts +33 -0
- package/lib/model/automatic-dr-configuration-member.js +80 -0
- package/lib/model/automatic-dr-configuration-member.js.map +1 -0
- package/lib/model/automatic-dr-configuration-summary.d.ts +121 -0
- package/lib/model/automatic-dr-configuration-summary.js +33 -0
- package/lib/model/automatic-dr-configuration-summary.js.map +1 -0
- package/lib/model/automatic-dr-configuration.d.ts +143 -0
- package/lib/model/automatic-dr-configuration.js +65 -0
- package/lib/model/automatic-dr-configuration.js.map +1 -0
- package/lib/model/automatic-dr-plan-execution-submission-status.d.ts +35 -0
- package/lib/model/automatic-dr-plan-execution-submission-status.js +46 -0
- package/lib/model/automatic-dr-plan-execution-submission-status.js.map +1 -0
- package/lib/model/automatic-execution-details.d.ts +39 -0
- package/lib/model/automatic-execution-details.js +33 -0
- package/lib/model/automatic-execution-details.js.map +1 -0
- package/lib/model/create-automatic-dr-configuration-details.d.ts +79 -0
- package/lib/model/create-automatic-dr-configuration-details.js +65 -0
- package/lib/model/create-automatic-dr-configuration-details.js.map +1 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-container-database-details.d.ts +42 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-container-database-details.js +58 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-container-database-details.js.map +1 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-database-details.d.ts +42 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-database-details.js +58 -0
- package/lib/model/create-automatic-dr-configuration-member-autonomous-database-details.js.map +1 -0
- package/lib/model/create-automatic-dr-configuration-member-database-details.d.ts +42 -0
- package/lib/model/create-automatic-dr-configuration-member-database-details.js +58 -0
- package/lib/model/create-automatic-dr-configuration-member-database-details.js.map +1 -0
- package/lib/model/create-automatic-dr-configuration-member-details.d.ts +33 -0
- package/lib/model/create-automatic-dr-configuration-member-details.js +80 -0
- package/lib/model/create-automatic-dr-configuration-member-details.js.map +1 -0
- package/lib/model/dr-plan-execution.d.ts +8 -0
- package/lib/model/dr-plan-execution.js +6 -0
- package/lib/model/dr-plan-execution.js.map +1 -1
- package/lib/model/dr-protection-group-auth-type.d.ts +30 -0
- package/lib/model/dr-protection-group-auth-type.js +41 -0
- package/lib/model/dr-protection-group-auth-type.js.map +1 -0
- package/lib/model/dr-protection-group-lifecycle-sub-state.d.ts +4 -0
- package/lib/model/dr-protection-group-lifecycle-sub-state.js +4 -0
- package/lib/model/dr-protection-group-lifecycle-sub-state.js.map +1 -1
- package/lib/model/index.d.ts +44 -0
- package/lib/model/index.js +49 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/operation-type.d.ts +3 -0
- package/lib/model/operation-type.js +3 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/update-automatic-dr-configuration-details.d.ts +72 -0
- package/lib/model/update-automatic-dr-configuration-details.js +65 -0
- package/lib/model/update-automatic-dr-configuration-details.js.map +1 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-container-database-details.d.ts +42 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-container-database-details.js +58 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-container-database-details.js.map +1 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-database-details.d.ts +42 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-database-details.js +58 -0
- package/lib/model/update-automatic-dr-configuration-member-autonomous-database-details.js.map +1 -0
- package/lib/model/update-automatic-dr-configuration-member-database-details.d.ts +42 -0
- package/lib/model/update-automatic-dr-configuration-member-database-details.js +58 -0
- package/lib/model/update-automatic-dr-configuration-member-database-details.js.map +1 -0
- package/lib/model/update-automatic-dr-configuration-member-details.d.ts +33 -0
- package/lib/model/update-automatic-dr-configuration-member-details.js +80 -0
- package/lib/model/update-automatic-dr-configuration-member-details.js.map +1 -0
- package/lib/model/update-dr-plan-execution-details.d.ts +1 -1
- package/lib/request/create-automatic-dr-configuration-request.d.ts +37 -0
- package/lib/request/create-automatic-dr-configuration-request.js +15 -0
- package/lib/request/create-automatic-dr-configuration-request.js.map +1 -0
- package/lib/request/delete-automatic-dr-configuration-request.d.ts +39 -0
- package/lib/request/delete-automatic-dr-configuration-request.js +15 -0
- package/lib/request/delete-automatic-dr-configuration-request.js.map +1 -0
- package/lib/request/get-automatic-dr-configuration-request.d.ts +30 -0
- package/lib/request/get-automatic-dr-configuration-request.js +15 -0
- package/lib/request/get-automatic-dr-configuration-request.js.map +1 -0
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-automatic-dr-configurations-request.d.ts +95 -0
- package/lib/request/list-automatic-dr-configurations-request.js +24 -0
- package/lib/request/list-automatic-dr-configurations-request.js.map +1 -0
- package/lib/request/update-automatic-dr-configuration-request.d.ts +44 -0
- package/lib/request/update-automatic-dr-configuration-request.js +15 -0
- package/lib/request/update-automatic-dr-configuration-request.js.map +1 -0
- package/lib/response/create-automatic-dr-configuration-response.d.ts +39 -0
- package/lib/response/create-automatic-dr-configuration-response.js +15 -0
- package/lib/response/create-automatic-dr-configuration-response.js.map +1 -0
- package/lib/response/delete-automatic-dr-configuration-response.d.ts +20 -0
- package/lib/response/delete-automatic-dr-configuration-response.js +15 -0
- package/lib/response/delete-automatic-dr-configuration-response.js.map +1 -0
- package/lib/response/get-automatic-dr-configuration-response.d.ts +30 -0
- package/lib/response/get-automatic-dr-configuration-response.js +15 -0
- package/lib/response/get-automatic-dr-configuration-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-automatic-dr-configurations-response.d.ts +32 -0
- package/lib/response/list-automatic-dr-configurations-response.js +15 -0
- package/lib/response/list-automatic-dr-configurations-response.js.map +1 -0
- package/lib/response/update-automatic-dr-configuration-response.d.ts +25 -0
- package/lib/response/update-automatic-dr-configuration-response.js +15 -0
- package/lib/response/update-automatic-dr-configuration-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full Stack Disaster Recovery API
|
|
3
|
+
* Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications.
|
|
4
|
+
Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster
|
|
5
|
+
recovery capabilities for all layers of an application stack, including infrastructure, middleware, database,
|
|
6
|
+
and application.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20220125
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Update properties for Database member in an Automatic DR configuration.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateAutomaticDrConfigurationMemberDatabaseDetails extends model.UpdateAutomaticDrConfigurationMemberDetails {
|
|
22
|
+
/**
|
|
23
|
+
* A flag indicating if the automatic switchover should be enabled for the Database member in the Automatic DR configuration.
|
|
24
|
+
* <p>
|
|
25
|
+
Example: {@code false}
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"isAutoSwitchoverEnabled"?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* A flag indicating if the automatic failover should be enabled for the Database member in the Automatic DR configuration.
|
|
31
|
+
* <p>
|
|
32
|
+
Example: {@code false}
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"isAutoFailoverEnabled"?: boolean;
|
|
36
|
+
"memberType": string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace UpdateAutomaticDrConfigurationMemberDatabaseDetails {
|
|
39
|
+
function getJsonObj(obj: UpdateAutomaticDrConfigurationMemberDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
40
|
+
const memberType = "DATABASE";
|
|
41
|
+
function getDeserializedJsonObj(obj: UpdateAutomaticDrConfigurationMemberDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Full Stack Disaster Recovery API
|
|
4
|
+
* Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications.
|
|
5
|
+
Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster
|
|
6
|
+
recovery capabilities for all layers of an application stack, including infrastructure, middleware, database,
|
|
7
|
+
and application.
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20220125
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UpdateAutomaticDrConfigurationMemberDatabaseDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UpdateAutomaticDrConfigurationMemberDatabaseDetails;
|
|
41
|
+
(function (UpdateAutomaticDrConfigurationMemberDatabaseDetails) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UpdateAutomaticDrConfigurationMemberDetails.getJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
UpdateAutomaticDrConfigurationMemberDatabaseDetails.getJsonObj = getJsonObj;
|
|
49
|
+
UpdateAutomaticDrConfigurationMemberDatabaseDetails.memberType = "DATABASE";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.UpdateAutomaticDrConfigurationMemberDetails.getDeserializedJsonObj(obj))), {});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
UpdateAutomaticDrConfigurationMemberDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(UpdateAutomaticDrConfigurationMemberDatabaseDetails = exports.UpdateAutomaticDrConfigurationMemberDatabaseDetails || (exports.UpdateAutomaticDrConfigurationMemberDatabaseDetails = {}));
|
|
58
|
+
//# sourceMappingURL=update-automatic-dr-configuration-member-database-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-automatic-dr-configuration-member-database-details.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/update-automatic-dr-configuration-member-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0BlC,IAAiB,mDAAmD,CAgCnE;AAhCD,WAAiB,mDAAmD;IAClE,SAAgB,UAAU,CACxB,GAAwD,EACxD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2CAA2C,CAAC,UAAU,CAC3D,GAAG,CACoD,CAAC,GAC3D,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8DAAU,aAczB,CAAA;IACY,8DAAU,GAAG,UAAU,CAAC;IACrC,SAAgB,sBAAsB,CACpC,GAAwD,EACxD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CACvE,GAAG,CACoD,CAAC,GAC3D,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0EAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,mDAAmD,GAAnD,2DAAmD,KAAnD,2DAAmD,QAgCnE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full Stack Disaster Recovery API
|
|
3
|
+
* Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications.
|
|
4
|
+
Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster
|
|
5
|
+
recovery capabilities for all layers of an application stack, including infrastructure, middleware, database,
|
|
6
|
+
and application.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20220125
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Update properties for a member in an Automatic DR configuration.
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateAutomaticDrConfigurationMemberDetails {
|
|
21
|
+
/**
|
|
22
|
+
* The OCID of the member.
|
|
23
|
+
* <p>
|
|
24
|
+
Example: {@code ocid1.database.oc1..uniqueID}
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"memberId": string;
|
|
28
|
+
"memberType": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace UpdateAutomaticDrConfigurationMemberDetails {
|
|
31
|
+
function getJsonObj(obj: UpdateAutomaticDrConfigurationMemberDetails): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: UpdateAutomaticDrConfigurationMemberDetails): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Full Stack Disaster Recovery API
|
|
4
|
+
* Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications.
|
|
5
|
+
Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster
|
|
6
|
+
recovery capabilities for all layers of an application stack, including infrastructure, middleware, database,
|
|
7
|
+
and application.
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20220125
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UpdateAutomaticDrConfigurationMemberDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
const common = require("oci-common");
|
|
41
|
+
var UpdateAutomaticDrConfigurationMemberDetails;
|
|
42
|
+
(function (UpdateAutomaticDrConfigurationMemberDetails) {
|
|
43
|
+
function getJsonObj(obj) {
|
|
44
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
+
if (obj && "memberType" in obj && obj.memberType) {
|
|
46
|
+
switch (obj.memberType) {
|
|
47
|
+
case "DATABASE":
|
|
48
|
+
return model.UpdateAutomaticDrConfigurationMemberDatabaseDetails.getJsonObj(jsonObj, true);
|
|
49
|
+
case "AUTONOMOUS_DATABASE":
|
|
50
|
+
return model.UpdateAutomaticDrConfigurationMemberAutonomousDatabaseDetails.getJsonObj(jsonObj, true);
|
|
51
|
+
case "AUTONOMOUS_CONTAINER_DATABASE":
|
|
52
|
+
return model.UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.getJsonObj(jsonObj, true);
|
|
53
|
+
default:
|
|
54
|
+
if (common.LOG.logger)
|
|
55
|
+
common.LOG.logger.info(`Unknown value for: ${obj.memberType}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
UpdateAutomaticDrConfigurationMemberDetails.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
63
|
+
if (obj && "memberType" in obj && obj.memberType) {
|
|
64
|
+
switch (obj.memberType) {
|
|
65
|
+
case "DATABASE":
|
|
66
|
+
return model.UpdateAutomaticDrConfigurationMemberDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
|
|
67
|
+
case "AUTONOMOUS_DATABASE":
|
|
68
|
+
return model.UpdateAutomaticDrConfigurationMemberAutonomousDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
|
|
69
|
+
case "AUTONOMOUS_CONTAINER_DATABASE":
|
|
70
|
+
return model.UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
default:
|
|
72
|
+
if (common.LOG.logger)
|
|
73
|
+
common.LOG.logger.info(`Unknown value for: ${obj.memberType}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return jsonObj;
|
|
77
|
+
}
|
|
78
|
+
UpdateAutomaticDrConfigurationMemberDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
79
|
+
})(UpdateAutomaticDrConfigurationMemberDetails = exports.UpdateAutomaticDrConfigurationMemberDetails || (exports.UpdateAutomaticDrConfigurationMemberDetails = {}));
|
|
80
|
+
//# sourceMappingURL=update-automatic-dr-configuration-member-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-automatic-dr-configuration-member-details.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/update-automatic-dr-configuration-member-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiBtC,IAAiB,2CAA2C,CAyD3D;AAzDD,WAAiB,2CAA2C;IAC1D,SAAgB,UAAU,CAAC,GAAgD;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,mDAAmD,CAAC,UAAU,CACL,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,6DAA6D,CAAC,UAAU,CACL,OAAQ,EACtF,IAAI,CACL,CAAC;gBACJ,KAAK,+BAA+B;oBAClC,OAAO,KAAK,CAAC,sEAAsE,CAAC,UAAU,CAEjF,OACV,EACD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA3Be,sDAAU,aA2BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgD;QACrF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,mDAAmD,CAAC,sBAAsB,CACjB,OAAQ,EAC5E,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,6DAA6D,CAAC,sBAAsB,CACjB,OAAQ,EACtF,IAAI,CACL,CAAC;gBACJ,KAAK,+BAA+B;oBAClC,OAAO,KAAK,CAAC,sEAAsE,CAAC,sBAAsB,CAE7F,OACV,EACD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA3Be,kEAAsB,yBA2BrC,CAAA;AACH,CAAC,EAzDgB,2CAA2C,GAA3C,mDAA2C,KAA3C,mDAA2C,QAyD3D"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220125
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/disasterrecovery/CreateAutomaticDrConfiguration.ts.html |here} to see how to use CreateAutomaticDrConfigurationRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateAutomaticDrConfigurationRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for creating the new Automatic DR configuration.
|
|
21
|
+
*/
|
|
22
|
+
"createAutomaticDrConfigurationDetails": model.CreateAutomaticDrConfigurationDetails;
|
|
23
|
+
/**
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
26
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
28
|
+
* might be rejected.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcRetryToken"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The client request ID for tracing.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRequestId"?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220125
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
//# sourceMappingURL=create-automatic-dr-configuration-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-automatic-dr-configuration-request.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/create-automatic-dr-configuration-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220125
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/disasterrecovery/DeleteAutomaticDrConfiguration.ts.html |here} to see how to use DeleteAutomaticDrConfigurationRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteAutomaticDrConfigurationRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the Automatic DR configuration.
|
|
20
|
+
* <p>
|
|
21
|
+
Example: {@code ocid1.automaticDrConfiguration.oc1..uniqueID}
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"automaticDrConfigurationId": string;
|
|
25
|
+
/**
|
|
26
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
27
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
28
|
+
* etag from a previous GET or POST response for that resource.
|
|
29
|
+
* The resource will be updated or deleted only if the etag you
|
|
30
|
+
* provide matches the resource's current etag value.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"ifMatch"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The client request ID for tracing.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"opcRequestId"?: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220125
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
//# sourceMappingURL=delete-automatic-dr-configuration-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-automatic-dr-configuration-request.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/delete-automatic-dr-configuration-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220125
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/disasterrecovery/GetAutomaticDrConfiguration.ts.html |here} to see how to use GetAutomaticDrConfigurationRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAutomaticDrConfigurationRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the Automatic DR configuration.
|
|
20
|
+
* <p>
|
|
21
|
+
Example: {@code ocid1.automaticDrConfiguration.oc1..uniqueID}
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"automaticDrConfigurationId": string;
|
|
25
|
+
/**
|
|
26
|
+
* The client request ID for tracing.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"opcRequestId"?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220125
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
//# sourceMappingURL=get-automatic-dr-configuration-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-automatic-dr-configuration-request.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/get-automatic-dr-configuration-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -22,12 +22,16 @@ import * as CancelWorkRequestRequest from "./cancel-work-request-request";
|
|
|
22
22
|
export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest;
|
|
23
23
|
import * as ChangeDrProtectionGroupCompartmentRequest from "./change-dr-protection-group-compartment-request";
|
|
24
24
|
export import ChangeDrProtectionGroupCompartmentRequest = ChangeDrProtectionGroupCompartmentRequest.ChangeDrProtectionGroupCompartmentRequest;
|
|
25
|
+
import * as CreateAutomaticDrConfigurationRequest from "./create-automatic-dr-configuration-request";
|
|
26
|
+
export import CreateAutomaticDrConfigurationRequest = CreateAutomaticDrConfigurationRequest.CreateAutomaticDrConfigurationRequest;
|
|
25
27
|
import * as CreateDrPlanRequest from "./create-dr-plan-request";
|
|
26
28
|
export import CreateDrPlanRequest = CreateDrPlanRequest.CreateDrPlanRequest;
|
|
27
29
|
import * as CreateDrPlanExecutionRequest from "./create-dr-plan-execution-request";
|
|
28
30
|
export import CreateDrPlanExecutionRequest = CreateDrPlanExecutionRequest.CreateDrPlanExecutionRequest;
|
|
29
31
|
import * as CreateDrProtectionGroupRequest from "./create-dr-protection-group-request";
|
|
30
32
|
export import CreateDrProtectionGroupRequest = CreateDrProtectionGroupRequest.CreateDrProtectionGroupRequest;
|
|
33
|
+
import * as DeleteAutomaticDrConfigurationRequest from "./delete-automatic-dr-configuration-request";
|
|
34
|
+
export import DeleteAutomaticDrConfigurationRequest = DeleteAutomaticDrConfigurationRequest.DeleteAutomaticDrConfigurationRequest;
|
|
31
35
|
import * as DeleteDrPlanRequest from "./delete-dr-plan-request";
|
|
32
36
|
export import DeleteDrPlanRequest = DeleteDrPlanRequest.DeleteDrPlanRequest;
|
|
33
37
|
import * as DeleteDrPlanExecutionRequest from "./delete-dr-plan-execution-request";
|
|
@@ -36,6 +40,8 @@ import * as DeleteDrProtectionGroupRequest from "./delete-dr-protection-group-re
|
|
|
36
40
|
export import DeleteDrProtectionGroupRequest = DeleteDrProtectionGroupRequest.DeleteDrProtectionGroupRequest;
|
|
37
41
|
import * as DisassociateDrProtectionGroupRequest from "./disassociate-dr-protection-group-request";
|
|
38
42
|
export import DisassociateDrProtectionGroupRequest = DisassociateDrProtectionGroupRequest.DisassociateDrProtectionGroupRequest;
|
|
43
|
+
import * as GetAutomaticDrConfigurationRequest from "./get-automatic-dr-configuration-request";
|
|
44
|
+
export import GetAutomaticDrConfigurationRequest = GetAutomaticDrConfigurationRequest.GetAutomaticDrConfigurationRequest;
|
|
39
45
|
import * as GetDrPlanRequest from "./get-dr-plan-request";
|
|
40
46
|
export import GetDrPlanRequest = GetDrPlanRequest.GetDrPlanRequest;
|
|
41
47
|
import * as GetDrPlanExecutionRequest from "./get-dr-plan-execution-request";
|
|
@@ -46,6 +52,8 @@ import * as GetWorkRequestRequest from "./get-work-request-request";
|
|
|
46
52
|
export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest;
|
|
47
53
|
import * as IgnoreDrPlanExecutionRequest from "./ignore-dr-plan-execution-request";
|
|
48
54
|
export import IgnoreDrPlanExecutionRequest = IgnoreDrPlanExecutionRequest.IgnoreDrPlanExecutionRequest;
|
|
55
|
+
import * as ListAutomaticDrConfigurationsRequest from "./list-automatic-dr-configurations-request";
|
|
56
|
+
export import ListAutomaticDrConfigurationsRequest = ListAutomaticDrConfigurationsRequest.ListAutomaticDrConfigurationsRequest;
|
|
49
57
|
import * as ListDrPlanExecutionsRequest from "./list-dr-plan-executions-request";
|
|
50
58
|
export import ListDrPlanExecutionsRequest = ListDrPlanExecutionsRequest.ListDrPlanExecutionsRequest;
|
|
51
59
|
import * as ListDrPlansRequest from "./list-dr-plans-request";
|
|
@@ -66,6 +74,8 @@ import * as ResumeDrPlanExecutionRequest from "./resume-dr-plan-execution-reques
|
|
|
66
74
|
export import ResumeDrPlanExecutionRequest = ResumeDrPlanExecutionRequest.ResumeDrPlanExecutionRequest;
|
|
67
75
|
import * as RetryDrPlanExecutionRequest from "./retry-dr-plan-execution-request";
|
|
68
76
|
export import RetryDrPlanExecutionRequest = RetryDrPlanExecutionRequest.RetryDrPlanExecutionRequest;
|
|
77
|
+
import * as UpdateAutomaticDrConfigurationRequest from "./update-automatic-dr-configuration-request";
|
|
78
|
+
export import UpdateAutomaticDrConfigurationRequest = UpdateAutomaticDrConfigurationRequest.UpdateAutomaticDrConfigurationRequest;
|
|
69
79
|
import * as UpdateDrPlanRequest from "./update-dr-plan-request";
|
|
70
80
|
export import UpdateDrPlanRequest = UpdateDrPlanRequest.UpdateDrPlanRequest;
|
|
71
81
|
import * as UpdateDrPlanExecutionRequest from "./update-dr-plan-execution-request";
|
package/lib/request/index.js
CHANGED
|
@@ -35,7 +35,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
35
35
|
return result;
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.ListWorkRequestsRequest = exports.ListWorkRequestLogsRequest = exports.ListWorkRequestErrorsRequest = exports.ListDrProtectionGroupsRequest = exports.ListDrPlansRequest = exports.ListDrPlanExecutionsRequest = void 0;
|
|
38
|
+
exports.ListWorkRequestsRequest = exports.ListWorkRequestLogsRequest = exports.ListWorkRequestErrorsRequest = exports.ListDrProtectionGroupsRequest = exports.ListDrPlansRequest = exports.ListDrPlanExecutionsRequest = exports.ListAutomaticDrConfigurationsRequest = void 0;
|
|
39
|
+
const ListAutomaticDrConfigurationsRequest = __importStar(require("./list-automatic-dr-configurations-request"));
|
|
40
|
+
exports.ListAutomaticDrConfigurationsRequest = ListAutomaticDrConfigurationsRequest.ListAutomaticDrConfigurationsRequest;
|
|
39
41
|
const ListDrPlanExecutionsRequest = __importStar(require("./list-dr-plan-executions-request"));
|
|
40
42
|
exports.ListDrPlanExecutionsRequest = ListDrPlanExecutionsRequest.ListDrPlanExecutionsRequest;
|
|
41
43
|
const ListDrPlansRequest = __importStar(require("./list-dr-plans-request"));
|
package/lib/request/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAwCH,iHAAmG;AACrF,QAAA,oCAAoC,GAAG,oCAAoC,CAAC,oCAAoC,CAAC;AAC/H,+FAAiF;AACnE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,4EAA8D;AAChD,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,6FAA+E;AACjE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220125
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/disasterrecovery/ListAutomaticDrConfigurations.ts.html |here} to see how to use ListAutomaticDrConfigurationsRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAutomaticDrConfigurationsRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The OCID of the DR protection group. Mandatory query param.
|
|
21
|
+
* <p>
|
|
22
|
+
Example: {@code ocid1.drprotectiongroup.oc1..uniqueID}
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"drProtectionGroupId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The OCID of the automatic DR configuration.
|
|
28
|
+
* <p>
|
|
29
|
+
Example: {@code ocid1.automaticDrConfiguration.oc1..uniqueID}
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"automaticDrConfigurationId"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A filter to return only Automatic DR configurations that match the given lifecycle state.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"lifecycleState"?: model.AutomaticDrConfigurationLifecycleState;
|
|
38
|
+
/**
|
|
39
|
+
* A filter to return only Automatic DR configurations that do not match the given lifecycle state.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"lifecycleStateNotEqualTo"?: model.AutomaticDrConfigurationLifecycleState;
|
|
43
|
+
/**
|
|
44
|
+
* A filter to return only resources that match the given display name.
|
|
45
|
+
* <p>
|
|
46
|
+
Example: {@code MyResourceDisplayName}
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"displayName"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* For list pagination. The maximum number of results per page,
|
|
52
|
+
* or items to return in a paginated \"List\" call.
|
|
53
|
+
* 1 is the minimum, 1000 is the maximum.
|
|
54
|
+
* <p>
|
|
55
|
+
For important details about how pagination works,
|
|
56
|
+
* see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
57
|
+
* <p>
|
|
58
|
+
Example: {@code 100}
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"limit"?: number;
|
|
62
|
+
/**
|
|
63
|
+
* For list pagination. The value of the {@code opc-next-page} response
|
|
64
|
+
* header from the previous \"List\" call.
|
|
65
|
+
* <p>
|
|
66
|
+
For important details about how pagination works,
|
|
67
|
+
* see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"page"?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The sort order to use, either 'asc' or 'desc'.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
"sortOrder"?: model.SortOrder;
|
|
76
|
+
/**
|
|
77
|
+
* The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
|
|
78
|
+
* Default order for displayName is ascending. If no value is specified timeCreated is default.
|
|
79
|
+
* <p>
|
|
80
|
+
Example: {@code MyResourceDisplayName}
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
"sortBy"?: ListAutomaticDrConfigurationsRequest.SortBy;
|
|
84
|
+
/**
|
|
85
|
+
* The client request ID for tracing.
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
"opcRequestId"?: string;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace ListAutomaticDrConfigurationsRequest {
|
|
91
|
+
enum SortBy {
|
|
92
|
+
TimeCreated = "timeCreated",
|
|
93
|
+
DisplayName = "displayName"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220125
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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.ListAutomaticDrConfigurationsRequest = void 0;
|
|
16
|
+
var ListAutomaticDrConfigurationsRequest;
|
|
17
|
+
(function (ListAutomaticDrConfigurationsRequest) {
|
|
18
|
+
let SortBy;
|
|
19
|
+
(function (SortBy) {
|
|
20
|
+
SortBy["TimeCreated"] = "timeCreated";
|
|
21
|
+
SortBy["DisplayName"] = "displayName";
|
|
22
|
+
})(SortBy = ListAutomaticDrConfigurationsRequest.SortBy || (ListAutomaticDrConfigurationsRequest.SortBy = {}));
|
|
23
|
+
})(ListAutomaticDrConfigurationsRequest = exports.ListAutomaticDrConfigurationsRequest || (exports.ListAutomaticDrConfigurationsRequest = {}));
|
|
24
|
+
//# sourceMappingURL=list-automatic-dr-configurations-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-automatic-dr-configurations-request.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/request/list-automatic-dr-configurations-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiFH,IAAiB,oCAAoC,CAKpD;AALD,WAAiB,oCAAoC;IACnD,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;IAC7B,CAAC,EAHW,MAAM,GAAN,2CAAM,KAAN,2CAAM,QAGjB;AACH,CAAC,EALgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAKpD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220125
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/disasterrecovery/UpdateAutomaticDrConfiguration.ts.html |here} to see how to use UpdateAutomaticDrConfigurationRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateAutomaticDrConfigurationRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for updating the Automatic DR configuration.
|
|
21
|
+
*/
|
|
22
|
+
"updateAutomaticDrConfigurationDetails": model.UpdateAutomaticDrConfigurationDetails;
|
|
23
|
+
/**
|
|
24
|
+
* The OCID of the Automatic DR configuration.
|
|
25
|
+
* <p>
|
|
26
|
+
Example: {@code ocid1.automaticDrConfiguration.oc1..uniqueID}
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"automaticDrConfigurationId": string;
|
|
30
|
+
/**
|
|
31
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
32
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
33
|
+
* etag from a previous GET or POST response for that resource.
|
|
34
|
+
* The resource will be updated or deleted only if the etag you
|
|
35
|
+
* provide matches the resource's current etag value.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"ifMatch"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The client request ID for tracing.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"opcRequestId"?: string;
|
|
44
|
+
}
|