kb-cloud-client-typescript 2.4.0-alpha.74 → 2.4.0-alpha.76

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 (66) hide show
  1. package/dist/adminapi/apis/dms-api.d.ts +0 -152
  2. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/dms-api.js +0 -165
  4. package/dist/adminapi/apis/dms-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -152
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -165
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/models/data-import200-response.d.ts +7 -1
  10. package/dist/adminapi/models/data-import200-response.d.ts.map +1 -1
  11. package/dist/adminapi/models/index.d.ts +1 -2
  12. package/dist/adminapi/models/index.d.ts.map +1 -1
  13. package/dist/adminapi/models/index.js +1 -2
  14. package/dist/adminapi/models/index.js.map +1 -1
  15. package/dist/adminapi/models/provision-config.d.ts +3 -2
  16. package/dist/adminapi/models/provision-config.d.ts.map +1 -1
  17. package/dist/adminapi/models/{dms-task-info.js → victoria-logs-config.d.ts} +7 -5
  18. package/dist/adminapi/models/victoria-logs-config.d.ts.map +1 -0
  19. package/dist/adminapi/models/{dms-task-list.js → victoria-logs-config.js} +1 -1
  20. package/dist/adminapi/models/victoria-logs-config.js.map +1 -0
  21. package/dist/openapi/apis/dms-api.d.ts +0 -152
  22. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  23. package/dist/openapi/apis/dms-api.js +0 -165
  24. package/dist/openapi/apis/dms-api.js.map +1 -1
  25. package/dist/openapi/apis/shared-api.d.ts +0 -152
  26. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  27. package/dist/openapi/apis/shared-api.js +0 -165
  28. package/dist/openapi/apis/shared-api.js.map +1 -1
  29. package/dist/openapi/models/data-import200-response.d.ts +7 -1
  30. package/dist/openapi/models/data-import200-response.d.ts.map +1 -1
  31. package/dist/openapi/models/index.d.ts +0 -2
  32. package/dist/openapi/models/index.d.ts.map +1 -1
  33. package/dist/openapi/models/index.js +0 -2
  34. package/dist/openapi/models/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/adminapi/.openapi-generator/FILES +1 -2
  37. package/src/adminapi/apis/dms-api.ts +0 -267
  38. package/src/adminapi/apis/shared-api.ts +0 -267
  39. package/src/adminapi/models/data-import200-response.ts +7 -1
  40. package/src/adminapi/models/index.ts +1 -2
  41. package/src/adminapi/models/provision-config.ts +5 -2
  42. package/src/adminapi/models/{dms-task-list.ts → victoria-logs-config.ts} +4 -11
  43. package/src/adminapi.yaml +24 -119
  44. package/src/openapi/.openapi-generator/FILES +0 -2
  45. package/src/openapi/apis/dms-api.ts +0 -267
  46. package/src/openapi/apis/shared-api.ts +0 -267
  47. package/src/openapi/models/data-import200-response.ts +7 -1
  48. package/src/openapi/models/index.ts +0 -2
  49. package/src/openapi.yaml +4 -117
  50. package/dist/adminapi/models/dms-task-info.d.ts +0 -61
  51. package/dist/adminapi/models/dms-task-info.d.ts.map +0 -1
  52. package/dist/adminapi/models/dms-task-info.js.map +0 -1
  53. package/dist/adminapi/models/dms-task-list.d.ts +0 -26
  54. package/dist/adminapi/models/dms-task-list.d.ts.map +0 -1
  55. package/dist/adminapi/models/dms-task-list.js.map +0 -1
  56. package/dist/openapi/models/dms-task-info.d.ts +0 -61
  57. package/dist/openapi/models/dms-task-info.d.ts.map +0 -1
  58. package/dist/openapi/models/dms-task-info.js +0 -16
  59. package/dist/openapi/models/dms-task-info.js.map +0 -1
  60. package/dist/openapi/models/dms-task-list.d.ts +0 -26
  61. package/dist/openapi/models/dms-task-list.d.ts.map +0 -1
  62. package/dist/openapi/models/dms-task-list.js +0 -16
  63. package/dist/openapi/models/dms-task-list.js.map +0 -1
  64. package/src/adminapi/models/dms-task-info.ts +0 -66
  65. package/src/openapi/models/dms-task-info.ts +0 -66
  66. package/src/openapi/models/dms-task-list.ts +0 -33
@@ -188,10 +188,6 @@ import type { DmsServiceAccountUpdateRequest } from '../models';
188
188
  // @ts-ignore
189
189
  import type { DmsSession } from '../models';
190
190
  // @ts-ignore
191
- import type { DmsTaskInfo } from '../models';
192
- // @ts-ignore
193
- import type { DmsTaskList } from '../models';
194
- // @ts-ignore
195
191
  import type { DmsVisualExplainRequest } from '../models';
196
192
  // @ts-ignore
197
193
  import type { ESPutSecurityUserRequest } from '../models';
@@ -8382,111 +8378,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8382
8378
 
8383
8379
 
8384
8380
 
8385
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8386
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8387
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8388
-
8389
- return {
8390
- url: toPathString(localVarUrlObj),
8391
- options: localVarRequestOptions,
8392
- };
8393
- },
8394
- /**
8395
- *
8396
- * @summary Get the task list
8397
- * @param {string} orgName name of the Org
8398
- * @param {string} clusterName name of the cluster
8399
- * @param {string} id id of the datasource
8400
- * @param {*} [options] Override http request option.
8401
- * @throws {RequiredError}
8402
- */
8403
- getTaskList: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8404
- // verify required parameter 'orgName' is not null or undefined
8405
- assertParamExists('getTaskList', 'orgName', orgName)
8406
- // verify required parameter 'clusterName' is not null or undefined
8407
- assertParamExists('getTaskList', 'clusterName', clusterName)
8408
- // verify required parameter 'id' is not null or undefined
8409
- assertParamExists('getTaskList', 'id', id)
8410
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks`
8411
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8412
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8413
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8414
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8415
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8416
- let baseOptions;
8417
- if (configuration) {
8418
- baseOptions = configuration.baseOptions;
8419
- }
8420
-
8421
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8422
- const localVarHeaderParameter = {} as any;
8423
- const localVarQueryParameter = {} as any;
8424
-
8425
- // authentication BearerToken required
8426
- // http bearer authentication required
8427
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
8428
-
8429
- // authentication DigestAuth required
8430
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8431
-
8432
-
8433
-
8434
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8435
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8436
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8437
-
8438
- return {
8439
- url: toPathString(localVarUrlObj),
8440
- options: localVarRequestOptions,
8441
- };
8442
- },
8443
- /**
8444
- *
8445
- * @summary Get the task progress
8446
- * @param {string} orgName name of the Org
8447
- * @param {string} clusterName name of the cluster
8448
- * @param {string} id id of the datasource
8449
- * @param {string} taskId the task id
8450
- * @param {*} [options] Override http request option.
8451
- * @throws {RequiredError}
8452
- */
8453
- getTaskProgress: async (orgName: string, clusterName: string, id: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8454
- // verify required parameter 'orgName' is not null or undefined
8455
- assertParamExists('getTaskProgress', 'orgName', orgName)
8456
- // verify required parameter 'clusterName' is not null or undefined
8457
- assertParamExists('getTaskProgress', 'clusterName', clusterName)
8458
- // verify required parameter 'id' is not null or undefined
8459
- assertParamExists('getTaskProgress', 'id', id)
8460
- // verify required parameter 'taskId' is not null or undefined
8461
- assertParamExists('getTaskProgress', 'taskId', taskId)
8462
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
8463
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8464
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8465
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8466
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8467
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8468
- let baseOptions;
8469
- if (configuration) {
8470
- baseOptions = configuration.baseOptions;
8471
- }
8472
-
8473
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8474
- const localVarHeaderParameter = {} as any;
8475
- const localVarQueryParameter = {} as any;
8476
-
8477
- // authentication BearerToken required
8478
- // http bearer authentication required
8479
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
8480
-
8481
- // authentication DigestAuth required
8482
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8483
-
8484
- if (taskId !== undefined) {
8485
- localVarQueryParameter['taskId'] = taskId;
8486
- }
8487
-
8488
-
8489
-
8490
8381
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8491
8382
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8492
8383
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20090,37 +19981,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
20090
19981
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getTags']?.[localVarOperationServerIndex]?.url;
20091
19982
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20092
19983
  },
20093
- /**
20094
- *
20095
- * @summary Get the task list
20096
- * @param {string} orgName name of the Org
20097
- * @param {string} clusterName name of the cluster
20098
- * @param {string} id id of the datasource
20099
- * @param {*} [options] Override http request option.
20100
- * @throws {RequiredError}
20101
- */
20102
- async getTaskList(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsTaskList>> {
20103
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
20104
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20105
- const localVarOperationServerBasePath = operationServerMap['SharedApi.getTaskList']?.[localVarOperationServerIndex]?.url;
20106
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20107
- },
20108
- /**
20109
- *
20110
- * @summary Get the task progress
20111
- * @param {string} orgName name of the Org
20112
- * @param {string} clusterName name of the cluster
20113
- * @param {string} id id of the datasource
20114
- * @param {string} taskId the task id
20115
- * @param {*} [options] Override http request option.
20116
- * @throws {RequiredError}
20117
- */
20118
- async getTaskProgress(orgName: string, clusterName: string, id: string, taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsTaskInfo>> {
20119
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
20120
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20121
- const localVarOperationServerBasePath = operationServerMap['SharedApi.getTaskProgress']?.[localVarOperationServerIndex]?.url;
20122
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20123
- },
20124
19984
  /**
20125
19985
  *
20126
19986
  * @summary get tenants detail information of the oceanbase cluster
@@ -24275,26 +24135,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24275
24135
  getTags(requestParameters: SharedApiGetTagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ClusterTags>> {
24276
24136
  return localVarFp.getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(axios, basePath));
24277
24137
  },
24278
- /**
24279
- *
24280
- * @summary Get the task list
24281
- * @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
24282
- * @param {*} [options] Override http request option.
24283
- * @throws {RequiredError}
24284
- */
24285
- getTaskList(requestParameters: SharedApiGetTaskListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsTaskList> {
24286
- return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
24287
- },
24288
- /**
24289
- *
24290
- * @summary Get the task progress
24291
- * @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
24292
- * @param {*} [options] Override http request option.
24293
- * @throws {RequiredError}
24294
- */
24295
- getTaskProgress(requestParameters: SharedApiGetTaskProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsTaskInfo> {
24296
- return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
24297
- },
24298
24138
  /**
24299
24139
  *
24300
24140
  * @summary get tenants detail information of the oceanbase cluster
@@ -27447,26 +27287,6 @@ export interface SharedApiInterface {
27447
27287
  */
27448
27288
  getTags(requestParameters: SharedApiGetTagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ClusterTags>>;
27449
27289
 
27450
- /**
27451
- *
27452
- * @summary Get the task list
27453
- * @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
27454
- * @param {*} [options] Override http request option.
27455
- * @throws {RequiredError}
27456
- * @memberof SharedApiInterface
27457
- */
27458
- getTaskList(requestParameters: SharedApiGetTaskListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsTaskList>;
27459
-
27460
- /**
27461
- *
27462
- * @summary Get the task progress
27463
- * @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
27464
- * @param {*} [options] Override http request option.
27465
- * @throws {RequiredError}
27466
- * @memberof SharedApiInterface
27467
- */
27468
- getTaskProgress(requestParameters: SharedApiGetTaskProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsTaskInfo>;
27469
-
27470
27290
  /**
27471
27291
  *
27472
27292
  * @summary get tenants detail information of the oceanbase cluster
@@ -33977,69 +33797,6 @@ export interface SharedApiGetTagsRequest {
33977
33797
  readonly clusterIds: string
33978
33798
  }
33979
33799
 
33980
- /**
33981
- * Request parameters for getTaskList operation in SharedApi.
33982
- * @export
33983
- * @interface SharedApiGetTaskListRequest
33984
- */
33985
- export interface SharedApiGetTaskListRequest {
33986
- /**
33987
- * name of the Org
33988
- * @type {string}
33989
- * @memberof SharedApiGetTaskList
33990
- */
33991
- readonly orgName: string
33992
-
33993
- /**
33994
- * name of the cluster
33995
- * @type {string}
33996
- * @memberof SharedApiGetTaskList
33997
- */
33998
- readonly clusterName: string
33999
-
34000
- /**
34001
- * id of the datasource
34002
- * @type {string}
34003
- * @memberof SharedApiGetTaskList
34004
- */
34005
- readonly id: string
34006
- }
34007
-
34008
- /**
34009
- * Request parameters for getTaskProgress operation in SharedApi.
34010
- * @export
34011
- * @interface SharedApiGetTaskProgressRequest
34012
- */
34013
- export interface SharedApiGetTaskProgressRequest {
34014
- /**
34015
- * name of the Org
34016
- * @type {string}
34017
- * @memberof SharedApiGetTaskProgress
34018
- */
34019
- readonly orgName: string
34020
-
34021
- /**
34022
- * name of the cluster
34023
- * @type {string}
34024
- * @memberof SharedApiGetTaskProgress
34025
- */
34026
- readonly clusterName: string
34027
-
34028
- /**
34029
- * id of the datasource
34030
- * @type {string}
34031
- * @memberof SharedApiGetTaskProgress
34032
- */
34033
- readonly id: string
34034
-
34035
- /**
34036
- * the task id
34037
- * @type {string}
34038
- * @memberof SharedApiGetTaskProgress
34039
- */
34040
- readonly taskId: string
34041
- }
34042
-
34043
33800
  /**
34044
33801
  * Request parameters for getTenant operation in SharedApi.
34045
33802
  * @export
@@ -41576,30 +41333,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41576
41333
  return SharedApiFp(this.configuration).getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(this.axios, this.basePath));
41577
41334
  }
41578
41335
 
41579
- /**
41580
- *
41581
- * @summary Get the task list
41582
- * @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
41583
- * @param {*} [options] Override http request option.
41584
- * @throws {RequiredError}
41585
- * @memberof SharedApi
41586
- */
41587
- public getTaskList(requestParameters: SharedApiGetTaskListRequest, options?: RawAxiosRequestConfig) {
41588
- return SharedApiFp(this.configuration).getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
41589
- }
41590
-
41591
- /**
41592
- *
41593
- * @summary Get the task progress
41594
- * @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
41595
- * @param {*} [options] Override http request option.
41596
- * @throws {RequiredError}
41597
- * @memberof SharedApi
41598
- */
41599
- public getTaskProgress(requestParameters: SharedApiGetTaskProgressRequest, options?: RawAxiosRequestConfig) {
41600
- return SharedApiFp(this.configuration).getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
41601
- }
41602
-
41603
41336
  /**
41604
41337
  *
41605
41338
  * @summary get tenants detail information of the oceanbase cluster
@@ -21,10 +21,16 @@
21
21
  */
22
22
  export interface DataImport200Response {
23
23
  /**
24
- * the task id
24
+ * Cloud TaskFlow task ID; query using the unified task API
25
25
  * @type {string}
26
26
  * @memberof DataImport200Response
27
27
  */
28
28
  'taskId'?: string;
29
+ /**
30
+ * Always taskflow for new import tasks
31
+ * @type {string}
32
+ * @memberof DataImport200Response
33
+ */
34
+ 'workflowEngine'?: string;
29
35
  }
30
36
 
@@ -381,8 +381,6 @@ export * from './dms-table-index';
381
381
  export * from './dms-table-metadata';
382
382
  export * from './dms-table-options';
383
383
  export * from './dms-table-partitioning';
384
- export * from './dms-task-info';
385
- export * from './dms-task-list';
386
384
  export * from './dms-unique-key';
387
385
  export * from './dms-view-metadata';
388
386
  export * from './dms-visual-explain-request';
@@ -1075,6 +1073,7 @@ export * from './user-authorization';
1075
1073
  export * from './user-create';
1076
1074
  export * from './user-list';
1077
1075
  export * from './user-update';
1076
+ export * from './victoria-logs-config';
1078
1077
  export * from './vip-pool';
1079
1078
  export * from './vip-pool-create';
1080
1079
  export * from './vip-pool-list';
@@ -31,6 +31,9 @@ import type { StaticCluster } from './static-cluster';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
33
  import type { StorageConfig } from './storage-config';
34
+ // May contain unused imports in some cases
35
+ // @ts-ignore
36
+ import type { VictoriaLogsConfig } from './victoria-logs-config';
34
37
 
35
38
  /**
36
39
  * Configuration to provision infrastructure for this environment
@@ -70,10 +73,10 @@ export interface ProvisionConfig {
70
73
  'victoriaMetrics'?: StaticCluster;
71
74
  /**
72
75
  *
73
- * @type {StaticCluster}
76
+ * @type {VictoriaLogsConfig}
74
77
  * @memberof ProvisionConfig
75
78
  */
76
- 'victoriaLogs'?: StaticCluster;
79
+ 'victoriaLogs'?: VictoriaLogsConfig;
77
80
  /**
78
81
  * option modules of environment
79
82
  * @type {Array<EnvironmentModule>}
@@ -15,19 +15,12 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { DmsTaskInfo } from './dms-task-info';
18
+ import type { StaticCluster } from './static-cluster';
19
19
 
20
20
  /**
21
- *
21
+ * @type VictoriaLogsConfig
22
22
  * @export
23
- * @interface DmsTaskList
24
23
  */
25
- export interface DmsTaskList {
26
- /**
27
- *
28
- * @type {Array<DmsTaskInfo>}
29
- * @memberof DmsTaskList
30
- */
31
- 'tasks'?: Array<DmsTaskInfo>;
32
- }
24
+ export type VictoriaLogsConfig = StaticCluster;
25
+
33
26
 
package/src/adminapi.yaml CHANGED
@@ -5307,91 +5307,10 @@ paths:
5307
5307
  properties:
5308
5308
  taskId:
5309
5309
  type: string
5310
- description: the task id
5311
- '401':
5312
- $ref: '#/components/responses/401'
5313
- '403':
5314
- $ref: '#/components/responses/403'
5315
- '500':
5316
- $ref: '#/components/responses/500'
5317
- /admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task:
5318
- get:
5319
- tags:
5320
- - dms
5321
- - shared
5322
- summary: Get the task progress
5323
- operationId: GetTaskProgress
5324
- parameters:
5325
- - name: orgName
5326
- in: path
5327
- description: name of the Org
5328
- required: true
5329
- schema:
5330
- type: string
5331
- - name: clusterName
5332
- in: path
5333
- description: name of the cluster
5334
- required: true
5335
- schema:
5336
- type: string
5337
- - name: id
5338
- in: path
5339
- description: id of the datasource
5340
- required: true
5341
- schema:
5342
- type: string
5343
- - name: taskId
5344
- in: query
5345
- description: the task id
5346
- required: true
5347
- schema:
5348
- type: string
5349
- responses:
5350
- '200':
5351
- description: Get the task success
5352
- content:
5353
- application/json:
5354
- schema:
5355
- $ref: '#/components/schemas/DmsTaskInfo'
5356
- '401':
5357
- $ref: '#/components/responses/401'
5358
- '403':
5359
- $ref: '#/components/responses/403'
5360
- '500':
5361
- $ref: '#/components/responses/500'
5362
- /admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks:
5363
- get:
5364
- tags:
5365
- - dms
5366
- - shared
5367
- summary: Get the task list
5368
- operationId: GetTaskList
5369
- parameters:
5370
- - name: orgName
5371
- in: path
5372
- description: name of the Org
5373
- required: true
5374
- schema:
5375
- type: string
5376
- - name: clusterName
5377
- in: path
5378
- description: name of the cluster
5379
- required: true
5380
- schema:
5381
- type: string
5382
- - name: id
5383
- in: path
5384
- description: id of the datasource
5385
- required: true
5386
- schema:
5387
- type: string
5388
- responses:
5389
- '200':
5390
- description: Get the task list success
5391
- content:
5392
- application/json:
5393
- schema:
5394
- $ref: '#/components/schemas/DmsTaskList'
5310
+ description: Cloud TaskFlow task ID; query using the unified task API
5311
+ workflowEngine:
5312
+ type: string
5313
+ description: Always taskflow for new import tasks
5395
5314
  '401':
5396
5315
  $ref: '#/components/responses/401'
5397
5316
  '403':
@@ -32785,38 +32704,6 @@ components:
32785
32704
  type: string
32786
32705
  format: binary
32787
32706
  description: the data file, csv or other format
32788
- DmsTaskInfo:
32789
- type: object
32790
- properties:
32791
- id:
32792
- type: string
32793
- description: task id
32794
- datasource:
32795
- type: string
32796
- description: datasource id
32797
- message:
32798
- type: string
32799
- description: if task failed, this will show why
32800
- nullable: true
32801
- status:
32802
- type: string
32803
- description: task status
32804
- type:
32805
- type: string
32806
- description: task type
32807
- updatedAt:
32808
- type: string
32809
- format: date-time
32810
- createdAt:
32811
- type: string
32812
- format: date-time
32813
- DmsTaskList:
32814
- type: object
32815
- properties:
32816
- tasks:
32817
- type: array
32818
- items:
32819
- $ref: '#/components/schemas/DmsTaskInfo'
32820
32707
  DmsSchemaList:
32821
32708
  type: array
32822
32709
  items:
@@ -36364,6 +36251,24 @@ components:
36364
36251
  defaultBackupRepo:
36365
36252
  type: boolean
36366
36253
  description: judge whether to set the backup is default which will be init
36254
+ victoriaLogsConfig:
36255
+ type: object
36256
+ allOf:
36257
+ - $ref: '#/components/schemas/staticCluster'
36258
+ - type: object
36259
+ properties:
36260
+ retentionPeriod:
36261
+ type: string
36262
+ x-nullable: false
36263
+ default: 100y
36264
+ description: Environment installation log retention, explicitly overriding the addon default. Defaults to 100y when omitted. Accepts a number with s (seconds), h (hours), d (days), w (weeks), M (months), or y (years); a bare number means months. Must be between 1d and 100y. Disk usage retention limits still apply.
36265
+ retentionMaxDiskUsagePercent:
36266
+ type: integer
36267
+ nullable: true
36268
+ default: 80
36269
+ minimum: 1
36270
+ maximum: 100
36271
+ description: Maximum disk usage percentage before VictoriaLogs deletes older log partitions. Defaults to 80 when omitted. Applies independently of retentionPeriod.
36367
36272
  environmentModuleStatus:
36368
36273
  type: string
36369
36274
  description: Status of an environment module. Enabled is only used as the desired state when creating an environment. NotInstalled, Installing, and InstallationFailed describe quick installation; Upgradeable, Upgrading, and UpgradeFailed describe quick upgrade. Upgradeable means the component is running but an ApeCloud-bundled newer version is available. Unknown means the current state could not be determined.
@@ -36455,8 +36360,8 @@ components:
36455
36360
  description: Optional vm-storage spec (replicas, disk, classCode) when adding an environment. vm-insert and vm-select keep installer defaults.
36456
36361
  $ref: '#/components/schemas/staticCluster'
36457
36362
  victoriaLogs:
36458
- description: Optional vlstorage spec (replicas, disk, classCode) when adding an environment. vlinsert and vlselect keep installer defaults.
36459
- $ref: '#/components/schemas/staticCluster'
36363
+ description: Optional vlstorage resources and log retention when adding an environment. vlinsert and vlselect keep installer defaults.
36364
+ $ref: '#/components/schemas/victoriaLogsConfig'
36460
36365
  modules:
36461
36366
  type: array
36462
36367
  description: option modules of environment
@@ -447,8 +447,6 @@ models/dms-table-index.ts
447
447
  models/dms-table-metadata.ts
448
448
  models/dms-table-options.ts
449
449
  models/dms-table-partitioning.ts
450
- models/dms-task-info.ts
451
- models/dms-task-list.ts
452
450
  models/dms-unique-key.ts
453
451
  models/dms-view-metadata.ts
454
452
  models/dms-visual-explain-request.ts