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
@@ -0,0 +1,885 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { ClusterExecutionLog } from '../models';
16
+ import type { ClusterRawLogResponse } from '../models';
17
+ import type { ClusterSlowLogStats } from '../models';
18
+ import type { SortType } from '../models';
19
+ /**
20
+ * ClusterLokiLogApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const ClusterLokiLogApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Export logs through the Loki compatibility API.
26
+ * @summary Export Loki logs
27
+ * @param {string} orgName
28
+ * @param {string} clusterName
29
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
30
+ * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
31
+ * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
32
+ * @param {string} [format] Export format: csv, raw, jsonl
33
+ * @param {string} [query]
34
+ * @param {string} [filename]
35
+ * @param {string} [componentName]
36
+ * @param {string} [instanceName]
37
+ * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ 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>;
42
+ /**
43
+ * Query slow-log statistics through the Loki compatibility API.
44
+ * @summary Query Loki slow-log statistics
45
+ * @param {string} orgName
46
+ * @param {string} clusterName
47
+ * @param {string} startTime Start time in epoch nanoseconds.
48
+ * @param {string} endTime End time in epoch nanoseconds.
49
+ * @param {string} [componentName]
50
+ * @param {string} [instanceName]
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ getLokiSlowLogStats: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Query audit logs through the Loki compatibility API.
57
+ * @summary Query Loki audit logs
58
+ * @param {string} orgName
59
+ * @param {string} clusterName
60
+ * @param {string} startTime Start time in epoch nanoseconds.
61
+ * @param {string} endTime End time in epoch nanoseconds.
62
+ * @param {string} [limit]
63
+ * @param {string} [componentName]
64
+ * @param {string} [instanceName]
65
+ * @param {SortType} [sortType]
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ queryLokiAuditLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
70
+ /**
71
+ * Query error logs through the Loki compatibility API.
72
+ * @summary Query Loki error logs
73
+ * @param {string} orgName
74
+ * @param {string} clusterName
75
+ * @param {string} startTime Start time in epoch nanoseconds.
76
+ * @param {string} endTime End time in epoch nanoseconds.
77
+ * @param {string} [componentName]
78
+ * @param {string} [instanceName]
79
+ * @param {string} [filename]
80
+ * @param {string} [query]
81
+ * @param {string} [limit]
82
+ * @param {SortType} [sortType]
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ 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>;
87
+ /**
88
+ * Query pod logs through the Loki compatibility API.
89
+ * @summary Query Loki pod logs
90
+ * @param {string} orgName
91
+ * @param {string} clusterName
92
+ * @param {string} startTime Start time in epoch nanoseconds.
93
+ * @param {string} endTime End time in epoch nanoseconds.
94
+ * @param {string} [componentName]
95
+ * @param {string} [instanceName]
96
+ * @param {string} [filename]
97
+ * @param {string} [limit]
98
+ * @param {SortType} [sortType]
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ queryLokiPodLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
+ /**
104
+ * Query running logs through the Loki compatibility API.
105
+ * @summary Query Loki running logs
106
+ * @param {string} orgName
107
+ * @param {string} clusterName
108
+ * @param {string} startTime Start time in epoch nanoseconds.
109
+ * @param {string} endTime End time in epoch nanoseconds.
110
+ * @param {string} [componentName]
111
+ * @param {string} [instanceName]
112
+ * @param {string} [filename]
113
+ * @param {string} [limit]
114
+ * @param {string} [query]
115
+ * @param {SortType} [sortType]
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ 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>;
120
+ /**
121
+ * Query slow logs through the Loki compatibility API.
122
+ * @summary Query Loki slow logs
123
+ * @param {string} orgName
124
+ * @param {string} clusterName
125
+ * @param {string} startTime Start time in epoch nanoseconds.
126
+ * @param {string} endTime End time in epoch nanoseconds.
127
+ * @param {string} [componentName]
128
+ * @param {string} [instanceName]
129
+ * @param {string} [query]
130
+ * @param {string} [limit]
131
+ * @param {SortType} [sortType]
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ queryLokiSlowLogs: (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
+ };
137
+ /**
138
+ * ClusterLokiLogApi - functional programming interface
139
+ * @export
140
+ */
141
+ export declare const ClusterLokiLogApiFp: (configuration?: Configuration) => {
142
+ /**
143
+ * Export logs through the Loki compatibility API.
144
+ * @summary Export Loki logs
145
+ * @param {string} orgName
146
+ * @param {string} clusterName
147
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
148
+ * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
149
+ * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
150
+ * @param {string} [format] Export format: csv, raw, jsonl
151
+ * @param {string} [query]
152
+ * @param {string} [filename]
153
+ * @param {string} [componentName]
154
+ * @param {string} [instanceName]
155
+ * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ 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>>;
160
+ /**
161
+ * Query slow-log statistics through the Loki compatibility API.
162
+ * @summary Query Loki slow-log statistics
163
+ * @param {string} orgName
164
+ * @param {string} clusterName
165
+ * @param {string} startTime Start time in epoch nanoseconds.
166
+ * @param {string} endTime End time in epoch nanoseconds.
167
+ * @param {string} [componentName]
168
+ * @param {string} [instanceName]
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ getLokiSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>>;
173
+ /**
174
+ * Query audit logs through the Loki compatibility API.
175
+ * @summary Query Loki audit logs
176
+ * @param {string} orgName
177
+ * @param {string} clusterName
178
+ * @param {string} startTime Start time in epoch nanoseconds.
179
+ * @param {string} endTime End time in epoch nanoseconds.
180
+ * @param {string} [limit]
181
+ * @param {string} [componentName]
182
+ * @param {string} [instanceName]
183
+ * @param {SortType} [sortType]
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ 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>>;
188
+ /**
189
+ * Query error logs through the Loki compatibility API.
190
+ * @summary Query Loki error logs
191
+ * @param {string} orgName
192
+ * @param {string} clusterName
193
+ * @param {string} startTime Start time in epoch nanoseconds.
194
+ * @param {string} endTime End time in epoch nanoseconds.
195
+ * @param {string} [componentName]
196
+ * @param {string} [instanceName]
197
+ * @param {string} [filename]
198
+ * @param {string} [query]
199
+ * @param {string} [limit]
200
+ * @param {SortType} [sortType]
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ */
204
+ 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>>;
205
+ /**
206
+ * Query pod logs through the Loki compatibility API.
207
+ * @summary Query Loki pod logs
208
+ * @param {string} orgName
209
+ * @param {string} clusterName
210
+ * @param {string} startTime Start time in epoch nanoseconds.
211
+ * @param {string} endTime End time in epoch nanoseconds.
212
+ * @param {string} [componentName]
213
+ * @param {string} [instanceName]
214
+ * @param {string} [filename]
215
+ * @param {string} [limit]
216
+ * @param {SortType} [sortType]
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ 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>>;
221
+ /**
222
+ * Query running logs through the Loki compatibility API.
223
+ * @summary Query Loki running logs
224
+ * @param {string} orgName
225
+ * @param {string} clusterName
226
+ * @param {string} startTime Start time in epoch nanoseconds.
227
+ * @param {string} endTime End time in epoch nanoseconds.
228
+ * @param {string} [componentName]
229
+ * @param {string} [instanceName]
230
+ * @param {string} [filename]
231
+ * @param {string} [limit]
232
+ * @param {string} [query]
233
+ * @param {SortType} [sortType]
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ */
237
+ 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>>;
238
+ /**
239
+ * Query slow logs through the Loki compatibility API.
240
+ * @summary Query Loki slow logs
241
+ * @param {string} orgName
242
+ * @param {string} clusterName
243
+ * @param {string} startTime Start time in epoch nanoseconds.
244
+ * @param {string} endTime End time in epoch nanoseconds.
245
+ * @param {string} [componentName]
246
+ * @param {string} [instanceName]
247
+ * @param {string} [query]
248
+ * @param {string} [limit]
249
+ * @param {SortType} [sortType]
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ 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>>;
254
+ };
255
+ /**
256
+ * ClusterLokiLogApi - factory interface
257
+ * @export
258
+ */
259
+ export declare const ClusterLokiLogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
260
+ /**
261
+ * Export logs through the Loki compatibility API.
262
+ * @summary Export Loki logs
263
+ * @param {ClusterLokiLogApiExportLokiClusterLogsRequest} requestParameters Request parameters.
264
+ * @param {*} [options] Override http request option.
265
+ * @throws {RequiredError}
266
+ */
267
+ exportLokiClusterLogs(requestParameters: ClusterLokiLogApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
268
+ /**
269
+ * Query slow-log statistics through the Loki compatibility API.
270
+ * @summary Query Loki slow-log statistics
271
+ * @param {ClusterLokiLogApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ getLokiSlowLogStats(requestParameters: ClusterLokiLogApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
276
+ /**
277
+ * Query audit logs through the Loki compatibility API.
278
+ * @summary Query Loki audit logs
279
+ * @param {ClusterLokiLogApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ queryLokiAuditLogs(requestParameters: ClusterLokiLogApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
284
+ /**
285
+ * Query error logs through the Loki compatibility API.
286
+ * @summary Query Loki error logs
287
+ * @param {ClusterLokiLogApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ queryLokiErrorLogs(requestParameters: ClusterLokiLogApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
292
+ /**
293
+ * Query pod logs through the Loki compatibility API.
294
+ * @summary Query Loki pod logs
295
+ * @param {ClusterLokiLogApiQueryLokiPodLogsRequest} requestParameters Request parameters.
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ */
299
+ queryLokiPodLogs(requestParameters: ClusterLokiLogApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
300
+ /**
301
+ * Query running logs through the Loki compatibility API.
302
+ * @summary Query Loki running logs
303
+ * @param {ClusterLokiLogApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ queryLokiRunningLogs(requestParameters: ClusterLokiLogApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
308
+ /**
309
+ * Query slow logs through the Loki compatibility API.
310
+ * @summary Query Loki slow logs
311
+ * @param {ClusterLokiLogApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
312
+ * @param {*} [options] Override http request option.
313
+ * @throws {RequiredError}
314
+ */
315
+ queryLokiSlowLogs(requestParameters: ClusterLokiLogApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
316
+ };
317
+ /**
318
+ * ClusterLokiLogApi - interface
319
+ * @export
320
+ * @interface ClusterLokiLogApi
321
+ */
322
+ export interface ClusterLokiLogApiInterface {
323
+ /**
324
+ * Export logs through the Loki compatibility API.
325
+ * @summary Export Loki logs
326
+ * @param {ClusterLokiLogApiExportLokiClusterLogsRequest} requestParameters Request parameters.
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ * @memberof ClusterLokiLogApiInterface
330
+ */
331
+ exportLokiClusterLogs(requestParameters: ClusterLokiLogApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
332
+ /**
333
+ * Query slow-log statistics through the Loki compatibility API.
334
+ * @summary Query Loki slow-log statistics
335
+ * @param {ClusterLokiLogApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ * @memberof ClusterLokiLogApiInterface
339
+ */
340
+ getLokiSlowLogStats(requestParameters: ClusterLokiLogApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
341
+ /**
342
+ * Query audit logs through the Loki compatibility API.
343
+ * @summary Query Loki audit logs
344
+ * @param {ClusterLokiLogApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ * @memberof ClusterLokiLogApiInterface
348
+ */
349
+ queryLokiAuditLogs(requestParameters: ClusterLokiLogApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
350
+ /**
351
+ * Query error logs through the Loki compatibility API.
352
+ * @summary Query Loki error logs
353
+ * @param {ClusterLokiLogApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ * @memberof ClusterLokiLogApiInterface
357
+ */
358
+ queryLokiErrorLogs(requestParameters: ClusterLokiLogApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
359
+ /**
360
+ * Query pod logs through the Loki compatibility API.
361
+ * @summary Query Loki pod logs
362
+ * @param {ClusterLokiLogApiQueryLokiPodLogsRequest} requestParameters Request parameters.
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ * @memberof ClusterLokiLogApiInterface
366
+ */
367
+ queryLokiPodLogs(requestParameters: ClusterLokiLogApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
368
+ /**
369
+ * Query running logs through the Loki compatibility API.
370
+ * @summary Query Loki running logs
371
+ * @param {ClusterLokiLogApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ * @memberof ClusterLokiLogApiInterface
375
+ */
376
+ queryLokiRunningLogs(requestParameters: ClusterLokiLogApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
377
+ /**
378
+ * Query slow logs through the Loki compatibility API.
379
+ * @summary Query Loki slow logs
380
+ * @param {ClusterLokiLogApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ * @memberof ClusterLokiLogApiInterface
384
+ */
385
+ queryLokiSlowLogs(requestParameters: ClusterLokiLogApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
386
+ }
387
+ /**
388
+ * Request parameters for exportLokiClusterLogs operation in ClusterLokiLogApi.
389
+ * @export
390
+ * @interface ClusterLokiLogApiExportLokiClusterLogsRequest
391
+ */
392
+ export interface ClusterLokiLogApiExportLokiClusterLogsRequest {
393
+ /**
394
+ *
395
+ * @type {string}
396
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
397
+ */
398
+ readonly orgName: string;
399
+ /**
400
+ *
401
+ * @type {string}
402
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
403
+ */
404
+ readonly clusterName: string;
405
+ /**
406
+ * Log type: runninglog, errorlog, slow, auditlog
407
+ * @type {string}
408
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
409
+ */
410
+ readonly logType: string;
411
+ /**
412
+ * Start time in epoch nanoseconds. If omitted, exports from the earliest available log
413
+ * @type {number}
414
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
415
+ */
416
+ readonly startTime?: number;
417
+ /**
418
+ * End time in epoch nanoseconds. If omitted, exports up to the latest available log
419
+ * @type {number}
420
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
421
+ */
422
+ readonly endTime?: number;
423
+ /**
424
+ * Export format: csv, raw, jsonl
425
+ * @type {string}
426
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
427
+ */
428
+ readonly format?: string;
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
433
+ */
434
+ readonly query?: string;
435
+ /**
436
+ *
437
+ * @type {string}
438
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
439
+ */
440
+ readonly filename?: string;
441
+ /**
442
+ *
443
+ * @type {string}
444
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
445
+ */
446
+ readonly componentName?: string;
447
+ /**
448
+ *
449
+ * @type {string}
450
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
451
+ */
452
+ readonly instanceName?: string;
453
+ /**
454
+ * Maximum number of lines to export. Defaults to 100000 if omitted
455
+ * @type {number}
456
+ * @memberof ClusterLokiLogApiExportLokiClusterLogs
457
+ */
458
+ readonly maxLines?: number;
459
+ }
460
+ /**
461
+ * Request parameters for getLokiSlowLogStats operation in ClusterLokiLogApi.
462
+ * @export
463
+ * @interface ClusterLokiLogApiGetLokiSlowLogStatsRequest
464
+ */
465
+ export interface ClusterLokiLogApiGetLokiSlowLogStatsRequest {
466
+ /**
467
+ *
468
+ * @type {string}
469
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
470
+ */
471
+ readonly orgName: string;
472
+ /**
473
+ *
474
+ * @type {string}
475
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
476
+ */
477
+ readonly clusterName: string;
478
+ /**
479
+ * Start time in epoch nanoseconds.
480
+ * @type {string}
481
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
482
+ */
483
+ readonly startTime: string;
484
+ /**
485
+ * End time in epoch nanoseconds.
486
+ * @type {string}
487
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
488
+ */
489
+ readonly endTime: string;
490
+ /**
491
+ *
492
+ * @type {string}
493
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
494
+ */
495
+ readonly componentName?: string;
496
+ /**
497
+ *
498
+ * @type {string}
499
+ * @memberof ClusterLokiLogApiGetLokiSlowLogStats
500
+ */
501
+ readonly instanceName?: string;
502
+ }
503
+ /**
504
+ * Request parameters for queryLokiAuditLogs operation in ClusterLokiLogApi.
505
+ * @export
506
+ * @interface ClusterLokiLogApiQueryLokiAuditLogsRequest
507
+ */
508
+ export interface ClusterLokiLogApiQueryLokiAuditLogsRequest {
509
+ /**
510
+ *
511
+ * @type {string}
512
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
513
+ */
514
+ readonly orgName: string;
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
519
+ */
520
+ readonly clusterName: string;
521
+ /**
522
+ * Start time in epoch nanoseconds.
523
+ * @type {string}
524
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
525
+ */
526
+ readonly startTime: string;
527
+ /**
528
+ * End time in epoch nanoseconds.
529
+ * @type {string}
530
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
531
+ */
532
+ readonly endTime: string;
533
+ /**
534
+ *
535
+ * @type {string}
536
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
537
+ */
538
+ readonly limit?: string;
539
+ /**
540
+ *
541
+ * @type {string}
542
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
543
+ */
544
+ readonly componentName?: string;
545
+ /**
546
+ *
547
+ * @type {string}
548
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
549
+ */
550
+ readonly instanceName?: string;
551
+ /**
552
+ *
553
+ * @type {SortType}
554
+ * @memberof ClusterLokiLogApiQueryLokiAuditLogs
555
+ */
556
+ readonly sortType?: SortType;
557
+ }
558
+ /**
559
+ * Request parameters for queryLokiErrorLogs operation in ClusterLokiLogApi.
560
+ * @export
561
+ * @interface ClusterLokiLogApiQueryLokiErrorLogsRequest
562
+ */
563
+ export interface ClusterLokiLogApiQueryLokiErrorLogsRequest {
564
+ /**
565
+ *
566
+ * @type {string}
567
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
568
+ */
569
+ readonly orgName: string;
570
+ /**
571
+ *
572
+ * @type {string}
573
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
574
+ */
575
+ readonly clusterName: string;
576
+ /**
577
+ * Start time in epoch nanoseconds.
578
+ * @type {string}
579
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
580
+ */
581
+ readonly startTime: string;
582
+ /**
583
+ * End time in epoch nanoseconds.
584
+ * @type {string}
585
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
586
+ */
587
+ readonly endTime: string;
588
+ /**
589
+ *
590
+ * @type {string}
591
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
592
+ */
593
+ readonly componentName?: string;
594
+ /**
595
+ *
596
+ * @type {string}
597
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
598
+ */
599
+ readonly instanceName?: string;
600
+ /**
601
+ *
602
+ * @type {string}
603
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
604
+ */
605
+ readonly filename?: string;
606
+ /**
607
+ *
608
+ * @type {string}
609
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
610
+ */
611
+ readonly query?: string;
612
+ /**
613
+ *
614
+ * @type {string}
615
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
616
+ */
617
+ readonly limit?: string;
618
+ /**
619
+ *
620
+ * @type {SortType}
621
+ * @memberof ClusterLokiLogApiQueryLokiErrorLogs
622
+ */
623
+ readonly sortType?: SortType;
624
+ }
625
+ /**
626
+ * Request parameters for queryLokiPodLogs operation in ClusterLokiLogApi.
627
+ * @export
628
+ * @interface ClusterLokiLogApiQueryLokiPodLogsRequest
629
+ */
630
+ export interface ClusterLokiLogApiQueryLokiPodLogsRequest {
631
+ /**
632
+ *
633
+ * @type {string}
634
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
635
+ */
636
+ readonly orgName: string;
637
+ /**
638
+ *
639
+ * @type {string}
640
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
641
+ */
642
+ readonly clusterName: string;
643
+ /**
644
+ * Start time in epoch nanoseconds.
645
+ * @type {string}
646
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
647
+ */
648
+ readonly startTime: string;
649
+ /**
650
+ * End time in epoch nanoseconds.
651
+ * @type {string}
652
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
653
+ */
654
+ readonly endTime: string;
655
+ /**
656
+ *
657
+ * @type {string}
658
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
659
+ */
660
+ readonly componentName?: string;
661
+ /**
662
+ *
663
+ * @type {string}
664
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
665
+ */
666
+ readonly instanceName?: string;
667
+ /**
668
+ *
669
+ * @type {string}
670
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
671
+ */
672
+ readonly filename?: string;
673
+ /**
674
+ *
675
+ * @type {string}
676
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
677
+ */
678
+ readonly limit?: string;
679
+ /**
680
+ *
681
+ * @type {SortType}
682
+ * @memberof ClusterLokiLogApiQueryLokiPodLogs
683
+ */
684
+ readonly sortType?: SortType;
685
+ }
686
+ /**
687
+ * Request parameters for queryLokiRunningLogs operation in ClusterLokiLogApi.
688
+ * @export
689
+ * @interface ClusterLokiLogApiQueryLokiRunningLogsRequest
690
+ */
691
+ export interface ClusterLokiLogApiQueryLokiRunningLogsRequest {
692
+ /**
693
+ *
694
+ * @type {string}
695
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
696
+ */
697
+ readonly orgName: string;
698
+ /**
699
+ *
700
+ * @type {string}
701
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
702
+ */
703
+ readonly clusterName: string;
704
+ /**
705
+ * Start time in epoch nanoseconds.
706
+ * @type {string}
707
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
708
+ */
709
+ readonly startTime: string;
710
+ /**
711
+ * End time in epoch nanoseconds.
712
+ * @type {string}
713
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
714
+ */
715
+ readonly endTime: string;
716
+ /**
717
+ *
718
+ * @type {string}
719
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
720
+ */
721
+ readonly componentName?: string;
722
+ /**
723
+ *
724
+ * @type {string}
725
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
726
+ */
727
+ readonly instanceName?: string;
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
732
+ */
733
+ readonly filename?: string;
734
+ /**
735
+ *
736
+ * @type {string}
737
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
738
+ */
739
+ readonly limit?: string;
740
+ /**
741
+ *
742
+ * @type {string}
743
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
744
+ */
745
+ readonly query?: string;
746
+ /**
747
+ *
748
+ * @type {SortType}
749
+ * @memberof ClusterLokiLogApiQueryLokiRunningLogs
750
+ */
751
+ readonly sortType?: SortType;
752
+ }
753
+ /**
754
+ * Request parameters for queryLokiSlowLogs operation in ClusterLokiLogApi.
755
+ * @export
756
+ * @interface ClusterLokiLogApiQueryLokiSlowLogsRequest
757
+ */
758
+ export interface ClusterLokiLogApiQueryLokiSlowLogsRequest {
759
+ /**
760
+ *
761
+ * @type {string}
762
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
763
+ */
764
+ readonly orgName: string;
765
+ /**
766
+ *
767
+ * @type {string}
768
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
769
+ */
770
+ readonly clusterName: string;
771
+ /**
772
+ * Start time in epoch nanoseconds.
773
+ * @type {string}
774
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
775
+ */
776
+ readonly startTime: string;
777
+ /**
778
+ * End time in epoch nanoseconds.
779
+ * @type {string}
780
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
781
+ */
782
+ readonly endTime: string;
783
+ /**
784
+ *
785
+ * @type {string}
786
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
787
+ */
788
+ readonly componentName?: string;
789
+ /**
790
+ *
791
+ * @type {string}
792
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
793
+ */
794
+ readonly instanceName?: string;
795
+ /**
796
+ *
797
+ * @type {string}
798
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
799
+ */
800
+ readonly query?: string;
801
+ /**
802
+ *
803
+ * @type {string}
804
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
805
+ */
806
+ readonly limit?: string;
807
+ /**
808
+ *
809
+ * @type {SortType}
810
+ * @memberof ClusterLokiLogApiQueryLokiSlowLogs
811
+ */
812
+ readonly sortType?: SortType;
813
+ }
814
+ /**
815
+ * ClusterLokiLogApi - object-oriented interface
816
+ * @export
817
+ * @class ClusterLokiLogApi
818
+ * @extends {BaseAPI}
819
+ */
820
+ export declare class ClusterLokiLogApi extends BaseAPI implements ClusterLokiLogApiInterface {
821
+ /**
822
+ * Export logs through the Loki compatibility API.
823
+ * @summary Export Loki logs
824
+ * @param {ClusterLokiLogApiExportLokiClusterLogsRequest} requestParameters Request parameters.
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ * @memberof ClusterLokiLogApi
828
+ */
829
+ exportLokiClusterLogs(requestParameters: ClusterLokiLogApiExportLokiClusterLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
830
+ /**
831
+ * Query slow-log statistics through the Loki compatibility API.
832
+ * @summary Query Loki slow-log statistics
833
+ * @param {ClusterLokiLogApiGetLokiSlowLogStatsRequest} requestParameters Request parameters.
834
+ * @param {*} [options] Override http request option.
835
+ * @throws {RequiredError}
836
+ * @memberof ClusterLokiLogApi
837
+ */
838
+ getLokiSlowLogStats(requestParameters: ClusterLokiLogApiGetLokiSlowLogStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterSlowLogStats, any, {}>>;
839
+ /**
840
+ * Query audit logs through the Loki compatibility API.
841
+ * @summary Query Loki audit logs
842
+ * @param {ClusterLokiLogApiQueryLokiAuditLogsRequest} requestParameters Request parameters.
843
+ * @param {*} [options] Override http request option.
844
+ * @throws {RequiredError}
845
+ * @memberof ClusterLokiLogApi
846
+ */
847
+ queryLokiAuditLogs(requestParameters: ClusterLokiLogApiQueryLokiAuditLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterExecutionLog, any, {}>>;
848
+ /**
849
+ * Query error logs through the Loki compatibility API.
850
+ * @summary Query Loki error logs
851
+ * @param {ClusterLokiLogApiQueryLokiErrorLogsRequest} requestParameters Request parameters.
852
+ * @param {*} [options] Override http request option.
853
+ * @throws {RequiredError}
854
+ * @memberof ClusterLokiLogApi
855
+ */
856
+ queryLokiErrorLogs(requestParameters: ClusterLokiLogApiQueryLokiErrorLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
857
+ /**
858
+ * Query pod logs through the Loki compatibility API.
859
+ * @summary Query Loki pod logs
860
+ * @param {ClusterLokiLogApiQueryLokiPodLogsRequest} requestParameters Request parameters.
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ * @memberof ClusterLokiLogApi
864
+ */
865
+ queryLokiPodLogs(requestParameters: ClusterLokiLogApiQueryLokiPodLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
866
+ /**
867
+ * Query running logs through the Loki compatibility API.
868
+ * @summary Query Loki running logs
869
+ * @param {ClusterLokiLogApiQueryLokiRunningLogsRequest} requestParameters Request parameters.
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ * @memberof ClusterLokiLogApi
873
+ */
874
+ queryLokiRunningLogs(requestParameters: ClusterLokiLogApiQueryLokiRunningLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRawLogResponse, any, {}>>;
875
+ /**
876
+ * Query slow logs through the Loki compatibility API.
877
+ * @summary Query Loki slow logs
878
+ * @param {ClusterLokiLogApiQueryLokiSlowLogsRequest} requestParameters Request parameters.
879
+ * @param {*} [options] Override http request option.
880
+ * @throws {RequiredError}
881
+ * @memberof ClusterLokiLogApi
882
+ */
883
+ queryLokiSlowLogs(requestParameters: ClusterLokiLogApiQueryLokiSlowLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterExecutionLog, any, {}>>;
884
+ }
885
+ //# sourceMappingURL=cluster-loki-log-api.d.ts.map