oci-database 2.94.0 → 2.95.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 (46) hide show
  1. package/lib/client.d.ts +18 -0
  2. package/lib/client.js +143 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/database-waiter.d.ts +20 -0
  5. package/lib/database-waiter.js +30 -0
  6. package/lib/database-waiter.js.map +1 -1
  7. package/lib/model/autonomous-database-summary.d.ts +5 -0
  8. package/lib/model/autonomous-database-summary.js.map +1 -1
  9. package/lib/model/autonomous-database.d.ts +5 -0
  10. package/lib/model/autonomous-database.js.map +1 -1
  11. package/lib/model/create-autonomous-database-base.js +4 -0
  12. package/lib/model/create-autonomous-database-base.js.map +1 -1
  13. package/lib/model/index.d.ts +6 -0
  14. package/lib/model/index.js +9 -3
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/oci-provider-set-key-version-details.d.ts +30 -0
  17. package/lib/model/oci-provider-set-key-version-details.js +55 -0
  18. package/lib/model/oci-provider-set-key-version-details.js.map +1 -0
  19. package/lib/model/pluggable-database-summary.d.ts +9 -0
  20. package/lib/model/pluggable-database-summary.js.map +1 -1
  21. package/lib/model/pluggable-database.d.ts +9 -0
  22. package/lib/model/pluggable-database.js.map +1 -1
  23. package/lib/model/set-key-version-details.d.ts +24 -0
  24. package/lib/model/set-key-version-details.js +69 -0
  25. package/lib/model/set-key-version-details.js.map +1 -0
  26. package/lib/model/undelete-autonomous-database-details.d.ts +30 -0
  27. package/lib/model/undelete-autonomous-database-details.js +55 -0
  28. package/lib/model/undelete-autonomous-database-details.js.map +1 -0
  29. package/lib/request/create-autonomous-database-request.d.ts +1 -1
  30. package/lib/request/index.d.ts +4 -0
  31. package/lib/request/list-autonomous-databases-request.d.ts +4 -0
  32. package/lib/request/list-autonomous-databases-request.js.map +1 -1
  33. package/lib/request/set-db-key-version-request.d.ts +48 -0
  34. package/lib/request/set-db-key-version-request.js +15 -0
  35. package/lib/request/set-db-key-version-request.js.map +1 -0
  36. package/lib/request/set-pdb-key-version-request.d.ts +48 -0
  37. package/lib/request/set-pdb-key-version-request.js +15 -0
  38. package/lib/request/set-pdb-key-version-request.js.map +1 -0
  39. package/lib/response/index.d.ts +4 -0
  40. package/lib/response/set-db-key-version-response.d.ts +34 -0
  41. package/lib/response/set-db-key-version-response.js +15 -0
  42. package/lib/response/set-db-key-version-response.js.map +1 -0
  43. package/lib/response/set-pdb-key-version-response.d.ts +34 -0
  44. package/lib/response/set-pdb-key-version-response.js +15 -0
  45. package/lib/response/set-pdb-key-version-response.js.map +1 -0
  46. package/package.json +3 -3
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * Database Service API
4
+ * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
5
+
6
+ * OpenAPI spec version: 20160918
7
+ * Contact: sic_dbaas_cp_us_grp@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2024, 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.SetKeyVersionDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ const common = require("oci-common");
38
+ var SetKeyVersionDetails;
39
+ (function (SetKeyVersionDetails) {
40
+ function getJsonObj(obj) {
41
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
42
+ if (obj && "provider" in obj && obj.provider) {
43
+ switch (obj.provider) {
44
+ case "OCI":
45
+ return model.OciProviderSetKeyVersionDetails.getJsonObj(jsonObj, true);
46
+ default:
47
+ if (common.LOG.logger)
48
+ common.LOG.logger.info(`Unknown value for: ${obj.provider}`);
49
+ }
50
+ }
51
+ return jsonObj;
52
+ }
53
+ SetKeyVersionDetails.getJsonObj = getJsonObj;
54
+ function getDeserializedJsonObj(obj) {
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
56
+ if (obj && "provider" in obj && obj.provider) {
57
+ switch (obj.provider) {
58
+ case "OCI":
59
+ return model.OciProviderSetKeyVersionDetails.getDeserializedJsonObj(jsonObj, true);
60
+ default:
61
+ if (common.LOG.logger)
62
+ common.LOG.logger.info(`Unknown value for: ${obj.provider}`);
63
+ }
64
+ }
65
+ return jsonObj;
66
+ }
67
+ SetKeyVersionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
68
+ })(SetKeyVersionDetails = exports.SetKeyVersionDetails || (exports.SetKeyVersionDetails = {}));
69
+ //# sourceMappingURL=set-key-version-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-key-version-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/set-key-version-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,oBAAoB,CAiCpC;AAjCD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,UAAU,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,EAAE;YAC5C,QAAQ,GAAG,CAAC,QAAQ,EAAE;gBACpB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;aACvF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,UAAU,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,EAAE;YAC5C,QAAQ,GAAG,CAAC,QAAQ,EAAE;gBACpB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CACjB,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;aACvF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiCpC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Database Service API
3
+ * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
4
+
5
+ * OpenAPI spec version: 20160918
6
+ * Contact: sic_dbaas_cp_us_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, 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 to undelete an Oracle Autonomous Database.
17
+ *
18
+ */
19
+ export interface UndeleteAutonomousDatabaseDetails extends model.CreateAutonomousDatabaseBase {
20
+ /**
21
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database that you want to undelete.
22
+ */
23
+ "sourceId": string;
24
+ "source": string;
25
+ }
26
+ export declare namespace UndeleteAutonomousDatabaseDetails {
27
+ function getJsonObj(obj: UndeleteAutonomousDatabaseDetails, isParentJsonObj?: boolean): object;
28
+ const source = "UNDELETE_ADB";
29
+ function getDeserializedJsonObj(obj: UndeleteAutonomousDatabaseDetails, isParentJsonObj?: boolean): object;
30
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Database Service API
4
+ * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
5
+
6
+ * OpenAPI spec version: 20160918
7
+ * Contact: sic_dbaas_cp_us_grp@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2024, 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.UndeleteAutonomousDatabaseDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var UndeleteAutonomousDatabaseDetails;
38
+ (function (UndeleteAutonomousDatabaseDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.CreateAutonomousDatabaseBase.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ UndeleteAutonomousDatabaseDetails.getJsonObj = getJsonObj;
46
+ UndeleteAutonomousDatabaseDetails.source = "UNDELETE_ADB";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.CreateAutonomousDatabaseBase.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ UndeleteAutonomousDatabaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(UndeleteAutonomousDatabaseDetails = exports.UndeleteAutonomousDatabaseDetails || (exports.UndeleteAutonomousDatabaseDetails = {}));
55
+ //# sourceMappingURL=undelete-autonomous-database-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-autonomous-database-details.js","sourceRoot":"","sources":["../../../../../lib/database/lib/model/undelete-autonomous-database-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,iCAAiC,CAgCjD;AAhCD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CACxB,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAC5C,GAAG,CACkC,CAAC,GACzC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,4CAAU,aAczB,CAAA;IACY,wCAAM,GAAG,cAAc,CAAC;IACrC,SAAgB,sBAAsB,CACpC,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACxD,GAAG,CACkC,CAAC,GACzC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wDAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAgCjD"}
@@ -19,7 +19,7 @@ export interface CreateAutonomousDatabaseRequest extends common.BaseRequest {
19
19
  /**
20
20
  * Request to create a new Autonomous Database.
21
21
  */
22
- "createAutonomousDatabaseDetails": model.CreateAutonomousDatabaseCloneDetails | model.CreateRefreshableAutonomousDatabaseCloneDetails | model.CreateAutonomousDatabaseFromBackupDetails | model.CreateCrossRegionDisasterRecoveryDetails | model.CreateAutonomousDatabaseFromBackupTimestampDetails | model.CreateCrossTenancyDisasterRecoveryDetails | model.CreateCrossRegionAutonomousDatabaseDataGuardDetails | model.CreateAutonomousDatabaseDetails;
22
+ "createAutonomousDatabaseDetails": model.UndeleteAutonomousDatabaseDetails | model.CreateAutonomousDatabaseCloneDetails | model.CreateRefreshableAutonomousDatabaseCloneDetails | model.CreateAutonomousDatabaseFromBackupDetails | model.CreateCrossRegionDisasterRecoveryDetails | model.CreateAutonomousDatabaseFromBackupTimestampDetails | model.CreateCrossTenancyDisasterRecoveryDetails | model.CreateCrossRegionAutonomousDatabaseDataGuardDetails | model.CreateAutonomousDatabaseDetails;
23
23
  /**
24
24
  * A token that uniquely identifies a request so it can be retried in case of a timeout or
25
25
  * server error without risk of executing that same action again. Retry tokens expire after 24
@@ -689,6 +689,10 @@ import * as SaasAdminUserStatusRequest from "./saas-admin-user-status-request";
689
689
  export import SaasAdminUserStatusRequest = SaasAdminUserStatusRequest.SaasAdminUserStatusRequest;
690
690
  import * as ScanExternalContainerDatabasePluggableDatabasesRequest from "./scan-external-container-database-pluggable-databases-request";
691
691
  export import ScanExternalContainerDatabasePluggableDatabasesRequest = ScanExternalContainerDatabasePluggableDatabasesRequest.ScanExternalContainerDatabasePluggableDatabasesRequest;
692
+ import * as SetDbKeyVersionRequest from "./set-db-key-version-request";
693
+ export import SetDbKeyVersionRequest = SetDbKeyVersionRequest.SetDbKeyVersionRequest;
694
+ import * as SetPdbKeyVersionRequest from "./set-pdb-key-version-request";
695
+ export import SetPdbKeyVersionRequest = SetPdbKeyVersionRequest.SetPdbKeyVersionRequest;
692
696
  import * as ShrinkAutonomousDatabaseRequest from "./shrink-autonomous-database-request";
693
697
  export import ShrinkAutonomousDatabaseRequest = ShrinkAutonomousDatabaseRequest.ShrinkAutonomousDatabaseRequest;
694
698
  import * as StartAutonomousDatabaseRequest from "./start-autonomous-database-request";
@@ -50,6 +50,10 @@ export interface ListAutonomousDatabasesRequest extends common.BaseRequest {
50
50
  * A filter to return only resources that match the given lifecycle state exactly.
51
51
  */
52
52
  "lifecycleState"?: string;
53
+ /**
54
+ * A filter to return only resources that not match the given lifecycle state.
55
+ */
56
+ "lifecycleStateNotEqualTo"?: string;
53
57
  /**
54
58
  * A filter to return only autonomous database resources that match the specified workload type.
55
59
  */
@@ -1 +1 @@
1
- {"version":3,"file":"list-autonomous-databases-request.js","sourceRoot":"","sources":["../../../../../lib/database/lib/request/list-autonomous-databases-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwFH,IAAiB,8BAA8B,CAU9C;AAVD,WAAiB,8BAA8B;IAC7C,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;IAC7B,CAAC,EAHW,MAAM,GAAN,qCAAM,KAAN,qCAAM,QAGjB;IAED,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,wCAAS,KAAT,wCAAS,QAGpB;AACH,CAAC,EAVgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAU9C"}
1
+ {"version":3,"file":"list-autonomous-databases-request.js","sourceRoot":"","sources":["../../../../../lib/database/lib/request/list-autonomous-databases-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA4FH,IAAiB,8BAA8B,CAU9C;AAVD,WAAiB,8BAA8B;IAC7C,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;IAC7B,CAAC,EAHW,MAAM,GAAN,qCAAM,KAAN,qCAAM,QAGjB;IAED,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,wCAAS,KAAT,wCAAS,QAGpB;AACH,CAAC,EAVgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAU9C"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20160918
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/SetDbKeyVersion.ts.html |here} to see how to use SetDbKeyVersionRequest.
17
+ */
18
+ export interface SetDbKeyVersionRequest extends common.BaseRequest {
19
+ /**
20
+ * The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
21
+ */
22
+ "databaseId": string;
23
+ /**
24
+ * Requests Key Version Update.
25
+ */
26
+ "setKeyVersionDetails": model.OciProviderSetKeyVersionDetails;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match}
29
+ * parameter to the value of the etag from a previous GET or POST response for that resource. The resource
30
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
31
+ *
32
+ */
33
+ "ifMatch"?: string;
34
+ /**
35
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
36
+ * server error without risk of executing that same action again. Retry tokens expire after 24
37
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a resource
38
+ * has been deleted and purged from the system, then a retry of the original creation request
39
+ * may be rejected).
40
+ *
41
+ */
42
+ "opcRetryToken"?: string;
43
+ /**
44
+ * Unique identifier for the request.
45
+ *
46
+ */
47
+ "opcRequestId"?: string;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20160918
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=set-db-key-version-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-db-key-version-request.js","sourceRoot":"","sources":["../../../../../lib/database/lib/request/set-db-key-version-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20160918
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/SetPdbKeyVersion.ts.html |here} to see how to use SetPdbKeyVersionRequest.
17
+ */
18
+ export interface SetPdbKeyVersionRequest extends common.BaseRequest {
19
+ /**
20
+ * The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
21
+ */
22
+ "pluggableDatabaseId": string;
23
+ /**
24
+ * Requests Key Version Update.
25
+ */
26
+ "setKeyVersionDetails": model.OciProviderSetKeyVersionDetails;
27
+ /**
28
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match}
29
+ * parameter to the value of the etag from a previous GET or POST response for that resource. The resource
30
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
31
+ *
32
+ */
33
+ "ifMatch"?: string;
34
+ /**
35
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
36
+ * server error without risk of executing that same action again. Retry tokens expire after 24
37
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a resource
38
+ * has been deleted and purged from the system, then a retry of the original creation request
39
+ * may be rejected).
40
+ *
41
+ */
42
+ "opcRetryToken"?: string;
43
+ /**
44
+ * Unique identifier for the request.
45
+ *
46
+ */
47
+ "opcRequestId"?: string;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20160918
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=set-pdb-key-version-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-pdb-key-version-request.js","sourceRoot":"","sources":["../../../../../lib/database/lib/request/set-pdb-key-version-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -689,6 +689,10 @@ import * as SaasAdminUserStatusResponse from "./saas-admin-user-status-response"
689
689
  export import SaasAdminUserStatusResponse = SaasAdminUserStatusResponse.SaasAdminUserStatusResponse;
690
690
  import * as ScanExternalContainerDatabasePluggableDatabasesResponse from "./scan-external-container-database-pluggable-databases-response";
691
691
  export import ScanExternalContainerDatabasePluggableDatabasesResponse = ScanExternalContainerDatabasePluggableDatabasesResponse.ScanExternalContainerDatabasePluggableDatabasesResponse;
692
+ import * as SetDbKeyVersionResponse from "./set-db-key-version-response";
693
+ export import SetDbKeyVersionResponse = SetDbKeyVersionResponse.SetDbKeyVersionResponse;
694
+ import * as SetPdbKeyVersionResponse from "./set-pdb-key-version-response";
695
+ export import SetPdbKeyVersionResponse = SetPdbKeyVersionResponse.SetPdbKeyVersionResponse;
692
696
  import * as ShrinkAutonomousDatabaseResponse from "./shrink-autonomous-database-response";
693
697
  export import ShrinkAutonomousDatabaseResponse = ShrinkAutonomousDatabaseResponse.ShrinkAutonomousDatabaseResponse;
694
698
  import * as StartAutonomousDatabaseResponse from "./start-autonomous-database-response";
@@ -0,0 +1,34 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20160918
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ export interface SetDbKeyVersionResponse {
15
+ /**
16
+ * For optimistic concurrency control. See {@code if-match}.
17
+ */
18
+ "etag": string;
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request.
21
+ *
22
+ */
23
+ "opcWorkRequestId": string;
24
+ /**
25
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
26
+ * a particular request, please provide the request ID.
27
+ *
28
+ */
29
+ "opcRequestId": string;
30
+ /**
31
+ * The returned model.Database instance.
32
+ */
33
+ "database": model.Database;
34
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20160918
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=set-db-key-version-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-db-key-version-response.js","sourceRoot":"","sources":["../../../../../lib/database/lib/response/set-db-key-version-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20160918
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ export interface SetPdbKeyVersionResponse {
15
+ /**
16
+ * For optimistic concurrency control. See {@code if-match}.
17
+ */
18
+ "etag": string;
19
+ /**
20
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request.
21
+ *
22
+ */
23
+ "opcWorkRequestId": string;
24
+ /**
25
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
26
+ * a particular request, please provide the request ID.
27
+ *
28
+ */
29
+ "opcRequestId": string;
30
+ /**
31
+ * The returned model.PluggableDatabase instance.
32
+ */
33
+ "pluggableDatabase": model.PluggableDatabase;
34
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20160918
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=set-pdb-key-version-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-pdb-key-version-response.js","sourceRoot":"","sources":["../../../../../lib/database/lib/response/set-pdb-key-version-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-database",
3
- "version": "2.94.0",
3
+ "version": "2.95.0",
4
4
  "description": "OCI NodeJS client for Database",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.94.0",
19
- "oci-workrequests": "2.94.0"
18
+ "oci-common": "2.95.0",
19
+ "oci-workrequests": "2.95.0"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"