kb-cloud-client-typescript 2.3.0-alpha.97 → 2.3.0-alpha.98

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 (42) hide show
  1. package/dist/adminapi/apis/cluster-log-api.d.ts +114 -2
  2. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-log-api.js +75 -5
  4. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +114 -2
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +75 -5
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/models/storage-create.d.ts +0 -6
  10. package/dist/adminapi/models/storage-create.d.ts.map +1 -1
  11. package/dist/adminapi/models/storage-update.d.ts +0 -6
  12. package/dist/adminapi/models/storage-update.d.ts.map +1 -1
  13. package/dist/adminapi/models/storage.d.ts +0 -6
  14. package/dist/adminapi/models/storage.d.ts.map +1 -1
  15. package/dist/internalapi/models/storage-create.d.ts +0 -6
  16. package/dist/internalapi/models/storage-create.d.ts.map +1 -1
  17. package/dist/internalapi/models/storage.d.ts +0 -6
  18. package/dist/internalapi/models/storage.d.ts.map +1 -1
  19. package/dist/openapi/apis/cluster-log-api.d.ts +114 -2
  20. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  21. package/dist/openapi/apis/cluster-log-api.js +75 -5
  22. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  23. package/dist/openapi/apis/shared-api.d.ts +114 -2
  24. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  25. package/dist/openapi/apis/shared-api.js +75 -5
  26. package/dist/openapi/apis/shared-api.js.map +1 -1
  27. package/dist/openapi/models/storage.d.ts +0 -6
  28. package/dist/openapi/models/storage.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/adminapi/apis/cluster-log-api.ts +187 -5
  31. package/src/adminapi/apis/shared-api.ts +187 -5
  32. package/src/adminapi/models/storage-create.ts +0 -6
  33. package/src/adminapi/models/storage-update.ts +0 -6
  34. package/src/adminapi/models/storage.ts +0 -6
  35. package/src/adminapi.yaml +68 -12
  36. package/src/internalapi/models/storage-create.ts +0 -6
  37. package/src/internalapi/models/storage.ts +0 -6
  38. package/src/internalapi.yaml +0 -8
  39. package/src/openapi/apis/cluster-log-api.ts +187 -5
  40. package/src/openapi/apis/shared-api.ts +187 -5
  41. package/src/openapi/models/storage.ts +0 -6
  42. package/src/openapi.yaml +68 -4
@@ -80,11 +80,5 @@ export interface Storage {
80
80
  * @memberof Storage
81
81
  */
82
82
  'tags'?: { [key: string]: string; };
83
- /**
84
- *
85
- * @type {Array<string>}
86
- * @memberof Storage
87
- */
88
- 'engines'?: Array<string>;
89
83
  }
90
84
 
@@ -1179,10 +1179,6 @@ components:
1179
1179
  description: the tags for the storage
1180
1180
  additionalProperties:
1181
1181
  type: string
1182
- engines:
1183
- type: array
1184
- items:
1185
- type: string
1186
1182
  staticCluster:
1187
1183
  properties:
1188
1184
  replicas:
@@ -1742,10 +1738,6 @@ components:
1742
1738
  description: the tags for the storage
1743
1739
  additionalProperties:
1744
1740
  type: string
1745
- engines:
1746
- type: array
1747
- items:
1748
- type: string
1749
1741
  environmentType:
1750
1742
  type: string
1751
1743
  description: Type of this environment
@@ -849,10 +849,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
849
849
  * @param {string} [componentName]
850
850
  * @param {string} [instanceName]
851
851
  * @param {string} [query]
852
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
853
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
854
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
855
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
856
+ * @param {number} [minRowsExamined]
857
+ * @param {number} [maxRowsExamined]
858
+ * @param {number} [minRowsSent]
859
+ * @param {number} [maxRowsSent]
860
+ * @param {string} [dbName]
861
+ * @param {string} [userName]
862
+ * @param {string} [clientIp]
863
+ * @param {string} [appName]
864
+ * @param {string} [templateId]
865
+ * @param {boolean} [unclassifiedOnly]
852
866
  * @param {*} [options] Override http request option.
853
867
  * @throws {RequiredError}
854
868
  */
855
- queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
869
+ 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> => {
856
870
  // verify required parameter 'orgName' is not null or undefined
857
871
  assertParamExists('queryLogHits', 'orgName', orgName)
858
872
  // verify required parameter 'clusterName' is not null or undefined
@@ -910,6 +924,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
910
924
  localVarQueryParameter['query'] = query;
911
925
  }
912
926
 
927
+ if (minExecutionTime !== undefined) {
928
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
929
+ }
930
+
931
+ if (maxExecutionTime !== undefined) {
932
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
933
+ }
934
+
935
+ if (minLockTime !== undefined) {
936
+ localVarQueryParameter['minLockTime'] = minLockTime;
937
+ }
938
+
939
+ if (maxLockTime !== undefined) {
940
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
941
+ }
942
+
943
+ if (minRowsExamined !== undefined) {
944
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
945
+ }
946
+
947
+ if (maxRowsExamined !== undefined) {
948
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
949
+ }
950
+
951
+ if (minRowsSent !== undefined) {
952
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
953
+ }
954
+
955
+ if (maxRowsSent !== undefined) {
956
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
957
+ }
958
+
959
+ if (dbName !== undefined) {
960
+ localVarQueryParameter['dbName'] = dbName;
961
+ }
962
+
963
+ if (userName !== undefined) {
964
+ localVarQueryParameter['userName'] = userName;
965
+ }
966
+
967
+ if (clientIp !== undefined) {
968
+ localVarQueryParameter['clientIp'] = clientIp;
969
+ }
970
+
971
+ if (appName !== undefined) {
972
+ localVarQueryParameter['appName'] = appName;
973
+ }
974
+
975
+ if (templateId !== undefined) {
976
+ localVarQueryParameter['templateId'] = templateId;
977
+ }
978
+
979
+ if (unclassifiedOnly !== undefined) {
980
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
981
+ }
982
+
913
983
 
914
984
 
915
985
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1741,11 +1811,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1741
1811
  * @param {string} [componentName]
1742
1812
  * @param {string} [instanceName]
1743
1813
  * @param {string} [query]
1814
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1815
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1816
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1817
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1818
+ * @param {number} [minRowsExamined]
1819
+ * @param {number} [maxRowsExamined]
1820
+ * @param {number} [minRowsSent]
1821
+ * @param {number} [maxRowsSent]
1822
+ * @param {string} [dbName]
1823
+ * @param {string} [userName]
1824
+ * @param {string} [clientIp]
1825
+ * @param {string} [appName]
1826
+ * @param {string} [templateId]
1827
+ * @param {boolean} [unclassifiedOnly]
1744
1828
  * @param {*} [options] Override http request option.
1745
1829
  * @throws {RequiredError}
1746
1830
  */
1747
- 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>> {
1748
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
1831
+ 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>> {
1832
+ 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);
1749
1833
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1750
1834
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
1751
1835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2002,7 +2086,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
2002
2086
  * @throws {RequiredError}
2003
2087
  */
2004
2088
  queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
2005
- 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));
2089
+ 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));
2006
2090
  },
2007
2091
  /**
2008
2092
  * Query pod logs of a cluster
@@ -3018,6 +3102,104 @@ export interface ClusterLogApiQueryLogHitsRequest {
3018
3102
  * @memberof ClusterLogApiQueryLogHits
3019
3103
  */
3020
3104
  readonly query?: string
3105
+
3106
+ /**
3107
+ * Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
3108
+ * @type {number}
3109
+ * @memberof ClusterLogApiQueryLogHits
3110
+ */
3111
+ readonly minExecutionTime?: number
3112
+
3113
+ /**
3114
+ * Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
3115
+ * @type {number}
3116
+ * @memberof ClusterLogApiQueryLogHits
3117
+ */
3118
+ readonly maxExecutionTime?: number
3119
+
3120
+ /**
3121
+ * Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
3122
+ * @type {number}
3123
+ * @memberof ClusterLogApiQueryLogHits
3124
+ */
3125
+ readonly minLockTime?: number
3126
+
3127
+ /**
3128
+ * Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
3129
+ * @type {number}
3130
+ * @memberof ClusterLogApiQueryLogHits
3131
+ */
3132
+ readonly maxLockTime?: number
3133
+
3134
+ /**
3135
+ *
3136
+ * @type {number}
3137
+ * @memberof ClusterLogApiQueryLogHits
3138
+ */
3139
+ readonly minRowsExamined?: number
3140
+
3141
+ /**
3142
+ *
3143
+ * @type {number}
3144
+ * @memberof ClusterLogApiQueryLogHits
3145
+ */
3146
+ readonly maxRowsExamined?: number
3147
+
3148
+ /**
3149
+ *
3150
+ * @type {number}
3151
+ * @memberof ClusterLogApiQueryLogHits
3152
+ */
3153
+ readonly minRowsSent?: number
3154
+
3155
+ /**
3156
+ *
3157
+ * @type {number}
3158
+ * @memberof ClusterLogApiQueryLogHits
3159
+ */
3160
+ readonly maxRowsSent?: number
3161
+
3162
+ /**
3163
+ *
3164
+ * @type {string}
3165
+ * @memberof ClusterLogApiQueryLogHits
3166
+ */
3167
+ readonly dbName?: string
3168
+
3169
+ /**
3170
+ *
3171
+ * @type {string}
3172
+ * @memberof ClusterLogApiQueryLogHits
3173
+ */
3174
+ readonly userName?: string
3175
+
3176
+ /**
3177
+ *
3178
+ * @type {string}
3179
+ * @memberof ClusterLogApiQueryLogHits
3180
+ */
3181
+ readonly clientIp?: string
3182
+
3183
+ /**
3184
+ *
3185
+ * @type {string}
3186
+ * @memberof ClusterLogApiQueryLogHits
3187
+ */
3188
+ readonly appName?: string
3189
+
3190
+ /**
3191
+ *
3192
+ * @type {string}
3193
+ * @memberof ClusterLogApiQueryLogHits
3194
+ */
3195
+ readonly templateId?: string
3196
+
3197
+ /**
3198
+ *
3199
+ * @type {boolean}
3200
+ * @memberof ClusterLogApiQueryLogHits
3201
+ */
3202
+ readonly unclassifiedOnly?: boolean
3021
3203
  }
3022
3204
 
3023
3205
  /**
@@ -3767,7 +3949,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
3767
3949
  * @memberof ClusterLogApi
3768
3950
  */
3769
3951
  public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
3770
- 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));
3952
+ 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));
3771
3953
  }
3772
3954
 
3773
3955
  /**
@@ -9548,10 +9548,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9548
9548
  * @param {string} [componentName]
9549
9549
  * @param {string} [instanceName]
9550
9550
  * @param {string} [query]
9551
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
9552
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
9553
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
9554
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
9555
+ * @param {number} [minRowsExamined]
9556
+ * @param {number} [maxRowsExamined]
9557
+ * @param {number} [minRowsSent]
9558
+ * @param {number} [maxRowsSent]
9559
+ * @param {string} [dbName]
9560
+ * @param {string} [userName]
9561
+ * @param {string} [clientIp]
9562
+ * @param {string} [appName]
9563
+ * @param {string} [templateId]
9564
+ * @param {boolean} [unclassifiedOnly]
9551
9565
  * @param {*} [options] Override http request option.
9552
9566
  * @throws {RequiredError}
9553
9567
  */
9554
- queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9568
+ 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> => {
9555
9569
  // verify required parameter 'orgName' is not null or undefined
9556
9570
  assertParamExists('queryLogHits', 'orgName', orgName)
9557
9571
  // verify required parameter 'clusterName' is not null or undefined
@@ -9609,6 +9623,62 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9609
9623
  localVarQueryParameter['query'] = query;
9610
9624
  }
9611
9625
 
9626
+ if (minExecutionTime !== undefined) {
9627
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
9628
+ }
9629
+
9630
+ if (maxExecutionTime !== undefined) {
9631
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
9632
+ }
9633
+
9634
+ if (minLockTime !== undefined) {
9635
+ localVarQueryParameter['minLockTime'] = minLockTime;
9636
+ }
9637
+
9638
+ if (maxLockTime !== undefined) {
9639
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
9640
+ }
9641
+
9642
+ if (minRowsExamined !== undefined) {
9643
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
9644
+ }
9645
+
9646
+ if (maxRowsExamined !== undefined) {
9647
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
9648
+ }
9649
+
9650
+ if (minRowsSent !== undefined) {
9651
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
9652
+ }
9653
+
9654
+ if (maxRowsSent !== undefined) {
9655
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
9656
+ }
9657
+
9658
+ if (dbName !== undefined) {
9659
+ localVarQueryParameter['dbName'] = dbName;
9660
+ }
9661
+
9662
+ if (userName !== undefined) {
9663
+ localVarQueryParameter['userName'] = userName;
9664
+ }
9665
+
9666
+ if (clientIp !== undefined) {
9667
+ localVarQueryParameter['clientIp'] = clientIp;
9668
+ }
9669
+
9670
+ if (appName !== undefined) {
9671
+ localVarQueryParameter['appName'] = appName;
9672
+ }
9673
+
9674
+ if (templateId !== undefined) {
9675
+ localVarQueryParameter['templateId'] = templateId;
9676
+ }
9677
+
9678
+ if (unclassifiedOnly !== undefined) {
9679
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
9680
+ }
9681
+
9612
9682
 
9613
9683
 
9614
9684
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15513,11 +15583,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
15513
15583
  * @param {string} [componentName]
15514
15584
  * @param {string} [instanceName]
15515
15585
  * @param {string} [query]
15586
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
15587
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
15588
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
15589
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
15590
+ * @param {number} [minRowsExamined]
15591
+ * @param {number} [maxRowsExamined]
15592
+ * @param {number} [minRowsSent]
15593
+ * @param {number} [maxRowsSent]
15594
+ * @param {string} [dbName]
15595
+ * @param {string} [userName]
15596
+ * @param {string} [clientIp]
15597
+ * @param {string} [appName]
15598
+ * @param {string} [templateId]
15599
+ * @param {boolean} [unclassifiedOnly]
15516
15600
  * @param {*} [options] Override http request option.
15517
15601
  * @throws {RequiredError}
15518
15602
  */
15519
- 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>> {
15520
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
15603
+ 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>> {
15604
+ 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);
15521
15605
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15522
15606
  const localVarOperationServerBasePath = operationServerMap['SharedApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
15523
15607
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18332,7 +18416,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18332
18416
  * @throws {RequiredError}
18333
18417
  */
18334
18418
  queryLogHits(requestParameters: SharedApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
18335
- 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));
18419
+ 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));
18336
18420
  },
18337
18421
  /**
18338
18422
  * Query pod logs of a cluster
@@ -27210,6 +27294,104 @@ export interface SharedApiQueryLogHitsRequest {
27210
27294
  * @memberof SharedApiQueryLogHits
27211
27295
  */
27212
27296
  readonly query?: string
27297
+
27298
+ /**
27299
+ * Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
27300
+ * @type {number}
27301
+ * @memberof SharedApiQueryLogHits
27302
+ */
27303
+ readonly minExecutionTime?: number
27304
+
27305
+ /**
27306
+ * Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
27307
+ * @type {number}
27308
+ * @memberof SharedApiQueryLogHits
27309
+ */
27310
+ readonly maxExecutionTime?: number
27311
+
27312
+ /**
27313
+ * Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
27314
+ * @type {number}
27315
+ * @memberof SharedApiQueryLogHits
27316
+ */
27317
+ readonly minLockTime?: number
27318
+
27319
+ /**
27320
+ * Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
27321
+ * @type {number}
27322
+ * @memberof SharedApiQueryLogHits
27323
+ */
27324
+ readonly maxLockTime?: number
27325
+
27326
+ /**
27327
+ *
27328
+ * @type {number}
27329
+ * @memberof SharedApiQueryLogHits
27330
+ */
27331
+ readonly minRowsExamined?: number
27332
+
27333
+ /**
27334
+ *
27335
+ * @type {number}
27336
+ * @memberof SharedApiQueryLogHits
27337
+ */
27338
+ readonly maxRowsExamined?: number
27339
+
27340
+ /**
27341
+ *
27342
+ * @type {number}
27343
+ * @memberof SharedApiQueryLogHits
27344
+ */
27345
+ readonly minRowsSent?: number
27346
+
27347
+ /**
27348
+ *
27349
+ * @type {number}
27350
+ * @memberof SharedApiQueryLogHits
27351
+ */
27352
+ readonly maxRowsSent?: number
27353
+
27354
+ /**
27355
+ *
27356
+ * @type {string}
27357
+ * @memberof SharedApiQueryLogHits
27358
+ */
27359
+ readonly dbName?: string
27360
+
27361
+ /**
27362
+ *
27363
+ * @type {string}
27364
+ * @memberof SharedApiQueryLogHits
27365
+ */
27366
+ readonly userName?: string
27367
+
27368
+ /**
27369
+ *
27370
+ * @type {string}
27371
+ * @memberof SharedApiQueryLogHits
27372
+ */
27373
+ readonly clientIp?: string
27374
+
27375
+ /**
27376
+ *
27377
+ * @type {string}
27378
+ * @memberof SharedApiQueryLogHits
27379
+ */
27380
+ readonly appName?: string
27381
+
27382
+ /**
27383
+ *
27384
+ * @type {string}
27385
+ * @memberof SharedApiQueryLogHits
27386
+ */
27387
+ readonly templateId?: string
27388
+
27389
+ /**
27390
+ *
27391
+ * @type {boolean}
27392
+ * @memberof SharedApiQueryLogHits
27393
+ */
27394
+ readonly unclassifiedOnly?: boolean
27213
27395
  }
27214
27396
 
27215
27397
  /**
@@ -31587,7 +31769,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31587
31769
  * @memberof SharedApi
31588
31770
  */
31589
31771
  public queryLogHits(requestParameters: SharedApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
31590
- return SharedApiFp(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));
31772
+ return SharedApiFp(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));
31591
31773
  }
31592
31774
 
31593
31775
  /**
@@ -80,11 +80,5 @@ export interface Storage {
80
80
  * @memberof Storage
81
81
  */
82
82
  'tags'?: { [key: string]: string; };
83
- /**
84
- *
85
- * @type {Array<string>}
86
- * @memberof Storage
87
- */
88
- 'engines'?: Array<string>;
89
83
  }
90
84
 
package/src/openapi.yaml CHANGED
@@ -3160,6 +3160,74 @@ paths:
3160
3160
  name: query
3161
3161
  schema:
3162
3162
  type: string
3163
+ - in: query
3164
+ name: minExecutionTime
3165
+ description: Minimum slow log execution time in seconds. Only applies when logType=slow.
3166
+ schema:
3167
+ type: number
3168
+ format: double
3169
+ - in: query
3170
+ name: maxExecutionTime
3171
+ description: Maximum slow log execution time in seconds. Only applies when logType=slow.
3172
+ schema:
3173
+ type: number
3174
+ format: double
3175
+ - in: query
3176
+ name: minLockTime
3177
+ description: Minimum slow log lock time in seconds. Only applies when logType=slow.
3178
+ schema:
3179
+ type: number
3180
+ format: double
3181
+ - in: query
3182
+ name: maxLockTime
3183
+ description: Maximum slow log lock time in seconds. Only applies when logType=slow.
3184
+ schema:
3185
+ type: number
3186
+ format: double
3187
+ - in: query
3188
+ name: minRowsExamined
3189
+ schema:
3190
+ type: integer
3191
+ format: int64
3192
+ - in: query
3193
+ name: maxRowsExamined
3194
+ schema:
3195
+ type: integer
3196
+ format: int64
3197
+ - in: query
3198
+ name: minRowsSent
3199
+ schema:
3200
+ type: integer
3201
+ format: int64
3202
+ - in: query
3203
+ name: maxRowsSent
3204
+ schema:
3205
+ type: integer
3206
+ format: int64
3207
+ - in: query
3208
+ name: dbName
3209
+ schema:
3210
+ type: string
3211
+ - in: query
3212
+ name: userName
3213
+ schema:
3214
+ type: string
3215
+ - in: query
3216
+ name: clientIp
3217
+ schema:
3218
+ type: string
3219
+ - in: query
3220
+ name: appName
3221
+ schema:
3222
+ type: string
3223
+ - in: query
3224
+ name: templateId
3225
+ schema:
3226
+ type: string
3227
+ - in: query
3228
+ name: unclassifiedOnly
3229
+ schema:
3230
+ type: boolean
3163
3231
  responses:
3164
3232
  '200':
3165
3233
  content:
@@ -29403,10 +29471,6 @@ components:
29403
29471
  description: the tags for the storage
29404
29472
  additionalProperties:
29405
29473
  type: string
29406
- engines:
29407
- type: array
29408
- items:
29409
- type: string
29410
29474
  storageList:
29411
29475
  type: array
29412
29476
  items: