kb-cloud-client-typescript 2.3.0-alpha.97 → 2.3.0-alpha.99
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-api.d.ts +18 -2
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +15 -5
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +75 -5
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +132 -4
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +90 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/database-parameter-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-item.d.ts.map +1 -1
- package/dist/adminapi/models/database-parameter-list-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-list-item.d.ts.map +1 -1
- package/dist/adminapi/models/storage-create.d.ts +0 -6
- package/dist/adminapi/models/storage-create.d.ts.map +1 -1
- package/dist/adminapi/models/storage-update.d.ts +0 -6
- package/dist/adminapi/models/storage-update.d.ts.map +1 -1
- package/dist/adminapi/models/storage.d.ts +0 -6
- package/dist/adminapi/models/storage.d.ts.map +1 -1
- package/dist/internalapi/models/storage-create.d.ts +0 -6
- package/dist/internalapi/models/storage-create.d.ts.map +1 -1
- package/dist/internalapi/models/storage.d.ts +0 -6
- package/dist/internalapi/models/storage.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.d.ts +18 -2
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +15 -5
- package/dist/openapi/apis/cluster-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +75 -5
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +132 -4
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +90 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/storage.d.ts +0 -6
- package/dist/openapi/models/storage.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-api.ts +31 -5
- package/src/adminapi/apis/cluster-log-api.ts +187 -5
- package/src/adminapi/apis/shared-api.ts +218 -10
- package/src/adminapi/models/database-parameter-item.ts +6 -0
- package/src/adminapi/models/database-parameter-list-item.ts +6 -0
- package/src/adminapi/models/storage-create.ts +0 -6
- package/src/adminapi/models/storage-update.ts +0 -6
- package/src/adminapi/models/storage.ts +0 -6
- package/src/adminapi.yaml +88 -12
- package/src/internalapi/models/storage-create.ts +0 -6
- package/src/internalapi/models/storage.ts +0 -6
- package/src/internalapi.yaml +0 -8
- package/src/openapi/apis/cluster-api.ts +31 -5
- package/src/openapi/apis/cluster-log-api.ts +187 -5
- package/src/openapi/apis/shared-api.ts +218 -10
- package/src/openapi/models/storage.ts +0 -6
- package/src/openapi.yaml +80 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/storage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/storage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CACvC"}
|
package/package.json
CHANGED
|
@@ -305,10 +305,12 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
305
305
|
* @summary Get cluster details by ID
|
|
306
306
|
* @param {string} orgName name of the Org
|
|
307
307
|
* @param {string} clusterID ID of the KubeBlocks cluster
|
|
308
|
+
* @param {string} [backupName] Backup name to override cluster components from its snapshot
|
|
309
|
+
* @param {string} [restoreTime] Restore time to find latest continuous backup snapshot after this time
|
|
308
310
|
* @param {*} [options] Override http request option.
|
|
309
311
|
* @throws {RequiredError}
|
|
310
312
|
*/
|
|
311
|
-
getClusterByID: async (orgName: string, clusterID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
313
|
+
getClusterByID: async (orgName: string, clusterID: string, backupName?: string, restoreTime?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
312
314
|
// verify required parameter 'orgName' is not null or undefined
|
|
313
315
|
assertParamExists('getClusterByID', 'orgName', orgName)
|
|
314
316
|
// verify required parameter 'clusterID' is not null or undefined
|
|
@@ -330,6 +332,14 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
330
332
|
// authentication BearerToken required
|
|
331
333
|
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
332
334
|
|
|
335
|
+
if (backupName !== undefined) {
|
|
336
|
+
localVarQueryParameter['backupName'] = backupName;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (restoreTime !== undefined) {
|
|
340
|
+
localVarQueryParameter['restoreTime'] = restoreTime;
|
|
341
|
+
}
|
|
342
|
+
|
|
333
343
|
|
|
334
344
|
|
|
335
345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1297,11 +1307,13 @@ export const ClusterApiFp = function(configuration?: Configuration) {
|
|
|
1297
1307
|
* @summary Get cluster details by ID
|
|
1298
1308
|
* @param {string} orgName name of the Org
|
|
1299
1309
|
* @param {string} clusterID ID of the KubeBlocks cluster
|
|
1310
|
+
* @param {string} [backupName] Backup name to override cluster components from its snapshot
|
|
1311
|
+
* @param {string} [restoreTime] Restore time to find latest continuous backup snapshot after this time
|
|
1300
1312
|
* @param {*} [options] Override http request option.
|
|
1301
1313
|
* @throws {RequiredError}
|
|
1302
1314
|
*/
|
|
1303
|
-
async getClusterByID(orgName: string, clusterID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>> {
|
|
1304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterByID(orgName, clusterID, options);
|
|
1315
|
+
async getClusterByID(orgName: string, clusterID: string, backupName?: string, restoreTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>> {
|
|
1316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterByID(orgName, clusterID, backupName, restoreTime, options);
|
|
1305
1317
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1306
1318
|
const localVarOperationServerBasePath = operationServerMap['ClusterApi.getClusterByID']?.[localVarOperationServerIndex]?.url;
|
|
1307
1319
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1643,7 +1655,7 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
|
|
|
1643
1655
|
* @throws {RequiredError}
|
|
1644
1656
|
*/
|
|
1645
1657
|
getClusterByID(requestParameters: ClusterApiGetClusterByIDRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
1646
|
-
return localVarFp.getClusterByID(requestParameters.orgName, requestParameters.clusterID, options).then((request) => request(axios, basePath));
|
|
1658
|
+
return localVarFp.getClusterByID(requestParameters.orgName, requestParameters.clusterID, requestParameters.backupName, requestParameters.restoreTime, options).then((request) => request(axios, basePath));
|
|
1647
1659
|
},
|
|
1648
1660
|
/**
|
|
1649
1661
|
* read log of the specified cluster instance
|
|
@@ -2201,6 +2213,20 @@ export interface ClusterApiGetClusterByIDRequest {
|
|
|
2201
2213
|
* @memberof ClusterApiGetClusterByID
|
|
2202
2214
|
*/
|
|
2203
2215
|
readonly clusterID: string
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* Backup name to override cluster components from its snapshot
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof ClusterApiGetClusterByID
|
|
2221
|
+
*/
|
|
2222
|
+
readonly backupName?: string
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Restore time to find latest continuous backup snapshot after this time
|
|
2226
|
+
* @type {string}
|
|
2227
|
+
* @memberof ClusterApiGetClusterByID
|
|
2228
|
+
*/
|
|
2229
|
+
readonly restoreTime?: string
|
|
2204
2230
|
}
|
|
2205
2231
|
|
|
2206
2232
|
/**
|
|
@@ -2853,7 +2879,7 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
|
|
|
2853
2879
|
* @memberof ClusterApi
|
|
2854
2880
|
*/
|
|
2855
2881
|
public getClusterByID(requestParameters: ClusterApiGetClusterByIDRequest, options?: RawAxiosRequestConfig) {
|
|
2856
|
-
return ClusterApiFp(this.configuration).getClusterByID(requestParameters.orgName, requestParameters.clusterID, options).then((request) => request(this.axios, this.basePath));
|
|
2882
|
+
return ClusterApiFp(this.configuration).getClusterByID(requestParameters.orgName, requestParameters.clusterID, requestParameters.backupName, requestParameters.restoreTime, options).then((request) => request(this.axios, this.basePath));
|
|
2857
2883
|
}
|
|
2858
2884
|
|
|
2859
2885
|
/**
|
|
@@ -579,10 +579,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
579
579
|
* @param {string} [componentName]
|
|
580
580
|
* @param {string} [instanceName]
|
|
581
581
|
* @param {string} [query]
|
|
582
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
583
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
584
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
585
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
586
|
+
* @param {number} [minRowsExamined]
|
|
587
|
+
* @param {number} [maxRowsExamined]
|
|
588
|
+
* @param {number} [minRowsSent]
|
|
589
|
+
* @param {number} [maxRowsSent]
|
|
590
|
+
* @param {string} [dbName]
|
|
591
|
+
* @param {string} [userName]
|
|
592
|
+
* @param {string} [clientIp]
|
|
593
|
+
* @param {string} [appName]
|
|
594
|
+
* @param {string} [templateId]
|
|
595
|
+
* @param {boolean} [unclassifiedOnly]
|
|
582
596
|
* @param {*} [options] Override http request option.
|
|
583
597
|
* @throws {RequiredError}
|
|
584
598
|
*/
|
|
585
|
-
queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
599
|
+
queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
586
600
|
// verify required parameter 'orgName' is not null or undefined
|
|
587
601
|
assertParamExists('queryLogHits', 'orgName', orgName)
|
|
588
602
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -640,6 +654,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
640
654
|
localVarQueryParameter['query'] = query;
|
|
641
655
|
}
|
|
642
656
|
|
|
657
|
+
if (minExecutionTime !== undefined) {
|
|
658
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
if (maxExecutionTime !== undefined) {
|
|
662
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
if (minLockTime !== undefined) {
|
|
666
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
if (maxLockTime !== undefined) {
|
|
670
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
if (minRowsExamined !== undefined) {
|
|
674
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
if (maxRowsExamined !== undefined) {
|
|
678
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
if (minRowsSent !== undefined) {
|
|
682
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
if (maxRowsSent !== undefined) {
|
|
686
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
if (dbName !== undefined) {
|
|
690
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
if (userName !== undefined) {
|
|
694
|
+
localVarQueryParameter['userName'] = userName;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
if (clientIp !== undefined) {
|
|
698
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
if (appName !== undefined) {
|
|
702
|
+
localVarQueryParameter['appName'] = appName;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
if (templateId !== undefined) {
|
|
706
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
if (unclassifiedOnly !== undefined) {
|
|
710
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
711
|
+
}
|
|
712
|
+
|
|
643
713
|
|
|
644
714
|
|
|
645
715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1402,11 +1472,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1402
1472
|
* @param {string} [componentName]
|
|
1403
1473
|
* @param {string} [instanceName]
|
|
1404
1474
|
* @param {string} [query]
|
|
1475
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
1476
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
1477
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
1478
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
1479
|
+
* @param {number} [minRowsExamined]
|
|
1480
|
+
* @param {number} [maxRowsExamined]
|
|
1481
|
+
* @param {number} [minRowsSent]
|
|
1482
|
+
* @param {number} [maxRowsSent]
|
|
1483
|
+
* @param {string} [dbName]
|
|
1484
|
+
* @param {string} [userName]
|
|
1485
|
+
* @param {string} [clientIp]
|
|
1486
|
+
* @param {string} [appName]
|
|
1487
|
+
* @param {string} [templateId]
|
|
1488
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1405
1489
|
* @param {*} [options] Override http request option.
|
|
1406
1490
|
* @throws {RequiredError}
|
|
1407
1491
|
*/
|
|
1408
|
-
async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
|
|
1409
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
|
|
1492
|
+
async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
|
|
1493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, templateId, unclassifiedOnly, options);
|
|
1410
1494
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1411
1495
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
|
|
1412
1496
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1633,7 +1717,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1633
1717
|
* @throws {RequiredError}
|
|
1634
1718
|
*/
|
|
1635
1719
|
queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
|
|
1636
|
-
return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
1720
|
+
return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
|
|
1637
1721
|
},
|
|
1638
1722
|
/**
|
|
1639
1723
|
* Query pod logs of a cluster
|
|
@@ -2367,6 +2451,104 @@ export interface ClusterLogApiQueryLogHitsRequest {
|
|
|
2367
2451
|
* @memberof ClusterLogApiQueryLogHits
|
|
2368
2452
|
*/
|
|
2369
2453
|
readonly query?: string
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2459
|
+
*/
|
|
2460
|
+
readonly minExecutionTime?: number
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
2464
|
+
* @type {number}
|
|
2465
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2466
|
+
*/
|
|
2467
|
+
readonly maxExecutionTime?: number
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
2471
|
+
* @type {number}
|
|
2472
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2473
|
+
*/
|
|
2474
|
+
readonly minLockTime?: number
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
2478
|
+
* @type {number}
|
|
2479
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2480
|
+
*/
|
|
2481
|
+
readonly maxLockTime?: number
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
*
|
|
2485
|
+
* @type {number}
|
|
2486
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2487
|
+
*/
|
|
2488
|
+
readonly minRowsExamined?: number
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
*
|
|
2492
|
+
* @type {number}
|
|
2493
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2494
|
+
*/
|
|
2495
|
+
readonly maxRowsExamined?: number
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
*
|
|
2499
|
+
* @type {number}
|
|
2500
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2501
|
+
*/
|
|
2502
|
+
readonly minRowsSent?: number
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
* @type {number}
|
|
2507
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2508
|
+
*/
|
|
2509
|
+
readonly maxRowsSent?: number
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @type {string}
|
|
2514
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2515
|
+
*/
|
|
2516
|
+
readonly dbName?: string
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2522
|
+
*/
|
|
2523
|
+
readonly userName?: string
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
*
|
|
2527
|
+
* @type {string}
|
|
2528
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2529
|
+
*/
|
|
2530
|
+
readonly clientIp?: string
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
*
|
|
2534
|
+
* @type {string}
|
|
2535
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2536
|
+
*/
|
|
2537
|
+
readonly appName?: string
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @type {string}
|
|
2542
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2543
|
+
*/
|
|
2544
|
+
readonly templateId?: string
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
*
|
|
2548
|
+
* @type {boolean}
|
|
2549
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
2550
|
+
*/
|
|
2551
|
+
readonly unclassifiedOnly?: boolean
|
|
2370
2552
|
}
|
|
2371
2553
|
|
|
2372
2554
|
/**
|
|
@@ -3080,7 +3262,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
3080
3262
|
* @memberof ClusterLogApi
|
|
3081
3263
|
*/
|
|
3082
3264
|
public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
|
|
3083
|
-
return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
3265
|
+
return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
3084
3266
|
}
|
|
3085
3267
|
|
|
3086
3268
|
/**
|