kb-cloud-client-typescript 2.3.0-alpha.227 → 2.3.0-alpha.229

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-loki-log-api.d.ts +885 -0
  6. package/dist/adminapi/apis/cluster-loki-log-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/cluster-loki-log-api.js +853 -0
  8. package/dist/adminapi/apis/cluster-loki-log-api.js.map +1 -0
  9. package/dist/adminapi/apis/shared-api.d.ts +848 -15
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +845 -56
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/environment.d.ts +7 -0
  14. package/dist/adminapi/models/environment.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.d.ts +1 -0
  16. package/dist/adminapi/models/index.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.js +1 -0
  18. package/dist/adminapi/models/index.js.map +1 -1
  19. package/dist/adminapi/models/log-backend-type.d.ts +22 -0
  20. package/dist/adminapi/models/log-backend-type.d.ts.map +1 -0
  21. package/dist/adminapi/models/log-backend-type.js +26 -0
  22. package/dist/adminapi/models/log-backend-type.js.map +1 -0
  23. package/dist/openapi/api.d.ts +1 -0
  24. package/dist/openapi/api.d.ts.map +1 -1
  25. package/dist/openapi/api.js +1 -0
  26. package/dist/openapi/api.js.map +1 -1
  27. package/dist/openapi/apis/cluster-loki-log-api.d.ts +885 -0
  28. package/dist/openapi/apis/cluster-loki-log-api.d.ts.map +1 -0
  29. package/dist/openapi/apis/cluster-loki-log-api.js +853 -0
  30. package/dist/openapi/apis/cluster-loki-log-api.js.map +1 -0
  31. package/dist/openapi/apis/shared-api.d.ts +844 -11
  32. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  33. package/dist/openapi/apis/shared-api.js +845 -56
  34. package/dist/openapi/apis/shared-api.js.map +1 -1
  35. package/dist/openapi/models/environment.d.ts +7 -0
  36. package/dist/openapi/models/environment.d.ts.map +1 -1
  37. package/dist/openapi/models/index.d.ts +1 -0
  38. package/dist/openapi/models/index.d.ts.map +1 -1
  39. package/dist/openapi/models/index.js +1 -0
  40. package/dist/openapi/models/index.js.map +1 -1
  41. package/dist/openapi/models/log-backend-type.d.ts +22 -0
  42. package/dist/openapi/models/log-backend-type.d.ts.map +1 -0
  43. package/dist/openapi/models/log-backend-type.js +26 -0
  44. package/dist/openapi/models/log-backend-type.js.map +1 -0
  45. package/package.json +1 -1
  46. package/src/adminapi/.openapi-generator/FILES +2 -0
  47. package/src/adminapi/api.ts +1 -0
  48. package/src/adminapi/apis/cluster-loki-log-api.ts +1525 -0
  49. package/src/adminapi/apis/shared-api.ts +1620 -173
  50. package/src/adminapi/models/environment.ts +9 -0
  51. package/src/adminapi/models/index.ts +1 -0
  52. package/src/adminapi/models/log-backend-type.ts +31 -0
  53. package/src/adminapi.yaml +309 -0
  54. package/src/openapi/.openapi-generator/FILES +2 -0
  55. package/src/openapi/api.ts +1 -0
  56. package/src/openapi/apis/cluster-loki-log-api.ts +1525 -0
  57. package/src/openapi/apis/shared-api.ts +1620 -173
  58. package/src/openapi/models/environment.ts +9 -0
  59. package/src/openapi/models/index.ts +1 -0
  60. package/src/openapi/models/log-backend-type.ts +31 -0
  61. package/src/openapi.yaml +309 -0
@@ -991,6 +991,24 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
991
991
  * @throws {RequiredError}
992
992
  */
993
993
  explainSlowLogTemplate: (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: 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, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
994
+ /**
995
+ * Export logs through the Loki compatibility API.
996
+ * @summary Export Loki logs
997
+ * @param {string} orgName
998
+ * @param {string} clusterName
999
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
1000
+ * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
1001
+ * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
1002
+ * @param {string} [format] Export format: csv, raw, jsonl
1003
+ * @param {string} [query]
1004
+ * @param {string} [filename]
1005
+ * @param {string} [componentName]
1006
+ * @param {string} [instanceName]
1007
+ * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ exportLokiClusterLogs: (orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, maxLines?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
994
1012
  /**
995
1013
  *
996
1014
  * @summary Export parameter template from cluster
@@ -1392,6 +1410,19 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1392
1410
  * @throws {RequiredError}
1393
1411
  */
1394
1412
  getKafkaTopics: (orgName: string, clusterName: string, nameFilter?: string, onlyNames?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1413
+ /**
1414
+ * Query slow-log statistics through the Loki compatibility API.
1415
+ * @summary Query Loki slow-log statistics
1416
+ * @param {string} orgName
1417
+ * @param {string} clusterName
1418
+ * @param {string} startTime Start time in epoch nanoseconds.
1419
+ * @param {string} endTime End time in epoch nanoseconds.
1420
+ * @param {string} [componentName]
1421
+ * @param {string} [instanceName]
1422
+ * @param {*} [options] Override http request option.
1423
+ * @throws {RequiredError}
1424
+ */
1425
+ getLokiSlowLogStats: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1395
1426
  /**
1396
1427
  * Get a Milvus native role and its privilege grants.
1397
1428
  * @summary Get Milvus role
@@ -2526,6 +2557,87 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2526
2557
  * @throws {RequiredError}
2527
2558
  */
2528
2559
  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<RequestArgs>;
2560
+ /**
2561
+ * Query audit logs through the Loki compatibility API.
2562
+ * @summary Query Loki audit logs
2563
+ * @param {string} orgName
2564
+ * @param {string} clusterName
2565
+ * @param {string} startTime Start time in epoch nanoseconds.
2566
+ * @param {string} endTime End time in epoch nanoseconds.
2567
+ * @param {string} [limit]
2568
+ * @param {string} [componentName]
2569
+ * @param {string} [instanceName]
2570
+ * @param {SortType} [sortType]
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ */
2574
+ queryLokiAuditLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2575
+ /**
2576
+ * Query error logs through the Loki compatibility API.
2577
+ * @summary Query Loki error logs
2578
+ * @param {string} orgName
2579
+ * @param {string} clusterName
2580
+ * @param {string} startTime Start time in epoch nanoseconds.
2581
+ * @param {string} endTime End time in epoch nanoseconds.
2582
+ * @param {string} [componentName]
2583
+ * @param {string} [instanceName]
2584
+ * @param {string} [filename]
2585
+ * @param {string} [query]
2586
+ * @param {string} [limit]
2587
+ * @param {SortType} [sortType]
2588
+ * @param {*} [options] Override http request option.
2589
+ * @throws {RequiredError}
2590
+ */
2591
+ queryLokiErrorLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2592
+ /**
2593
+ * Query pod logs through the Loki compatibility API.
2594
+ * @summary Query Loki pod logs
2595
+ * @param {string} orgName
2596
+ * @param {string} clusterName
2597
+ * @param {string} startTime Start time in epoch nanoseconds.
2598
+ * @param {string} endTime End time in epoch nanoseconds.
2599
+ * @param {string} [componentName]
2600
+ * @param {string} [instanceName]
2601
+ * @param {string} [filename]
2602
+ * @param {string} [limit]
2603
+ * @param {SortType} [sortType]
2604
+ * @param {*} [options] Override http request option.
2605
+ * @throws {RequiredError}
2606
+ */
2607
+ queryLokiPodLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2608
+ /**
2609
+ * Query running logs through the Loki compatibility API.
2610
+ * @summary Query Loki running logs
2611
+ * @param {string} orgName
2612
+ * @param {string} clusterName
2613
+ * @param {string} startTime Start time in epoch nanoseconds.
2614
+ * @param {string} endTime End time in epoch nanoseconds.
2615
+ * @param {string} [componentName]
2616
+ * @param {string} [instanceName]
2617
+ * @param {string} [filename]
2618
+ * @param {string} [limit]
2619
+ * @param {string} [query]
2620
+ * @param {SortType} [sortType]
2621
+ * @param {*} [options] Override http request option.
2622
+ * @throws {RequiredError}
2623
+ */
2624
+ queryLokiRunningLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, query?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2625
+ /**
2626
+ * Query slow logs through the Loki compatibility API.
2627
+ * @summary Query Loki slow logs
2628
+ * @param {string} orgName
2629
+ * @param {string} clusterName
2630
+ * @param {string} startTime Start time in epoch nanoseconds.
2631
+ * @param {string} endTime End time in epoch nanoseconds.
2632
+ * @param {string} [componentName]
2633
+ * @param {string} [instanceName]
2634
+ * @param {string} [query]
2635
+ * @param {string} [limit]
2636
+ * @param {SortType} [sortType]
2637
+ * @param {*} [options] Override http request option.
2638
+ * @throws {RequiredError}
2639
+ */
2640
+ queryLokiSlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2529
2641
  /**
2530
2642
  * Query pod logs of a cluster
2531
2643
  * @summary Query cluster pod logs
@@ -3979,6 +4091,24 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3979
4091
  * @throws {RequiredError}
3980
4092
  */
3981
4093
  explainSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: 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, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>>;
4094
+ /**
4095
+ * Export logs through the Loki compatibility API.
4096
+ * @summary Export Loki logs
4097
+ * @param {string} orgName
4098
+ * @param {string} clusterName
4099
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
4100
+ * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
4101
+ * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
4102
+ * @param {string} [format] Export format: csv, raw, jsonl
4103
+ * @param {string} [query]
4104
+ * @param {string} [filename]
4105
+ * @param {string} [componentName]
4106
+ * @param {string} [instanceName]
4107
+ * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
4108
+ * @param {*} [options] Override http request option.
4109
+ * @throws {RequiredError}
4110
+ */
4111
+ exportLokiClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, maxLines?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
3982
4112
  /**
3983
4113
  *
3984
4114
  * @summary Export parameter template from cluster
@@ -4382,6 +4512,19 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4382
4512
  * @throws {RequiredError}
4383
4513
  */
4384
4514
  getKafkaTopics(orgName: string, clusterName: string, nameFilter?: string, onlyNames?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Topic>>>;
4515
+ /**
4516
+ * Query slow-log statistics through the Loki compatibility API.
4517
+ * @summary Query Loki slow-log statistics
4518
+ * @param {string} orgName
4519
+ * @param {string} clusterName
4520
+ * @param {string} startTime Start time in epoch nanoseconds.
4521
+ * @param {string} endTime End time in epoch nanoseconds.
4522
+ * @param {string} [componentName]
4523
+ * @param {string} [instanceName]
4524
+ * @param {*} [options] Override http request option.
4525
+ * @throws {RequiredError}
4526
+ */
4527
+ getLokiSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>>;
4385
4528
  /**
4386
4529
  * Get a Milvus native role and its privilege grants.
4387
4530
  * @summary Get Milvus role
@@ -5522,6 +5665,87 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
5522
5665
  * @throws {RequiredError}
5523
5666
  */
5524
5667
  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>>;
5668
+ /**
5669
+ * Query audit logs through the Loki compatibility API.
5670
+ * @summary Query Loki audit logs
5671
+ * @param {string} orgName
5672
+ * @param {string} clusterName
5673
+ * @param {string} startTime Start time in epoch nanoseconds.
5674
+ * @param {string} endTime End time in epoch nanoseconds.
5675
+ * @param {string} [limit]
5676
+ * @param {string} [componentName]
5677
+ * @param {string} [instanceName]
5678
+ * @param {SortType} [sortType]
5679
+ * @param {*} [options] Override http request option.
5680
+ * @throws {RequiredError}
5681
+ */
5682
+ queryLokiAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>>;
5683
+ /**
5684
+ * Query error logs through the Loki compatibility API.
5685
+ * @summary Query Loki error logs
5686
+ * @param {string} orgName
5687
+ * @param {string} clusterName
5688
+ * @param {string} startTime Start time in epoch nanoseconds.
5689
+ * @param {string} endTime End time in epoch nanoseconds.
5690
+ * @param {string} [componentName]
5691
+ * @param {string} [instanceName]
5692
+ * @param {string} [filename]
5693
+ * @param {string} [query]
5694
+ * @param {string} [limit]
5695
+ * @param {SortType} [sortType]
5696
+ * @param {*} [options] Override http request option.
5697
+ * @throws {RequiredError}
5698
+ */
5699
+ queryLokiErrorLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>>;
5700
+ /**
5701
+ * Query pod logs through the Loki compatibility API.
5702
+ * @summary Query Loki pod logs
5703
+ * @param {string} orgName
5704
+ * @param {string} clusterName
5705
+ * @param {string} startTime Start time in epoch nanoseconds.
5706
+ * @param {string} endTime End time in epoch nanoseconds.
5707
+ * @param {string} [componentName]
5708
+ * @param {string} [instanceName]
5709
+ * @param {string} [filename]
5710
+ * @param {string} [limit]
5711
+ * @param {SortType} [sortType]
5712
+ * @param {*} [options] Override http request option.
5713
+ * @throws {RequiredError}
5714
+ */
5715
+ queryLokiPodLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>>;
5716
+ /**
5717
+ * Query running logs through the Loki compatibility API.
5718
+ * @summary Query Loki running logs
5719
+ * @param {string} orgName
5720
+ * @param {string} clusterName
5721
+ * @param {string} startTime Start time in epoch nanoseconds.
5722
+ * @param {string} endTime End time in epoch nanoseconds.
5723
+ * @param {string} [componentName]
5724
+ * @param {string} [instanceName]
5725
+ * @param {string} [filename]
5726
+ * @param {string} [limit]
5727
+ * @param {string} [query]
5728
+ * @param {SortType} [sortType]
5729
+ * @param {*} [options] Override http request option.
5730
+ * @throws {RequiredError}
5731
+ */
5732
+ queryLokiRunningLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, query?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>>;
5733
+ /**
5734
+ * Query slow logs through the Loki compatibility API.
5735
+ * @summary Query Loki slow logs
5736
+ * @param {string} orgName
5737
+ * @param {string} clusterName
5738
+ * @param {string} startTime Start time in epoch nanoseconds.
5739
+ * @param {string} endTime End time in epoch nanoseconds.
5740
+ * @param {string} [componentName]
5741
+ * @param {string} [instanceName]
5742
+ * @param {string} [query]
5743
+ * @param {string} [limit]
5744
+ * @param {SortType} [sortType]
5745
+ * @param {*} [options] Override http request option.
5746
+ * @throws {RequiredError}
5747
+ */
5748
+ queryLokiSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>>;
5525
5749
  /**
5526
5750
  * Query pod logs of a cluster
5527
5751
  * @summary Query cluster pod logs
@@ -6791,6 +7015,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6791
7015
  * @throws {RequiredError}
6792
7016
  */
6793
7017
  explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
7018
+ /**
7019
+ * Export logs through the Loki compatibility API.
7020
+ * @summary Export Loki logs
7021
+ * @param {SharedApiExportLokiClusterLogsRequest} requestParameters Request parameters.
7022
+ * @param {*} [options] Override http request option.
7023
+ * @throws {RequiredError}
7024
+ */
7025
+ exportLokiClusterLogs(requestParameters: SharedApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
6794
7026
  /**
6795
7027
  *
6796
7028
  * @summary Export parameter template from cluster
@@ -7105,6 +7337,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
7105
7337
  * @throws {RequiredError}
7106
7338
  */
7107
7339
  getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>>;
7340
+ /**
7341
+ * Query slow-log statistics through the Loki compatibility API.
7342
+ * @summary Query Loki slow-log statistics
7343
+ * @param {SharedApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
7344
+ * @param {*} [options] Override http request option.
7345
+ * @throws {RequiredError}
7346
+ */
7347
+ getLokiSlowLogStats(requestParameters: SharedApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
7108
7348
  /**
7109
7349
  * Get a Milvus native role and its privilege grants.
7110
7350
  * @summary Get Milvus role
@@ -7963,6 +8203,46 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
7963
8203
  * @throws {RequiredError}
7964
8204
  */
7965
8205
  queryLogHits(requestParameters: SharedApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse>;
8206
+ /**
8207
+ * Query audit logs through the Loki compatibility API.
8208
+ * @summary Query Loki audit logs
8209
+ * @param {SharedApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
8210
+ * @param {*} [options] Override http request option.
8211
+ * @throws {RequiredError}
8212
+ */
8213
+ queryLokiAuditLogs(requestParameters: SharedApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
8214
+ /**
8215
+ * Query error logs through the Loki compatibility API.
8216
+ * @summary Query Loki error logs
8217
+ * @param {SharedApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
8218
+ * @param {*} [options] Override http request option.
8219
+ * @throws {RequiredError}
8220
+ */
8221
+ queryLokiErrorLogs(requestParameters: SharedApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
8222
+ /**
8223
+ * Query pod logs through the Loki compatibility API.
8224
+ * @summary Query Loki pod logs
8225
+ * @param {SharedApiQueryLokiPodLogsRequest} requestParameters Request parameters.
8226
+ * @param {*} [options] Override http request option.
8227
+ * @throws {RequiredError}
8228
+ */
8229
+ queryLokiPodLogs(requestParameters: SharedApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
8230
+ /**
8231
+ * Query running logs through the Loki compatibility API.
8232
+ * @summary Query Loki running logs
8233
+ * @param {SharedApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
8234
+ * @param {*} [options] Override http request option.
8235
+ * @throws {RequiredError}
8236
+ */
8237
+ queryLokiRunningLogs(requestParameters: SharedApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
8238
+ /**
8239
+ * Query slow logs through the Loki compatibility API.
8240
+ * @summary Query Loki slow logs
8241
+ * @param {SharedApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
8242
+ * @param {*} [options] Override http request option.
8243
+ * @throws {RequiredError}
8244
+ */
8245
+ queryLokiSlowLogs(requestParameters: SharedApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
7966
8246
  /**
7967
8247
  * Query pod logs of a cluster
7968
8248
  * @summary Query cluster pod logs
@@ -9098,6 +9378,15 @@ export interface SharedApiInterface {
9098
9378
  * @memberof SharedApiInterface
9099
9379
  */
9100
9380
  explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
9381
+ /**
9382
+ * Export logs through the Loki compatibility API.
9383
+ * @summary Export Loki logs
9384
+ * @param {SharedApiExportLokiClusterLogsRequest} requestParameters Request parameters.
9385
+ * @param {*} [options] Override http request option.
9386
+ * @throws {RequiredError}
9387
+ * @memberof SharedApiInterface
9388
+ */
9389
+ exportLokiClusterLogs(requestParameters: SharedApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
9101
9390
  /**
9102
9391
  *
9103
9392
  * @summary Export parameter template from cluster
@@ -9451,6 +9740,15 @@ export interface SharedApiInterface {
9451
9740
  * @memberof SharedApiInterface
9452
9741
  */
9453
9742
  getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>>;
9743
+ /**
9744
+ * Query slow-log statistics through the Loki compatibility API.
9745
+ * @summary Query Loki slow-log statistics
9746
+ * @param {SharedApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
9747
+ * @param {*} [options] Override http request option.
9748
+ * @throws {RequiredError}
9749
+ * @memberof SharedApiInterface
9750
+ */
9751
+ getLokiSlowLogStats(requestParameters: SharedApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
9454
9752
  /**
9455
9753
  * Get a Milvus native role and its privilege grants.
9456
9754
  * @summary Get Milvus role
@@ -10416,6 +10714,51 @@ export interface SharedApiInterface {
10416
10714
  * @memberof SharedApiInterface
10417
10715
  */
10418
10716
  queryLogHits(requestParameters: SharedApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse>;
10717
+ /**
10718
+ * Query audit logs through the Loki compatibility API.
10719
+ * @summary Query Loki audit logs
10720
+ * @param {SharedApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
10721
+ * @param {*} [options] Override http request option.
10722
+ * @throws {RequiredError}
10723
+ * @memberof SharedApiInterface
10724
+ */
10725
+ queryLokiAuditLogs(requestParameters: SharedApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
10726
+ /**
10727
+ * Query error logs through the Loki compatibility API.
10728
+ * @summary Query Loki error logs
10729
+ * @param {SharedApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
10730
+ * @param {*} [options] Override http request option.
10731
+ * @throws {RequiredError}
10732
+ * @memberof SharedApiInterface
10733
+ */
10734
+ queryLokiErrorLogs(requestParameters: SharedApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
10735
+ /**
10736
+ * Query pod logs through the Loki compatibility API.
10737
+ * @summary Query Loki pod logs
10738
+ * @param {SharedApiQueryLokiPodLogsRequest} requestParameters Request parameters.
10739
+ * @param {*} [options] Override http request option.
10740
+ * @throws {RequiredError}
10741
+ * @memberof SharedApiInterface
10742
+ */
10743
+ queryLokiPodLogs(requestParameters: SharedApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
10744
+ /**
10745
+ * Query running logs through the Loki compatibility API.
10746
+ * @summary Query Loki running logs
10747
+ * @param {SharedApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
10748
+ * @param {*} [options] Override http request option.
10749
+ * @throws {RequiredError}
10750
+ * @memberof SharedApiInterface
10751
+ */
10752
+ queryLokiRunningLogs(requestParameters: SharedApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
10753
+ /**
10754
+ * Query slow logs through the Loki compatibility API.
10755
+ * @summary Query Loki slow logs
10756
+ * @param {SharedApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
10757
+ * @param {*} [options] Override http request option.
10758
+ * @throws {RequiredError}
10759
+ * @memberof SharedApiInterface
10760
+ */
10761
+ queryLokiSlowLogs(requestParameters: SharedApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
10419
10762
  /**
10420
10763
  * Query pod logs of a cluster
10421
10764
  * @summary Query cluster pod logs
@@ -12991,33 +13334,106 @@ export interface SharedApiExplainSlowLogTemplateRequest {
12991
13334
  readonly appName?: string;
12992
13335
  }
12993
13336
  /**
12994
- * Request parameters for exportParameterTemplateFromCluster operation in SharedApi.
13337
+ * Request parameters for exportLokiClusterLogs operation in SharedApi.
12995
13338
  * @export
12996
- * @interface SharedApiExportParameterTemplateFromClusterRequest
13339
+ * @interface SharedApiExportLokiClusterLogsRequest
12997
13340
  */
12998
- export interface SharedApiExportParameterTemplateFromClusterRequest {
13341
+ export interface SharedApiExportLokiClusterLogsRequest {
12999
13342
  /**
13000
- * name of the Org
13343
+ *
13001
13344
  * @type {string}
13002
- * @memberof SharedApiExportParameterTemplateFromCluster
13345
+ * @memberof SharedApiExportLokiClusterLogs
13003
13346
  */
13004
13347
  readonly orgName: string;
13005
13348
  /**
13006
- * name of the cluster
13349
+ *
13007
13350
  * @type {string}
13008
- * @memberof SharedApiExportParameterTemplateFromCluster
13351
+ * @memberof SharedApiExportLokiClusterLogs
13009
13352
  */
13010
13353
  readonly clusterName: string;
13011
13354
  /**
13012
- *
13013
- * @type {ParamTplCreateFromCluster}
13014
- * @memberof SharedApiExportParameterTemplateFromCluster
13355
+ * Log type: runninglog, errorlog, slow, auditlog
13356
+ * @type {string}
13357
+ * @memberof SharedApiExportLokiClusterLogs
13015
13358
  */
13016
- readonly body: ParamTplCreateFromCluster;
13017
- }
13018
- /**
13019
- * Request parameters for exposeCluster operation in SharedApi.
13020
- * @export
13359
+ readonly logType: string;
13360
+ /**
13361
+ * Start time in epoch nanoseconds. If omitted, exports from the earliest available log
13362
+ * @type {number}
13363
+ * @memberof SharedApiExportLokiClusterLogs
13364
+ */
13365
+ readonly startTime?: number;
13366
+ /**
13367
+ * End time in epoch nanoseconds. If omitted, exports up to the latest available log
13368
+ * @type {number}
13369
+ * @memberof SharedApiExportLokiClusterLogs
13370
+ */
13371
+ readonly endTime?: number;
13372
+ /**
13373
+ * Export format: csv, raw, jsonl
13374
+ * @type {string}
13375
+ * @memberof SharedApiExportLokiClusterLogs
13376
+ */
13377
+ readonly format?: string;
13378
+ /**
13379
+ *
13380
+ * @type {string}
13381
+ * @memberof SharedApiExportLokiClusterLogs
13382
+ */
13383
+ readonly query?: string;
13384
+ /**
13385
+ *
13386
+ * @type {string}
13387
+ * @memberof SharedApiExportLokiClusterLogs
13388
+ */
13389
+ readonly filename?: string;
13390
+ /**
13391
+ *
13392
+ * @type {string}
13393
+ * @memberof SharedApiExportLokiClusterLogs
13394
+ */
13395
+ readonly componentName?: string;
13396
+ /**
13397
+ *
13398
+ * @type {string}
13399
+ * @memberof SharedApiExportLokiClusterLogs
13400
+ */
13401
+ readonly instanceName?: string;
13402
+ /**
13403
+ * Maximum number of lines to export. Defaults to 100000 if omitted
13404
+ * @type {number}
13405
+ * @memberof SharedApiExportLokiClusterLogs
13406
+ */
13407
+ readonly maxLines?: number;
13408
+ }
13409
+ /**
13410
+ * Request parameters for exportParameterTemplateFromCluster operation in SharedApi.
13411
+ * @export
13412
+ * @interface SharedApiExportParameterTemplateFromClusterRequest
13413
+ */
13414
+ export interface SharedApiExportParameterTemplateFromClusterRequest {
13415
+ /**
13416
+ * name of the Org
13417
+ * @type {string}
13418
+ * @memberof SharedApiExportParameterTemplateFromCluster
13419
+ */
13420
+ readonly orgName: string;
13421
+ /**
13422
+ * name of the cluster
13423
+ * @type {string}
13424
+ * @memberof SharedApiExportParameterTemplateFromCluster
13425
+ */
13426
+ readonly clusterName: string;
13427
+ /**
13428
+ *
13429
+ * @type {ParamTplCreateFromCluster}
13430
+ * @memberof SharedApiExportParameterTemplateFromCluster
13431
+ */
13432
+ readonly body: ParamTplCreateFromCluster;
13433
+ }
13434
+ /**
13435
+ * Request parameters for exposeCluster operation in SharedApi.
13436
+ * @export
13021
13437
  * @interface SharedApiExposeClusterRequest
13022
13438
  */
13023
13439
  export interface SharedApiExposeClusterRequest {
@@ -14031,6 +14447,49 @@ export interface SharedApiGetKafkaTopicsRequest {
14031
14447
  */
14032
14448
  readonly onlyNames?: boolean;
14033
14449
  }
14450
+ /**
14451
+ * Request parameters for getLokiSlowLogStats operation in SharedApi.
14452
+ * @export
14453
+ * @interface SharedApiGetLokiSlowLogStatsRequest
14454
+ */
14455
+ export interface SharedApiGetLokiSlowLogStatsRequest {
14456
+ /**
14457
+ *
14458
+ * @type {string}
14459
+ * @memberof SharedApiGetLokiSlowLogStats
14460
+ */
14461
+ readonly orgName: string;
14462
+ /**
14463
+ *
14464
+ * @type {string}
14465
+ * @memberof SharedApiGetLokiSlowLogStats
14466
+ */
14467
+ readonly clusterName: string;
14468
+ /**
14469
+ * Start time in epoch nanoseconds.
14470
+ * @type {string}
14471
+ * @memberof SharedApiGetLokiSlowLogStats
14472
+ */
14473
+ readonly startTime: string;
14474
+ /**
14475
+ * End time in epoch nanoseconds.
14476
+ * @type {string}
14477
+ * @memberof SharedApiGetLokiSlowLogStats
14478
+ */
14479
+ readonly endTime: string;
14480
+ /**
14481
+ *
14482
+ * @type {string}
14483
+ * @memberof SharedApiGetLokiSlowLogStats
14484
+ */
14485
+ readonly componentName?: string;
14486
+ /**
14487
+ *
14488
+ * @type {string}
14489
+ * @memberof SharedApiGetLokiSlowLogStats
14490
+ */
14491
+ readonly instanceName?: string;
14492
+ }
14034
14493
  /**
14035
14494
  * Request parameters for getMilvusRole operation in SharedApi.
14036
14495
  * @export
@@ -17049,6 +17508,317 @@ export interface SharedApiQueryLogHitsRequest {
17049
17508
  */
17050
17509
  readonly unclassifiedOnly?: boolean;
17051
17510
  }
17511
+ /**
17512
+ * Request parameters for queryLokiAuditLogs operation in SharedApi.
17513
+ * @export
17514
+ * @interface SharedApiQueryLokiAuditLogsRequest
17515
+ */
17516
+ export interface SharedApiQueryLokiAuditLogsRequest {
17517
+ /**
17518
+ *
17519
+ * @type {string}
17520
+ * @memberof SharedApiQueryLokiAuditLogs
17521
+ */
17522
+ readonly orgName: string;
17523
+ /**
17524
+ *
17525
+ * @type {string}
17526
+ * @memberof SharedApiQueryLokiAuditLogs
17527
+ */
17528
+ readonly clusterName: string;
17529
+ /**
17530
+ * Start time in epoch nanoseconds.
17531
+ * @type {string}
17532
+ * @memberof SharedApiQueryLokiAuditLogs
17533
+ */
17534
+ readonly startTime: string;
17535
+ /**
17536
+ * End time in epoch nanoseconds.
17537
+ * @type {string}
17538
+ * @memberof SharedApiQueryLokiAuditLogs
17539
+ */
17540
+ readonly endTime: string;
17541
+ /**
17542
+ *
17543
+ * @type {string}
17544
+ * @memberof SharedApiQueryLokiAuditLogs
17545
+ */
17546
+ readonly limit?: string;
17547
+ /**
17548
+ *
17549
+ * @type {string}
17550
+ * @memberof SharedApiQueryLokiAuditLogs
17551
+ */
17552
+ readonly componentName?: string;
17553
+ /**
17554
+ *
17555
+ * @type {string}
17556
+ * @memberof SharedApiQueryLokiAuditLogs
17557
+ */
17558
+ readonly instanceName?: string;
17559
+ /**
17560
+ *
17561
+ * @type {SortType}
17562
+ * @memberof SharedApiQueryLokiAuditLogs
17563
+ */
17564
+ readonly sortType?: SortType;
17565
+ }
17566
+ /**
17567
+ * Request parameters for queryLokiErrorLogs operation in SharedApi.
17568
+ * @export
17569
+ * @interface SharedApiQueryLokiErrorLogsRequest
17570
+ */
17571
+ export interface SharedApiQueryLokiErrorLogsRequest {
17572
+ /**
17573
+ *
17574
+ * @type {string}
17575
+ * @memberof SharedApiQueryLokiErrorLogs
17576
+ */
17577
+ readonly orgName: string;
17578
+ /**
17579
+ *
17580
+ * @type {string}
17581
+ * @memberof SharedApiQueryLokiErrorLogs
17582
+ */
17583
+ readonly clusterName: string;
17584
+ /**
17585
+ * Start time in epoch nanoseconds.
17586
+ * @type {string}
17587
+ * @memberof SharedApiQueryLokiErrorLogs
17588
+ */
17589
+ readonly startTime: string;
17590
+ /**
17591
+ * End time in epoch nanoseconds.
17592
+ * @type {string}
17593
+ * @memberof SharedApiQueryLokiErrorLogs
17594
+ */
17595
+ readonly endTime: string;
17596
+ /**
17597
+ *
17598
+ * @type {string}
17599
+ * @memberof SharedApiQueryLokiErrorLogs
17600
+ */
17601
+ readonly componentName?: string;
17602
+ /**
17603
+ *
17604
+ * @type {string}
17605
+ * @memberof SharedApiQueryLokiErrorLogs
17606
+ */
17607
+ readonly instanceName?: string;
17608
+ /**
17609
+ *
17610
+ * @type {string}
17611
+ * @memberof SharedApiQueryLokiErrorLogs
17612
+ */
17613
+ readonly filename?: string;
17614
+ /**
17615
+ *
17616
+ * @type {string}
17617
+ * @memberof SharedApiQueryLokiErrorLogs
17618
+ */
17619
+ readonly query?: string;
17620
+ /**
17621
+ *
17622
+ * @type {string}
17623
+ * @memberof SharedApiQueryLokiErrorLogs
17624
+ */
17625
+ readonly limit?: string;
17626
+ /**
17627
+ *
17628
+ * @type {SortType}
17629
+ * @memberof SharedApiQueryLokiErrorLogs
17630
+ */
17631
+ readonly sortType?: SortType;
17632
+ }
17633
+ /**
17634
+ * Request parameters for queryLokiPodLogs operation in SharedApi.
17635
+ * @export
17636
+ * @interface SharedApiQueryLokiPodLogsRequest
17637
+ */
17638
+ export interface SharedApiQueryLokiPodLogsRequest {
17639
+ /**
17640
+ *
17641
+ * @type {string}
17642
+ * @memberof SharedApiQueryLokiPodLogs
17643
+ */
17644
+ readonly orgName: string;
17645
+ /**
17646
+ *
17647
+ * @type {string}
17648
+ * @memberof SharedApiQueryLokiPodLogs
17649
+ */
17650
+ readonly clusterName: string;
17651
+ /**
17652
+ * Start time in epoch nanoseconds.
17653
+ * @type {string}
17654
+ * @memberof SharedApiQueryLokiPodLogs
17655
+ */
17656
+ readonly startTime: string;
17657
+ /**
17658
+ * End time in epoch nanoseconds.
17659
+ * @type {string}
17660
+ * @memberof SharedApiQueryLokiPodLogs
17661
+ */
17662
+ readonly endTime: string;
17663
+ /**
17664
+ *
17665
+ * @type {string}
17666
+ * @memberof SharedApiQueryLokiPodLogs
17667
+ */
17668
+ readonly componentName?: string;
17669
+ /**
17670
+ *
17671
+ * @type {string}
17672
+ * @memberof SharedApiQueryLokiPodLogs
17673
+ */
17674
+ readonly instanceName?: string;
17675
+ /**
17676
+ *
17677
+ * @type {string}
17678
+ * @memberof SharedApiQueryLokiPodLogs
17679
+ */
17680
+ readonly filename?: string;
17681
+ /**
17682
+ *
17683
+ * @type {string}
17684
+ * @memberof SharedApiQueryLokiPodLogs
17685
+ */
17686
+ readonly limit?: string;
17687
+ /**
17688
+ *
17689
+ * @type {SortType}
17690
+ * @memberof SharedApiQueryLokiPodLogs
17691
+ */
17692
+ readonly sortType?: SortType;
17693
+ }
17694
+ /**
17695
+ * Request parameters for queryLokiRunningLogs operation in SharedApi.
17696
+ * @export
17697
+ * @interface SharedApiQueryLokiRunningLogsRequest
17698
+ */
17699
+ export interface SharedApiQueryLokiRunningLogsRequest {
17700
+ /**
17701
+ *
17702
+ * @type {string}
17703
+ * @memberof SharedApiQueryLokiRunningLogs
17704
+ */
17705
+ readonly orgName: string;
17706
+ /**
17707
+ *
17708
+ * @type {string}
17709
+ * @memberof SharedApiQueryLokiRunningLogs
17710
+ */
17711
+ readonly clusterName: string;
17712
+ /**
17713
+ * Start time in epoch nanoseconds.
17714
+ * @type {string}
17715
+ * @memberof SharedApiQueryLokiRunningLogs
17716
+ */
17717
+ readonly startTime: string;
17718
+ /**
17719
+ * End time in epoch nanoseconds.
17720
+ * @type {string}
17721
+ * @memberof SharedApiQueryLokiRunningLogs
17722
+ */
17723
+ readonly endTime: string;
17724
+ /**
17725
+ *
17726
+ * @type {string}
17727
+ * @memberof SharedApiQueryLokiRunningLogs
17728
+ */
17729
+ readonly componentName?: string;
17730
+ /**
17731
+ *
17732
+ * @type {string}
17733
+ * @memberof SharedApiQueryLokiRunningLogs
17734
+ */
17735
+ readonly instanceName?: string;
17736
+ /**
17737
+ *
17738
+ * @type {string}
17739
+ * @memberof SharedApiQueryLokiRunningLogs
17740
+ */
17741
+ readonly filename?: string;
17742
+ /**
17743
+ *
17744
+ * @type {string}
17745
+ * @memberof SharedApiQueryLokiRunningLogs
17746
+ */
17747
+ readonly limit?: string;
17748
+ /**
17749
+ *
17750
+ * @type {string}
17751
+ * @memberof SharedApiQueryLokiRunningLogs
17752
+ */
17753
+ readonly query?: string;
17754
+ /**
17755
+ *
17756
+ * @type {SortType}
17757
+ * @memberof SharedApiQueryLokiRunningLogs
17758
+ */
17759
+ readonly sortType?: SortType;
17760
+ }
17761
+ /**
17762
+ * Request parameters for queryLokiSlowLogs operation in SharedApi.
17763
+ * @export
17764
+ * @interface SharedApiQueryLokiSlowLogsRequest
17765
+ */
17766
+ export interface SharedApiQueryLokiSlowLogsRequest {
17767
+ /**
17768
+ *
17769
+ * @type {string}
17770
+ * @memberof SharedApiQueryLokiSlowLogs
17771
+ */
17772
+ readonly orgName: string;
17773
+ /**
17774
+ *
17775
+ * @type {string}
17776
+ * @memberof SharedApiQueryLokiSlowLogs
17777
+ */
17778
+ readonly clusterName: string;
17779
+ /**
17780
+ * Start time in epoch nanoseconds.
17781
+ * @type {string}
17782
+ * @memberof SharedApiQueryLokiSlowLogs
17783
+ */
17784
+ readonly startTime: string;
17785
+ /**
17786
+ * End time in epoch nanoseconds.
17787
+ * @type {string}
17788
+ * @memberof SharedApiQueryLokiSlowLogs
17789
+ */
17790
+ readonly endTime: string;
17791
+ /**
17792
+ *
17793
+ * @type {string}
17794
+ * @memberof SharedApiQueryLokiSlowLogs
17795
+ */
17796
+ readonly componentName?: string;
17797
+ /**
17798
+ *
17799
+ * @type {string}
17800
+ * @memberof SharedApiQueryLokiSlowLogs
17801
+ */
17802
+ readonly instanceName?: string;
17803
+ /**
17804
+ *
17805
+ * @type {string}
17806
+ * @memberof SharedApiQueryLokiSlowLogs
17807
+ */
17808
+ readonly query?: string;
17809
+ /**
17810
+ *
17811
+ * @type {string}
17812
+ * @memberof SharedApiQueryLokiSlowLogs
17813
+ */
17814
+ readonly limit?: string;
17815
+ /**
17816
+ *
17817
+ * @type {SortType}
17818
+ * @memberof SharedApiQueryLokiSlowLogs
17819
+ */
17820
+ readonly sortType?: SortType;
17821
+ }
17052
17822
  /**
17053
17823
  * Request parameters for queryPodLogs operation in SharedApi.
17054
17824
  * @export
@@ -19707,6 +20477,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
19707
20477
  * @memberof SharedApi
19708
20478
  */
19709
20479
  explainSlowLogTemplate(requestParameters: SharedApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterSlowLogExplainResponse, any, {}>>;
20480
+ /**
20481
+ * Export logs through the Loki compatibility API.
20482
+ * @summary Export Loki logs
20483
+ * @param {SharedApiExportLokiClusterLogsRequest} requestParameters Request parameters.
20484
+ * @param {*} [options] Override http request option.
20485
+ * @throws {RequiredError}
20486
+ * @memberof SharedApi
20487
+ */
20488
+ exportLokiClusterLogs(requestParameters: SharedApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
19710
20489
  /**
19711
20490
  *
19712
20491
  * @summary Export parameter template from cluster
@@ -20060,6 +20839,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
20060
20839
  * @memberof SharedApi
20061
20840
  */
20062
20841
  getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Topic[], any, {}>>;
20842
+ /**
20843
+ * Query slow-log statistics through the Loki compatibility API.
20844
+ * @summary Query Loki slow-log statistics
20845
+ * @param {SharedApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
20846
+ * @param {*} [options] Override http request option.
20847
+ * @throws {RequiredError}
20848
+ * @memberof SharedApi
20849
+ */
20850
+ getLokiSlowLogStats(requestParameters: SharedApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterSlowLogStats, any, {}>>;
20063
20851
  /**
20064
20852
  * Get a Milvus native role and its privilege grants.
20065
20853
  * @summary Get Milvus role
@@ -21025,6 +21813,51 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
21025
21813
  * @memberof SharedApi
21026
21814
  */
21027
21815
  queryLogHits(requestParameters: SharedApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogHitsResponse, any, {}>>;
21816
+ /**
21817
+ * Query audit logs through the Loki compatibility API.
21818
+ * @summary Query Loki audit logs
21819
+ * @param {SharedApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
21820
+ * @param {*} [options] Override http request option.
21821
+ * @throws {RequiredError}
21822
+ * @memberof SharedApi
21823
+ */
21824
+ queryLokiAuditLogs(requestParameters: SharedApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterExecutionLog, any, {}>>;
21825
+ /**
21826
+ * Query error logs through the Loki compatibility API.
21827
+ * @summary Query Loki error logs
21828
+ * @param {SharedApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
21829
+ * @param {*} [options] Override http request option.
21830
+ * @throws {RequiredError}
21831
+ * @memberof SharedApi
21832
+ */
21833
+ queryLokiErrorLogs(requestParameters: SharedApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
21834
+ /**
21835
+ * Query pod logs through the Loki compatibility API.
21836
+ * @summary Query Loki pod logs
21837
+ * @param {SharedApiQueryLokiPodLogsRequest} requestParameters Request parameters.
21838
+ * @param {*} [options] Override http request option.
21839
+ * @throws {RequiredError}
21840
+ * @memberof SharedApi
21841
+ */
21842
+ queryLokiPodLogs(requestParameters: SharedApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
21843
+ /**
21844
+ * Query running logs through the Loki compatibility API.
21845
+ * @summary Query Loki running logs
21846
+ * @param {SharedApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
21847
+ * @param {*} [options] Override http request option.
21848
+ * @throws {RequiredError}
21849
+ * @memberof SharedApi
21850
+ */
21851
+ queryLokiRunningLogs(requestParameters: SharedApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
21852
+ /**
21853
+ * Query slow logs through the Loki compatibility API.
21854
+ * @summary Query Loki slow logs
21855
+ * @param {SharedApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
21856
+ * @param {*} [options] Override http request option.
21857
+ * @throws {RequiredError}
21858
+ * @memberof SharedApi
21859
+ */
21860
+ queryLokiSlowLogs(requestParameters: SharedApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterExecutionLog, any, {}>>;
21028
21861
  /**
21029
21862
  * Query pod logs of a cluster
21030
21863
  * @summary Query cluster pod logs