oci-disasterrecovery 2.119.1 → 2.120.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,143 @@
|
|
|
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
|
+
* The details of Automatic DR configuration.
|
|
20
|
+
*/
|
|
21
|
+
export interface AutomaticDrConfiguration {
|
|
22
|
+
/**
|
|
23
|
+
* The OCID of the Automatic DR configuration.
|
|
24
|
+
* <p>
|
|
25
|
+
Example: {@code ocid1.automaticdrconfiguration.oc1..uniqueID}
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"id": string;
|
|
29
|
+
/**
|
|
30
|
+
* The display name of the Automatic DR configuration.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"displayName": string;
|
|
34
|
+
/**
|
|
35
|
+
* The OCID of the compartment containing the Automatic DR configuration.
|
|
36
|
+
* <p>
|
|
37
|
+
Example: {@code ocid1.compartment.oc1..uniqueID}
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"compartmentId": string;
|
|
41
|
+
/**
|
|
42
|
+
* The date and time the Automatic DR configuration was created. An RFC3339 formatted datetime string.
|
|
43
|
+
* <p>
|
|
44
|
+
Example: {@code 2024-03-29T09:36:42Z}
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"timeCreated": Date;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the Automatic DR configuration was updated. An RFC3339 formatted datetime string.
|
|
50
|
+
* <p>
|
|
51
|
+
Example: {@code 2024-03-29T09:36:42Z}
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"timeUpdated": Date;
|
|
55
|
+
/**
|
|
56
|
+
* The OCID of the DR protection group to which this Automatic DR configuration belongs.
|
|
57
|
+
* <p>
|
|
58
|
+
Example: {@code ocid1.drprotectiongroup.oc1..uniqueID}
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"drProtectionGroupId": string;
|
|
62
|
+
/**
|
|
63
|
+
* The list of members in this Automatic DR configuration.
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"members": Array<model.AutomaticDrConfigurationMember>;
|
|
67
|
+
/**
|
|
68
|
+
* The unique id of a Switchover DR Plan.
|
|
69
|
+
* <p>
|
|
70
|
+
Example: {@code ocid1.drplan.oc1..uniqueID}
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
"defaultSwitchoverDrPlanId"?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The unique id of a Failover DR Plan.
|
|
76
|
+
* <p>
|
|
77
|
+
Example: {@code ocid1.drplan.oc1..uniqueID}
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"defaultFailoverDrPlanId"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* The current state of the Automatic DR configuration.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"lifecycleState": model.AutomaticDrConfigurationLifecycleState;
|
|
86
|
+
/**
|
|
87
|
+
* A message describing the Automatic DR configuration's current state in more detail.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"lifecycleDetails"?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The status of most recent attempt to submit Automatic DR plan execution.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
"lastAutomaticDrExecutionSubmitStatus"?: model.AutomaticDrPlanExecutionSubmissionStatus;
|
|
96
|
+
/**
|
|
97
|
+
* A message describing the result of the most recent attempt made to submit an Automatic DR plan execution.
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"lastAutomaticDrExecutionSubmitDetails"?: string;
|
|
101
|
+
/**
|
|
102
|
+
* The date and time of the most recent attempt made to submit an Automatic DR plan execution. An RFC3339 formatted datetime string.
|
|
103
|
+
* <p>
|
|
104
|
+
Example: {@code 2025-06-30T09:36:42Z}
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
"timeLastAutomaticDrExecutionSubmitAttempt"?: Date;
|
|
108
|
+
/**
|
|
109
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
110
|
+
* <p>
|
|
111
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
"freeformTags"?: {
|
|
115
|
+
[key: string]: string;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
119
|
+
* <p>
|
|
120
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
"definedTags"?: {
|
|
124
|
+
[key: string]: {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
130
|
+
* <p>
|
|
131
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
"systemTags"?: {
|
|
135
|
+
[key: string]: {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
export declare namespace AutomaticDrConfiguration {
|
|
141
|
+
function getJsonObj(obj: AutomaticDrConfiguration): object;
|
|
142
|
+
function getDeserializedJsonObj(obj: AutomaticDrConfiguration): object;
|
|
143
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.AutomaticDrConfiguration = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var AutomaticDrConfiguration;
|
|
41
|
+
(function (AutomaticDrConfiguration) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"members": obj.members
|
|
45
|
+
? obj.members.map(item => {
|
|
46
|
+
return model.AutomaticDrConfigurationMember.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
AutomaticDrConfiguration.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"members": obj.members
|
|
56
|
+
? obj.members.map(item => {
|
|
57
|
+
return model.AutomaticDrConfigurationMember.getDeserializedJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
AutomaticDrConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(AutomaticDrConfiguration = exports.AutomaticDrConfiguration || (exports.AutomaticDrConfiguration = {}));
|
|
65
|
+
//# sourceMappingURL=automatic-dr-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automatic-dr-configuration.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/automatic-dr-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoHlC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
* The status of most recent attempt to submit Automatic DR plan execution.
|
|
19
|
+
* - AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY - Event processed and Automatic DR execution was started successfully.
|
|
20
|
+
* - AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED - Event processed but Automatic DR execution submission failed due to validation error.
|
|
21
|
+
*
|
|
22
|
+
**/
|
|
23
|
+
export declare enum AutomaticDrPlanExecutionSubmissionStatus {
|
|
24
|
+
AutomaticDrExecutionStartedSuccessfully = "AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY",
|
|
25
|
+
AutomaticDrExecutionBlockedValidationFailed = "AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED",
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
31
|
+
}
|
|
32
|
+
export declare namespace AutomaticDrPlanExecutionSubmissionStatus {
|
|
33
|
+
function getJsonObj(obj: AutomaticDrPlanExecutionSubmissionStatus): AutomaticDrPlanExecutionSubmissionStatus;
|
|
34
|
+
function getDeserializedJsonObj(obj: AutomaticDrPlanExecutionSubmissionStatus): AutomaticDrPlanExecutionSubmissionStatus;
|
|
35
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.AutomaticDrPlanExecutionSubmissionStatus = void 0;
|
|
20
|
+
/**
|
|
21
|
+
* The status of most recent attempt to submit Automatic DR plan execution.
|
|
22
|
+
* - AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY - Event processed and Automatic DR execution was started successfully.
|
|
23
|
+
* - AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED - Event processed but Automatic DR execution submission failed due to validation error.
|
|
24
|
+
*
|
|
25
|
+
**/
|
|
26
|
+
var AutomaticDrPlanExecutionSubmissionStatus;
|
|
27
|
+
(function (AutomaticDrPlanExecutionSubmissionStatus) {
|
|
28
|
+
AutomaticDrPlanExecutionSubmissionStatus["AutomaticDrExecutionStartedSuccessfully"] = "AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY";
|
|
29
|
+
AutomaticDrPlanExecutionSubmissionStatus["AutomaticDrExecutionBlockedValidationFailed"] = "AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED";
|
|
30
|
+
/**
|
|
31
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
32
|
+
* version of the SDK.
|
|
33
|
+
*/
|
|
34
|
+
AutomaticDrPlanExecutionSubmissionStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
35
|
+
})(AutomaticDrPlanExecutionSubmissionStatus = exports.AutomaticDrPlanExecutionSubmissionStatus || (exports.AutomaticDrPlanExecutionSubmissionStatus = {}));
|
|
36
|
+
(function (AutomaticDrPlanExecutionSubmissionStatus) {
|
|
37
|
+
function getJsonObj(obj) {
|
|
38
|
+
return obj;
|
|
39
|
+
}
|
|
40
|
+
AutomaticDrPlanExecutionSubmissionStatus.getJsonObj = getJsonObj;
|
|
41
|
+
function getDeserializedJsonObj(obj) {
|
|
42
|
+
return obj;
|
|
43
|
+
}
|
|
44
|
+
AutomaticDrPlanExecutionSubmissionStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
45
|
+
})(AutomaticDrPlanExecutionSubmissionStatus = exports.AutomaticDrPlanExecutionSubmissionStatus || (exports.AutomaticDrPlanExecutionSubmissionStatus = {}));
|
|
46
|
+
//# sourceMappingURL=automatic-dr-plan-execution-submission-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automatic-dr-plan-execution-submission-status.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/automatic-dr-plan-execution-submission-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH;;;;;IAKI;AACJ,IAAY,wCASX;AATD,WAAY,wCAAwC;IAClD,mIAAuF,CAAA;IACvF,4IAAgG,CAAA;IAEhG;;;OAGG;IACH,0EAA8B,CAAA;AAChC,CAAC,EATW,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QASnD;AAED,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CACxB,GAA6C;QAE7C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,mDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA6C;QAE7C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,+DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAWxD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* The details of the event that started the automatic DR plan execution.
|
|
19
|
+
*/
|
|
20
|
+
export interface AutomaticExecutionDetails {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the OCI event that started the automatic DR plan execution.
|
|
23
|
+
* <p>
|
|
24
|
+
Example: {@code SwitchoverAutonomousDatabase}
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"eventName": string;
|
|
28
|
+
/**
|
|
29
|
+
* The OCID of the member that emitted the event that started the automatic DR plan execution.
|
|
30
|
+
* <p>
|
|
31
|
+
Example: \"ocid1.autonomousdatabase.oc1..uniqueID\"
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"memberId": string;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace AutomaticExecutionDetails {
|
|
37
|
+
function getJsonObj(obj: AutomaticExecutionDetails): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: AutomaticExecutionDetails): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.AutomaticExecutionDetails = void 0;
|
|
20
|
+
var AutomaticExecutionDetails;
|
|
21
|
+
(function (AutomaticExecutionDetails) {
|
|
22
|
+
function getJsonObj(obj) {
|
|
23
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
24
|
+
return jsonObj;
|
|
25
|
+
}
|
|
26
|
+
AutomaticExecutionDetails.getJsonObj = getJsonObj;
|
|
27
|
+
function getDeserializedJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
AutomaticExecutionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
32
|
+
})(AutomaticExecutionDetails = exports.AutomaticExecutionDetails || (exports.AutomaticExecutionDetails = {}));
|
|
33
|
+
//# sourceMappingURL=automatic-execution-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automatic-execution-details.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/automatic-execution-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAyBH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
* The details for creating an Automatic DR configuration.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAutomaticDrConfigurationDetails {
|
|
22
|
+
/**
|
|
23
|
+
* The display name of the Automatic DR configuration being created.
|
|
24
|
+
* <p>
|
|
25
|
+
Example: {@code Automatic DR Configuration}
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"displayName": string;
|
|
29
|
+
/**
|
|
30
|
+
* The OCID of the DR protection group to which this Automatic DR configuration belongs.
|
|
31
|
+
* <p>
|
|
32
|
+
Example: {@code ocid1.drprotectiongroup.oc1..uniqueID}
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"drProtectionGroupId": string;
|
|
36
|
+
/**
|
|
37
|
+
* A list of members for Automatic DR configuration.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"members": Array<model.CreateAutomaticDrConfigurationMemberDetails>;
|
|
41
|
+
/**
|
|
42
|
+
* The unique id of a Switchover DR Plan.
|
|
43
|
+
* <p>
|
|
44
|
+
Example: {@code ocid1.drplan.oc1..uniqueID}
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"defaultSwitchoverDrPlanId"?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The unique id of a Failover DR Plan.
|
|
50
|
+
* <p>
|
|
51
|
+
Example: {@code ocid1.drplan.oc1..uniqueID}
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"defaultFailoverDrPlanId"?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
57
|
+
* <p>
|
|
58
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"freeformTags"?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
66
|
+
* <p>
|
|
67
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"definedTags"?: {
|
|
71
|
+
[key: string]: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export declare namespace CreateAutomaticDrConfigurationDetails {
|
|
77
|
+
function getJsonObj(obj: CreateAutomaticDrConfigurationDetails): object;
|
|
78
|
+
function getDeserializedJsonObj(obj: CreateAutomaticDrConfigurationDetails): object;
|
|
79
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.CreateAutomaticDrConfigurationDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var CreateAutomaticDrConfigurationDetails;
|
|
41
|
+
(function (CreateAutomaticDrConfigurationDetails) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"members": obj.members
|
|
45
|
+
? obj.members.map(item => {
|
|
46
|
+
return model.CreateAutomaticDrConfigurationMemberDetails.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
CreateAutomaticDrConfigurationDetails.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"members": obj.members
|
|
56
|
+
? obj.members.map(item => {
|
|
57
|
+
return model.CreateAutomaticDrConfigurationMemberDetails.getDeserializedJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
CreateAutomaticDrConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(CreateAutomaticDrConfigurationDetails = exports.CreateAutomaticDrConfigurationDetails || (exports.CreateAutomaticDrConfigurationDetails = {}));
|
|
65
|
+
//# sourceMappingURL=create-automatic-dr-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-automatic-dr-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/create-automatic-dr-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwDlC,IAAiB,qCAAqC,CA6BrD;AA7BD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QA6BrD"}
|
|
@@ -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
|
+
* Create properties for an Autonomous Container Database member in an Automatic DR configuration.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails extends model.CreateAutomaticDrConfigurationMemberDetails {
|
|
22
|
+
/**
|
|
23
|
+
* A flag indicating if the automatic switchover should be enabled for the Autonomous Container 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 Autonomous Container 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 CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails {
|
|
39
|
+
function getJsonObj(obj: CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
40
|
+
const memberType = "AUTONOMOUS_CONTAINER_DATABASE";
|
|
41
|
+
function getDeserializedJsonObj(obj: CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
package/lib/model/create-automatic-dr-configuration-member-autonomous-container-database-details.js
ADDED
|
@@ -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.CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails;
|
|
41
|
+
(function (CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.CreateAutomaticDrConfigurationMemberDetails.getJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.getJsonObj = getJsonObj;
|
|
49
|
+
CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.memberType = "AUTONOMOUS_CONTAINER_DATABASE";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.CreateAutomaticDrConfigurationMemberDetails.getDeserializedJsonObj(obj))), {});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails = exports.CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails || (exports.CreateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails = {}));
|
|
58
|
+
//# sourceMappingURL=create-automatic-dr-configuration-member-autonomous-container-database-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-automatic-dr-configuration-member-autonomous-container-database-details.js","sourceRoot":"","sources":["../../../../../lib/disasterrecovery/lib/model/create-automatic-dr-configuration-member-autonomous-container-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0BlC,IAAiB,sEAAsE,CAgCtF;AAhCD,WAAiB,sEAAsE;IACrF,SAAgB,UAAU,CACxB,GAA2E,EAC3E,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2CAA2C,CAAC,UAAU,CAC3D,GAAG,CACuE,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,iFAAU,aAczB,CAAA;IACY,iFAAU,GAAG,+BAA+B,CAAC;IAC1D,SAAgB,sBAAsB,CACpC,GAA2E,EAC3E,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CACvE,GAAG,CACuE,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,6FAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,sEAAsE,GAAtE,8EAAsE,KAAtE,8EAAsE,QAgCtF"}
|