kb-cloud-client-typescript 2.3.0-alpha.112 → 2.3.0-alpha.114
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/dist/adminapi/apis/billing-api.d.ts +18 -18
- package/dist/adminapi/apis/billing-api.d.ts.map +1 -1
- package/dist/adminapi/apis/billing-api.js +13 -9
- package/dist/adminapi/apis/billing-api.js.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.d.ts +143 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +158 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +6 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +6 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-deadlock-evidence.d.ts +31 -0
- package/dist/adminapi/models/postgresql-deadlock-evidence.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-deadlock-evidence.js +16 -0
- package/dist/adminapi/models/postgresql-deadlock-evidence.js.map +1 -0
- package/dist/adminapi/models/postgresql-lock-analysis.d.ts +77 -0
- package/dist/adminapi/models/postgresql-lock-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-lock-analysis.js +16 -0
- package/dist/adminapi/models/postgresql-lock-analysis.js.map +1 -0
- package/dist/adminapi/models/postgresql-lock-row.d.ts +109 -0
- package/dist/adminapi/models/postgresql-lock-row.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-lock-row.js +16 -0
- package/dist/adminapi/models/postgresql-lock-row.js.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain-edge.d.ts +31 -0
- package/dist/adminapi/models/postgresql-wait-chain-edge.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain-edge.js +16 -0
- package/dist/adminapi/models/postgresql-wait-chain-edge.js.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain-node.d.ts +38 -0
- package/dist/adminapi/models/postgresql-wait-chain-node.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain-node.js +16 -0
- package/dist/adminapi/models/postgresql-wait-chain-node.js.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain.d.ts +33 -0
- package/dist/adminapi/models/postgresql-wait-chain.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-wait-chain.js +16 -0
- package/dist/adminapi/models/postgresql-wait-chain.js.map +1 -0
- package/dist/openapi/apis/billing-api.d.ts +18 -18
- package/dist/openapi/apis/billing-api.d.ts.map +1 -1
- package/dist/openapi/apis/billing-api.js +13 -9
- package/dist/openapi/apis/billing-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +143 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +158 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/inspection-api.d.ts +0 -56
- package/dist/openapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/openapi/apis/inspection-api.js +0 -71
- package/dist/openapi/apis/inspection-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +6 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +6 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-deadlock-evidence.d.ts +31 -0
- package/dist/openapi/models/postgresql-deadlock-evidence.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-deadlock-evidence.js +16 -0
- package/dist/openapi/models/postgresql-deadlock-evidence.js.map +1 -0
- package/dist/openapi/models/postgresql-lock-analysis.d.ts +77 -0
- package/dist/openapi/models/postgresql-lock-analysis.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-lock-analysis.js +16 -0
- package/dist/openapi/models/postgresql-lock-analysis.js.map +1 -0
- package/dist/openapi/models/postgresql-lock-row.d.ts +109 -0
- package/dist/openapi/models/postgresql-lock-row.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-lock-row.js +16 -0
- package/dist/openapi/models/postgresql-lock-row.js.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain-edge.d.ts +31 -0
- package/dist/openapi/models/postgresql-wait-chain-edge.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain-edge.js +16 -0
- package/dist/openapi/models/postgresql-wait-chain-edge.js.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain-node.d.ts +38 -0
- package/dist/openapi/models/postgresql-wait-chain-node.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain-node.js +16 -0
- package/dist/openapi/models/postgresql-wait-chain-node.js.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain.d.ts +33 -0
- package/dist/openapi/models/postgresql-wait-chain.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-wait-chain.js +16 -0
- package/dist/openapi/models/postgresql-wait-chain.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +6 -0
- package/src/adminapi/apis/billing-api.ts +27 -23
- package/src/adminapi/apis/diagnostics-api.ts +251 -0
- package/src/adminapi/models/index.ts +6 -0
- package/src/adminapi/models/postgresql-deadlock-evidence.ts +36 -0
- package/src/adminapi/models/postgresql-lock-analysis.ts +90 -0
- package/src/adminapi/models/postgresql-lock-row.ts +114 -0
- package/src/adminapi/models/postgresql-wait-chain-edge.ts +36 -0
- package/src/adminapi/models/postgresql-wait-chain-node.ts +45 -0
- package/src/adminapi/models/postgresql-wait-chain.ts +42 -0
- package/src/adminapi.yaml +227 -0
- package/src/openapi/.openapi-generator/FILES +6 -0
- package/src/openapi/apis/billing-api.ts +27 -23
- package/src/openapi/apis/diagnostics-api.ts +251 -0
- package/src/openapi/apis/inspection-api.ts +0 -105
- package/src/openapi/models/index.ts +6 -0
- package/src/openapi/models/postgresql-deadlock-evidence.ts +36 -0
- package/src/openapi/models/postgresql-lock-analysis.ts +90 -0
- package/src/openapi/models/postgresql-lock-row.ts +114 -0
- package/src/openapi/models/postgresql-wait-chain-edge.ts +36 -0
- package/src/openapi/models/postgresql-wait-chain-node.ts +45 -0
- package/src/openapi/models/postgresql-wait-chain.ts +42 -0
- package/src/openapi.yaml +227 -27
|
@@ -24,17 +24,17 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
*
|
|
25
25
|
* @summary List bills in the organization
|
|
26
26
|
* @param {string} orgName name of the organization
|
|
27
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
28
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
27
29
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
28
30
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
29
31
|
* @param {string} [billID] The ID of the bill
|
|
30
32
|
* @param {string} [clusterID] The ID of the cluster
|
|
31
33
|
* @param {string} [projectName] name of the project
|
|
32
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
33
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
listOrgBills: (orgName: string, start: number, end: number, billID?: string, clusterID?: string, projectName?: string,
|
|
37
|
+
listOrgBills: (orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* BillingApi - functional programming interface
|
|
@@ -45,17 +45,17 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
45
45
|
*
|
|
46
46
|
* @summary List bills in the organization
|
|
47
47
|
* @param {string} orgName name of the organization
|
|
48
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
49
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
48
50
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
49
51
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
50
52
|
* @param {string} [billID] The ID of the bill
|
|
51
53
|
* @param {string} [clusterID] The ID of the cluster
|
|
52
54
|
* @param {string} [projectName] name of the project
|
|
53
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
54
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
|
-
listOrgBills(orgName: string, start: number, end: number, billID?: string, clusterID?: string, projectName?: string,
|
|
58
|
+
listOrgBills(orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillList>>;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* BillingApi - factory interface
|
|
@@ -99,6 +99,18 @@ export interface BillingApiListOrgBillsRequest {
|
|
|
99
99
|
* @memberof BillingApiListOrgBills
|
|
100
100
|
*/
|
|
101
101
|
readonly orgName: string;
|
|
102
|
+
/**
|
|
103
|
+
* The type of aggregation time
|
|
104
|
+
* @type {AggregationTimeType}
|
|
105
|
+
* @memberof BillingApiListOrgBills
|
|
106
|
+
*/
|
|
107
|
+
readonly aggregationTime: AggregationTimeType;
|
|
108
|
+
/**
|
|
109
|
+
* The type of aggregation group
|
|
110
|
+
* @type {OrgAggregationGroupType}
|
|
111
|
+
* @memberof BillingApiListOrgBills
|
|
112
|
+
*/
|
|
113
|
+
readonly aggregationGroup: OrgAggregationGroupType;
|
|
102
114
|
/**
|
|
103
115
|
* The start of the time range for the query, unit is seconds.
|
|
104
116
|
* @type {number}
|
|
@@ -129,18 +141,6 @@ export interface BillingApiListOrgBillsRequest {
|
|
|
129
141
|
* @memberof BillingApiListOrgBills
|
|
130
142
|
*/
|
|
131
143
|
readonly projectName?: string;
|
|
132
|
-
/**
|
|
133
|
-
* The type of aggregation time
|
|
134
|
-
* @type {AggregationTimeType}
|
|
135
|
-
* @memberof BillingApiListOrgBills
|
|
136
|
-
*/
|
|
137
|
-
readonly aggregationTime?: AggregationTimeType;
|
|
138
|
-
/**
|
|
139
|
-
* The type of aggregation group
|
|
140
|
-
* @type {OrgAggregationGroupType}
|
|
141
|
-
* @memberof BillingApiListOrgBills
|
|
142
|
-
*/
|
|
143
|
-
readonly aggregationGroup?: OrgAggregationGroupType;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* BillingApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/billing-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACzD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAa,gBAAgB,aAAa;IAE1E;;;;;;;;;;;;;OAaG;4BAC2B,MAAM,SAAS,MAAM,OAAO,MAAM,WAAW,MAAM,cAAc,MAAM,gBAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"billing-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/billing-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KA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BAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;CAE3H;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,eAAe,EAAE,mBAAmB,CAAA;IAE7C;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,uBAAuB,CAAA;IAElD;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,OAAQ,YAAW,mBAAmB;IAClE;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGxG"}
|
|
@@ -33,19 +33,23 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
33
33
|
*
|
|
34
34
|
* @summary List bills in the organization
|
|
35
35
|
* @param {string} orgName name of the organization
|
|
36
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
37
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
36
38
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
37
39
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
38
40
|
* @param {string} [billID] The ID of the bill
|
|
39
41
|
* @param {string} [clusterID] The ID of the cluster
|
|
40
42
|
* @param {string} [projectName] name of the project
|
|
41
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
42
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
listOrgBills: async (orgName, start, end, billID, clusterID, projectName,
|
|
46
|
+
listOrgBills: async (orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options = {}) => {
|
|
47
47
|
// verify required parameter 'orgName' is not null or undefined
|
|
48
48
|
(0, common_1.assertParamExists)('listOrgBills', 'orgName', orgName);
|
|
49
|
+
// verify required parameter 'aggregationTime' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('listOrgBills', 'aggregationTime', aggregationTime);
|
|
51
|
+
// verify required parameter 'aggregationGroup' is not null or undefined
|
|
52
|
+
(0, common_1.assertParamExists)('listOrgBills', 'aggregationGroup', aggregationGroup);
|
|
49
53
|
// verify required parameter 'start' is not null or undefined
|
|
50
54
|
(0, common_1.assertParamExists)('listOrgBills', 'start', start);
|
|
51
55
|
// verify required parameter 'end' is not null or undefined
|
|
@@ -109,19 +113,19 @@ const BillingApiFp = function (configuration) {
|
|
|
109
113
|
*
|
|
110
114
|
* @summary List bills in the organization
|
|
111
115
|
* @param {string} orgName name of the organization
|
|
116
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
117
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
112
118
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
113
119
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
114
120
|
* @param {string} [billID] The ID of the bill
|
|
115
121
|
* @param {string} [clusterID] The ID of the cluster
|
|
116
122
|
* @param {string} [projectName] name of the project
|
|
117
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
118
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
119
123
|
* @param {*} [options] Override http request option.
|
|
120
124
|
* @throws {RequiredError}
|
|
121
125
|
*/
|
|
122
|
-
async listOrgBills(orgName, start, end, billID, clusterID, projectName,
|
|
126
|
+
async listOrgBills(orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options) {
|
|
123
127
|
var _a, _b, _c;
|
|
124
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgBills(orgName, start, end, billID, clusterID, projectName,
|
|
128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgBills(orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options);
|
|
125
129
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
126
130
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.listOrgBills']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
127
131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -144,7 +148,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
144
148
|
* @throws {RequiredError}
|
|
145
149
|
*/
|
|
146
150
|
listOrgBills(requestParameters, options) {
|
|
147
|
-
return localVarFp.listOrgBills(requestParameters.orgName, requestParameters.
|
|
151
|
+
return localVarFp.listOrgBills(requestParameters.orgName, requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.projectName, options).then((request) => request(axios, basePath));
|
|
148
152
|
},
|
|
149
153
|
};
|
|
150
154
|
};
|
|
@@ -165,7 +169,7 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
165
169
|
* @memberof BillingApi
|
|
166
170
|
*/
|
|
167
171
|
listOrgBills(requestParameters, options) {
|
|
168
|
-
return (0, exports.BillingApiFp)(this.configuration).listOrgBills(requestParameters.orgName, requestParameters.
|
|
172
|
+
return (0, exports.BillingApiFp)(this.configuration).listOrgBills(requestParameters.orgName, requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.projectName, options).then((request) => request(this.axios, this.basePath));
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
exports.BillingApi = BillingApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.js","sourceRoot":"","sources":["../../../src/openapi/apis/billing-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAStH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACH;;;;;;;;;;;;;WAaG;QACH,YAAY,EAAE,KAAK,EAAE,OAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"billing-api.js","sourceRoot":"","sources":["../../../src/openapi/apis/billing-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAStH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACH;;;;;;;;;;;;;WAaG;QACH,YAAY,EAAE,KAAK,EAAE,OAAe,EAAE,eAAoC,EAAE,gBAAyC,EAAE,KAAa,EAAE,GAAW,EAAE,MAAe,EAAE,SAAkB,EAAE,WAAoB,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACvQ,+DAA+D;YAC/D,IAAA,0BAAiB,EAAC,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;YACrD,uEAAuE;YACvE,IAAA,0BAAiB,EAAC,cA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AACN,CAAC,CAAC;AAdW,QAAA,iBAAiB,qBAc5B;AAmFF;;;;;GAKG;AACH,MAAa,UAAW,SAAQ,cAAO;IACnC;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAgD,EAAE,OAA+B;QACjG,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,YAAY,CAAC,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAChW,CAAC;CACJ;AAZD,gCAYC"}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { PostgresqlLockAnalysis } from '../models';
|
|
15
16
|
import type { PostgresqlSession } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* DiagnosticsApi - axios parameter creator
|
|
@@ -28,6 +29,26 @@ export declare const DiagnosticsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
31
|
getDiagnosticsPostgresqlSession: (orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
34
|
+
* @summary Get PostgreSQL session lock analysis
|
|
35
|
+
* @param {string} orgName Organization name
|
|
36
|
+
* @param {string} clusterName Cluster name
|
|
37
|
+
* @param {number} pid PostgreSQL backend process id.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
getDiagnosticsPostgresqlSessionLockAnalysis: (orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
44
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
45
|
+
* @param {string} orgName Organization name
|
|
46
|
+
* @param {string} clusterName Cluster name
|
|
47
|
+
* @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
listDiagnosticsPostgresqlSessions: (orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
52
|
};
|
|
32
53
|
/**
|
|
33
54
|
* DiagnosticsApi - functional programming interface
|
|
@@ -44,6 +65,26 @@ export declare const DiagnosticsApiFp: (configuration?: Configuration) => {
|
|
|
44
65
|
* @throws {RequiredError}
|
|
45
66
|
*/
|
|
46
67
|
getDiagnosticsPostgresqlSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSession>>;
|
|
68
|
+
/**
|
|
69
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
70
|
+
* @summary Get PostgreSQL session lock analysis
|
|
71
|
+
* @param {string} orgName Organization name
|
|
72
|
+
* @param {string} clusterName Cluster name
|
|
73
|
+
* @param {number} pid PostgreSQL backend process id.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlLockAnalysis>>;
|
|
78
|
+
/**
|
|
79
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
80
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
81
|
+
* @param {string} orgName Organization name
|
|
82
|
+
* @param {string} clusterName Cluster name
|
|
83
|
+
* @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
listDiagnosticsPostgresqlSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PostgresqlSession>>>;
|
|
47
88
|
};
|
|
48
89
|
/**
|
|
49
90
|
* DiagnosticsApi - factory interface
|
|
@@ -58,6 +99,22 @@ export declare const DiagnosticsApiFactory: (configuration?: Configuration, base
|
|
|
58
99
|
* @throws {RequiredError}
|
|
59
100
|
*/
|
|
60
101
|
getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
|
|
102
|
+
/**
|
|
103
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
104
|
+
* @summary Get PostgreSQL session lock analysis
|
|
105
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
|
|
110
|
+
/**
|
|
111
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
112
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
113
|
+
* @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>>;
|
|
61
118
|
};
|
|
62
119
|
/**
|
|
63
120
|
* DiagnosticsApi - interface
|
|
@@ -74,6 +131,24 @@ export interface DiagnosticsApiInterface {
|
|
|
74
131
|
* @memberof DiagnosticsApiInterface
|
|
75
132
|
*/
|
|
76
133
|
getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
|
|
134
|
+
/**
|
|
135
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
136
|
+
* @summary Get PostgreSQL session lock analysis
|
|
137
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
* @memberof DiagnosticsApiInterface
|
|
141
|
+
*/
|
|
142
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
|
|
143
|
+
/**
|
|
144
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
145
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
146
|
+
* @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
* @memberof DiagnosticsApiInterface
|
|
150
|
+
*/
|
|
151
|
+
listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>>;
|
|
77
152
|
}
|
|
78
153
|
/**
|
|
79
154
|
* Request parameters for getDiagnosticsPostgresqlSession operation in DiagnosticsApi.
|
|
@@ -100,6 +175,56 @@ export interface DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest {
|
|
|
100
175
|
*/
|
|
101
176
|
readonly pid: number;
|
|
102
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* Request parameters for getDiagnosticsPostgresqlSessionLockAnalysis operation in DiagnosticsApi.
|
|
180
|
+
* @export
|
|
181
|
+
* @interface DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest
|
|
182
|
+
*/
|
|
183
|
+
export interface DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest {
|
|
184
|
+
/**
|
|
185
|
+
* Organization name
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
|
|
188
|
+
*/
|
|
189
|
+
readonly orgName: string;
|
|
190
|
+
/**
|
|
191
|
+
* Cluster name
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
|
|
194
|
+
*/
|
|
195
|
+
readonly clusterName: string;
|
|
196
|
+
/**
|
|
197
|
+
* PostgreSQL backend process id.
|
|
198
|
+
* @type {number}
|
|
199
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
|
|
200
|
+
*/
|
|
201
|
+
readonly pid: number;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Request parameters for listDiagnosticsPostgresqlSessions operation in DiagnosticsApi.
|
|
205
|
+
* @export
|
|
206
|
+
* @interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest
|
|
207
|
+
*/
|
|
208
|
+
export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
|
|
209
|
+
/**
|
|
210
|
+
* Organization name
|
|
211
|
+
* @type {string}
|
|
212
|
+
* @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
|
|
213
|
+
*/
|
|
214
|
+
readonly orgName: string;
|
|
215
|
+
/**
|
|
216
|
+
* Cluster name
|
|
217
|
+
* @type {string}
|
|
218
|
+
* @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
|
|
219
|
+
*/
|
|
220
|
+
readonly clusterName: string;
|
|
221
|
+
/**
|
|
222
|
+
* Maximum number of sessions to return. Defaults to the backend limit when omitted.
|
|
223
|
+
* @type {number}
|
|
224
|
+
* @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
|
|
225
|
+
*/
|
|
226
|
+
readonly limit?: number;
|
|
227
|
+
}
|
|
103
228
|
/**
|
|
104
229
|
* DiagnosticsApi - object-oriented interface
|
|
105
230
|
* @export
|
|
@@ -116,5 +241,23 @@ export declare class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInt
|
|
|
116
241
|
* @memberof DiagnosticsApi
|
|
117
242
|
*/
|
|
118
243
|
getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostgresqlSession, any, {}>>;
|
|
244
|
+
/**
|
|
245
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
246
|
+
* @summary Get PostgreSQL session lock analysis
|
|
247
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
* @memberof DiagnosticsApi
|
|
251
|
+
*/
|
|
252
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostgresqlLockAnalysis, any, {}>>;
|
|
253
|
+
/**
|
|
254
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
255
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
256
|
+
* @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
* @memberof DiagnosticsApi
|
|
260
|
+
*/
|
|
261
|
+
listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostgresqlSession[], any, {}>>;
|
|
119
262
|
}
|
|
120
263
|
//# sourceMappingURL=diagnostics-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostics-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/diagnostics-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EA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
|
+
/**
|
|
75
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
76
|
+
* @summary Get PostgreSQL session lock analysis
|
|
77
|
+
* @param {string} orgName Organization name
|
|
78
|
+
* @param {string} clusterName Cluster name
|
|
79
|
+
* @param {number} pid PostgreSQL backend process id.
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
getDiagnosticsPostgresqlSessionLockAnalysis: async (orgName, clusterName, pid, options = {}) => {
|
|
84
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
85
|
+
(0, common_1.assertParamExists)('getDiagnosticsPostgresqlSessionLockAnalysis', 'orgName', orgName);
|
|
86
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('getDiagnosticsPostgresqlSessionLockAnalysis', 'clusterName', clusterName);
|
|
88
|
+
// verify required parameter 'pid' is not null or undefined
|
|
89
|
+
(0, common_1.assertParamExists)('getDiagnosticsPostgresqlSessionLockAnalysis', 'pid', pid);
|
|
90
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}/lockAnalysis`
|
|
91
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
92
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
93
|
+
.replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
|
|
94
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
96
|
+
let baseOptions;
|
|
97
|
+
if (configuration) {
|
|
98
|
+
baseOptions = configuration.baseOptions;
|
|
99
|
+
}
|
|
100
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
101
|
+
const localVarHeaderParameter = {};
|
|
102
|
+
const localVarQueryParameter = {};
|
|
103
|
+
// authentication BearerToken required
|
|
104
|
+
// http bearer authentication required
|
|
105
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
106
|
+
// authentication DigestAuth required
|
|
107
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
108
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
111
|
+
return {
|
|
112
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
113
|
+
options: localVarRequestOptions,
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
/**
|
|
117
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
118
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
119
|
+
* @param {string} orgName Organization name
|
|
120
|
+
* @param {string} clusterName Cluster name
|
|
121
|
+
* @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
listDiagnosticsPostgresqlSessions: async (orgName, clusterName, limit, options = {}) => {
|
|
126
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
127
|
+
(0, common_1.assertParamExists)('listDiagnosticsPostgresqlSessions', 'orgName', orgName);
|
|
128
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
129
|
+
(0, common_1.assertParamExists)('listDiagnosticsPostgresqlSessions', 'clusterName', clusterName);
|
|
130
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions`
|
|
131
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
132
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
|
+
let baseOptions;
|
|
136
|
+
if (configuration) {
|
|
137
|
+
baseOptions = configuration.baseOptions;
|
|
138
|
+
}
|
|
139
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
140
|
+
const localVarHeaderParameter = {};
|
|
141
|
+
const localVarQueryParameter = {};
|
|
142
|
+
// authentication BearerToken required
|
|
143
|
+
// http bearer authentication required
|
|
144
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
145
|
+
// authentication DigestAuth required
|
|
146
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
147
|
+
if (limit !== undefined) {
|
|
148
|
+
localVarQueryParameter['limit'] = limit;
|
|
149
|
+
}
|
|
150
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
153
|
+
return {
|
|
154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
},
|
|
74
158
|
};
|
|
75
159
|
};
|
|
76
160
|
exports.DiagnosticsApiAxiosParamCreator = DiagnosticsApiAxiosParamCreator;
|
|
@@ -97,6 +181,38 @@ const DiagnosticsApiFp = function (configuration) {
|
|
|
97
181
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
98
182
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
99
183
|
},
|
|
184
|
+
/**
|
|
185
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
186
|
+
* @summary Get PostgreSQL session lock analysis
|
|
187
|
+
* @param {string} orgName Organization name
|
|
188
|
+
* @param {string} clusterName Cluster name
|
|
189
|
+
* @param {number} pid PostgreSQL backend process id.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
async getDiagnosticsPostgresqlSessionLockAnalysis(orgName, clusterName, pid, options) {
|
|
194
|
+
var _a, _b, _c;
|
|
195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSessionLockAnalysis(orgName, clusterName, pid, options);
|
|
196
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
197
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSessionLockAnalysis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
198
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
202
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
203
|
+
* @param {string} orgName Organization name
|
|
204
|
+
* @param {string} clusterName Cluster name
|
|
205
|
+
* @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
async listDiagnosticsPostgresqlSessions(orgName, clusterName, limit, options) {
|
|
210
|
+
var _a, _b, _c;
|
|
211
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsPostgresqlSessions(orgName, clusterName, limit, options);
|
|
212
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
213
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DiagnosticsApi.listDiagnosticsPostgresqlSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
214
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
215
|
+
},
|
|
100
216
|
};
|
|
101
217
|
};
|
|
102
218
|
exports.DiagnosticsApiFp = DiagnosticsApiFp;
|
|
@@ -117,6 +233,26 @@ const DiagnosticsApiFactory = function (configuration, basePath, axios) {
|
|
|
117
233
|
getDiagnosticsPostgresqlSession(requestParameters, options) {
|
|
118
234
|
return localVarFp.getDiagnosticsPostgresqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
|
|
119
235
|
},
|
|
236
|
+
/**
|
|
237
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
238
|
+
* @summary Get PostgreSQL session lock analysis
|
|
239
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters, options) {
|
|
244
|
+
return localVarFp.getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
248
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
249
|
+
* @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
listDiagnosticsPostgresqlSessions(requestParameters, options) {
|
|
254
|
+
return localVarFp.listDiagnosticsPostgresqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
255
|
+
},
|
|
120
256
|
};
|
|
121
257
|
};
|
|
122
258
|
exports.DiagnosticsApiFactory = DiagnosticsApiFactory;
|
|
@@ -138,6 +274,28 @@ class DiagnosticsApi extends base_1.BaseAPI {
|
|
|
138
274
|
getDiagnosticsPostgresqlSession(requestParameters, options) {
|
|
139
275
|
return (0, exports.DiagnosticsApiFp)(this.configuration).getDiagnosticsPostgresqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
|
|
140
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
|
|
279
|
+
* @summary Get PostgreSQL session lock analysis
|
|
280
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
* @memberof DiagnosticsApi
|
|
284
|
+
*/
|
|
285
|
+
getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters, options) {
|
|
286
|
+
return (0, exports.DiagnosticsApiFp)(this.configuration).getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
|
|
290
|
+
* @summary List PostgreSQL session basic diagnostics
|
|
291
|
+
* @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
* @memberof DiagnosticsApi
|
|
295
|
+
*/
|
|
296
|
+
listDiagnosticsPostgresqlSessions(requestParameters, options) {
|
|
297
|
+
return (0, exports.DiagnosticsApiFp)(this.configuration).listDiagnosticsPostgresqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
298
|
+
}
|
|
141
299
|
}
|
|
142
300
|
exports.DiagnosticsApi = DiagnosticsApi;
|
|
143
301
|
//# sourceMappingURL=diagnostics-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostics-api.js","sourceRoot":"","sources":["../../../src/openapi/apis/diagnostics-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;
|
|
1
|
+
{"version":3,"file":"diagnostics-api.js","sourceRoot":"","sources":["../../../src/openapi/apis/diagnostics-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAO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