oci-database 2.138.0 → 2.139.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 +20 -0
- package/lib/client.js +132 -2
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +8 -0
- package/lib/database-waiter.js +12 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/auto-failover-configuration.d.ts +35 -0
- package/lib/model/auto-failover-configuration.js +35 -0
- package/lib/model/auto-failover-configuration.js.map +1 -0
- package/lib/model/autonomous-container-database-backup-summary.d.ts +11 -0
- package/lib/model/autonomous-container-database-backup-summary.js +6 -0
- package/lib/model/autonomous-container-database-backup-summary.js.map +1 -1
- package/lib/model/autonomous-container-database-backup.d.ts +29 -3
- package/lib/model/autonomous-container-database-backup.js +21 -0
- package/lib/model/autonomous-container-database-backup.js.map +1 -1
- package/lib/model/autonomous-database-in-backup-collection.d.ts +27 -0
- package/lib/model/autonomous-database-in-backup-collection.js +62 -0
- package/lib/model/autonomous-database-in-backup-collection.js.map +1 -0
- package/lib/model/autonomous-database-in-backup-summary.d.ts +63 -0
- package/lib/model/autonomous-database-in-backup-summary.js +60 -0
- package/lib/model/autonomous-database-in-backup-summary.js.map +1 -0
- package/lib/model/autonomous-database-in-backup.d.ts +33 -0
- package/lib/model/autonomous-database-in-backup.js +30 -0
- package/lib/model/autonomous-database-in-backup.js.map +1 -1
- package/lib/model/create-autonomous-container-database-base.js +4 -0
- package/lib/model/create-autonomous-container-database-base.js.map +1 -1
- package/lib/model/create-autonomous-container-database-from-backup-details.d.ts +23 -0
- package/lib/model/create-autonomous-container-database-from-backup-details.js +12 -0
- package/lib/model/create-autonomous-container-database-from-backup-details.js.map +1 -1
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.d.ts +63 -0
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.js +67 -0
- package/lib/model/create-autonomous-container-database-from-backup-timestamp-details.js.map +1 -0
- package/lib/model/create-standby-details.d.ts +1 -0
- package/lib/model/create-standby-details.js +6 -0
- package/lib/model/create-standby-details.js.map +1 -1
- package/lib/model/data-guard-group-member.d.ts +24 -0
- package/lib/model/data-guard-group-member.js +12 -0
- package/lib/model/data-guard-group-member.js.map +1 -1
- package/lib/model/data-guard-group.d.ts +13 -0
- package/lib/model/data-guard-group.js +10 -0
- package/lib/model/data-guard-group.js.map +1 -1
- package/lib/model/index.d.ts +8 -0
- package/lib/model/index.js +20 -12
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-database-details.d.ts +44 -0
- package/lib/model/update-database-details.js +18 -0
- package/lib/model/update-database-details.js.map +1 -1
- package/lib/request/create-autonomous-container-database-request.d.ts +1 -1
- package/lib/request/get-autonomous-container-database-backup-request.d.ts +27 -0
- package/lib/request/get-autonomous-container-database-backup-request.js +15 -0
- package/lib/request/get-autonomous-container-database-backup-request.js.map +1 -0
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-autonomous-database-backups-request.d.ts +5 -0
- package/lib/request/list-autonomous-database-backups-request.js.map +1 -1
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.d.ts +43 -0
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.js +15 -0
- package/lib/request/list-autonomous-databases-in-autonomous-container-database-backup-request.js.map +1 -0
- package/lib/request/list-databases-request.d.ts +18 -0
- package/lib/request/list-databases-request.js +12 -0
- package/lib/request/list-databases-request.js.map +1 -1
- package/lib/response/get-autonomous-container-database-backup-response.d.ts +25 -0
- package/lib/response/get-autonomous-container-database-backup-response.js +15 -0
- package/lib/response/get-autonomous-container-database-backup-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.d.ts +29 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.js +15 -0
- package/lib/response/list-autonomous-databases-in-autonomous-container-database-backup-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,35 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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 properties for defining auto failover configuration.
|
|
16
|
+
*/
|
|
17
|
+
export interface AutoFailoverConfiguration {
|
|
18
|
+
/**
|
|
19
|
+
* The state of managed auto failover.
|
|
20
|
+
*/
|
|
21
|
+
"managedAutoFailover"?: AutoFailoverConfiguration.ManagedAutoFailover;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"failoverTargets"?: Array<string>;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace AutoFailoverConfiguration {
|
|
29
|
+
enum ManagedAutoFailover {
|
|
30
|
+
Enable = "ENABLE",
|
|
31
|
+
Disable = "DISABLE"
|
|
32
|
+
}
|
|
33
|
+
function getJsonObj(obj: AutoFailoverConfiguration): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: AutoFailoverConfiguration): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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.AutoFailoverConfiguration = void 0;
|
|
17
|
+
var AutoFailoverConfiguration;
|
|
18
|
+
(function (AutoFailoverConfiguration) {
|
|
19
|
+
let ManagedAutoFailover;
|
|
20
|
+
(function (ManagedAutoFailover) {
|
|
21
|
+
ManagedAutoFailover["Enable"] = "ENABLE";
|
|
22
|
+
ManagedAutoFailover["Disable"] = "DISABLE";
|
|
23
|
+
})(ManagedAutoFailover = AutoFailoverConfiguration.ManagedAutoFailover || (AutoFailoverConfiguration.ManagedAutoFailover = {}));
|
|
24
|
+
function getJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
AutoFailoverConfiguration.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
AutoFailoverConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
34
|
+
})(AutoFailoverConfiguration = exports.AutoFailoverConfiguration || (exports.AutoFailoverConfiguration = {}));
|
|
35
|
+
//# sourceMappingURL=auto-failover-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto-failover-configuration.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/auto-failover-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAoBH,IAAiB,yBAAyB,CAgBzC;AAhBD,WAAiB,yBAAyB;IACxC,IAAY,mBAGX;IAHD,WAAY,mBAAmB;QAC7B,wCAAiB,CAAA;QACjB,0CAAmB,CAAA;IACrB,CAAC,EAHW,mBAAmB,GAAnB,6CAAmB,KAAnB,6CAAmB,QAG9B;IAED,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,EAhBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAgBzC"}
|
|
@@ -110,6 +110,17 @@ export interface AutonomousContainerDatabaseBackupSummary {
|
|
|
110
110
|
* List of Autonomous AI Databases that is part of this Autonomous Container Database Backup
|
|
111
111
|
*/
|
|
112
112
|
"autonomousDatabases"?: Array<model.AutonomousDatabaseInBackup>;
|
|
113
|
+
/**
|
|
114
|
+
* A valid Oracle AI Database version for Autonomous AI Database.
|
|
115
|
+
* When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
|
|
116
|
+
* When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
|
|
117
|
+
* For new databases, it is recommended to use either 19c or 26ai.
|
|
118
|
+
* <p>
|
|
119
|
+
**Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
"dbVersion"?: string;
|
|
123
|
+
"backupDestinationDetails"?: model.BackupDestinationDetails;
|
|
113
124
|
}
|
|
114
125
|
export declare namespace AutonomousContainerDatabaseBackupSummary {
|
|
115
126
|
enum Type {
|
|
@@ -76,6 +76,9 @@ var AutonomousContainerDatabaseBackupSummary;
|
|
|
76
76
|
? obj.autonomousDatabases.map(item => {
|
|
77
77
|
return model.AutonomousDatabaseInBackup.getJsonObj(item);
|
|
78
78
|
})
|
|
79
|
+
: undefined,
|
|
80
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
81
|
+
? model.BackupDestinationDetails.getJsonObj(obj.backupDestinationDetails)
|
|
79
82
|
: undefined
|
|
80
83
|
});
|
|
81
84
|
return jsonObj;
|
|
@@ -87,6 +90,9 @@ var AutonomousContainerDatabaseBackupSummary;
|
|
|
87
90
|
? obj.autonomousDatabases.map(item => {
|
|
88
91
|
return model.AutonomousDatabaseInBackup.getDeserializedJsonObj(item);
|
|
89
92
|
})
|
|
93
|
+
: undefined,
|
|
94
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
95
|
+
? model.BackupDestinationDetails.getDeserializedJsonObj(obj.backupDestinationDetails)
|
|
90
96
|
: undefined
|
|
91
97
|
});
|
|
92
98
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autonomous-container-database-backup-summary.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-container-database-backup-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"autonomous-container-database-backup-summary.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-container-database-backup-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;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,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,0BAA0B,EAAE,GAAG,CAAC,wBAAwB;gBACtD,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,GAAG,CAAC,wBAAwB,CAAC;gBACrF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,+DAAsB,yBAiBrC,CAAA;AACH,CAAC,EAvEgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAuExD"}
|
|
@@ -107,23 +107,49 @@ export interface AutonomousContainerDatabaseBackup {
|
|
|
107
107
|
* List of Autonomous AI Databases that is part of this Autonomous Container Database Backup
|
|
108
108
|
*/
|
|
109
109
|
"autonomousDatabases"?: Array<model.AutonomousDatabaseInBackup>;
|
|
110
|
+
/**
|
|
111
|
+
* A valid Oracle AI Database version for Autonomous AI Database.
|
|
112
|
+
* When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
|
|
113
|
+
* When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
|
|
114
|
+
* For new databases, it is recommended to use either 19c or 26ai.
|
|
115
|
+
* <p>
|
|
116
|
+
**Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
"dbVersion"?: string;
|
|
120
|
+
"backupDestinationDetails"?: model.BackupDestinationDetails;
|
|
110
121
|
}
|
|
111
122
|
export declare namespace AutonomousContainerDatabaseBackup {
|
|
112
123
|
enum Type {
|
|
113
124
|
Incremental = "INCREMENTAL",
|
|
114
125
|
Full = "FULL",
|
|
115
|
-
VirtualFull = "VIRTUAL_FULL"
|
|
126
|
+
VirtualFull = "VIRTUAL_FULL",
|
|
127
|
+
/**
|
|
128
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
129
|
+
* version of the SDK.
|
|
130
|
+
*/
|
|
131
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
116
132
|
}
|
|
117
133
|
enum LifecycleState {
|
|
118
134
|
Creating = "CREATING",
|
|
119
135
|
Active = "ACTIVE",
|
|
120
136
|
Deleting = "DELETING",
|
|
121
137
|
Deleted = "DELETED",
|
|
122
|
-
Failed = "FAILED"
|
|
138
|
+
Failed = "FAILED",
|
|
139
|
+
/**
|
|
140
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
141
|
+
* version of the SDK.
|
|
142
|
+
*/
|
|
143
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
123
144
|
}
|
|
124
145
|
enum InfrastructureType {
|
|
125
146
|
Cloud = "CLOUD",
|
|
126
|
-
CloudAtCustomer = "CLOUD_AT_CUSTOMER"
|
|
147
|
+
CloudAtCustomer = "CLOUD_AT_CUSTOMER",
|
|
148
|
+
/**
|
|
149
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
150
|
+
* version of the SDK.
|
|
151
|
+
*/
|
|
152
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
127
153
|
}
|
|
128
154
|
function getJsonObj(obj: AutonomousContainerDatabaseBackup): object;
|
|
129
155
|
function getDeserializedJsonObj(obj: AutonomousContainerDatabaseBackup): object;
|
|
@@ -41,6 +41,11 @@ var AutonomousContainerDatabaseBackup;
|
|
|
41
41
|
Type["Incremental"] = "INCREMENTAL";
|
|
42
42
|
Type["Full"] = "FULL";
|
|
43
43
|
Type["VirtualFull"] = "VIRTUAL_FULL";
|
|
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
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
44
49
|
})(Type = AutonomousContainerDatabaseBackup.Type || (AutonomousContainerDatabaseBackup.Type = {}));
|
|
45
50
|
let LifecycleState;
|
|
46
51
|
(function (LifecycleState) {
|
|
@@ -49,11 +54,21 @@ var AutonomousContainerDatabaseBackup;
|
|
|
49
54
|
LifecycleState["Deleting"] = "DELETING";
|
|
50
55
|
LifecycleState["Deleted"] = "DELETED";
|
|
51
56
|
LifecycleState["Failed"] = "FAILED";
|
|
57
|
+
/**
|
|
58
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
59
|
+
* version of the SDK.
|
|
60
|
+
*/
|
|
61
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
52
62
|
})(LifecycleState = AutonomousContainerDatabaseBackup.LifecycleState || (AutonomousContainerDatabaseBackup.LifecycleState = {}));
|
|
53
63
|
let InfrastructureType;
|
|
54
64
|
(function (InfrastructureType) {
|
|
55
65
|
InfrastructureType["Cloud"] = "CLOUD";
|
|
56
66
|
InfrastructureType["CloudAtCustomer"] = "CLOUD_AT_CUSTOMER";
|
|
67
|
+
/**
|
|
68
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
69
|
+
* version of the SDK.
|
|
70
|
+
*/
|
|
71
|
+
InfrastructureType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
57
72
|
})(InfrastructureType = AutonomousContainerDatabaseBackup.InfrastructureType || (AutonomousContainerDatabaseBackup.InfrastructureType = {}));
|
|
58
73
|
function getJsonObj(obj) {
|
|
59
74
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
@@ -61,6 +76,9 @@ var AutonomousContainerDatabaseBackup;
|
|
|
61
76
|
? obj.autonomousDatabases.map(item => {
|
|
62
77
|
return model.AutonomousDatabaseInBackup.getJsonObj(item);
|
|
63
78
|
})
|
|
79
|
+
: undefined,
|
|
80
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
81
|
+
? model.BackupDestinationDetails.getJsonObj(obj.backupDestinationDetails)
|
|
64
82
|
: undefined
|
|
65
83
|
});
|
|
66
84
|
return jsonObj;
|
|
@@ -72,6 +90,9 @@ var AutonomousContainerDatabaseBackup;
|
|
|
72
90
|
? obj.autonomousDatabases.map(item => {
|
|
73
91
|
return model.AutonomousDatabaseInBackup.getDeserializedJsonObj(item);
|
|
74
92
|
})
|
|
93
|
+
: undefined,
|
|
94
|
+
"backupDestinationDetails": obj.backupDestinationDetails
|
|
95
|
+
? model.BackupDestinationDetails.getDeserializedJsonObj(obj.backupDestinationDetails)
|
|
75
96
|
: undefined
|
|
76
97
|
});
|
|
77
98
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autonomous-container-database-backup.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-container-database-backup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"autonomous-container-database-backup.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-container-database-backup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqGlC,IAAiB,iCAAiC,CAuEjD;AAvED,WAAiB,iCAAiC;IAChD,IAAY,IASX;IATD,WAAY,IAAI;QACd,mCAA2B,CAAA;QAC3B,qBAAa,CAAA;QACb,oCAA4B,CAAA;QAC5B;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EATW,IAAI,GAAJ,sCAAI,KAAJ,sCAAI,QASf;IAED,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,gDAAc,KAA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AjBe,wDAAsB,yBAiBrC,CAAA;AACH,CAAC,EAvEgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAuEjD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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
|
+
* The collection of Autonomous Database details that are part of Autonomous Container Database Backup associated.
|
|
17
|
+
*/
|
|
18
|
+
export interface AutonomousDatabaseInBackupCollection {
|
|
19
|
+
/**
|
|
20
|
+
* The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
|
|
21
|
+
*/
|
|
22
|
+
"items": Array<model.AutonomousDatabaseInBackupSummary>;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace AutonomousDatabaseInBackupCollection {
|
|
25
|
+
function getJsonObj(obj: AutonomousDatabaseInBackupCollection): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: AutonomousDatabaseInBackupCollection): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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.AutonomousDatabaseInBackupCollection = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var AutonomousDatabaseInBackupCollection;
|
|
38
|
+
(function (AutonomousDatabaseInBackupCollection) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"items": obj.items
|
|
42
|
+
? obj.items.map(item => {
|
|
43
|
+
return model.AutonomousDatabaseInBackupSummary.getJsonObj(item);
|
|
44
|
+
})
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
AutonomousDatabaseInBackupCollection.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"items": obj.items
|
|
53
|
+
? obj.items.map(item => {
|
|
54
|
+
return model.AutonomousDatabaseInBackupSummary.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
AutonomousDatabaseInBackupCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(AutonomousDatabaseInBackupCollection = exports.AutonomousDatabaseInBackupCollection || (exports.AutonomousDatabaseInBackupCollection = {}));
|
|
62
|
+
//# sourceMappingURL=autonomous-database-in-backup-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autonomous-database-in-backup-collection.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-database-in-backup-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,oCAAoC,CA6BpD;AA7BD,WAAiB,oCAAoC;IACnD,SAAgB,UAAU,CAAC,GAAyC;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyC;QAC9E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QA6BpD"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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 summary of the autonomous database that are in the Autonomous Container Database Backup associated.
|
|
16
|
+
*/
|
|
17
|
+
export interface AutonomousDatabaseInBackupSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
20
|
+
*/
|
|
21
|
+
"compartmentId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
|
|
24
|
+
*/
|
|
25
|
+
"displayName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The current state of the Autonomous AI Database.
|
|
28
|
+
*/
|
|
29
|
+
"lifecycleState"?: AutonomousDatabaseInBackupSummary.LifecycleState;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace AutonomousDatabaseInBackupSummary {
|
|
32
|
+
enum LifecycleState {
|
|
33
|
+
Provisioning = "PROVISIONING",
|
|
34
|
+
Available = "AVAILABLE",
|
|
35
|
+
Stopping = "STOPPING",
|
|
36
|
+
Stopped = "STOPPED",
|
|
37
|
+
Starting = "STARTING",
|
|
38
|
+
Terminating = "TERMINATING",
|
|
39
|
+
Terminated = "TERMINATED",
|
|
40
|
+
Unavailable = "UNAVAILABLE",
|
|
41
|
+
RestoreInProgress = "RESTORE_IN_PROGRESS",
|
|
42
|
+
RestoreFailed = "RESTORE_FAILED",
|
|
43
|
+
BackupInProgress = "BACKUP_IN_PROGRESS",
|
|
44
|
+
ScaleInProgress = "SCALE_IN_PROGRESS",
|
|
45
|
+
AvailableNeedsAttention = "AVAILABLE_NEEDS_ATTENTION",
|
|
46
|
+
Updating = "UPDATING",
|
|
47
|
+
MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS",
|
|
48
|
+
Restarting = "RESTARTING",
|
|
49
|
+
Recreating = "RECREATING",
|
|
50
|
+
RoleChangeInProgress = "ROLE_CHANGE_IN_PROGRESS",
|
|
51
|
+
Upgrading = "UPGRADING",
|
|
52
|
+
Inaccessible = "INACCESSIBLE",
|
|
53
|
+
Standby = "STANDBY",
|
|
54
|
+
Transporting = "TRANSPORTING",
|
|
55
|
+
/**
|
|
56
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
57
|
+
* version of the SDK.
|
|
58
|
+
*/
|
|
59
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
60
|
+
}
|
|
61
|
+
function getJsonObj(obj: AutonomousDatabaseInBackupSummary): object;
|
|
62
|
+
function getDeserializedJsonObj(obj: AutonomousDatabaseInBackupSummary): object;
|
|
63
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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](https://docs.oracle.com/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, 2026, 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.AutonomousDatabaseInBackupSummary = void 0;
|
|
17
|
+
var AutonomousDatabaseInBackupSummary;
|
|
18
|
+
(function (AutonomousDatabaseInBackupSummary) {
|
|
19
|
+
let LifecycleState;
|
|
20
|
+
(function (LifecycleState) {
|
|
21
|
+
LifecycleState["Provisioning"] = "PROVISIONING";
|
|
22
|
+
LifecycleState["Available"] = "AVAILABLE";
|
|
23
|
+
LifecycleState["Stopping"] = "STOPPING";
|
|
24
|
+
LifecycleState["Stopped"] = "STOPPED";
|
|
25
|
+
LifecycleState["Starting"] = "STARTING";
|
|
26
|
+
LifecycleState["Terminating"] = "TERMINATING";
|
|
27
|
+
LifecycleState["Terminated"] = "TERMINATED";
|
|
28
|
+
LifecycleState["Unavailable"] = "UNAVAILABLE";
|
|
29
|
+
LifecycleState["RestoreInProgress"] = "RESTORE_IN_PROGRESS";
|
|
30
|
+
LifecycleState["RestoreFailed"] = "RESTORE_FAILED";
|
|
31
|
+
LifecycleState["BackupInProgress"] = "BACKUP_IN_PROGRESS";
|
|
32
|
+
LifecycleState["ScaleInProgress"] = "SCALE_IN_PROGRESS";
|
|
33
|
+
LifecycleState["AvailableNeedsAttention"] = "AVAILABLE_NEEDS_ATTENTION";
|
|
34
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
35
|
+
LifecycleState["MaintenanceInProgress"] = "MAINTENANCE_IN_PROGRESS";
|
|
36
|
+
LifecycleState["Restarting"] = "RESTARTING";
|
|
37
|
+
LifecycleState["Recreating"] = "RECREATING";
|
|
38
|
+
LifecycleState["RoleChangeInProgress"] = "ROLE_CHANGE_IN_PROGRESS";
|
|
39
|
+
LifecycleState["Upgrading"] = "UPGRADING";
|
|
40
|
+
LifecycleState["Inaccessible"] = "INACCESSIBLE";
|
|
41
|
+
LifecycleState["Standby"] = "STANDBY";
|
|
42
|
+
LifecycleState["Transporting"] = "TRANSPORTING";
|
|
43
|
+
/**
|
|
44
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
45
|
+
* version of the SDK.
|
|
46
|
+
*/
|
|
47
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
48
|
+
})(LifecycleState = AutonomousDatabaseInBackupSummary.LifecycleState || (AutonomousDatabaseInBackupSummary.LifecycleState = {}));
|
|
49
|
+
function getJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
AutonomousDatabaseInBackupSummary.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
AutonomousDatabaseInBackupSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
59
|
+
})(AutonomousDatabaseInBackupSummary = exports.AutonomousDatabaseInBackupSummary || (exports.AutonomousDatabaseInBackupSummary = {}));
|
|
60
|
+
//# sourceMappingURL=autonomous-database-in-backup-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autonomous-database-in-backup-summary.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-database-in-backup-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAuBH,IAAiB,iCAAiC,CAyCjD;AAzCD,WAAiB,iCAAiC;IAChD,IAAY,cA4BX;IA5BD,WAAY,cAAc;QACxB,+CAA6B,CAAA;QAC7B,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,uCAAqB,CAAA;QACrB,6CAA2B,CAAA;QAC3B,2CAAyB,CAAA;QACzB,6CAA2B,CAAA;QAC3B,2DAAyC,CAAA;QACzC,kDAAgC,CAAA;QAChC,yDAAuC,CAAA;QACvC,uDAAqC,CAAA;QACrC,uEAAqD,CAAA;QACrD,uCAAqB,CAAA;QACrB,mEAAiD,CAAA;QACjD,2CAAyB,CAAA;QACzB,2CAAyB,CAAA;QACzB,kEAAgD,CAAA;QAChD,yCAAuB,CAAA;QACvB,+CAA6B,CAAA;QAC7B,qCAAmB,CAAA;QACnB,+CAA6B,CAAA;QAC7B;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EA5BW,cAAc,GAAd,gDAAc,KAAd,gDAAc,QA4BzB;IAED,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,EAzCgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAyCjD"}
|
|
@@ -24,8 +24,41 @@ export interface AutonomousDatabaseInBackup {
|
|
|
24
24
|
* The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
|
|
25
25
|
*/
|
|
26
26
|
"displayName": string;
|
|
27
|
+
/**
|
|
28
|
+
* The current state of the Autonomous AI Database.
|
|
29
|
+
*/
|
|
30
|
+
"lifecycleState"?: AutonomousDatabaseInBackup.LifecycleState;
|
|
27
31
|
}
|
|
28
32
|
export declare namespace AutonomousDatabaseInBackup {
|
|
33
|
+
enum LifecycleState {
|
|
34
|
+
Provisioning = "PROVISIONING",
|
|
35
|
+
Available = "AVAILABLE",
|
|
36
|
+
Stopping = "STOPPING",
|
|
37
|
+
Stopped = "STOPPED",
|
|
38
|
+
Starting = "STARTING",
|
|
39
|
+
Terminating = "TERMINATING",
|
|
40
|
+
Terminated = "TERMINATED",
|
|
41
|
+
Unavailable = "UNAVAILABLE",
|
|
42
|
+
RestoreInProgress = "RESTORE_IN_PROGRESS",
|
|
43
|
+
RestoreFailed = "RESTORE_FAILED",
|
|
44
|
+
BackupInProgress = "BACKUP_IN_PROGRESS",
|
|
45
|
+
ScaleInProgress = "SCALE_IN_PROGRESS",
|
|
46
|
+
AvailableNeedsAttention = "AVAILABLE_NEEDS_ATTENTION",
|
|
47
|
+
Updating = "UPDATING",
|
|
48
|
+
MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS",
|
|
49
|
+
Restarting = "RESTARTING",
|
|
50
|
+
Recreating = "RECREATING",
|
|
51
|
+
RoleChangeInProgress = "ROLE_CHANGE_IN_PROGRESS",
|
|
52
|
+
Upgrading = "UPGRADING",
|
|
53
|
+
Inaccessible = "INACCESSIBLE",
|
|
54
|
+
Standby = "STANDBY",
|
|
55
|
+
Transporting = "TRANSPORTING",
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
61
|
+
}
|
|
29
62
|
function getJsonObj(obj: AutonomousDatabaseInBackup): object;
|
|
30
63
|
function getDeserializedJsonObj(obj: AutonomousDatabaseInBackup): object;
|
|
31
64
|
}
|
|
@@ -16,6 +16,36 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.AutonomousDatabaseInBackup = void 0;
|
|
17
17
|
var AutonomousDatabaseInBackup;
|
|
18
18
|
(function (AutonomousDatabaseInBackup) {
|
|
19
|
+
let LifecycleState;
|
|
20
|
+
(function (LifecycleState) {
|
|
21
|
+
LifecycleState["Provisioning"] = "PROVISIONING";
|
|
22
|
+
LifecycleState["Available"] = "AVAILABLE";
|
|
23
|
+
LifecycleState["Stopping"] = "STOPPING";
|
|
24
|
+
LifecycleState["Stopped"] = "STOPPED";
|
|
25
|
+
LifecycleState["Starting"] = "STARTING";
|
|
26
|
+
LifecycleState["Terminating"] = "TERMINATING";
|
|
27
|
+
LifecycleState["Terminated"] = "TERMINATED";
|
|
28
|
+
LifecycleState["Unavailable"] = "UNAVAILABLE";
|
|
29
|
+
LifecycleState["RestoreInProgress"] = "RESTORE_IN_PROGRESS";
|
|
30
|
+
LifecycleState["RestoreFailed"] = "RESTORE_FAILED";
|
|
31
|
+
LifecycleState["BackupInProgress"] = "BACKUP_IN_PROGRESS";
|
|
32
|
+
LifecycleState["ScaleInProgress"] = "SCALE_IN_PROGRESS";
|
|
33
|
+
LifecycleState["AvailableNeedsAttention"] = "AVAILABLE_NEEDS_ATTENTION";
|
|
34
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
35
|
+
LifecycleState["MaintenanceInProgress"] = "MAINTENANCE_IN_PROGRESS";
|
|
36
|
+
LifecycleState["Restarting"] = "RESTARTING";
|
|
37
|
+
LifecycleState["Recreating"] = "RECREATING";
|
|
38
|
+
LifecycleState["RoleChangeInProgress"] = "ROLE_CHANGE_IN_PROGRESS";
|
|
39
|
+
LifecycleState["Upgrading"] = "UPGRADING";
|
|
40
|
+
LifecycleState["Inaccessible"] = "INACCESSIBLE";
|
|
41
|
+
LifecycleState["Standby"] = "STANDBY";
|
|
42
|
+
LifecycleState["Transporting"] = "TRANSPORTING";
|
|
43
|
+
/**
|
|
44
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
45
|
+
* version of the SDK.
|
|
46
|
+
*/
|
|
47
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
48
|
+
})(LifecycleState = AutonomousDatabaseInBackup.LifecycleState || (AutonomousDatabaseInBackup.LifecycleState = {}));
|
|
19
49
|
function getJsonObj(obj) {
|
|
20
50
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
51
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autonomous-database-in-backup.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-database-in-backup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;
|
|
1
|
+
{"version":3,"file":"autonomous-database-in-backup.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/autonomous-database-in-backup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAwBH,IAAiB,0BAA0B,CAyC1C;AAzCD,WAAiB,0BAA0B;IACzC,IAAY,cA4BX;IA5BD,WAAY,cAAc;QACxB,+CAA6B,CAAA;QAC7B,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,uCAAqB,CAAA;QACrB,6CAA2B,CAAA;QAC3B,2CAAyB,CAAA;QACzB,6CAA2B,CAAA;QAC3B,2DAAyC,CAAA;QACzC,kDAAgC,CAAA;QAChC,yDAAuC,CAAA;QACvC,uDAAqC,CAAA;QACrC,uEAAqD,CAAA;QACrD,uCAAqB,CAAA;QACrB,mEAAiD,CAAA;QACjD,2CAAyB,CAAA;QACzB,2CAAyB,CAAA;QACzB,kEAAgD,CAAA;QAChD,yCAAuB,CAAA;QACvB,+CAA6B,CAAA;QAC7B,qCAAmB,CAAA;QACnB,+CAA6B,CAAA;QAC7B;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EA5BW,cAAc,GAAd,yCAAc,KAAd,yCAAc,QA4BzB;IAED,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAzCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyC1C"}
|
|
@@ -90,6 +90,8 @@ var CreateAutonomousContainerDatabaseBase;
|
|
|
90
90
|
});
|
|
91
91
|
if (obj && "source" in obj && obj.source) {
|
|
92
92
|
switch (obj.source) {
|
|
93
|
+
case "BACKUP_FROM_TIMESTAMP":
|
|
94
|
+
return model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.getJsonObj(jsonObj, true);
|
|
93
95
|
case "NONE":
|
|
94
96
|
return model.CreateAutonomousContainerDatabaseDetails.getJsonObj(jsonObj, true);
|
|
95
97
|
case "BACKUP_FROM_ID":
|
|
@@ -124,6 +126,8 @@ var CreateAutonomousContainerDatabaseBase;
|
|
|
124
126
|
});
|
|
125
127
|
if (obj && "source" in obj && obj.source) {
|
|
126
128
|
switch (obj.source) {
|
|
129
|
+
case "BACKUP_FROM_TIMESTAMP":
|
|
130
|
+
return model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.getDeserializedJsonObj(jsonObj, true);
|
|
127
131
|
case "NONE":
|
|
128
132
|
return model.CreateAutonomousContainerDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
|
|
129
133
|
case "BACKUP_FROM_ID":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-autonomous-container-database-base.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-autonomous-container-database-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAsLtC,IAAiB,qCAAqC,
|
|
1
|
+
{"version":3,"file":"create-autonomous-container-database-base.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-autonomous-container-database-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAsLtC,IAAiB,qCAAqC,CA4IrD;AA5ID,WAAiB,qCAAqC;IACpD,IAAY,yBAGX;IAHD,WAAY,yBAAyB;QACnC,kDAAqB,CAAA;QACrB,yEAA4C,CAAA;IAC9C,CAAC,EAHW,yBAAyB,GAAzB,+DAAyB,KAAzB,+DAAyB,QAGpC;IAED,IAAY,cAGX;IAHD,WAAY,cAAc;QACxB,8DAA4C,CAAA;QAC5C,4DAA0C,CAAA;IAC5C,CAAC,EAHW,cAAc,GAAd,oDAAc,KAAd,oDAAc,QAGzB;IAED,IAAY,UAGX;IAHD,WAAY,UAAU;QACpB,gDAAkC,CAAA;QAClC,iEAAmD,CAAA;IACrD,CAAC,EAHW,UAAU,GAAV,gDAAU,KAAV,gDAAU,QAGrB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FromBackupDetails extends mode
|
|
|
21
21
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD backup that you will clone to create a new ACD.
|
|
22
22
|
*/
|
|
23
23
|
"autonomousContainerDatabaseBackupId": string;
|
|
24
|
+
/**
|
|
25
|
+
* The Autonomous AI Database clone type.
|
|
26
|
+
*/
|
|
27
|
+
"cloneType"?: CreateAutonomousContainerDatabaseFromBackupDetails.CloneType;
|
|
28
|
+
/**
|
|
29
|
+
* A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"autonomousDatabasesToClone"?: Array<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
|
|
35
|
+
*/
|
|
36
|
+
"cloneBandWidth"?: CreateAutonomousContainerDatabaseFromBackupDetails.CloneBandWidth;
|
|
24
37
|
"source": string;
|
|
25
38
|
}
|
|
26
39
|
export declare namespace CreateAutonomousContainerDatabaseFromBackupDetails {
|
|
40
|
+
enum CloneType {
|
|
41
|
+
Full = "FULL",
|
|
42
|
+
Metadata = "METADATA",
|
|
43
|
+
Partial = "PARTIAL"
|
|
44
|
+
}
|
|
45
|
+
enum CloneBandWidth {
|
|
46
|
+
Slow = "SLOW",
|
|
47
|
+
Medium = "MEDIUM",
|
|
48
|
+
Fast = "FAST"
|
|
49
|
+
}
|
|
27
50
|
function getJsonObj(obj: CreateAutonomousContainerDatabaseFromBackupDetails, isParentJsonObj?: boolean): object;
|
|
28
51
|
const source = "BACKUP_FROM_ID";
|
|
29
52
|
function getDeserializedJsonObj(obj: CreateAutonomousContainerDatabaseFromBackupDetails, isParentJsonObj?: boolean): object;
|