kb-cloud-client-typescript 0.0.0-bugfix-pg-param-unit.20260615.406 → 0.0.0-bugfix-list-database-parameters-e2e.20260616.802
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/cluster-log-api.d.ts +154 -2
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +100 -5
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/database-parameters-api.d.ts +11 -11
- package/dist/adminapi/apis/database-parameters-api.d.ts.map +1 -1
- package/dist/adminapi/apis/database-parameters-api.js +10 -6
- package/dist/adminapi/apis/database-parameters-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +154 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +100 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +7 -1
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +154 -2
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +100 -5
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +154 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +100 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +7 -1
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/package.json +1 -6
- package/src/adminapi/apis/cluster-log-api.ts +252 -5
- package/src/adminapi/apis/database-parameters-api.ts +15 -11
- package/src/adminapi/apis/shared-api.ts +252 -5
- package/src/adminapi/models/account-option.ts +7 -1
- package/src/adminapi.yaml +96 -1
- package/src/openapi/apis/cluster-log-api.ts +252 -5
- package/src/openapi/apis/shared-api.ts +252 -5
- package/src/openapi/models/account-option.ts +7 -1
- package/src/openapi.yaml +94 -1
|
@@ -74,7 +74,13 @@ export interface AccountOption {
|
|
|
74
74
|
* @type {boolean}
|
|
75
75
|
* @memberof AccountOption
|
|
76
76
|
*/
|
|
77
|
-
'
|
|
77
|
+
'supportLock'?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Account names that are protected from update, delete, lock, and unlock actions.
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof AccountOption
|
|
82
|
+
*/
|
|
83
|
+
'protectedAccounts'?: Array<string>;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kb-cloud-client-typescript",
|
|
3
|
-
"version": "0.0.0-bugfix-
|
|
3
|
+
"version": "0.0.0-bugfix-list-database-parameters-e2e.20260616.0802",
|
|
4
4
|
"description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,16 +36,11 @@
|
|
|
36
36
|
"internalapi:build": "yarn internalapi:bundle && sed \"s/\\\"useDocker\\\": [a-z]*/\\\"useDocker\\\": ${USE_DOCKER:-true}/\" ./src/internalapitools.json > ./openapitools.json && rm -rf ./src/internalapi && mkdir -p ./src/internalapi && openapi-generator-cli generate",
|
|
37
37
|
"api:build": "yarn openapi:build && yarn adminapi:build && yarn internalapi:build",
|
|
38
38
|
"postapi:build": "tsc",
|
|
39
|
-
"skills:adminapi": "openapi-to-skills ./src/adminapi.yaml -o ./skills -n adminapi -f",
|
|
40
|
-
"skills:openapi": "openapi-to-skills ./src/openapi.yaml -o ./skills -n openapi -f",
|
|
41
|
-
"skills:internalapi": "openapi-to-skills ./src/internalapi.yaml -o ./skills -n internalapi -f",
|
|
42
|
-
"skills:build": "yarn skills:adminapi && yarn skills:openapi && yarn skills:internalapi",
|
|
43
39
|
"prepublishOnly": "yarn api:build"
|
|
44
40
|
},
|
|
45
41
|
"devDependencies": {
|
|
46
42
|
"@openapitools/openapi-generator-cli": "^2.23.4",
|
|
47
43
|
"@redocly/cli": "^2.1.3",
|
|
48
|
-
"openapi-to-skills": "^0.3.1",
|
|
49
44
|
"typescript": "^5"
|
|
50
45
|
},
|
|
51
46
|
"engines": {
|
|
@@ -63,10 +63,29 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
63
63
|
* @param {SortType} [sortType]
|
|
64
64
|
* @param {string} [groupBy]
|
|
65
65
|
* @param {number} [topN]
|
|
66
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
67
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
68
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
69
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
70
|
+
* @param {number} [minRowsExamined]
|
|
71
|
+
* @param {number} [maxRowsExamined]
|
|
72
|
+
* @param {number} [minRowsSent]
|
|
73
|
+
* @param {number} [maxRowsSent]
|
|
74
|
+
* @param {string} [dbName]
|
|
75
|
+
* @param {string} [dbNameContains]
|
|
76
|
+
* @param {string} [userName]
|
|
77
|
+
* @param {string} [userNameContains]
|
|
78
|
+
* @param {string} [clientIp]
|
|
79
|
+
* @param {string} [clientIpContains]
|
|
80
|
+
* @param {string} [clientIpCIDR]
|
|
81
|
+
* @param {string} [appName]
|
|
82
|
+
* @param {string} [appNameContains]
|
|
83
|
+
* @param {string} [templateId]
|
|
84
|
+
* @param {boolean} [unclassifiedOnly]
|
|
66
85
|
* @param {*} [options] Override http request option.
|
|
67
86
|
* @throws {RequiredError}
|
|
68
87
|
*/
|
|
69
|
-
aggregateSlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
88
|
+
aggregateSlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70
89
|
// verify required parameter 'orgName' is not null or undefined
|
|
71
90
|
assertParamExists('aggregateSlowLogs', 'orgName', orgName)
|
|
72
91
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -132,6 +151,82 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
132
151
|
localVarQueryParameter['topN'] = topN;
|
|
133
152
|
}
|
|
134
153
|
|
|
154
|
+
if (minExecutionTime !== undefined) {
|
|
155
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (maxExecutionTime !== undefined) {
|
|
159
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (minLockTime !== undefined) {
|
|
163
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (maxLockTime !== undefined) {
|
|
167
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
if (minRowsExamined !== undefined) {
|
|
171
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if (maxRowsExamined !== undefined) {
|
|
175
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
if (minRowsSent !== undefined) {
|
|
179
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
if (maxRowsSent !== undefined) {
|
|
183
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
if (dbName !== undefined) {
|
|
187
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
if (dbNameContains !== undefined) {
|
|
191
|
+
localVarQueryParameter['dbNameContains'] = dbNameContains;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (userName !== undefined) {
|
|
195
|
+
localVarQueryParameter['userName'] = userName;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if (userNameContains !== undefined) {
|
|
199
|
+
localVarQueryParameter['userNameContains'] = userNameContains;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
if (clientIp !== undefined) {
|
|
203
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
if (clientIpContains !== undefined) {
|
|
207
|
+
localVarQueryParameter['clientIpContains'] = clientIpContains;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
if (clientIpCIDR !== undefined) {
|
|
211
|
+
localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
if (appName !== undefined) {
|
|
215
|
+
localVarQueryParameter['appName'] = appName;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
if (appNameContains !== undefined) {
|
|
219
|
+
localVarQueryParameter['appNameContains'] = appNameContains;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (templateId !== undefined) {
|
|
223
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (unclassifiedOnly !== undefined) {
|
|
227
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
228
|
+
}
|
|
229
|
+
|
|
135
230
|
|
|
136
231
|
|
|
137
232
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1598,11 +1693,30 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1598
1693
|
* @param {SortType} [sortType]
|
|
1599
1694
|
* @param {string} [groupBy]
|
|
1600
1695
|
* @param {number} [topN]
|
|
1696
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1697
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1698
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1699
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1700
|
+
* @param {number} [minRowsExamined]
|
|
1701
|
+
* @param {number} [maxRowsExamined]
|
|
1702
|
+
* @param {number} [minRowsSent]
|
|
1703
|
+
* @param {number} [maxRowsSent]
|
|
1704
|
+
* @param {string} [dbName]
|
|
1705
|
+
* @param {string} [dbNameContains]
|
|
1706
|
+
* @param {string} [userName]
|
|
1707
|
+
* @param {string} [userNameContains]
|
|
1708
|
+
* @param {string} [clientIp]
|
|
1709
|
+
* @param {string} [clientIpContains]
|
|
1710
|
+
* @param {string} [clientIpCIDR]
|
|
1711
|
+
* @param {string} [appName]
|
|
1712
|
+
* @param {string} [appNameContains]
|
|
1713
|
+
* @param {string} [templateId]
|
|
1714
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1601
1715
|
* @param {*} [options] Override http request option.
|
|
1602
1716
|
* @throws {RequiredError}
|
|
1603
1717
|
*/
|
|
1604
|
-
async aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
|
|
1605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateSlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, options);
|
|
1718
|
+
async aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
|
|
1719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateSlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
|
|
1606
1720
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1607
1721
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.aggregateSlowLogs']?.[localVarOperationServerIndex]?.url;
|
|
1608
1722
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1962,7 +2076,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1962
2076
|
* @throws {RequiredError}
|
|
1963
2077
|
*/
|
|
1964
2078
|
aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse> {
|
|
1965
|
-
return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(axios, basePath));
|
|
2079
|
+
return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
|
|
1966
2080
|
},
|
|
1967
2081
|
/**
|
|
1968
2082
|
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
@@ -2307,6 +2421,139 @@ export interface ClusterLogApiAggregateSlowLogsRequest {
|
|
|
2307
2421
|
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2308
2422
|
*/
|
|
2309
2423
|
readonly topN?: number
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2427
|
+
* @type {number}
|
|
2428
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2429
|
+
*/
|
|
2430
|
+
readonly minExecutionTime?: number
|
|
2431
|
+
|
|
2432
|
+
/**
|
|
2433
|
+
* Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2434
|
+
* @type {number}
|
|
2435
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2436
|
+
*/
|
|
2437
|
+
readonly maxExecutionTime?: number
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2441
|
+
* @type {number}
|
|
2442
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2443
|
+
*/
|
|
2444
|
+
readonly minLockTime?: number
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2448
|
+
* @type {number}
|
|
2449
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2450
|
+
*/
|
|
2451
|
+
readonly maxLockTime?: number
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
*
|
|
2455
|
+
* @type {number}
|
|
2456
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2457
|
+
*/
|
|
2458
|
+
readonly minRowsExamined?: number
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
*
|
|
2462
|
+
* @type {number}
|
|
2463
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2464
|
+
*/
|
|
2465
|
+
readonly maxRowsExamined?: number
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
*
|
|
2469
|
+
* @type {number}
|
|
2470
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2471
|
+
*/
|
|
2472
|
+
readonly minRowsSent?: number
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
*
|
|
2476
|
+
* @type {number}
|
|
2477
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2478
|
+
*/
|
|
2479
|
+
readonly maxRowsSent?: number
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {string}
|
|
2484
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2485
|
+
*/
|
|
2486
|
+
readonly dbName?: string
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @type {string}
|
|
2491
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2492
|
+
*/
|
|
2493
|
+
readonly dbNameContains?: string
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
*
|
|
2497
|
+
* @type {string}
|
|
2498
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2499
|
+
*/
|
|
2500
|
+
readonly userName?: string
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
*
|
|
2504
|
+
* @type {string}
|
|
2505
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2506
|
+
*/
|
|
2507
|
+
readonly userNameContains?: string
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
*
|
|
2511
|
+
* @type {string}
|
|
2512
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2513
|
+
*/
|
|
2514
|
+
readonly clientIp?: string
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
*
|
|
2518
|
+
* @type {string}
|
|
2519
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2520
|
+
*/
|
|
2521
|
+
readonly clientIpContains?: string
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
*
|
|
2525
|
+
* @type {string}
|
|
2526
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2527
|
+
*/
|
|
2528
|
+
readonly clientIpCIDR?: string
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
*
|
|
2532
|
+
* @type {string}
|
|
2533
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2534
|
+
*/
|
|
2535
|
+
readonly appName?: string
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @type {string}
|
|
2540
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2541
|
+
*/
|
|
2542
|
+
readonly appNameContains?: string
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
*
|
|
2546
|
+
* @type {string}
|
|
2547
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2548
|
+
*/
|
|
2549
|
+
readonly templateId?: string
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @type {boolean}
|
|
2554
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2555
|
+
*/
|
|
2556
|
+
readonly unclassifiedOnly?: boolean
|
|
2310
2557
|
}
|
|
2311
2558
|
|
|
2312
2559
|
/**
|
|
@@ -3760,7 +4007,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
3760
4007
|
* @memberof ClusterLogApi
|
|
3761
4008
|
*/
|
|
3762
4009
|
public aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig) {
|
|
3763
|
-
return ClusterLogApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(this.axios, this.basePath));
|
|
4010
|
+
return ClusterLogApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
3764
4011
|
}
|
|
3765
4012
|
|
|
3766
4013
|
/**
|
|
@@ -124,12 +124,16 @@ export const DatabaseParametersApiAxiosParamCreator = function (configuration?:
|
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @summary List database parameters
|
|
127
|
-
* @param {string}
|
|
128
|
-
* @param {string}
|
|
127
|
+
* @param {string} engineName engine Name
|
|
128
|
+
* @param {string} component component type
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
listDatabaseParameters: async (engineName
|
|
132
|
+
listDatabaseParameters: async (engineName: string, component: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
133
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
134
|
+
assertParamExists('listDatabaseParameters', 'engineName', engineName)
|
|
135
|
+
// verify required parameter 'component' is not null or undefined
|
|
136
|
+
assertParamExists('listDatabaseParameters', 'component', component)
|
|
133
137
|
const localVarPath = `/admin/v1/databaseParameters`;
|
|
134
138
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -250,12 +254,12 @@ export const DatabaseParametersApiFp = function(configuration?: Configuration) {
|
|
|
250
254
|
/**
|
|
251
255
|
*
|
|
252
256
|
* @summary List database parameters
|
|
253
|
-
* @param {string}
|
|
254
|
-
* @param {string}
|
|
257
|
+
* @param {string} engineName engine Name
|
|
258
|
+
* @param {string} component component type
|
|
255
259
|
* @param {*} [options] Override http request option.
|
|
256
260
|
* @throws {RequiredError}
|
|
257
261
|
*/
|
|
258
|
-
async listDatabaseParameters(engineName
|
|
262
|
+
async listDatabaseParameters(engineName: string, component: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatabaseParameterList>> {
|
|
259
263
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabaseParameters(engineName, component, options);
|
|
260
264
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
261
265
|
const localVarOperationServerBasePath = operationServerMap['DatabaseParametersApi.listDatabaseParameters']?.[localVarOperationServerIndex]?.url;
|
|
@@ -311,7 +315,7 @@ export const DatabaseParametersApiFactory = function (configuration?: Configurat
|
|
|
311
315
|
* @param {*} [options] Override http request option.
|
|
312
316
|
* @throws {RequiredError}
|
|
313
317
|
*/
|
|
314
|
-
listDatabaseParameters(requestParameters: DatabaseParametersApiListDatabaseParametersRequest
|
|
318
|
+
listDatabaseParameters(requestParameters: DatabaseParametersApiListDatabaseParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseParameterList> {
|
|
315
319
|
return localVarFp.listDatabaseParameters(requestParameters.engineName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
316
320
|
},
|
|
317
321
|
/**
|
|
@@ -361,7 +365,7 @@ export interface DatabaseParametersApiInterface {
|
|
|
361
365
|
* @throws {RequiredError}
|
|
362
366
|
* @memberof DatabaseParametersApiInterface
|
|
363
367
|
*/
|
|
364
|
-
listDatabaseParameters(requestParameters
|
|
368
|
+
listDatabaseParameters(requestParameters: DatabaseParametersApiListDatabaseParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseParameterList>;
|
|
365
369
|
|
|
366
370
|
/**
|
|
367
371
|
*
|
|
@@ -414,14 +418,14 @@ export interface DatabaseParametersApiListDatabaseParametersRequest {
|
|
|
414
418
|
* @type {string}
|
|
415
419
|
* @memberof DatabaseParametersApiListDatabaseParameters
|
|
416
420
|
*/
|
|
417
|
-
readonly engineName
|
|
421
|
+
readonly engineName: string
|
|
418
422
|
|
|
419
423
|
/**
|
|
420
424
|
* component type
|
|
421
425
|
* @type {string}
|
|
422
426
|
* @memberof DatabaseParametersApiListDatabaseParameters
|
|
423
427
|
*/
|
|
424
|
-
readonly component
|
|
428
|
+
readonly component: string
|
|
425
429
|
}
|
|
426
430
|
|
|
427
431
|
/**
|
|
@@ -477,7 +481,7 @@ export class DatabaseParametersApi extends BaseAPI implements DatabaseParameters
|
|
|
477
481
|
* @throws {RequiredError}
|
|
478
482
|
* @memberof DatabaseParametersApi
|
|
479
483
|
*/
|
|
480
|
-
public listDatabaseParameters(requestParameters: DatabaseParametersApiListDatabaseParametersRequest
|
|
484
|
+
public listDatabaseParameters(requestParameters: DatabaseParametersApiListDatabaseParametersRequest, options?: RawAxiosRequestConfig) {
|
|
481
485
|
return DatabaseParametersApiFp(this.configuration).listDatabaseParameters(requestParameters.engineName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
482
486
|
}
|
|
483
487
|
|