oci-database 2.143.0 → 2.145.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 +50 -0
- package/lib/client.js +333 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +28 -0
- package/lib/database-waiter.js +48 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/clone-database-details.d.ts +98 -0
- package/lib/model/clone-database-details.js +82 -0
- package/lib/model/clone-database-details.js.map +1 -0
- package/lib/model/create-clone-database-from-database.d.ts +29 -0
- package/lib/model/create-clone-database-from-database.js +61 -0
- package/lib/model/create-clone-database-from-database.js.map +1 -0
- package/lib/model/create-database-base.js +8 -0
- package/lib/model/create-database-base.js.map +1 -1
- package/lib/model/create-database-from-snapshot-details.d.ts +98 -0
- package/lib/model/create-database-from-snapshot-details.js +82 -0
- package/lib/model/create-database-from-snapshot-details.js.map +1 -0
- package/lib/model/create-database-from-snapshot.d.ts +28 -0
- package/lib/model/create-database-from-snapshot.js +63 -0
- package/lib/model/create-database-from-snapshot.js.map +1 -0
- package/lib/model/create-database-snapshot-details.d.ts +51 -0
- package/lib/model/create-database-snapshot-details.js +30 -0
- package/lib/model/create-database-snapshot-details.js.map +1 -0
- package/lib/model/database-snapshot-collection.d.ts +27 -0
- package/lib/model/database-snapshot-collection.js +62 -0
- package/lib/model/database-snapshot-collection.js.map +1 -0
- package/lib/model/database-snapshot-summary.d.ts +86 -0
- package/lib/model/database-snapshot-summary.js +30 -0
- package/lib/model/database-snapshot-summary.js.map +1 -0
- package/lib/model/database-snapshot.d.ts +98 -0
- package/lib/model/database-snapshot.js +43 -0
- package/lib/model/database-snapshot.js.map +1 -0
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +28 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-database-snapshot-details.d.ts +43 -0
- package/lib/model/update-database-snapshot-details.js +30 -0
- package/lib/model/update-database-snapshot-details.js.map +1 -0
- package/lib/request/create-database-request.d.ts +1 -1
- package/lib/request/create-database-snapshot-request.d.ts +38 -0
- package/lib/request/create-database-snapshot-request.js +15 -0
- package/lib/request/create-database-snapshot-request.js.map +1 -0
- package/lib/request/delete-database-snapshot-request.d.ts +34 -0
- package/lib/request/delete-database-snapshot-request.js +15 -0
- package/lib/request/delete-database-snapshot-request.js.map +1 -0
- package/lib/request/get-database-snapshot-request.d.ts +27 -0
- package/lib/request/get-database-snapshot-request.js +15 -0
- package/lib/request/get-database-snapshot-request.js.map +1 -0
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-database-snapshots-request.d.ts +70 -0
- package/lib/request/list-database-snapshots-request.js +29 -0
- package/lib/request/list-database-snapshots-request.js.map +1 -0
- package/lib/request/update-database-snapshot-request.d.ts +49 -0
- package/lib/request/update-database-snapshot-request.js +15 -0
- package/lib/request/update-database-snapshot-request.js.map +1 -0
- package/lib/response/create-database-snapshot-response.d.ts +34 -0
- package/lib/response/create-database-snapshot-response.js +15 -0
- package/lib/response/create-database-snapshot-response.js.map +1 -0
- package/lib/response/delete-database-snapshot-response.d.ts +25 -0
- package/lib/response/delete-database-snapshot-response.js +15 -0
- package/lib/response/delete-database-snapshot-response.js.map +1 -0
- package/lib/response/get-database-snapshot-response.d.ts +29 -0
- package/lib/response/get-database-snapshot-response.js +15 -0
- package/lib/response/get-database-snapshot-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-database-snapshots-response.d.ts +33 -0
- package/lib/response/list-database-snapshots-response.js +15 -0
- package/lib/response/list-database-snapshots-response.js.map +1 -0
- package/lib/response/update-database-snapshot-response.d.ts +29 -0
- package/lib/response/update-database-snapshot-response.js +15 -0
- package/lib/response/update-database-snapshot-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Details to create a Database Snapshot.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDatabaseSnapshotDetails {
|
|
19
|
+
/**
|
|
20
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
21
|
+
*/
|
|
22
|
+
"name": string;
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
25
|
+
*/
|
|
26
|
+
"databaseId": string;
|
|
27
|
+
/**
|
|
28
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
29
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
30
|
+
* <p>
|
|
31
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"freeformTags"?: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
39
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"definedTags"?: {
|
|
43
|
+
[key: string]: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export declare namespace CreateDatabaseSnapshotDetails {
|
|
49
|
+
function getJsonObj(obj: CreateDatabaseSnapshotDetails): object;
|
|
50
|
+
function getDeserializedJsonObj(obj: CreateDatabaseSnapshotDetails): object;
|
|
51
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.CreateDatabaseSnapshotDetails = void 0;
|
|
17
|
+
var CreateDatabaseSnapshotDetails;
|
|
18
|
+
(function (CreateDatabaseSnapshotDetails) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
CreateDatabaseSnapshotDetails.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
CreateDatabaseSnapshotDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(CreateDatabaseSnapshotDetails = exports.CreateDatabaseSnapshotDetails || (exports.CreateDatabaseSnapshotDetails = {}));
|
|
30
|
+
//# sourceMappingURL=create-database-snapshot-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-database-snapshot-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-snapshot-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAkCH,IAAiB,6BAA6B,CAW7C;AAXD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAW7C"}
|
|
@@ -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
|
+
* Results of database snapshot search
|
|
17
|
+
*/
|
|
18
|
+
export interface DatabaseSnapshotCollection {
|
|
19
|
+
/**
|
|
20
|
+
* Array of Exadata Database Snapshots
|
|
21
|
+
*/
|
|
22
|
+
"items": Array<model.DatabaseSnapshotSummary>;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace DatabaseSnapshotCollection {
|
|
25
|
+
function getJsonObj(obj: DatabaseSnapshotCollection): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: DatabaseSnapshotCollection): 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.DatabaseSnapshotCollection = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var DatabaseSnapshotCollection;
|
|
38
|
+
(function (DatabaseSnapshotCollection) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"items": obj.items
|
|
42
|
+
? obj.items.map(item => {
|
|
43
|
+
return model.DatabaseSnapshotSummary.getJsonObj(item);
|
|
44
|
+
})
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
DatabaseSnapshotCollection.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.DatabaseSnapshotSummary.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
DatabaseSnapshotCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(DatabaseSnapshotCollection = exports.DatabaseSnapshotCollection || (exports.DatabaseSnapshotCollection = {}));
|
|
62
|
+
//# sourceMappingURL=database-snapshot-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-snapshot-collection.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/database-snapshot-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
* Details of the Exadata Database Snapshot.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface DatabaseSnapshotSummary {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Snapshot.
|
|
21
|
+
*/
|
|
22
|
+
"id": string;
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
25
|
+
*/
|
|
26
|
+
"databaseId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The current state of the Exadata Database Snapshot.
|
|
29
|
+
*/
|
|
30
|
+
"lifecycleState"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
33
|
+
*/
|
|
34
|
+
"name": string;
|
|
35
|
+
/**
|
|
36
|
+
* The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"timeCreated"?: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Additional information about the current lifecycle state of the Exadata Database Snapshot.
|
|
42
|
+
*/
|
|
43
|
+
"lifecycleDetails"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
46
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
47
|
+
* <p>
|
|
48
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"freeformTags"?: {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
56
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"definedTags"?: {
|
|
60
|
+
[key: string]: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
66
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"systemTags"?: {
|
|
70
|
+
[key: string]: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
76
|
+
*/
|
|
77
|
+
"compartmentId"?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
80
|
+
*/
|
|
81
|
+
"clusterId"?: string;
|
|
82
|
+
}
|
|
83
|
+
export declare namespace DatabaseSnapshotSummary {
|
|
84
|
+
function getJsonObj(obj: DatabaseSnapshotSummary): object;
|
|
85
|
+
function getDeserializedJsonObj(obj: DatabaseSnapshotSummary): object;
|
|
86
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.DatabaseSnapshotSummary = void 0;
|
|
17
|
+
var DatabaseSnapshotSummary;
|
|
18
|
+
(function (DatabaseSnapshotSummary) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
DatabaseSnapshotSummary.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
DatabaseSnapshotSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(DatabaseSnapshotSummary = exports.DatabaseSnapshotSummary || (exports.DatabaseSnapshotSummary = {}));
|
|
30
|
+
//# sourceMappingURL=database-snapshot-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-snapshot-summary.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/database-snapshot-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAiEH,IAAiB,uBAAuB,CAWvC;AAXD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAWvC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
* Details of the Database Snapshot.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface DatabaseSnapshot {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Snapshot.
|
|
21
|
+
*/
|
|
22
|
+
"id": string;
|
|
23
|
+
/**
|
|
24
|
+
* The current state of the Exadata Database Snapshot.
|
|
25
|
+
*/
|
|
26
|
+
"lifecycleState"?: DatabaseSnapshot.LifecycleState;
|
|
27
|
+
/**
|
|
28
|
+
* The user-friendly name for the Database Snapshot. The name should be unique.
|
|
29
|
+
*/
|
|
30
|
+
"name": string;
|
|
31
|
+
/**
|
|
32
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database.
|
|
33
|
+
*/
|
|
34
|
+
"databaseId": string;
|
|
35
|
+
/**
|
|
36
|
+
* The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"timeCreated"?: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Additional information about the current lifecycle state of the Exadata Database Snapshot.
|
|
42
|
+
*/
|
|
43
|
+
"lifecycleDetails"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
46
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
47
|
+
* <p>
|
|
48
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"freeformTags"?: {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
56
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"definedTags"?: {
|
|
60
|
+
[key: string]: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
66
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"systemTags"?: {
|
|
70
|
+
[key: string]: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
76
|
+
*/
|
|
77
|
+
"compartmentId"?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
|
80
|
+
*/
|
|
81
|
+
"clusterId"?: string;
|
|
82
|
+
}
|
|
83
|
+
export declare namespace DatabaseSnapshot {
|
|
84
|
+
enum LifecycleState {
|
|
85
|
+
Creating = "CREATING",
|
|
86
|
+
Available = "AVAILABLE",
|
|
87
|
+
Terminating = "TERMINATING",
|
|
88
|
+
Terminated = "TERMINATED",
|
|
89
|
+
Failed = "FAILED",
|
|
90
|
+
/**
|
|
91
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
92
|
+
* version of the SDK.
|
|
93
|
+
*/
|
|
94
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
95
|
+
}
|
|
96
|
+
function getJsonObj(obj: DatabaseSnapshot): object;
|
|
97
|
+
function getDeserializedJsonObj(obj: DatabaseSnapshot): object;
|
|
98
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.DatabaseSnapshot = void 0;
|
|
17
|
+
var DatabaseSnapshot;
|
|
18
|
+
(function (DatabaseSnapshot) {
|
|
19
|
+
let LifecycleState;
|
|
20
|
+
(function (LifecycleState) {
|
|
21
|
+
LifecycleState["Creating"] = "CREATING";
|
|
22
|
+
LifecycleState["Available"] = "AVAILABLE";
|
|
23
|
+
LifecycleState["Terminating"] = "TERMINATING";
|
|
24
|
+
LifecycleState["Terminated"] = "TERMINATED";
|
|
25
|
+
LifecycleState["Failed"] = "FAILED";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(LifecycleState = DatabaseSnapshot.LifecycleState || (DatabaseSnapshot.LifecycleState = {}));
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
DatabaseSnapshot.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
39
|
+
return jsonObj;
|
|
40
|
+
}
|
|
41
|
+
DatabaseSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
42
|
+
})(DatabaseSnapshot = exports.DatabaseSnapshot || (exports.DatabaseSnapshot = {}));
|
|
43
|
+
//# sourceMappingURL=database-snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-snapshot.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/database-snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAiEH,IAAiB,gBAAgB,CAwBhC;AAxBD,WAAiB,gBAAgB;IAC/B,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,yCAAuB,CAAA;QACvB,6CAA2B,CAAA;QAC3B,2CAAyB,CAAA;QACzB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,+BAAc,KAAd,+BAAc,QAWzB;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAxBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAwBhC"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -247,6 +247,8 @@ import * as ChangeSubscriptionDetails from "./change-subscription-details";
|
|
|
247
247
|
export import ChangeSubscriptionDetails = ChangeSubscriptionDetails.ChangeSubscriptionDetails;
|
|
248
248
|
import * as ChangeVmClusterCompartmentDetails from "./change-vm-cluster-compartment-details";
|
|
249
249
|
export import ChangeVmClusterCompartmentDetails = ChangeVmClusterCompartmentDetails.ChangeVmClusterCompartmentDetails;
|
|
250
|
+
import * as CloneDatabaseDetails from "./clone-database-details";
|
|
251
|
+
export import CloneDatabaseDetails = CloneDatabaseDetails.CloneDatabaseDetails;
|
|
250
252
|
import * as CloudAutomationApplyUpdateTimePreference from "./cloud-automation-apply-update-time-preference";
|
|
251
253
|
export import CloudAutomationApplyUpdateTimePreference = CloudAutomationApplyUpdateTimePreference.CloudAutomationApplyUpdateTimePreference;
|
|
252
254
|
import * as CloudAutomationFreezePeriod from "./cloud-automation-freeze-period";
|
|
@@ -355,6 +357,10 @@ import * as CreateDatabaseFromBackupDetails from "./create-database-from-backup-
|
|
|
355
357
|
export import CreateDatabaseFromBackupDetails = CreateDatabaseFromBackupDetails.CreateDatabaseFromBackupDetails;
|
|
356
358
|
import * as CreateDatabaseFromDbSystemDetails from "./create-database-from-db-system-details";
|
|
357
359
|
export import CreateDatabaseFromDbSystemDetails = CreateDatabaseFromDbSystemDetails.CreateDatabaseFromDbSystemDetails;
|
|
360
|
+
import * as CreateDatabaseFromSnapshotDetails from "./create-database-from-snapshot-details";
|
|
361
|
+
export import CreateDatabaseFromSnapshotDetails = CreateDatabaseFromSnapshotDetails.CreateDatabaseFromSnapshotDetails;
|
|
362
|
+
import * as CreateDatabaseSnapshotDetails from "./create-database-snapshot-details";
|
|
363
|
+
export import CreateDatabaseSnapshotDetails = CreateDatabaseSnapshotDetails.CreateDatabaseSnapshotDetails;
|
|
358
364
|
import * as CreateDatabaseSoftwareImageDetails from "./create-database-software-image-details";
|
|
359
365
|
export import CreateDatabaseSoftwareImageDetails = CreateDatabaseSoftwareImageDetails.CreateDatabaseSoftwareImageDetails;
|
|
360
366
|
import * as CreateDbConnectionBundleDetails from "./create-db-connection-bundle-details";
|
|
@@ -453,6 +459,12 @@ import * as DatabaseCredentialDetails from "./database-credential-details";
|
|
|
453
459
|
export import DatabaseCredentialDetails = DatabaseCredentialDetails.DatabaseCredentialDetails;
|
|
454
460
|
import * as DatabaseManagementConfig from "./database-management-config";
|
|
455
461
|
export import DatabaseManagementConfig = DatabaseManagementConfig.DatabaseManagementConfig;
|
|
462
|
+
import * as DatabaseSnapshot from "./database-snapshot";
|
|
463
|
+
export import DatabaseSnapshot = DatabaseSnapshot.DatabaseSnapshot;
|
|
464
|
+
import * as DatabaseSnapshotCollection from "./database-snapshot-collection";
|
|
465
|
+
export import DatabaseSnapshotCollection = DatabaseSnapshotCollection.DatabaseSnapshotCollection;
|
|
466
|
+
import * as DatabaseSnapshotSummary from "./database-snapshot-summary";
|
|
467
|
+
export import DatabaseSnapshotSummary = DatabaseSnapshotSummary.DatabaseSnapshotSummary;
|
|
456
468
|
import * as DatabaseSoftwareImage from "./database-software-image";
|
|
457
469
|
export import DatabaseSoftwareImage = DatabaseSoftwareImage.DatabaseSoftwareImage;
|
|
458
470
|
import * as DatabaseSoftwareImageSummary from "./database-software-image-summary";
|
|
@@ -971,6 +983,8 @@ import * as UpdateDataGuardDetails from "./update-data-guard-details";
|
|
|
971
983
|
export import UpdateDataGuardDetails = UpdateDataGuardDetails.UpdateDataGuardDetails;
|
|
972
984
|
import * as UpdateDatabaseDetails from "./update-database-details";
|
|
973
985
|
export import UpdateDatabaseDetails = UpdateDatabaseDetails.UpdateDatabaseDetails;
|
|
986
|
+
import * as UpdateDatabaseSnapshotDetails from "./update-database-snapshot-details";
|
|
987
|
+
export import UpdateDatabaseSnapshotDetails = UpdateDatabaseSnapshotDetails.UpdateDatabaseSnapshotDetails;
|
|
974
988
|
import * as UpdateDatabaseSoftwareImageDetails from "./update-database-software-image-details";
|
|
975
989
|
export import UpdateDatabaseSoftwareImageDetails = UpdateDatabaseSoftwareImageDetails.UpdateDatabaseSoftwareImageDetails;
|
|
976
990
|
import * as UpdateDbConnectionBundleDetails from "./update-db-connection-bundle-details";
|
|
@@ -1091,6 +1105,8 @@ import * as CreateAutonomousDatabaseFromBackupDetails from "./create-autonomous-
|
|
|
1091
1105
|
export import CreateAutonomousDatabaseFromBackupDetails = CreateAutonomousDatabaseFromBackupDetails.CreateAutonomousDatabaseFromBackupDetails;
|
|
1092
1106
|
import * as CreateAutonomousDatabaseFromBackupTimestampDetails from "./create-autonomous-database-from-backup-timestamp-details";
|
|
1093
1107
|
export import CreateAutonomousDatabaseFromBackupTimestampDetails = CreateAutonomousDatabaseFromBackupTimestampDetails.CreateAutonomousDatabaseFromBackupTimestampDetails;
|
|
1108
|
+
import * as CreateCloneDatabaseFromDatabase from "./create-clone-database-from-database";
|
|
1109
|
+
export import CreateCloneDatabaseFromDatabase = CreateCloneDatabaseFromDatabase.CreateCloneDatabaseFromDatabase;
|
|
1094
1110
|
import * as CreateCrossRegionAutonomousDatabaseDataGuardDetails from "./create-cross-region-autonomous-database-data-guard-details";
|
|
1095
1111
|
export import CreateCrossRegionAutonomousDatabaseDataGuardDetails = CreateCrossRegionAutonomousDatabaseDataGuardDetails.CreateCrossRegionAutonomousDatabaseDataGuardDetails;
|
|
1096
1112
|
import * as CreateCrossRegionDisasterRecoveryDetails from "./create-cross-region-disaster-recovery-details";
|
|
@@ -1107,6 +1123,8 @@ import * as CreateDatabaseFromBackup from "./create-database-from-backup";
|
|
|
1107
1123
|
export import CreateDatabaseFromBackup = CreateDatabaseFromBackup.CreateDatabaseFromBackup;
|
|
1108
1124
|
import * as CreateDatabaseFromDatabase from "./create-database-from-database";
|
|
1109
1125
|
export import CreateDatabaseFromDatabase = CreateDatabaseFromDatabase.CreateDatabaseFromDatabase;
|
|
1126
|
+
import * as CreateDatabaseFromSnapshot from "./create-database-from-snapshot";
|
|
1127
|
+
export import CreateDatabaseFromSnapshot = CreateDatabaseFromSnapshot.CreateDatabaseFromSnapshot;
|
|
1110
1128
|
import * as CreateDbHomeWithDbSystemIdDetails from "./create-db-home-with-db-system-id-details";
|
|
1111
1129
|
export import CreateDbHomeWithDbSystemIdDetails = CreateDbHomeWithDbSystemIdDetails.CreateDbHomeWithDbSystemIdDetails;
|
|
1112
1130
|
import * as CreateDbHomeWithDbSystemIdFromBackupDetails from "./create-db-home-with-db-system-id-from-backup-details";
|