oci-database 2.100.2 → 2.100.3
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 +89 -0
- package/lib/client.js +514 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +70 -0
- package/lib/database-waiter.js +117 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/autonomous-dw-database.d.ts +784 -0
- package/lib/model/autonomous-dw-database.js +293 -0
- package/lib/model/autonomous-dw-database.js.map +1 -0
- package/lib/model/backup-summary.d.ts +2 -0
- package/lib/model/backup-summary.js +30 -2
- package/lib/model/backup-summary.js.map +1 -1
- package/lib/model/backup.d.ts +2 -0
- package/lib/model/backup.js +30 -2
- package/lib/model/backup.js.map +1 -1
- package/lib/model/convert-to-standalone-details.d.ts +30 -0
- package/lib/model/convert-to-standalone-details.js +30 -0
- package/lib/model/convert-to-standalone-details.js.map +1 -0
- package/lib/model/create-data-guard-association-details.d.ts +2 -0
- package/lib/model/create-data-guard-association-details.js +10 -2
- package/lib/model/create-data-guard-association-details.js.map +1 -1
- package/lib/model/create-database-base.js +4 -0
- package/lib/model/create-database-base.js.map +1 -1
- package/lib/model/create-database-details.d.ts +1 -0
- package/lib/model/create-database-details.js +6 -0
- package/lib/model/create-database-details.js.map +1 -1
- package/lib/model/create-database-from-backup-details.d.ts +2 -0
- package/lib/model/create-database-from-backup-details.js +30 -2
- package/lib/model/create-database-from-backup-details.js.map +1 -1
- package/lib/model/create-stand-by-database-details.d.ts +29 -0
- package/lib/model/create-stand-by-database-details.js +61 -0
- package/lib/model/create-stand-by-database-details.js.map +1 -0
- package/lib/model/create-standby-details.d.ts +85 -0
- package/lib/model/create-standby-details.js +70 -0
- package/lib/model/create-standby-details.js.map +1 -0
- package/lib/model/data-guard-group-member.d.ts +99 -0
- package/lib/model/data-guard-group-member.js +52 -0
- package/lib/model/data-guard-group-member.js.map +1 -0
- package/lib/model/data-guard-group.d.ts +46 -0
- package/lib/model/data-guard-group.js +73 -0
- package/lib/model/data-guard-group.js.map +1 -0
- package/lib/model/database-summary.d.ts +2 -0
- package/lib/model/database-summary.js +12 -0
- package/lib/model/database-summary.js.map +1 -1
- package/lib/model/database.d.ts +2 -0
- package/lib/model/database.js +12 -0
- package/lib/model/database.js.map +1 -1
- package/lib/model/encryption-key-location-details.d.ts +23 -0
- package/lib/model/encryption-key-location-details.js +69 -0
- package/lib/model/encryption-key-location-details.js.map +1 -0
- package/lib/model/external-hsm-encryption-details.d.ts +29 -0
- package/lib/model/external-hsm-encryption-details.js +55 -0
- package/lib/model/external-hsm-encryption-details.js.map +1 -0
- package/lib/model/failover-data-guard-details.d.ts +30 -0
- package/lib/model/failover-data-guard-details.js +30 -0
- package/lib/model/failover-data-guard-details.js.map +1 -0
- package/lib/model/index.d.ts +24 -0
- package/lib/model/index.js +34 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/reinstate-data-guard-details.d.ts +34 -0
- package/lib/model/reinstate-data-guard-details.js +30 -0
- package/lib/model/reinstate-data-guard-details.js.map +1 -0
- package/lib/model/switch-over-data-guard-details.d.ts +30 -0
- package/lib/model/switch-over-data-guard-details.js +30 -0
- package/lib/model/switch-over-data-guard-details.js.map +1 -0
- package/lib/model/update-autonomous-database-details.d.ts +7 -0
- package/lib/model/update-autonomous-database-details.js.map +1 -1
- package/lib/model/update-data-guard-details.d.ts +65 -0
- package/lib/model/update-data-guard-details.js +42 -0
- package/lib/model/update-data-guard-details.js.map +1 -0
- package/lib/request/change-encryption-key-location-request.d.ts +48 -0
- package/lib/request/change-encryption-key-location-request.js +15 -0
- package/lib/request/change-encryption-key-location-request.js.map +1 -0
- package/lib/request/convert-to-standalone-request.d.ts +48 -0
- package/lib/request/convert-to-standalone-request.js +15 -0
- package/lib/request/convert-to-standalone-request.js.map +1 -0
- package/lib/request/create-database-request.d.ts +1 -1
- package/lib/request/failover-data-guard-request.d.ts +48 -0
- package/lib/request/failover-data-guard-request.js +15 -0
- package/lib/request/failover-data-guard-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/migrate-data-guard-association-to-multi-data-guards-request.d.ts +47 -0
- package/lib/request/migrate-data-guard-association-to-multi-data-guards-request.js +15 -0
- package/lib/request/migrate-data-guard-association-to-multi-data-guards-request.js.map +1 -0
- package/lib/request/reinstate-data-guard-request.d.ts +48 -0
- package/lib/request/reinstate-data-guard-request.js +15 -0
- package/lib/request/reinstate-data-guard-request.js.map +1 -0
- package/lib/request/switch-over-data-guard-request.d.ts +48 -0
- package/lib/request/switch-over-data-guard-request.js +15 -0
- package/lib/request/switch-over-data-guard-request.js.map +1 -0
- package/lib/request/update-data-guard-request.d.ts +48 -0
- package/lib/request/update-data-guard-request.js +15 -0
- package/lib/request/update-data-guard-request.js.map +1 -0
- package/lib/response/change-encryption-key-location-response.d.ts +25 -0
- package/lib/response/change-encryption-key-location-response.js +15 -0
- package/lib/response/change-encryption-key-location-response.js.map +1 -0
- package/lib/response/convert-to-standalone-response.d.ts +34 -0
- package/lib/response/convert-to-standalone-response.js +15 -0
- package/lib/response/convert-to-standalone-response.js.map +1 -0
- package/lib/response/failover-data-guard-response.d.ts +34 -0
- package/lib/response/failover-data-guard-response.js +15 -0
- package/lib/response/failover-data-guard-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/migrate-data-guard-association-to-multi-data-guards-response.d.ts +34 -0
- package/lib/response/migrate-data-guard-association-to-multi-data-guards-response.js +15 -0
- package/lib/response/migrate-data-guard-association-to-multi-data-guards-response.js.map +1 -0
- package/lib/response/reinstate-data-guard-response.d.ts +34 -0
- package/lib/response/reinstate-data-guard-response.js +15 -0
- package/lib/response/reinstate-data-guard-response.js.map +1 -0
- package/lib/response/switch-over-data-guard-response.d.ts +34 -0
- package/lib/response/switch-over-data-guard-response.js +15 -0
- package/lib/response/switch-over-data-guard-response.js.map +1 -0
- package/lib/response/update-data-guard-response.d.ts +34 -0
- package/lib/response/update-data-guard-response.js +15 -0
- package/lib/response/update-data-guard-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -45,6 +45,9 @@ var CreateDatabaseDetails;
|
|
|
45
45
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
46
|
"dbBackupConfig": obj.dbBackupConfig
|
|
47
47
|
? model.DbBackupConfig.getJsonObj(obj.dbBackupConfig)
|
|
48
|
+
: undefined,
|
|
49
|
+
"encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
|
|
50
|
+
? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails)
|
|
48
51
|
: undefined
|
|
49
52
|
});
|
|
50
53
|
return jsonObj;
|
|
@@ -54,6 +57,9 @@ var CreateDatabaseDetails;
|
|
|
54
57
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
58
|
"dbBackupConfig": obj.dbBackupConfig
|
|
56
59
|
? model.DbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig)
|
|
60
|
+
: undefined,
|
|
61
|
+
"encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
|
|
62
|
+
? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.encryptionKeyLocationDetails)
|
|
57
63
|
: undefined
|
|
58
64
|
});
|
|
59
65
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-database-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+FlC,IAAiB,qBAAqB,CAwCrC;AAxCD,WAAiB,qBAAqB;IACpC,IAAY,UAGX;IAHD,WAAY,UAAU;QACpB,2BAAa,CAAA;QACb,yBAAW,CAAA;IACb,CAAC,EAHW,UAAU,GAAV,gCAAU,KAAV,gCAAU,QAGrB;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,4BAA4B,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,gCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,4BAA4B,CACjC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,4CAAsB,yBAiBrC,CAAA;AACH,CAAC,EAxCgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAwCrC"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
13
|
*/
|
|
14
|
+
import * as model from "../model";
|
|
14
15
|
export interface CreateDatabaseFromBackupDetails {
|
|
15
16
|
/**
|
|
16
17
|
* The backup [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
@@ -20,6 +21,7 @@ export interface CreateDatabaseFromBackupDetails {
|
|
|
20
21
|
* The password to open the TDE wallet.
|
|
21
22
|
*/
|
|
22
23
|
"backupTDEPassword"?: string;
|
|
24
|
+
"sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails;
|
|
23
25
|
/**
|
|
24
26
|
* A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
|
|
25
27
|
*/
|
|
@@ -12,17 +12,45 @@
|
|
|
12
12
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
13
|
* 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.
|
|
14
14
|
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
15
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
35
|
exports.CreateDatabaseFromBackupDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
17
37
|
var CreateDatabaseFromBackupDetails;
|
|
18
38
|
(function (CreateDatabaseFromBackupDetails) {
|
|
19
39
|
function getJsonObj(obj) {
|
|
20
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
|
|
42
|
+
? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails)
|
|
43
|
+
: undefined
|
|
44
|
+
});
|
|
21
45
|
return jsonObj;
|
|
22
46
|
}
|
|
23
47
|
CreateDatabaseFromBackupDetails.getJsonObj = getJsonObj;
|
|
24
48
|
function getDeserializedJsonObj(obj) {
|
|
25
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
"sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
|
|
51
|
+
? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.sourceEncryptionKeyLocationDetails)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
26
54
|
return jsonObj;
|
|
27
55
|
}
|
|
28
56
|
CreateDatabaseFromBackupDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database-from-backup-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-from-backup-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG
|
|
1
|
+
{"version":3,"file":"create-database-from-backup-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-from-backup-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoClC,IAAiB,+BAA+B,CA2B/C;AA3BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,kCAAkC,CAAC;gBACvF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,0CAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,kCAAkC,CACvC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sDAAsB,yBAarC,CAAA;AACH,CAAC,EA3BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA2B/C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Service API
|
|
3
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Details for creating a new standby database.
|
|
17
|
+
* <p>
|
|
18
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateStandByDatabaseDetails extends model.CreateDatabaseBase {
|
|
22
|
+
"database": model.CreateStandbyDetails;
|
|
23
|
+
"source": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace CreateStandByDatabaseDetails {
|
|
26
|
+
function getJsonObj(obj: CreateStandByDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
27
|
+
const source = "DATAGUARD";
|
|
28
|
+
function getDeserializedJsonObj(obj: CreateStandByDatabaseDetails, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Database Service API
|
|
4
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20160918
|
|
7
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.CreateStandByDatabaseDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var CreateStandByDatabaseDetails;
|
|
38
|
+
(function (CreateStandByDatabaseDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.CreateDatabaseBase.getJsonObj(obj))), {
|
|
43
|
+
"database": obj.database ? model.CreateStandbyDetails.getJsonObj(obj.database) : undefined
|
|
44
|
+
});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
CreateStandByDatabaseDetails.getJsonObj = getJsonObj;
|
|
48
|
+
CreateStandByDatabaseDetails.source = "DATAGUARD";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.CreateDatabaseBase.getDeserializedJsonObj(obj))), {
|
|
53
|
+
"database": obj.database
|
|
54
|
+
? model.CreateStandbyDetails.getDeserializedJsonObj(obj.database)
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
CreateStandByDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(CreateStandByDatabaseDetails = exports.CreateStandByDatabaseDetails || (exports.CreateStandByDatabaseDetails = {}));
|
|
61
|
+
//# sourceMappingURL=create-stand-by-database-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-stand-by-database-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-stand-by-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,4BAA4B,CA+B5C;AA/BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GAC5E;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uCAAU,aAWzB,CAAA;IACY,mCAAM,GAAG,WAAW,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAkC,CAAC,GACxF;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,mDAAsB,yBAgBrC,CAAA;AACH,CAAC,EA/BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA+B5C"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Service API
|
|
3
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Standby Creation Details.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateStandbyDetails {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source database.
|
|
21
|
+
*/
|
|
22
|
+
"sourceDatabaseId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The administrator password of the primary database in this Data Guard association.
|
|
25
|
+
* <p>
|
|
26
|
+
**The password MUST be the same as the primary admin password.**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"databaseAdminPassword": string;
|
|
30
|
+
/**
|
|
31
|
+
* The TDE wallet password of the source database specified by 'sourceDatabaseId'.
|
|
32
|
+
*/
|
|
33
|
+
"sourceTdeWalletPassword": string;
|
|
34
|
+
"sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails;
|
|
35
|
+
/**
|
|
36
|
+
* True if active Data Guard is enabled.
|
|
37
|
+
*/
|
|
38
|
+
"isActiveDataGuardEnabled"?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the {@code DB_UNIQUE_NAME} of the peer database to be created.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"dbUniqueName"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies a prefix for the {@code Oracle SID} of the database to be created.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"sidPrefix"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The protection mode of this Data Guard. For more information, see
|
|
51
|
+
* [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
|
|
52
|
+
* in the Oracle Data Guard documentation.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"protectionMode": CreateStandbyDetails.ProtectionMode;
|
|
56
|
+
/**
|
|
57
|
+
* The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
|
|
58
|
+
* <p>
|
|
59
|
+
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
|
|
60
|
+
* * MAXIMUM_PERFORMANCE - ASYNC
|
|
61
|
+
* * MAXIMUM_PROTECTION - SYNC
|
|
62
|
+
* <p>
|
|
63
|
+
For more information, see
|
|
64
|
+
* [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
|
|
65
|
+
* in the Oracle Data Guard documentation.
|
|
66
|
+
* <p>
|
|
67
|
+
**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"transportType": CreateStandbyDetails.TransportType;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace CreateStandbyDetails {
|
|
73
|
+
enum ProtectionMode {
|
|
74
|
+
MaximumAvailability = "MAXIMUM_AVAILABILITY",
|
|
75
|
+
MaximumPerformance = "MAXIMUM_PERFORMANCE",
|
|
76
|
+
MaximumProtection = "MAXIMUM_PROTECTION"
|
|
77
|
+
}
|
|
78
|
+
enum TransportType {
|
|
79
|
+
Sync = "SYNC",
|
|
80
|
+
Async = "ASYNC",
|
|
81
|
+
Fastsync = "FASTSYNC"
|
|
82
|
+
}
|
|
83
|
+
function getJsonObj(obj: CreateStandbyDetails): object;
|
|
84
|
+
function getDeserializedJsonObj(obj: CreateStandbyDetails): object;
|
|
85
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Database Service API
|
|
4
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20160918
|
|
7
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.CreateStandbyDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var CreateStandbyDetails;
|
|
38
|
+
(function (CreateStandbyDetails) {
|
|
39
|
+
let ProtectionMode;
|
|
40
|
+
(function (ProtectionMode) {
|
|
41
|
+
ProtectionMode["MaximumAvailability"] = "MAXIMUM_AVAILABILITY";
|
|
42
|
+
ProtectionMode["MaximumPerformance"] = "MAXIMUM_PERFORMANCE";
|
|
43
|
+
ProtectionMode["MaximumProtection"] = "MAXIMUM_PROTECTION";
|
|
44
|
+
})(ProtectionMode = CreateStandbyDetails.ProtectionMode || (CreateStandbyDetails.ProtectionMode = {}));
|
|
45
|
+
let TransportType;
|
|
46
|
+
(function (TransportType) {
|
|
47
|
+
TransportType["Sync"] = "SYNC";
|
|
48
|
+
TransportType["Async"] = "ASYNC";
|
|
49
|
+
TransportType["Fastsync"] = "FASTSYNC";
|
|
50
|
+
})(TransportType = CreateStandbyDetails.TransportType || (CreateStandbyDetails.TransportType = {}));
|
|
51
|
+
function getJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
|
|
54
|
+
? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails)
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
CreateStandbyDetails.getJsonObj = getJsonObj;
|
|
60
|
+
function getDeserializedJsonObj(obj) {
|
|
61
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
"sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
|
|
63
|
+
? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.sourceEncryptionKeyLocationDetails)
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
CreateStandbyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(CreateStandbyDetails = exports.CreateStandbyDetails || (exports.CreateStandbyDetails = {}));
|
|
70
|
+
//# sourceMappingURL=create-standby-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-standby-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-standby-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,oBAAoB,CAuCpC;AAvCD,WAAiB,oBAAoB;IACnC,IAAY,cAIX;IAJD,WAAY,cAAc;QACxB,8DAA4C,CAAA;QAC5C,4DAA0C,CAAA;QAC1C,0DAAwC,CAAA;IAC1C,CAAC,EAJW,cAAc,GAAd,mCAAc,KAAd,mCAAc,QAIzB;IAED,IAAY,aAIX;IAJD,WAAY,aAAa;QACvB,8BAAa,CAAA;QACb,gCAAe,CAAA;QACf,sCAAqB,CAAA;IACvB,CAAC,EAJW,aAAa,GAAb,kCAAa,KAAb,kCAAa,QAIxB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,kCAAkC,CAAC;gBACvF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,kCAAkC,CACvC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EAvCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAuCpC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Service API
|
|
3
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
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
|
+
/**
|
|
15
|
+
* The member of a Data Guard group. Represents either a PRIMARY or a STANDBY Data Guard instance.
|
|
16
|
+
*/
|
|
17
|
+
export interface DataGuardGroupMember {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system, Cloud VM cluster or VM cluster.
|
|
20
|
+
*/
|
|
21
|
+
"dbSystemId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database.
|
|
24
|
+
*/
|
|
25
|
+
"databaseId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The role of the reporting database in this Data Guard association.
|
|
28
|
+
*/
|
|
29
|
+
"role": DataGuardGroupMember.Role;
|
|
30
|
+
/**
|
|
31
|
+
* The lag time between updates to the primary database and application of the redo data on the standby database,
|
|
32
|
+
* as computed by the reporting database.
|
|
33
|
+
* <p>
|
|
34
|
+
Example: {@code 1 second}
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"applyLag"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The rate at which redo logs are synced between the associated databases.
|
|
40
|
+
* <p>
|
|
41
|
+
Example: {@code 102.96 MByte/s}
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"applyRate"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The rate at which redo logs are transported between the associated databases.
|
|
47
|
+
* <p>
|
|
48
|
+
Example: {@code 1 second}
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"transportLag"?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The date and time when last redo transport has been done.
|
|
54
|
+
*/
|
|
55
|
+
"transportLagRefresh"?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
|
|
58
|
+
* <p>
|
|
59
|
+
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
|
|
60
|
+
* * MAXIMUM_PERFORMANCE - ASYNC
|
|
61
|
+
* * MAXIMUM_PROTECTION - SYNC
|
|
62
|
+
* <p>
|
|
63
|
+
For more information, see
|
|
64
|
+
* [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
|
|
65
|
+
* in the Oracle Data Guard documentation.
|
|
66
|
+
* <p>
|
|
67
|
+
**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"transportType"?: DataGuardGroupMember.TransportType;
|
|
71
|
+
/**
|
|
72
|
+
* True if active Data Guard is enabled.
|
|
73
|
+
*/
|
|
74
|
+
"isActiveDataGuardEnabled"?: boolean;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace DataGuardGroupMember {
|
|
77
|
+
enum Role {
|
|
78
|
+
Primary = "PRIMARY",
|
|
79
|
+
Standby = "STANDBY",
|
|
80
|
+
DisabledStandby = "DISABLED_STANDBY",
|
|
81
|
+
/**
|
|
82
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
83
|
+
* version of the SDK.
|
|
84
|
+
*/
|
|
85
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
86
|
+
}
|
|
87
|
+
enum TransportType {
|
|
88
|
+
Sync = "SYNC",
|
|
89
|
+
Async = "ASYNC",
|
|
90
|
+
Fastsync = "FASTSYNC",
|
|
91
|
+
/**
|
|
92
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
93
|
+
* version of the SDK.
|
|
94
|
+
*/
|
|
95
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
96
|
+
}
|
|
97
|
+
function getJsonObj(obj: DataGuardGroupMember): object;
|
|
98
|
+
function getDeserializedJsonObj(obj: DataGuardGroupMember): object;
|
|
99
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Database Service API
|
|
4
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20160918
|
|
7
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DataGuardGroupMember = void 0;
|
|
17
|
+
var DataGuardGroupMember;
|
|
18
|
+
(function (DataGuardGroupMember) {
|
|
19
|
+
let Role;
|
|
20
|
+
(function (Role) {
|
|
21
|
+
Role["Primary"] = "PRIMARY";
|
|
22
|
+
Role["Standby"] = "STANDBY";
|
|
23
|
+
Role["DisabledStandby"] = "DISABLED_STANDBY";
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
Role["UnknownValue"] = "UNKNOWN_VALUE";
|
|
29
|
+
})(Role = DataGuardGroupMember.Role || (DataGuardGroupMember.Role = {}));
|
|
30
|
+
let TransportType;
|
|
31
|
+
(function (TransportType) {
|
|
32
|
+
TransportType["Sync"] = "SYNC";
|
|
33
|
+
TransportType["Async"] = "ASYNC";
|
|
34
|
+
TransportType["Fastsync"] = "FASTSYNC";
|
|
35
|
+
/**
|
|
36
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
37
|
+
* version of the SDK.
|
|
38
|
+
*/
|
|
39
|
+
TransportType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
40
|
+
})(TransportType = DataGuardGroupMember.TransportType || (DataGuardGroupMember.TransportType = {}));
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
DataGuardGroupMember.getJsonObj = getJsonObj;
|
|
46
|
+
function getDeserializedJsonObj(obj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
DataGuardGroupMember.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(DataGuardGroupMember = exports.DataGuardGroupMember || (exports.DataGuardGroupMember = {}));
|
|
52
|
+
//# sourceMappingURL=data-guard-group-member.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-guard-group-member.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/data-guard-group-member.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAoEH,IAAiB,oBAAoB,CAiCpC;AAjCD,WAAiB,oBAAoB;IACnC,IAAY,IASX;IATD,WAAY,IAAI;QACd,2BAAmB,CAAA;QACnB,2BAAmB,CAAA;QACnB,4CAAoC,CAAA;QACpC;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EATW,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QASf;IAED,IAAY,aASX;IATD,WAAY,aAAa;QACvB,8BAAa,CAAA;QACb,gCAAe,CAAA;QACf,sCAAqB,CAAA;QACrB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EATW,aAAa,GAAb,kCAAa,KAAb,kCAAa,QASxB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAjCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiCpC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Service API
|
|
3
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Details of Data Guard setup that the given database is part of.
|
|
17
|
+
* Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface DataGuardGroup {
|
|
21
|
+
/**
|
|
22
|
+
* List of Data Guard members, representing each database that is part of Data Guard.
|
|
23
|
+
*/
|
|
24
|
+
"members"?: Array<model.DataGuardGroupMember>;
|
|
25
|
+
/**
|
|
26
|
+
* The protection mode of this Data Guard. For more information, see
|
|
27
|
+
* [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
|
|
28
|
+
* in the Oracle Data Guard documentation.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"protectionMode"?: DataGuardGroup.ProtectionMode;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace DataGuardGroup {
|
|
34
|
+
enum ProtectionMode {
|
|
35
|
+
MaximumAvailability = "MAXIMUM_AVAILABILITY",
|
|
36
|
+
MaximumPerformance = "MAXIMUM_PERFORMANCE",
|
|
37
|
+
MaximumProtection = "MAXIMUM_PROTECTION",
|
|
38
|
+
/**
|
|
39
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
40
|
+
* version of the SDK.
|
|
41
|
+
*/
|
|
42
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
43
|
+
}
|
|
44
|
+
function getJsonObj(obj: DataGuardGroup): object;
|
|
45
|
+
function getDeserializedJsonObj(obj: DataGuardGroup): object;
|
|
46
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Database Service API
|
|
4
|
+
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20160918
|
|
7
|
+
* Contact: sic_dbaas_cp_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.DataGuardGroup = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var DataGuardGroup;
|
|
38
|
+
(function (DataGuardGroup) {
|
|
39
|
+
let ProtectionMode;
|
|
40
|
+
(function (ProtectionMode) {
|
|
41
|
+
ProtectionMode["MaximumAvailability"] = "MAXIMUM_AVAILABILITY";
|
|
42
|
+
ProtectionMode["MaximumPerformance"] = "MAXIMUM_PERFORMANCE";
|
|
43
|
+
ProtectionMode["MaximumProtection"] = "MAXIMUM_PROTECTION";
|
|
44
|
+
/**
|
|
45
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
46
|
+
* version of the SDK.
|
|
47
|
+
*/
|
|
48
|
+
ProtectionMode["UnknownValue"] = "UNKNOWN_VALUE";
|
|
49
|
+
})(ProtectionMode = DataGuardGroup.ProtectionMode || (DataGuardGroup.ProtectionMode = {}));
|
|
50
|
+
function getJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"members": obj.members
|
|
53
|
+
? obj.members.map(item => {
|
|
54
|
+
return model.DataGuardGroupMember.getJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
DataGuardGroup.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"members": obj.members
|
|
64
|
+
? obj.members.map(item => {
|
|
65
|
+
return model.DataGuardGroupMember.getDeserializedJsonObj(item);
|
|
66
|
+
})
|
|
67
|
+
: undefined
|
|
68
|
+
});
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
DataGuardGroup.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(DataGuardGroup = exports.DataGuardGroup || (exports.DataGuardGroup = {}));
|
|
73
|
+
//# sourceMappingURL=data-guard-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-guard-group.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/data-guard-group.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,cAAc,CAwC9B;AAxCD,WAAiB,cAAc;IAC7B,IAAY,cASX;IATD,WAAY,cAAc;QACxB,8DAA4C,CAAA;QAC5C,4DAA0C,CAAA;QAC1C,0DAAwC,CAAA;QACxC;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EATW,cAAc,GAAd,6BAAc,KAAd,6BAAc,QASzB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,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,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,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,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EAxCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAwC9B"}
|
|
@@ -158,6 +158,8 @@ export interface DatabaseSummary {
|
|
|
158
158
|
* The wallet name for Oracle Key Vault.
|
|
159
159
|
*/
|
|
160
160
|
"keyStoreWalletName"?: string;
|
|
161
|
+
"dataGuardGroup"?: model.DataGuardGroup;
|
|
162
|
+
"encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails;
|
|
161
163
|
}
|
|
162
164
|
export declare namespace DatabaseSummary {
|
|
163
165
|
enum LifecycleState {
|