oci-database 2.143.0 → 2.144.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.
Files changed (74) hide show
  1. package/lib/client.d.ts +50 -0
  2. package/lib/client.js +333 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +28 -0
  5. package/lib/database-waiter.js +48 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/clone-database-details.d.ts +98 -0
  8. package/lib/model/clone-database-details.js +82 -0
  9. package/lib/model/clone-database-details.js.map +1 -0
  10. package/lib/model/create-clone-database-from-database.d.ts +29 -0
  11. package/lib/model/create-clone-database-from-database.js +61 -0
  12. package/lib/model/create-clone-database-from-database.js.map +1 -0
  13. package/lib/model/create-database-base.js +8 -0
  14. package/lib/model/create-database-base.js.map +1 -1
  15. package/lib/model/create-database-from-snapshot-details.d.ts +98 -0
  16. package/lib/model/create-database-from-snapshot-details.js +82 -0
  17. package/lib/model/create-database-from-snapshot-details.js.map +1 -0
  18. package/lib/model/create-database-from-snapshot.d.ts +28 -0
  19. package/lib/model/create-database-from-snapshot.js +63 -0
  20. package/lib/model/create-database-from-snapshot.js.map +1 -0
  21. package/lib/model/create-database-snapshot-details.d.ts +51 -0
  22. package/lib/model/create-database-snapshot-details.js +30 -0
  23. package/lib/model/create-database-snapshot-details.js.map +1 -0
  24. package/lib/model/database-snapshot-collection.d.ts +27 -0
  25. package/lib/model/database-snapshot-collection.js +62 -0
  26. package/lib/model/database-snapshot-collection.js.map +1 -0
  27. package/lib/model/database-snapshot-summary.d.ts +86 -0
  28. package/lib/model/database-snapshot-summary.js +30 -0
  29. package/lib/model/database-snapshot-summary.js.map +1 -0
  30. package/lib/model/database-snapshot.d.ts +98 -0
  31. package/lib/model/database-snapshot.js +43 -0
  32. package/lib/model/database-snapshot.js.map +1 -0
  33. package/lib/model/index.d.ts +18 -0
  34. package/lib/model/index.js +28 -10
  35. package/lib/model/index.js.map +1 -1
  36. package/lib/model/update-database-snapshot-details.d.ts +43 -0
  37. package/lib/model/update-database-snapshot-details.js +30 -0
  38. package/lib/model/update-database-snapshot-details.js.map +1 -0
  39. package/lib/request/create-database-request.d.ts +1 -1
  40. package/lib/request/create-database-snapshot-request.d.ts +38 -0
  41. package/lib/request/create-database-snapshot-request.js +15 -0
  42. package/lib/request/create-database-snapshot-request.js.map +1 -0
  43. package/lib/request/delete-database-snapshot-request.d.ts +34 -0
  44. package/lib/request/delete-database-snapshot-request.js +15 -0
  45. package/lib/request/delete-database-snapshot-request.js.map +1 -0
  46. package/lib/request/get-database-snapshot-request.d.ts +27 -0
  47. package/lib/request/get-database-snapshot-request.js +15 -0
  48. package/lib/request/get-database-snapshot-request.js.map +1 -0
  49. package/lib/request/index.d.ts +10 -0
  50. package/lib/request/index.js +4 -2
  51. package/lib/request/index.js.map +1 -1
  52. package/lib/request/list-database-snapshots-request.d.ts +70 -0
  53. package/lib/request/list-database-snapshots-request.js +29 -0
  54. package/lib/request/list-database-snapshots-request.js.map +1 -0
  55. package/lib/request/update-database-snapshot-request.d.ts +49 -0
  56. package/lib/request/update-database-snapshot-request.js +15 -0
  57. package/lib/request/update-database-snapshot-request.js.map +1 -0
  58. package/lib/response/create-database-snapshot-response.d.ts +34 -0
  59. package/lib/response/create-database-snapshot-response.js +15 -0
  60. package/lib/response/create-database-snapshot-response.js.map +1 -0
  61. package/lib/response/delete-database-snapshot-response.d.ts +25 -0
  62. package/lib/response/delete-database-snapshot-response.js +15 -0
  63. package/lib/response/delete-database-snapshot-response.js.map +1 -0
  64. package/lib/response/get-database-snapshot-response.d.ts +29 -0
  65. package/lib/response/get-database-snapshot-response.js +15 -0
  66. package/lib/response/get-database-snapshot-response.js.map +1 -0
  67. package/lib/response/index.d.ts +10 -0
  68. package/lib/response/list-database-snapshots-response.d.ts +33 -0
  69. package/lib/response/list-database-snapshots-response.js +15 -0
  70. package/lib/response/list-database-snapshots-response.js.map +1 -0
  71. package/lib/response/update-database-snapshot-response.d.ts +29 -0
  72. package/lib/response/update-database-snapshot-response.js +15 -0
  73. package/lib/response/update-database-snapshot-response.js.map +1 -0
  74. package/package.json +3 -3
@@ -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
+ import * as model from "../model";
15
+ export interface CloneDatabaseDetails {
16
+ /**
17
+ * The source database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
18
+ */
19
+ "sourceDatabaseId": string;
20
+ /**
21
+ * Specifies whether thick or thin database cloning is to be performed.
22
+ */
23
+ "isThinClone"?: boolean;
24
+ /**
25
+ * The password to open the TDE wallet.
26
+ */
27
+ "sourceTdePassword"?: string;
28
+ /**
29
+ * The source database's password for SYS, SYSTEM.
30
+ */
31
+ "sourceAdminPassword"?: string;
32
+ "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails;
33
+ /**
34
+ * The password for the target Database TDE wallet.
35
+ */
36
+ "tdeWalletPassword": string;
37
+ "dbBackupConfig"?: model.DbBackupConfig;
38
+ /**
39
+ * A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
40
+ */
41
+ "adminPassword": string;
42
+ /**
43
+ * The {@code DB_UNIQUE_NAME} for the new Oracle Database.
44
+ */
45
+ "dbUniqueName"?: string;
46
+ /**
47
+ * The display name of the database to be created from the snapshot/database. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
48
+ */
49
+ "dbName": string;
50
+ /**
51
+ * The character set for the database. The default is AL32UTF8. Allowed values are:
52
+ * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
53
+ *
54
+ */
55
+ "characterSet"?: string;
56
+ /**
57
+ * The national character set for the database. The default is AL16UTF16. Allowed values are:
58
+ * AL16UTF16 or UTF8.
59
+ *
60
+ */
61
+ "ncharacterSet"?: string;
62
+ /**
63
+ * Specifies a prefix for the {@code Oracle SID} of the database to be created.
64
+ *
65
+ */
66
+ "sidPrefix"?: string;
67
+ /**
68
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault.
69
+ */
70
+ "keyStoreId"?: string;
71
+ "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails;
72
+ "storageSizeDetails"?: model.DatabaseStorageSizeDetails;
73
+ /**
74
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
75
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
76
+ * <p>
77
+ Example: {@code {\"Department\": \"Finance\"}}
78
+ *
79
+ */
80
+ "freeformTags"?: {
81
+ [key: string]: string;
82
+ };
83
+ /**
84
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
85
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
86
+ *
87
+ */
88
+ "definedTags"?: {
89
+ [key: string]: {
90
+ [key: string]: any;
91
+ };
92
+ };
93
+ "dataSafeRegistrationDetails"?: model.DataSafeRegistrationRequestDetails;
94
+ }
95
+ export declare namespace CloneDatabaseDetails {
96
+ function getJsonObj(obj: CloneDatabaseDetails): object;
97
+ function getDeserializedJsonObj(obj: CloneDatabaseDetails): object;
98
+ }
@@ -0,0 +1,82 @@
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.CloneDatabaseDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var CloneDatabaseDetails;
38
+ (function (CloneDatabaseDetails) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
42
+ ? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails)
43
+ : undefined,
44
+ "dbBackupConfig": obj.dbBackupConfig
45
+ ? model.DbBackupConfig.getJsonObj(obj.dbBackupConfig)
46
+ : undefined,
47
+ "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
48
+ ? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails)
49
+ : undefined,
50
+ "storageSizeDetails": obj.storageSizeDetails
51
+ ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails)
52
+ : undefined,
53
+ "dataSafeRegistrationDetails": obj.dataSafeRegistrationDetails
54
+ ? model.DataSafeRegistrationRequestDetails.getJsonObj(obj.dataSafeRegistrationDetails)
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ CloneDatabaseDetails.getJsonObj = getJsonObj;
60
+ function getDeserializedJsonObj(obj) {
61
+ const jsonObj = Object.assign(Object.assign({}, obj), {
62
+ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
63
+ ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.sourceEncryptionKeyLocationDetails)
64
+ : undefined,
65
+ "dbBackupConfig": obj.dbBackupConfig
66
+ ? model.DbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig)
67
+ : undefined,
68
+ "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
69
+ ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.encryptionKeyLocationDetails)
70
+ : undefined,
71
+ "storageSizeDetails": obj.storageSizeDetails
72
+ ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails)
73
+ : undefined,
74
+ "dataSafeRegistrationDetails": obj.dataSafeRegistrationDetails
75
+ ? model.DataSafeRegistrationRequestDetails.getDeserializedJsonObj(obj.dataSafeRegistrationDetails)
76
+ : undefined
77
+ });
78
+ return jsonObj;
79
+ }
80
+ CloneDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
81
+ })(CloneDatabaseDetails = exports.CloneDatabaseDetails || (exports.CloneDatabaseDetails = {}));
82
+ //# sourceMappingURL=clone-database-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-database-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/clone-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsFlC,IAAiB,oBAAoB,CA6DpC;AA7DD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,kCAAkC,CAAC;gBACvF,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,4BAA4B,CAAC;gBACjF,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACrE,CAAC,CAAC,SAAS;YAEb,6BAA6B,EAAE,GAAG,CAAC,2BAA2B;gBAC5D,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,GAAG,CAAC,2BAA2B,CAAC;gBACtF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA1Be,+BAAU,aA0BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,kCAAkC,CACvC;gBACH,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACvD,GAAG,CAAC,4BAA4B,CACjC;gBACH,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACjF,CAAC,CAAC,SAAS;YAEb,6BAA6B,EAAE,GAAG,CAAC,2BAA2B;gBAC5D,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CAC7D,GAAG,CAAC,2BAA2B,CAChC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhCe,2CAAsB,yBAgCrC,CAAA;AACH,CAAC,EA7DgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6DpC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Database Service API
3
+ * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](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
+ * Details for creating a database by cloning from another database.
17
+ * <p>
18
+ **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
19
+ *
20
+ */
21
+ export interface CreateCloneDatabaseFromDatabase extends model.CreateDatabaseBase {
22
+ "database": model.CloneDatabaseDetails;
23
+ "source": string;
24
+ }
25
+ export declare namespace CreateCloneDatabaseFromDatabase {
26
+ function getJsonObj(obj: CreateCloneDatabaseFromDatabase, isParentJsonObj?: boolean): object;
27
+ const source = "DB_CLONE";
28
+ function getDeserializedJsonObj(obj: CreateCloneDatabaseFromDatabase, isParentJsonObj?: boolean): object;
29
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Database Service API
4
+ * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](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.CreateCloneDatabaseFromDatabase = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var CreateCloneDatabaseFromDatabase;
38
+ (function (CreateCloneDatabaseFromDatabase) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.CreateDatabaseBase.getJsonObj(obj))), {
43
+ "database": obj.database ? model.CloneDatabaseDetails.getJsonObj(obj.database) : undefined
44
+ });
45
+ return jsonObj;
46
+ }
47
+ CreateCloneDatabaseFromDatabase.getJsonObj = getJsonObj;
48
+ CreateCloneDatabaseFromDatabase.source = "DB_CLONE";
49
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
50
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
51
+ ? obj
52
+ : model.CreateDatabaseBase.getDeserializedJsonObj(obj))), {
53
+ "database": obj.database
54
+ ? model.CloneDatabaseDetails.getDeserializedJsonObj(obj.database)
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ CreateCloneDatabaseFromDatabase.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(CreateCloneDatabaseFromDatabase = exports.CreateCloneDatabaseFromDatabase || (exports.CreateCloneDatabaseFromDatabase = {}));
61
+ //# sourceMappingURL=create-clone-database-from-database.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-clone-database-from-database.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-clone-database-from-database.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,+BAA+B,CAoC/C;AApCD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GAC/E;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0CAAU,aAczB,CAAA;IACY,sCAAM,GAAG,UAAU,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAC9C,GAAG,CACgC,CAAC,GACvC;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sDAAsB,yBAkBrC,CAAA;AACH,CAAC,EApCgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAoC/C"}
@@ -45,8 +45,12 @@ var CreateDatabaseBase;
45
45
  return model.CreateNewDatabaseDetails.getJsonObj(jsonObj, true);
46
46
  case "DATAGUARD":
47
47
  return model.CreateStandByDatabaseDetails.getJsonObj(jsonObj, true);
48
+ case "DB_CLONE":
49
+ return model.CreateCloneDatabaseFromDatabase.getJsonObj(jsonObj, true);
48
50
  case "DATABASE":
49
51
  return model.CreateDatabaseFromDatabase.getJsonObj(jsonObj, true);
52
+ case "DB_SNAPSHOT":
53
+ return model.CreateDatabaseFromSnapshot.getJsonObj(jsonObj, true);
50
54
  case "DB_BACKUP":
51
55
  return model.CreateDatabaseFromBackup.getJsonObj(jsonObj, true);
52
56
  default:
@@ -65,8 +69,12 @@ var CreateDatabaseBase;
65
69
  return model.CreateNewDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
66
70
  case "DATAGUARD":
67
71
  return model.CreateStandByDatabaseDetails.getDeserializedJsonObj(jsonObj, true);
72
+ case "DB_CLONE":
73
+ return model.CreateCloneDatabaseFromDatabase.getDeserializedJsonObj(jsonObj, true);
68
74
  case "DATABASE":
69
75
  return model.CreateDatabaseFromDatabase.getDeserializedJsonObj(jsonObj, true);
76
+ case "DB_SNAPSHOT":
77
+ return model.CreateDatabaseFromSnapshot.getDeserializedJsonObj(jsonObj, true);
70
78
  case "DB_BACKUP":
71
79
  return model.CreateDatabaseFromBackup.getDeserializedJsonObj(jsonObj, true);
72
80
  default:
@@ -1 +1 @@
1
- {"version":3,"file":"create-database-base.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiCtC,IAAiB,kBAAkB,CA+DlC;AA/DD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC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;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,yCAAsB,yBA8BrC,CAAA;AACH,CAAC,EA/DgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA+DlC"}
1
+ {"version":3,"file":"create-database-base.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiCtC,IAAiB,kBAAkB,CAmFlC;AAnFD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;YACxC,QAAQ,GAAG,CAAC,MAAM,EAAE;gBAClB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa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E,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;aACrF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAxCe,yCAAsB,yBAwCrC,CAAA;AACH,CAAC,EAnFgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAmFlC"}
@@ -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
+ import * as model from "../model";
15
+ export interface CreateDatabaseFromSnapshotDetails {
16
+ /**
17
+ * The snapshot [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
18
+ */
19
+ "sourceSnapshotId": string;
20
+ /**
21
+ * Specifies whether thick or thin database cloning is to be performed.
22
+ */
23
+ "isThinClone"?: boolean;
24
+ /**
25
+ * The password to open the TDE wallet.
26
+ */
27
+ "sourceTdePassword"?: string;
28
+ /**
29
+ * The source database's password for SYS, SYSTEM.
30
+ */
31
+ "sourceAdminPassword"?: string;
32
+ "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails;
33
+ /**
34
+ * The password for the target Database TDE wallet.
35
+ */
36
+ "tdeWalletPassword": string;
37
+ "dbBackupConfig"?: model.DbBackupConfig;
38
+ /**
39
+ * A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
40
+ */
41
+ "adminPassword": string;
42
+ /**
43
+ * The {@code DB_UNIQUE_NAME} for the new Oracle Database.
44
+ */
45
+ "dbUniqueName"?: string;
46
+ /**
47
+ * The display name of the database to be created from the snapshot/database. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
48
+ */
49
+ "dbName": string;
50
+ /**
51
+ * The character set for the database. The default is AL32UTF8. Allowed values are:
52
+ * AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
53
+ *
54
+ */
55
+ "characterSet"?: string;
56
+ /**
57
+ * The national character set for the database. The default is AL16UTF16. Allowed values are:
58
+ * AL16UTF16 or UTF8.
59
+ *
60
+ */
61
+ "ncharacterSet"?: string;
62
+ /**
63
+ * Specifies a prefix for the {@code Oracle SID} of the database to be created.
64
+ *
65
+ */
66
+ "sidPrefix"?: string;
67
+ /**
68
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault.
69
+ */
70
+ "keyStoreId"?: string;
71
+ "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails;
72
+ "storageSizeDetails"?: model.DatabaseStorageSizeDetails;
73
+ /**
74
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
75
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
76
+ * <p>
77
+ Example: {@code {\"Department\": \"Finance\"}}
78
+ *
79
+ */
80
+ "freeformTags"?: {
81
+ [key: string]: string;
82
+ };
83
+ /**
84
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
85
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
86
+ *
87
+ */
88
+ "definedTags"?: {
89
+ [key: string]: {
90
+ [key: string]: any;
91
+ };
92
+ };
93
+ "dataSafeRegistrationDetails"?: model.DataSafeRegistrationRequestDetails;
94
+ }
95
+ export declare namespace CreateDatabaseFromSnapshotDetails {
96
+ function getJsonObj(obj: CreateDatabaseFromSnapshotDetails): object;
97
+ function getDeserializedJsonObj(obj: CreateDatabaseFromSnapshotDetails): object;
98
+ }
@@ -0,0 +1,82 @@
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.CreateDatabaseFromSnapshotDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var CreateDatabaseFromSnapshotDetails;
38
+ (function (CreateDatabaseFromSnapshotDetails) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
42
+ ? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails)
43
+ : undefined,
44
+ "dbBackupConfig": obj.dbBackupConfig
45
+ ? model.DbBackupConfig.getJsonObj(obj.dbBackupConfig)
46
+ : undefined,
47
+ "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
48
+ ? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails)
49
+ : undefined,
50
+ "storageSizeDetails": obj.storageSizeDetails
51
+ ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails)
52
+ : undefined,
53
+ "dataSafeRegistrationDetails": obj.dataSafeRegistrationDetails
54
+ ? model.DataSafeRegistrationRequestDetails.getJsonObj(obj.dataSafeRegistrationDetails)
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ CreateDatabaseFromSnapshotDetails.getJsonObj = getJsonObj;
60
+ function getDeserializedJsonObj(obj) {
61
+ const jsonObj = Object.assign(Object.assign({}, obj), {
62
+ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails
63
+ ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.sourceEncryptionKeyLocationDetails)
64
+ : undefined,
65
+ "dbBackupConfig": obj.dbBackupConfig
66
+ ? model.DbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig)
67
+ : undefined,
68
+ "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails
69
+ ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj(obj.encryptionKeyLocationDetails)
70
+ : undefined,
71
+ "storageSizeDetails": obj.storageSizeDetails
72
+ ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails)
73
+ : undefined,
74
+ "dataSafeRegistrationDetails": obj.dataSafeRegistrationDetails
75
+ ? model.DataSafeRegistrationRequestDetails.getDeserializedJsonObj(obj.dataSafeRegistrationDetails)
76
+ : undefined
77
+ });
78
+ return jsonObj;
79
+ }
80
+ CreateDatabaseFromSnapshotDetails.getDeserializedJsonObj = getDeserializedJsonObj;
81
+ })(CreateDatabaseFromSnapshotDetails = exports.CreateDatabaseFromSnapshotDetails || (exports.CreateDatabaseFromSnapshotDetails = {}));
82
+ //# sourceMappingURL=create-database-from-snapshot-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database-from-snapshot-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-from-snapshot-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsFlC,IAAiB,iCAAiC,CA6DjD;AA7DD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,kCAAkC,CAAC;gBACvF,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,4BAA4B,CAAC;gBACj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d,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhCe,wDAAsB,yBAgCrC,CAAA;AACH,CAAC,EA7DgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QA6DjD"}
@@ -0,0 +1,28 @@
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
+ * Details for creating a database by cloning from a database snapshot.
17
+ * **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
18
+ *
19
+ */
20
+ export interface CreateDatabaseFromSnapshot extends model.CreateDatabaseBase {
21
+ "database": model.CreateDatabaseFromSnapshotDetails;
22
+ "source": string;
23
+ }
24
+ export declare namespace CreateDatabaseFromSnapshot {
25
+ function getJsonObj(obj: CreateDatabaseFromSnapshot, isParentJsonObj?: boolean): object;
26
+ const source = "DB_SNAPSHOT";
27
+ function getDeserializedJsonObj(obj: CreateDatabaseFromSnapshot, isParentJsonObj?: boolean): object;
28
+ }
@@ -0,0 +1,63 @@
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.CreateDatabaseFromSnapshot = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var CreateDatabaseFromSnapshot;
38
+ (function (CreateDatabaseFromSnapshot) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.CreateDatabaseBase.getJsonObj(obj))), {
43
+ "database": obj.database
44
+ ? model.CreateDatabaseFromSnapshotDetails.getJsonObj(obj.database)
45
+ : undefined
46
+ });
47
+ return jsonObj;
48
+ }
49
+ CreateDatabaseFromSnapshot.getJsonObj = getJsonObj;
50
+ CreateDatabaseFromSnapshot.source = "DB_SNAPSHOT";
51
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
52
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
53
+ ? obj
54
+ : model.CreateDatabaseBase.getDeserializedJsonObj(obj))), {
55
+ "database": obj.database
56
+ ? model.CreateDatabaseFromSnapshotDetails.getDeserializedJsonObj(obj.database)
57
+ : undefined
58
+ });
59
+ return jsonObj;
60
+ }
61
+ CreateDatabaseFromSnapshot.getDeserializedJsonObj = getDeserializedJsonObj;
62
+ })(CreateDatabaseFromSnapshot = exports.CreateDatabaseFromSnapshot || (exports.CreateDatabaseFromSnapshot = {}));
63
+ //# sourceMappingURL=create-database-from-snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database-from-snapshot.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/create-database-from-snapshot.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GAC1E;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACY,iCAAM,GAAG,aAAa,CAAC;IACpC,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GACtF;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC9E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,iDAAsB,yBAgBrC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}