oci-distributeddatabase 2.120.0 → 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 +12 -2
- package/lib/client.js +65 -2
- package/lib/client.js.map +1 -1
- package/lib/model/catalog-peer-with-dedicated-infra.d.ts +19 -0
- package/lib/model/catalog-peer-with-dedicated-infra.js.map +1 -1
- package/lib/model/catalog-peer-with-exadb-xs.d.ts +9 -1
- package/lib/model/catalog-peer-with-exadb-xs.js.map +1 -1
- package/lib/model/change-distributed-autonomous-db-backup-config-details.d.ts +23 -0
- package/lib/model/change-distributed-autonomous-db-backup-config-details.js +57 -0
- package/lib/model/change-distributed-autonomous-db-backup-config-details.js.map +1 -0
- package/lib/model/create-catalog-peer-with-dedicated-infra-details.d.ts +45 -0
- package/lib/model/create-catalog-peer-with-dedicated-infra-details.js +29 -0
- package/lib/model/create-catalog-peer-with-dedicated-infra-details.js.map +1 -0
- package/lib/model/create-catalog-peer-with-exadb-xs-details.d.ts +34 -0
- package/lib/model/create-catalog-peer-with-exadb-xs-details.js +29 -0
- package/lib/model/create-catalog-peer-with-exadb-xs-details.js.map +1 -0
- package/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.d.ts +7 -1
- package/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.js +14 -2
- package/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.js.map +1 -1
- package/lib/model/create-distributed-autonomous-database-details.d.ts +30 -10
- package/lib/model/create-distributed-autonomous-database-details.js +6 -0
- package/lib/model/create-distributed-autonomous-database-details.js.map +1 -1
- package/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.d.ts +7 -1
- package/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.js +14 -2
- package/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.js.map +1 -1
- package/lib/model/create-distributed-database-catalog-with-exadb-xs-details.d.ts +7 -1
- package/lib/model/create-distributed-database-catalog-with-exadb-xs-details.js +14 -2
- package/lib/model/create-distributed-database-catalog-with-exadb-xs-details.js.map +1 -1
- package/lib/model/create-distributed-database-details.d.ts +28 -9
- package/lib/model/create-distributed-database-details.js.map +1 -1
- package/lib/model/create-distributed-database-shard-with-exadb-xs-details.d.ts +7 -1
- package/lib/model/create-distributed-database-shard-with-exadb-xs-details.js +14 -2
- package/lib/model/create-distributed-database-shard-with-exadb-xs-details.js.map +1 -1
- package/lib/model/create-shard-peer-with-dedicated-infra-details.d.ts +45 -0
- package/lib/model/create-shard-peer-with-dedicated-infra-details.js +29 -0
- package/lib/model/create-shard-peer-with-dedicated-infra-details.js.map +1 -0
- package/lib/model/create-shard-peer-with-exadb-xs-details.d.ts +34 -0
- package/lib/model/create-shard-peer-with-exadb-xs-details.js +29 -0
- package/lib/model/create-shard-peer-with-exadb-xs-details.js.map +1 -0
- package/lib/model/distributed-autonomous-database-catalog-with-dedicated-infra.d.ts +1 -1
- package/lib/model/distributed-autonomous-database-shard-with-dedicated-infra.d.ts +1 -1
- package/lib/model/distributed-autonomous-database-summary.d.ts +3 -1
- package/lib/model/distributed-autonomous-database-summary.js.map +1 -1
- package/lib/model/distributed-autonomous-database.d.ts +5 -2
- package/lib/model/distributed-autonomous-database.js +6 -0
- package/lib/model/distributed-autonomous-database.js.map +1 -1
- package/lib/model/distributed-autonomous-db-backup-config.d.ts +34 -0
- package/lib/model/distributed-autonomous-db-backup-config.js +61 -0
- package/lib/model/distributed-autonomous-db-backup-config.js.map +1 -0
- package/lib/model/distributed-autonomous-db-backup-destination.d.ts +68 -0
- package/lib/model/distributed-autonomous-db-backup-destination.js +42 -0
- package/lib/model/distributed-autonomous-db-backup-destination.js.map +1 -0
- package/lib/model/distributed-autonomous-db-protection-mode.d.ts +31 -0
- package/lib/model/distributed-autonomous-db-protection-mode.js +42 -0
- package/lib/model/distributed-autonomous-db-protection-mode.js.map +1 -0
- package/lib/model/distributed-database-catalog-with-exadb-xs.d.ts +1 -1
- package/lib/model/distributed-database-gsm.d.ts +1 -1
- package/lib/model/distributed-database-shard-with-exadb-xs.d.ts +1 -1
- package/lib/model/distributed-database-summary.d.ts +3 -1
- package/lib/model/distributed-database-summary.js.map +1 -1
- package/lib/model/distributed-database.d.ts +3 -1
- package/lib/model/distributed-database.js.map +1 -1
- package/lib/model/distributed-db-protection-mode.d.ts +29 -0
- package/lib/model/distributed-db-protection-mode.js +40 -0
- package/lib/model/distributed-db-protection-mode.js.map +1 -0
- package/lib/model/distributed-db-transport-type.d.ts +29 -0
- package/lib/model/distributed-db-transport-type.js +40 -0
- package/lib/model/distributed-db-transport-type.js.map +1 -0
- package/lib/model/index.d.ts +20 -0
- package/lib/model/index.js +22 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/operation-type.d.ts +2 -0
- package/lib/model/operation-type.js +2 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/shard-peer-with-dedicated-infra.d.ts +19 -0
- package/lib/model/shard-peer-with-dedicated-infra.js.map +1 -1
- package/lib/model/shard-peer-with-exadb-xs.d.ts +9 -1
- package/lib/model/shard-peer-with-exadb-xs.js.map +1 -1
- package/lib/request/change-distributed-autonomous-db-backup-config-request.d.ts +49 -0
- package/lib/request/change-distributed-autonomous-db-backup-config-request.js +15 -0
- package/lib/request/change-distributed-autonomous-db-backup-config-request.js.map +1 -0
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/response/change-distributed-autonomous-db-backup-config-response.d.ts +25 -0
- package/lib/response/change-distributed-autonomous-db-backup-config-response.js +15 -0
- package/lib/response/change-distributed-autonomous-db-backup-config-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
|
@@ -50,30 +50,47 @@ export interface CreateDistributedDatabaseDetails {
|
|
|
50
50
|
*/
|
|
51
51
|
"ncharacterSet": string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
* greater than 2 times the size of the largest shardgroup in any shardspace.
|
|
53
|
+
* Number of chunks in a shardspace. The value of chunks must be
|
|
54
|
+
* greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is
|
|
55
|
+
* required to be provided for distributed databases being created with
|
|
56
|
+
* SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload.
|
|
55
57
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
58
|
*/
|
|
57
59
|
"chunks"?: number;
|
|
58
60
|
/**
|
|
59
|
-
* The listener port number for the Globally distributed database.
|
|
61
|
+
* The listener port number for the Globally distributed database. The listener port number
|
|
62
|
+
* has to be unique for a customer tenancy across all distributed databases. Same port number should
|
|
63
|
+
* not be re-used for any other distributed database.
|
|
64
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
65
|
*/
|
|
61
66
|
"listenerPort": number;
|
|
62
67
|
/**
|
|
63
|
-
* The TLS listener port number for Globally distributed database.
|
|
68
|
+
* The TLS listener port number for the Globally distributed database. The TLS listener port number
|
|
69
|
+
* has to be unique for a customer tenancy across all distributed databases. Same port number should
|
|
70
|
+
* not be re-used for any other distributed database. For BASE_DB and EXADB_XS based distributed databases,
|
|
71
|
+
* tls is not supported hence the listenerPortTls is not needed to be provided in create payload.
|
|
72
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
64
73
|
*/
|
|
65
74
|
"listenerPortTls"?: number;
|
|
66
75
|
/**
|
|
67
|
-
*
|
|
76
|
+
* The ons local port number for the Globally distributed database. The onsPortLocal has to be
|
|
77
|
+
* unique for a customer tenancy across all distributed databases. Same port number should not be
|
|
78
|
+
* re-used for any other distributed database.
|
|
79
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
68
80
|
*/
|
|
69
81
|
"onsPortLocal": number;
|
|
70
82
|
/**
|
|
71
|
-
*
|
|
83
|
+
* The ons remote port number for the Globally distributed database. The onsPortRemote has to be
|
|
84
|
+
* unique for a customer tenancy across all distributed databases. Same port number should not be
|
|
85
|
+
* re-used for any other distributed database.
|
|
86
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
72
87
|
*/
|
|
73
88
|
"onsPortRemote": number;
|
|
74
89
|
/**
|
|
75
|
-
* The Replication method for Globally distributed database. Use RAFT for Raft replication
|
|
76
|
-
*
|
|
90
|
+
* The Replication method for Globally distributed database. Use RAFT for Raft based replication.
|
|
91
|
+
* With RAFT replication, shards cannot have peers details set on them. In case shards need to
|
|
92
|
+
* have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or
|
|
93
|
+
* without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
|
|
77
94
|
*
|
|
78
95
|
*/
|
|
79
96
|
"replicationMethod"?: CreateDistributedDatabaseDetails.ReplicationMethod;
|
|
@@ -83,7 +100,9 @@ export interface CreateDistributedDatabaseDetails {
|
|
|
83
100
|
*/
|
|
84
101
|
"replicationFactor"?: number;
|
|
85
102
|
/**
|
|
86
|
-
*
|
|
103
|
+
* The replication unit count for RAFT based distributed database. For RAFT replication based
|
|
104
|
+
* Globally distributed database, the value should be at least twice the number of shards.
|
|
105
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
87
106
|
*/
|
|
88
107
|
"replicationUnit"?: number;
|
|
89
108
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-distributed-database-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-distributed-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-distributed-database-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-distributed-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiIlC,IAAiB,gCAAgC,CA6D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AG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC5E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,uDAAsB,yBAsBrC,CAAA;AACH,CAAC,EA7DgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA6DhD"}
|
|
@@ -24,9 +24,15 @@ export interface CreateDistributedDatabaseShardWithExadbXsDetails extends model.
|
|
|
24
24
|
*/
|
|
25
25
|
"adminPassword": string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* This field is deprecated. This should not be used while creation of new distributed database. To set the peers
|
|
28
|
+
* on new shards of distributed database please use peerDetails.
|
|
29
|
+
*
|
|
28
30
|
*/
|
|
29
31
|
"peerVmClusterIds"?: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The details required for creation of the peer for the ExadbXs infrastructure based shard.
|
|
34
|
+
*/
|
|
35
|
+
"peerDetails"?: Array<model.CreateShardPeerWithExadbXsDetails>;
|
|
30
36
|
/**
|
|
31
37
|
* The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created.
|
|
32
38
|
* Shard space name shall be used while creation of new shards.
|
|
@@ -38,7 +38,13 @@ var CreateDistributedDatabaseShardWithExadbXsDetails;
|
|
|
38
38
|
function getJsonObj(obj, isParentJsonObj) {
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
40
|
? obj
|
|
41
|
-
: model.CreateDistributedDatabaseShardDetails.getJsonObj(obj))), {
|
|
41
|
+
: model.CreateDistributedDatabaseShardDetails.getJsonObj(obj))), {
|
|
42
|
+
"peerDetails": obj.peerDetails
|
|
43
|
+
? obj.peerDetails.map(item => {
|
|
44
|
+
return model.CreateShardPeerWithExadbXsDetails.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
42
48
|
return jsonObj;
|
|
43
49
|
}
|
|
44
50
|
CreateDistributedDatabaseShardWithExadbXsDetails.getJsonObj = getJsonObj;
|
|
@@ -46,7 +52,13 @@ var CreateDistributedDatabaseShardWithExadbXsDetails;
|
|
|
46
52
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
53
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
54
|
? obj
|
|
49
|
-
: model.CreateDistributedDatabaseShardDetails.getDeserializedJsonObj(obj))), {
|
|
55
|
+
: model.CreateDistributedDatabaseShardDetails.getDeserializedJsonObj(obj))), {
|
|
56
|
+
"peerDetails": obj.peerDetails
|
|
57
|
+
? obj.peerDetails.map(item => {
|
|
58
|
+
return model.CreateShardPeerWithExadbXsDetails.getDeserializedJsonObj(item);
|
|
59
|
+
})
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
50
62
|
return jsonObj;
|
|
51
63
|
}
|
|
52
64
|
CreateDistributedDatabaseShardWithExadbXsDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-distributed-database-shard-with-exadb-xs-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-distributed-database-shard-with-exadb-xs-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiDlC,IAAiB,gDAAgD,CA4ChE;AA5CD,WAAiB,gDAAgD;IAC/D,SAAgB,UAAU,CACxB,GAAqD,EACrD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qCAAqC,CAAC,UAAU,CACrD,GAAG,CACiD,CAAC,GACxD;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,2DAAU,aAoBzB,CAAA;IACY,uDAAM,GAAG,UAAU,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAAqD,EACrD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CACjE,GAAG,CACiD,CAAC,GACxD;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,gDAAgD,GAAhD,wDAAgD,KAAhD,wDAAgD,QA4ChE"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Globally Distributed Database
|
|
3
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
4
|
+
* OpenAPI spec version: 20250101
|
|
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
|
+
/**
|
|
15
|
+
* Details required for creation of autonomous dedicated infrastructure based shard peer.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateShardPeerWithDedicatedInfraDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster for the peer shard.
|
|
20
|
+
*/
|
|
21
|
+
"cloudAutonomousVmClusterId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The protectionMode for the shard peer.
|
|
24
|
+
*/
|
|
25
|
+
"protectionMode"?: model.DistributedAutonomousDbProtectionMode;
|
|
26
|
+
/**
|
|
27
|
+
* The lag time preference based on data loss tolerance in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"fastStartFailOverLagLimitInSeconds"?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"isAutomaticFailoverEnabled"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
|
|
37
|
+
* This value represents the number of days before schedlued maintenance of the primary database.
|
|
38
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
39
|
+
*/
|
|
40
|
+
"standbyMaintenanceBufferInDays"?: number;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace CreateShardPeerWithDedicatedInfraDetails {
|
|
43
|
+
function getJsonObj(obj: CreateShardPeerWithDedicatedInfraDetails): object;
|
|
44
|
+
function getDeserializedJsonObj(obj: CreateShardPeerWithDedicatedInfraDetails): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Globally Distributed Database
|
|
4
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
5
|
+
* OpenAPI spec version: 20250101
|
|
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.CreateShardPeerWithDedicatedInfraDetails = void 0;
|
|
16
|
+
var CreateShardPeerWithDedicatedInfraDetails;
|
|
17
|
+
(function (CreateShardPeerWithDedicatedInfraDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
CreateShardPeerWithDedicatedInfraDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
CreateShardPeerWithDedicatedInfraDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(CreateShardPeerWithDedicatedInfraDetails = exports.CreateShardPeerWithDedicatedInfraDetails || (exports.CreateShardPeerWithDedicatedInfraDetails = {}));
|
|
29
|
+
//# sourceMappingURL=create-shard-peer-with-dedicated-infra-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-shard-peer-with-dedicated-infra-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-shard-peer-with-dedicated-infra-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAkCH,IAAiB,wCAAwC,CAWxD;AAXD,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CAAC,GAA6C;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6C;QAClF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAWxD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Globally Distributed Database
|
|
3
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
4
|
+
* OpenAPI spec version: 20250101
|
|
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
|
+
/**
|
|
15
|
+
* Details required for creation of ExadbXs infrastructure based shard peer.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateShardPeerWithExadbXsDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster for the shard peer.
|
|
20
|
+
*/
|
|
21
|
+
"vmClusterId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The protectionMode for the shard peer.
|
|
24
|
+
*/
|
|
25
|
+
"protectionMode"?: model.DistributedDbProtectionMode;
|
|
26
|
+
/**
|
|
27
|
+
* The redo transport type to use for this Data Guard association.
|
|
28
|
+
*/
|
|
29
|
+
"transportType"?: model.DistributedDbTransportType;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace CreateShardPeerWithExadbXsDetails {
|
|
32
|
+
function getJsonObj(obj: CreateShardPeerWithExadbXsDetails): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: CreateShardPeerWithExadbXsDetails): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Globally Distributed Database
|
|
4
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
5
|
+
* OpenAPI spec version: 20250101
|
|
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.CreateShardPeerWithExadbXsDetails = void 0;
|
|
16
|
+
var CreateShardPeerWithExadbXsDetails;
|
|
17
|
+
(function (CreateShardPeerWithExadbXsDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
CreateShardPeerWithExadbXsDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
CreateShardPeerWithExadbXsDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(CreateShardPeerWithExadbXsDetails = exports.CreateShardPeerWithExadbXsDetails || (exports.CreateShardPeerWithExadbXsDetails = {}));
|
|
29
|
+
//# sourceMappingURL=create-shard-peer-with-exadb-xs-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-shard-peer-with-exadb-xs-details.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/create-shard-peer-with-exadb-xs-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,iCAAiC,CAWjD;AAXD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsC;QAC3E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAWjD"}
|
|
@@ -36,7 +36,7 @@ export interface DistributedAutonomousDatabaseCatalogWithDedicatedInfra extends
|
|
|
36
36
|
*/
|
|
37
37
|
"cloudAutonomousVmClusterId": string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* This field is deprecated. For catalog peer details please refer peerDetails attribute.
|
|
40
40
|
*/
|
|
41
41
|
"peerCloudAutonomousVmClusterIds"?: Array<string>;
|
|
42
42
|
/**
|
|
@@ -36,7 +36,7 @@ export interface DistributedAutonomousDatabaseShardWithDedicatedInfra extends mo
|
|
|
36
36
|
*/
|
|
37
37
|
"cloudAutonomousVmClusterId": string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* This field is deprecated. For shard peer details please refer peerDetails attribute.
|
|
40
40
|
*/
|
|
41
41
|
"peerCloudAutonomousVmClusterIds"?: Array<string>;
|
|
42
42
|
/**
|
|
@@ -108,7 +108,9 @@ export interface DistributedAutonomousDatabaseSummary {
|
|
|
108
108
|
*/
|
|
109
109
|
"replicationFactor"?: number;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* The replication unit count for RAFT based distributed autonomous database. For RAFT replication based
|
|
112
|
+
* Globally distributed autonomous database, the value should be at least twice the number of shards.
|
|
113
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
112
114
|
*/
|
|
113
115
|
"replicationUnit"?: number;
|
|
114
116
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributed-autonomous-database-summary.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"distributed-autonomous-database-summary.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmIlC,IAAiB,oCAAoC,CA4CpD;AA5CD,WAAiB,oCAAoC;IACnD,IAAY,gBAOX;IAPD,WAAY,gBAAgB;QAC1B,kCAAc,CAAA;QACd;;;WAGG;QACH,kDAA8B,CAAA;IAChC,CAAC,EAPW,gBAAgB,GAAhB,qDAAgB,KAAhB,qDAAgB,QAO3B;IAED,SAAgB,UAAU,CAAC,GAAyC;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvF,CAAC,CAAC,SAAS;YAEb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAChE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+CAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyC;QAC9E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,sBAAsB,CACxE,GAAG,CAAC,iBAAiB,CACtB;gBACH,CAAC,CAAC,SAAS;YAEb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC5E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,2DAAsB,yBAiBrC,CAAA;AACH,CAAC,EA5CgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QA4CpD"}
|
|
@@ -63,7 +63,7 @@ export interface DistributedAutonomousDatabase {
|
|
|
63
63
|
*/
|
|
64
64
|
"shardingMethod": DistributedAutonomousDatabase.ShardingMethod;
|
|
65
65
|
/**
|
|
66
|
-
* Possible workload types.
|
|
66
|
+
* Possible workload types. Currently only OLTP workload type is supported.
|
|
67
67
|
*/
|
|
68
68
|
"dbWorkload": DistributedAutonomousDatabase.DbWorkload;
|
|
69
69
|
/**
|
|
@@ -108,7 +108,9 @@ export interface DistributedAutonomousDatabase {
|
|
|
108
108
|
*/
|
|
109
109
|
"replicationFactor"?: number;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* The replication unit count for RAFT based distributed autonomous database. For RAFT replication based
|
|
112
|
+
* Globally distributed autonomous database, the value should be at least twice the number of shards.
|
|
113
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
112
114
|
*/
|
|
113
115
|
"replicationUnit"?: number;
|
|
114
116
|
"latestGsmImage"?: model.DistributedAutonomousDatabaseGsmImage;
|
|
@@ -129,6 +131,7 @@ export interface DistributedAutonomousDatabase {
|
|
|
129
131
|
* Collection of catalogs associated with the Globally distributed autonomous database.
|
|
130
132
|
*/
|
|
131
133
|
"gsmDetails"?: Array<model.DistributedAutonomousDatabaseGsm>;
|
|
134
|
+
"dbBackupConfig"?: model.DistributedAutonomousDbBackupConfig;
|
|
132
135
|
"metadata"?: model.DistributedAutonomousDbMetadata;
|
|
133
136
|
/**
|
|
134
137
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
@@ -113,6 +113,9 @@ var DistributedAutonomousDatabase;
|
|
|
113
113
|
return model.DistributedAutonomousDatabaseGsm.getJsonObj(item);
|
|
114
114
|
})
|
|
115
115
|
: undefined,
|
|
116
|
+
"dbBackupConfig": obj.dbBackupConfig
|
|
117
|
+
? model.DistributedAutonomousDbBackupConfig.getJsonObj(obj.dbBackupConfig)
|
|
118
|
+
: undefined,
|
|
116
119
|
"metadata": obj.metadata
|
|
117
120
|
? model.DistributedAutonomousDbMetadata.getJsonObj(obj.metadata)
|
|
118
121
|
: undefined
|
|
@@ -143,6 +146,9 @@ var DistributedAutonomousDatabase;
|
|
|
143
146
|
return model.DistributedAutonomousDatabaseGsm.getDeserializedJsonObj(item);
|
|
144
147
|
})
|
|
145
148
|
: undefined,
|
|
149
|
+
"dbBackupConfig": obj.dbBackupConfig
|
|
150
|
+
? model.DistributedAutonomousDbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig)
|
|
151
|
+
: undefined,
|
|
146
152
|
"metadata": obj.metadata
|
|
147
153
|
? model.DistributedAutonomousDbMetadata.getDeserializedJsonObj(obj.metadata)
|
|
148
154
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributed-autonomous-database.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-database.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"distributed-autonomous-database.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-database.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiJlC,IAAiB,6BAA6B,CAsI7C;AAtID,WAAiB,6BAA6B;IAC5C,IAAY,cAcX;IAdD,WAAY,cAAc;QAC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AC;IACjB,CAAC;IAvCe,oDAAsB,yBAuCrC,CAAA;AACH,CAAC,EAtIgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAsI7C"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Globally Distributed Database
|
|
3
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
4
|
+
* OpenAPI spec version: 20250101
|
|
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
|
+
/**
|
|
15
|
+
* Backup options for the Distributed Autonomous Database.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface DistributedAutonomousDbBackupConfig {
|
|
19
|
+
/**
|
|
20
|
+
* Backup destination details.
|
|
21
|
+
*/
|
|
22
|
+
"backupDestinationDetails"?: Array<model.DistributedAutonomousDbBackupDestination>;
|
|
23
|
+
/**
|
|
24
|
+
* Number of days between the current and the earliest point of recoverability covered by automatic backups.
|
|
25
|
+
* This value applies to automatic backups. When the value is updated, it is applied to all existing automatic backups.
|
|
26
|
+
* If the number of specified days is 0 then there will be no backups.
|
|
27
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"recoveryWindowInDays"?: number;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace DistributedAutonomousDbBackupConfig {
|
|
32
|
+
function getJsonObj(obj: DistributedAutonomousDbBackupConfig): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: DistributedAutonomousDbBackupConfig): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Globally Distributed Database
|
|
4
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
5
|
+
* OpenAPI spec version: 20250101
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.DistributedAutonomousDbBackupConfig = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var DistributedAutonomousDbBackupConfig;
|
|
37
|
+
(function (DistributedAutonomousDbBackupConfig) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
41
|
+
? obj.backupDestinationDetails.map(item => {
|
|
42
|
+
return model.DistributedAutonomousDbBackupDestination.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
DistributedAutonomousDbBackupConfig.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
52
|
+
? obj.backupDestinationDetails.map(item => {
|
|
53
|
+
return model.DistributedAutonomousDbBackupDestination.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
DistributedAutonomousDbBackupConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(DistributedAutonomousDbBackupConfig = exports.DistributedAutonomousDbBackupConfig || (exports.DistributedAutonomousDbBackupConfig = {}));
|
|
61
|
+
//# sourceMappingURL=distributed-autonomous-db-backup-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distributed-autonomous-db-backup-config.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,mCAAmC,CA6BnD;AA7BD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,0BAA0B,EAAE,GAAG,CAAC,wBAAwB;gBACtD,CAAC,CAAC,GAAG,CAAC,wBAAwB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtC,OAAO,KAAK,CAAC,wCAAwC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,0BAA0B,EAAE,GAAG,CAAC,wBAAwB;gBACtD,CAAC,CAAC,GAAG,CAAC,wBAAwB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtC,OAAO,KAAK,CAAC,wCAAwC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QA6BnD"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Globally Distributed Database
|
|
3
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
4
|
+
* OpenAPI spec version: 20250101
|
|
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
|
+
/**
|
|
14
|
+
* Backup destination details
|
|
15
|
+
*/
|
|
16
|
+
export interface DistributedAutonomousDbBackupDestination {
|
|
17
|
+
/**
|
|
18
|
+
* Type of the database backup destination.
|
|
19
|
+
*/
|
|
20
|
+
"type": DistributedAutonomousDbBackupDestination.Type;
|
|
21
|
+
/**
|
|
22
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination.
|
|
23
|
+
*/
|
|
24
|
+
"id"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
|
|
27
|
+
*/
|
|
28
|
+
"vpcUser"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
|
|
31
|
+
*/
|
|
32
|
+
"vpcPassword"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Proxy URL to connect to object store.
|
|
35
|
+
*/
|
|
36
|
+
"internetProxy"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.
|
|
39
|
+
*/
|
|
40
|
+
"dbrsPolicyId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the backup destination is cross-region or local region.
|
|
43
|
+
*/
|
|
44
|
+
"isRemote"?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the remote region where the remote automatic incremental backups will be stored.
|
|
47
|
+
* For information about valid region names, see
|
|
48
|
+
* [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"remoteRegion"?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace DistributedAutonomousDbBackupDestination {
|
|
54
|
+
enum Type {
|
|
55
|
+
Nfs = "NFS",
|
|
56
|
+
RecoveryAppliance = "RECOVERY_APPLIANCE",
|
|
57
|
+
ObjectStore = "OBJECT_STORE",
|
|
58
|
+
Local = "LOCAL",
|
|
59
|
+
Dbrs = "DBRS",
|
|
60
|
+
/**
|
|
61
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
62
|
+
* version of the SDK.
|
|
63
|
+
*/
|
|
64
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
65
|
+
}
|
|
66
|
+
function getJsonObj(obj: DistributedAutonomousDbBackupDestination): object;
|
|
67
|
+
function getDeserializedJsonObj(obj: DistributedAutonomousDbBackupDestination): object;
|
|
68
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Globally Distributed Database
|
|
4
|
+
* Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases.
|
|
5
|
+
* OpenAPI spec version: 20250101
|
|
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.DistributedAutonomousDbBackupDestination = void 0;
|
|
16
|
+
var DistributedAutonomousDbBackupDestination;
|
|
17
|
+
(function (DistributedAutonomousDbBackupDestination) {
|
|
18
|
+
let Type;
|
|
19
|
+
(function (Type) {
|
|
20
|
+
Type["Nfs"] = "NFS";
|
|
21
|
+
Type["RecoveryAppliance"] = "RECOVERY_APPLIANCE";
|
|
22
|
+
Type["ObjectStore"] = "OBJECT_STORE";
|
|
23
|
+
Type["Local"] = "LOCAL";
|
|
24
|
+
Type["Dbrs"] = "DBRS";
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(Type = DistributedAutonomousDbBackupDestination.Type || (DistributedAutonomousDbBackupDestination.Type = {}));
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
33
|
+
return jsonObj;
|
|
34
|
+
}
|
|
35
|
+
DistributedAutonomousDbBackupDestination.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
38
|
+
return jsonObj;
|
|
39
|
+
}
|
|
40
|
+
DistributedAutonomousDbBackupDestination.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
41
|
+
})(DistributedAutonomousDbBackupDestination = exports.DistributedAutonomousDbBackupDestination || (exports.DistributedAutonomousDbBackupDestination = {}));
|
|
42
|
+
//# sourceMappingURL=distributed-autonomous-db-backup-destination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distributed-autonomous-db-backup-destination.js","sourceRoot":"","sources":["../../../../../lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-destination.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA8CH,IAAiB,wCAAwC,CAwBxD;AAxBD,WAAiB,wCAAwC;IACvD,IAAY,IAWX;IAXD,WAAY,IAAI;QACd,mBAAW,CAAA;QACX,gDAAwC,CAAA;QACxC,oCAA4B,CAAA;QAC5B,uBAAe,CAAA;QACf,qBAAa,CAAA;QACb;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EAXW,IAAI,GAAJ,6CAAI,KAAJ,6CAAI,QAWf;IAED,SAAgB,UAAU,CAAC,GAA6C;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6C;QAClF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+DAAsB,yBAIrC,CAAA;AACH,CAAC,EAxBgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAwBxD"}
|