oci-psql 2.134.1 → 2.135.1
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 +70 -0
- package/lib/client.js +448 -1
- package/lib/client.js.map +1 -1
- package/lib/model/backup-copy-details.d.ts +1 -1
- package/lib/model/change-role-to-replica-details.d.ts +28 -0
- package/lib/model/change-role-to-replica-details.js +31 -0
- package/lib/model/change-role-to-replica-details.js.map +1 -0
- package/lib/model/change-role-to-standalone-details.d.ts +34 -0
- package/lib/model/change-role-to-standalone-details.js +36 -0
- package/lib/model/change-role-to-standalone-details.js.map +1 -0
- package/lib/model/create-db-system-details.d.ts +4 -2
- package/lib/model/create-db-system-details.js +14 -2
- package/lib/model/create-db-system-details.js.map +1 -1
- package/lib/model/create-replication-config-details.d.ts +39 -0
- package/lib/model/create-replication-config-details.js +31 -0
- package/lib/model/create-replication-config-details.js.map +1 -0
- package/lib/model/date-time-range-capability.d.ts +27 -0
- package/lib/model/date-time-range-capability.js +31 -0
- package/lib/model/date-time-range-capability.js.map +1 -0
- package/lib/model/db-system-replica-collection.d.ts +28 -0
- package/lib/model/db-system-replica-collection.js +63 -0
- package/lib/model/db-system-replica-collection.js.map +1 -0
- package/lib/model/db-system-replica-summary.d.ts +33 -0
- package/lib/model/db-system-replica-summary.js +31 -0
- package/lib/model/db-system-replica-summary.js.map +1 -0
- package/lib/model/db-system.d.ts +19 -1
- package/lib/model/db-system.js +32 -2
- package/lib/model/db-system.js.map +1 -1
- package/lib/model/disabled-insight-details.d.ts +26 -0
- package/lib/model/disabled-insight-details.js +56 -0
- package/lib/model/disabled-insight-details.js.map +1 -0
- package/lib/model/disabled-kerberos-auth-details.d.ts +26 -0
- package/lib/model/disabled-kerberos-auth-details.js +56 -0
- package/lib/model/disabled-kerberos-auth-details.js.map +1 -0
- package/lib/model/enabled-insight-details.d.ts +30 -0
- package/lib/model/enabled-insight-details.js +68 -0
- package/lib/model/enabled-insight-details.js.map +1 -0
- package/lib/model/enabled-kerberos-auth-details.d.ts +34 -0
- package/lib/model/enabled-kerberos-auth-details.js +78 -0
- package/lib/model/enabled-kerberos-auth-details.js.map +1 -0
- package/lib/model/granularity-capability.d.ts +45 -0
- package/lib/model/granularity-capability.js +42 -0
- package/lib/model/granularity-capability.js.map +1 -0
- package/lib/model/index.d.ts +58 -0
- package/lib/model/index.js +61 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/insight-capability-collection.d.ts +28 -0
- package/lib/model/insight-capability-collection.js +63 -0
- package/lib/model/insight-capability-collection.js.map +1 -0
- package/lib/model/insight-capability-summary.d.ts +44 -0
- package/lib/model/insight-capability-summary.js +72 -0
- package/lib/model/insight-capability-summary.js.map +1 -0
- package/lib/model/insight-data-contract.d.ts +41 -0
- package/lib/model/insight-data-contract.js +42 -0
- package/lib/model/insight-data-contract.js.map +1 -0
- package/lib/model/insight-data-type-capability.d.ts +51 -0
- package/lib/model/insight-data-type-capability.js +103 -0
- package/lib/model/insight-data-type-capability.js.map +1 -0
- package/lib/model/insight-filter-capability.d.ts +39 -0
- package/lib/model/insight-filter-capability.js +31 -0
- package/lib/model/insight-filter-capability.js.map +1 -0
- package/lib/model/insight-limits.d.ts +31 -0
- package/lib/model/insight-limits.js +31 -0
- package/lib/model/insight-limits.js.map +1 -0
- package/lib/model/kerberos-auth-details.d.ts +24 -0
- package/lib/model/kerberos-auth-details.js +74 -0
- package/lib/model/kerberos-auth-details.js.map +1 -0
- package/lib/model/kerberos-credential.d.ts +42 -0
- package/lib/model/kerberos-credential.js +31 -0
- package/lib/model/kerberos-credential.js.map +1 -0
- package/lib/model/odsp-insight-details.d.ts +24 -0
- package/lib/model/odsp-insight-details.js +74 -0
- package/lib/model/odsp-insight-details.js.map +1 -0
- package/lib/model/odsp-insight.d.ts +39 -0
- package/lib/model/odsp-insight.js +40 -0
- package/lib/model/odsp-insight.js.map +1 -0
- package/lib/model/pagination-capability.d.ts +35 -0
- package/lib/model/pagination-capability.js +31 -0
- package/lib/model/pagination-capability.js.map +1 -0
- package/lib/model/primary-db-system-source-details.d.ts +32 -0
- package/lib/model/primary-db-system-source-details.js +56 -0
- package/lib/model/primary-db-system-source-details.js.map +1 -0
- package/lib/model/replication-config.d.ts +38 -0
- package/lib/model/replication-config.js +31 -0
- package/lib/model/replication-config.js.map +1 -0
- package/lib/model/sorting-capability.d.ts +33 -0
- package/lib/model/sorting-capability.js +59 -0
- package/lib/model/sorting-capability.js.map +1 -0
- package/lib/model/sorting-default.d.ts +40 -0
- package/lib/model/sorting-default.js +41 -0
- package/lib/model/sorting-default.js.map +1 -0
- package/lib/model/source-details.js +4 -0
- package/lib/model/source-details.js.map +1 -1
- package/lib/model/start-db-system-details.d.ts +41 -0
- package/lib/model/start-db-system-details.js +31 -0
- package/lib/model/start-db-system-details.js.map +1 -0
- package/lib/model/switch-over-details.d.ts +28 -0
- package/lib/model/switch-over-details.js +31 -0
- package/lib/model/switch-over-details.js.map +1 -0
- package/lib/model/update-db-system-details.d.ts +3 -0
- package/lib/model/update-db-system-details.js +18 -0
- package/lib/model/update-db-system-details.js.map +1 -1
- package/lib/model/update-replication-config-details.d.ts +39 -0
- package/lib/model/update-replication-config-details.js +31 -0
- package/lib/model/update-replication-config-details.js.map +1 -0
- package/lib/request/change-role-to-replica-request.d.ts +45 -0
- package/lib/request/change-role-to-replica-request.js +15 -0
- package/lib/request/change-role-to-replica-request.js.map +1 -0
- package/lib/request/change-role-to-standalone-request.d.ts +45 -0
- package/lib/request/change-role-to-standalone-request.js +15 -0
- package/lib/request/change-role-to-standalone-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-db-system-replicas-request.d.ts +34 -0
- package/lib/request/list-db-system-replicas-request.js +15 -0
- package/lib/request/list-db-system-replicas-request.js.map +1 -0
- package/lib/request/list-db-systems-request.d.ts +4 -0
- package/lib/request/list-db-systems-request.js.map +1 -1
- package/lib/request/list-insight-capabilities-request.d.ts +30 -0
- package/lib/request/list-insight-capabilities-request.js +15 -0
- package/lib/request/list-insight-capabilities-request.js.map +1 -0
- package/lib/request/start-db-system-request.d.ts +45 -0
- package/lib/request/start-db-system-request.js +15 -0
- package/lib/request/start-db-system-request.js.map +1 -0
- package/lib/request/stop-db-system-request.d.ts +40 -0
- package/lib/request/stop-db-system-request.js +15 -0
- package/lib/request/stop-db-system-request.js.map +1 -0
- package/lib/request/switch-over-request.d.ts +45 -0
- package/lib/request/switch-over-request.js +15 -0
- package/lib/request/switch-over-request.js.map +1 -0
- package/lib/response/change-role-to-replica-response.d.ts +25 -0
- package/lib/response/change-role-to-replica-response.js +15 -0
- package/lib/response/change-role-to-replica-response.js.map +1 -0
- package/lib/response/change-role-to-standalone-response.d.ts +25 -0
- package/lib/response/change-role-to-standalone-response.js +15 -0
- package/lib/response/change-role-to-standalone-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-db-system-replicas-response.d.ts +30 -0
- package/lib/response/list-db-system-replicas-response.js +15 -0
- package/lib/response/list-db-system-replicas-response.js.map +1 -0
- package/lib/response/list-insight-capabilities-response.d.ts +30 -0
- package/lib/response/list-insight-capabilities-response.js +15 -0
- package/lib/response/list-insight-capabilities-response.js.map +1 -0
- package/lib/response/start-db-system-response.d.ts +25 -0
- package/lib/response/start-db-system-response.js +15 -0
- package/lib/response/start-db-system-response.js.map +1 -0
- package/lib/response/stop-db-system-response.d.ts +25 -0
- package/lib/response/stop-db-system-response.js +15 -0
- package/lib/response/stop-db-system-response.js.map +1 -0
- package/lib/response/switch-over-response.d.ts +25 -0
- package/lib/response/switch-over-response.js +15 -0
- package/lib/response/switch-over-response.js.map +1 -0
- package/package.json +7 -6
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.KerberosAuthDetails = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
const common = require("oci-common");
|
|
39
|
+
var KerberosAuthDetails;
|
|
40
|
+
(function (KerberosAuthDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
if (obj && "kind" in obj && obj.kind) {
|
|
44
|
+
switch (obj.kind) {
|
|
45
|
+
case "DISABLED":
|
|
46
|
+
return model.DisabledKerberosAuthDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
case "ENABLED":
|
|
48
|
+
return model.EnabledKerberosAuthDetails.getJsonObj(jsonObj, true);
|
|
49
|
+
default:
|
|
50
|
+
if (common.LOG.logger)
|
|
51
|
+
common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
KerberosAuthDetails.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
59
|
+
if (obj && "kind" in obj && obj.kind) {
|
|
60
|
+
switch (obj.kind) {
|
|
61
|
+
case "DISABLED":
|
|
62
|
+
return model.DisabledKerberosAuthDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "ENABLED":
|
|
64
|
+
return model.EnabledKerberosAuthDetails.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
default:
|
|
66
|
+
if (common.LOG.logger)
|
|
67
|
+
common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
KerberosAuthDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(KerberosAuthDetails = exports.KerberosAuthDetails || (exports.KerberosAuthDetails = {}));
|
|
74
|
+
//# sourceMappingURL=kerberos-auth-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kerberos-auth-details.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/kerberos-auth-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,mBAAmB,CA2CnC;AA3CD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,8BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA2CnC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
/**
|
|
16
|
+
* Kerberos Credential details as OCI Vault Secret for the keytab.
|
|
17
|
+
*/
|
|
18
|
+
export interface KerberosCredential {
|
|
19
|
+
/**
|
|
20
|
+
* Kerberos realm name.
|
|
21
|
+
* https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html
|
|
22
|
+
* Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name
|
|
23
|
+
* except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos
|
|
24
|
+
* service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string,
|
|
25
|
+
* but configuration and maintenance might then require more work. Use realm names that follow the standard
|
|
26
|
+
* Internet naming structure.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"realmName": string;
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the secret where the Kerberos keytab file is stored as base64 text.
|
|
32
|
+
*/
|
|
33
|
+
"keytabSecretId": string;
|
|
34
|
+
/**
|
|
35
|
+
* The secret version of the stored Kerberos keytab file. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
36
|
+
*/
|
|
37
|
+
"keytabSecretVersion": number;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace KerberosCredential {
|
|
40
|
+
function getJsonObj(obj: KerberosCredential): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: KerberosCredential): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.KerberosCredential = void 0;
|
|
18
|
+
var KerberosCredential;
|
|
19
|
+
(function (KerberosCredential) {
|
|
20
|
+
function getJsonObj(obj) {
|
|
21
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
22
|
+
return jsonObj;
|
|
23
|
+
}
|
|
24
|
+
KerberosCredential.getJsonObj = getJsonObj;
|
|
25
|
+
function getDeserializedJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
KerberosCredential.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
30
|
+
})(KerberosCredential = exports.KerberosCredential || (exports.KerberosCredential = {}));
|
|
31
|
+
//# sourceMappingURL=kerberos-credential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kerberos-credential.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/kerberos-credential.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA8BH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
/**
|
|
16
|
+
* ODSP Insight details for the database system.
|
|
17
|
+
*/
|
|
18
|
+
export interface OdspInsightDetails {
|
|
19
|
+
"kind": string;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace OdspInsightDetails {
|
|
22
|
+
function getJsonObj(obj: OdspInsightDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: OdspInsightDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.OdspInsightDetails = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
const common = require("oci-common");
|
|
39
|
+
var OdspInsightDetails;
|
|
40
|
+
(function (OdspInsightDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
if (obj && "kind" in obj && obj.kind) {
|
|
44
|
+
switch (obj.kind) {
|
|
45
|
+
case "DISABLED":
|
|
46
|
+
return model.DisabledInsightDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
case "ENABLED":
|
|
48
|
+
return model.EnabledInsightDetails.getJsonObj(jsonObj, true);
|
|
49
|
+
default:
|
|
50
|
+
if (common.LOG.logger)
|
|
51
|
+
common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
OdspInsightDetails.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
59
|
+
if (obj && "kind" in obj && obj.kind) {
|
|
60
|
+
switch (obj.kind) {
|
|
61
|
+
case "DISABLED":
|
|
62
|
+
return model.DisabledInsightDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "ENABLED":
|
|
64
|
+
return model.EnabledInsightDetails.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
default:
|
|
66
|
+
if (common.LOG.logger)
|
|
67
|
+
common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
OdspInsightDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(OdspInsightDetails = exports.OdspInsightDetails || (exports.OdspInsightDetails = {}));
|
|
74
|
+
//# sourceMappingURL=odsp-insight-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odsp-insight-details.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/odsp-insight-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,kBAAkB,CA2ClC;AA3CD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,6BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,yCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA2ClC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
/**
|
|
16
|
+
* Details for a single ODSP insight.
|
|
17
|
+
*/
|
|
18
|
+
export interface OdspInsight {
|
|
19
|
+
/**
|
|
20
|
+
* Type of Insight collected for the database system.
|
|
21
|
+
*/
|
|
22
|
+
"insightType": OdspInsight.InsightType;
|
|
23
|
+
/**
|
|
24
|
+
* Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
|
+
*/
|
|
26
|
+
"retentionPeriodInDays"?: number;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace OdspInsight {
|
|
29
|
+
enum InsightType {
|
|
30
|
+
QueryInsight = "QUERY_INSIGHT",
|
|
31
|
+
/**
|
|
32
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
33
|
+
* version of the SDK.
|
|
34
|
+
*/
|
|
35
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
36
|
+
}
|
|
37
|
+
function getJsonObj(obj: OdspInsight): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: OdspInsight): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.OdspInsight = void 0;
|
|
18
|
+
var OdspInsight;
|
|
19
|
+
(function (OdspInsight) {
|
|
20
|
+
let InsightType;
|
|
21
|
+
(function (InsightType) {
|
|
22
|
+
InsightType["QueryInsight"] = "QUERY_INSIGHT";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
InsightType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(InsightType = OdspInsight.InsightType || (OdspInsight.InsightType = {}));
|
|
29
|
+
function getJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
OdspInsight.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
36
|
+
return jsonObj;
|
|
37
|
+
}
|
|
38
|
+
OdspInsight.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
39
|
+
})(OdspInsight = exports.OdspInsight || (exports.OdspInsight = {}));
|
|
40
|
+
//# sourceMappingURL=odsp-insight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odsp-insight.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/odsp-insight.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAmBH,IAAiB,WAAW,CAoB3B;AApBD,WAAiB,WAAW;IAC1B,IAAY,WAOX;IAPD,WAAY,WAAW;QACrB,6CAA8B,CAAA;QAC9B;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EAPW,WAAW,GAAX,uBAAW,KAAX,uBAAW,QAOtB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAsB,yBAIrC,CAAA;AACH,CAAC,EApBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAoB3B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
/**
|
|
16
|
+
* Describes pagination support for an insight type.
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginationCapability {
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether pagination is supported.
|
|
21
|
+
*/
|
|
22
|
+
"isSupported": boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum number of items per page. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
|
+
*/
|
|
26
|
+
"maxLimit"?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Default number of items per page. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
29
|
+
*/
|
|
30
|
+
"defaultLimit"?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace PaginationCapability {
|
|
33
|
+
function getJsonObj(obj: PaginationCapability): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: PaginationCapability): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.PaginationCapability = void 0;
|
|
18
|
+
var PaginationCapability;
|
|
19
|
+
(function (PaginationCapability) {
|
|
20
|
+
function getJsonObj(obj) {
|
|
21
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
22
|
+
return jsonObj;
|
|
23
|
+
}
|
|
24
|
+
PaginationCapability.getJsonObj = getJsonObj;
|
|
25
|
+
function getDeserializedJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
PaginationCapability.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
30
|
+
})(PaginationCapability = exports.PaginationCapability || (exports.PaginationCapability = {}));
|
|
31
|
+
//# sourceMappingURL=pagination-capability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination-capability.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/pagination-capability.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAuBH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* Details of the primary database system.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface PrimaryDbSystemSourceDetails extends model.SourceDetails {
|
|
21
|
+
/**
|
|
22
|
+
* The [OCID] of the primary database system.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"primaryDbSystemId": string;
|
|
26
|
+
"sourceType": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace PrimaryDbSystemSourceDetails {
|
|
29
|
+
function getJsonObj(obj: PrimaryDbSystemSourceDetails, isParentJsonObj?: boolean): object;
|
|
30
|
+
const sourceType = "DB_SYSTEM";
|
|
31
|
+
function getDeserializedJsonObj(obj: PrimaryDbSystemSourceDetails, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PrimaryDbSystemSourceDetails = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var PrimaryDbSystemSourceDetails;
|
|
39
|
+
(function (PrimaryDbSystemSourceDetails) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.SourceDetails.getJsonObj(obj))), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
PrimaryDbSystemSourceDetails.getJsonObj = getJsonObj;
|
|
47
|
+
PrimaryDbSystemSourceDetails.sourceType = "DB_SYSTEM";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.SourceDetails.getDeserializedJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PrimaryDbSystemSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(PrimaryDbSystemSourceDetails = exports.PrimaryDbSystemSourceDetails || (exports.PrimaryDbSystemSourceDetails = {}));
|
|
56
|
+
//# sourceMappingURL=primary-db-system-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primary-db-system-source-details.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/primary-db-system-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GACvE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,uCAAU,GAAG,WAAW,CAAC;IACtC,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAkC,CAAC,GACnF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,mDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
/**
|
|
16
|
+
* Replication configuration that is applicable on database systems with the PRIMARY_DB_SYSTEM
|
|
17
|
+
* role.
|
|
18
|
+
* <p>
|
|
19
|
+
This configuration does not have any effect on database systems with other roles.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface ReplicationConfig {
|
|
23
|
+
/**
|
|
24
|
+
* Specifies if Recovery point objective (RPO) enforcement is enabled on the database system.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"isRpoEnforced": boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the
|
|
30
|
+
* {@code isRpoEnforced} flag is true.
|
|
31
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"rpoInSeconds": number;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ReplicationConfig {
|
|
36
|
+
function getJsonObj(obj: ReplicationConfig): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: ReplicationConfig): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
5
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220915
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.ReplicationConfig = void 0;
|
|
18
|
+
var ReplicationConfig;
|
|
19
|
+
(function (ReplicationConfig) {
|
|
20
|
+
function getJsonObj(obj) {
|
|
21
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
22
|
+
return jsonObj;
|
|
23
|
+
}
|
|
24
|
+
ReplicationConfig.getJsonObj = getJsonObj;
|
|
25
|
+
function getDeserializedJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
ReplicationConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
30
|
+
})(ReplicationConfig = exports.ReplicationConfig || (exports.ReplicationConfig = {}));
|
|
31
|
+
//# sourceMappingURL=replication-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replication-config.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/replication-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA0BH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* Use the OCI Database with PostgreSQL API to manage resources such as database systems, database nodes, backups, and configurations.
|
|
4
|
+
For information, see the user guide documentation for the [service](https://docs.oracle.com/iaas/Content/postgresql/home.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220915
|
|
7
|
+
*
|
|
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
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* Describes sorting support for an insight type.
|
|
18
|
+
*/
|
|
19
|
+
export interface SortingCapability {
|
|
20
|
+
/**
|
|
21
|
+
* Indicates whether sorting is supported.
|
|
22
|
+
*/
|
|
23
|
+
"isSupported": boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Fields that can be used for sorting.
|
|
26
|
+
*/
|
|
27
|
+
"fields"?: Array<string>;
|
|
28
|
+
"defaultSort"?: model.SortingDefault;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace SortingCapability {
|
|
31
|
+
function getJsonObj(obj: SortingCapability): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: SortingCapability): object;
|
|
33
|
+
}
|