kb-cloud-client-typescript 2.3.32 → 2.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.js +0 -84
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -84
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/apis/task-api.d.ts +16 -7
- package/dist/adminapi/apis/task-api.d.ts.map +1 -1
- package/dist/adminapi/apis/task-api.js +14 -9
- package/dist/adminapi/apis/task-api.js.map +1 -1
- package/dist/adminapi/models/backup-option.d.ts +6 -0
- package/dist/adminapi/models/backup-option.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/adminapi/models/dms-pagination.d.ts +36 -0
- package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +3 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.d.ts +2 -0
- package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.js +3 -1
- package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +13 -1
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-op.d.ts +1 -0
- package/dist/adminapi/models/instance-template-op.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-op.js +2 -1
- package/dist/adminapi/models/instance-template-op.js.map +1 -1
- package/dist/adminapi/models/instance-template-volume-expand.d.ts +32 -0
- package/dist/adminapi/models/instance-template-volume-expand.d.ts.map +1 -0
- package/dist/adminapi/models/{ops-volume-expand-volumes-inner.js → instance-template-volume-expand.js} +1 -1
- package/dist/adminapi/models/instance-template-volume-expand.js.map +1 -0
- package/dist/adminapi/models/mode-component-instance-template.d.ts +3 -3
- package/dist/adminapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
- package/dist/adminapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
- package/dist/adminapi/models/ops-volume-expand-volumes-items0.js +16 -0
- package/dist/adminapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
- package/dist/adminapi/models/ops-volume-expand.d.ts +11 -4
- package/dist/adminapi/models/ops-volume-expand.d.ts.map +1 -1
- package/dist/adminapi/models/show-data-request.d.ts +13 -1
- package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
- package/dist/adminapi/models/task-retry-mode.d.ts +22 -0
- package/dist/adminapi/models/task-retry-mode.d.ts.map +1 -0
- package/dist/adminapi/models/task-retry-mode.js +26 -0
- package/dist/adminapi/models/task-retry-mode.js.map +1 -0
- package/dist/adminapi/models/task.d.ts +7 -0
- package/dist/adminapi/models/task.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.js +0 -84
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -84
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/backup-option.d.ts +6 -0
- package/dist/openapi/models/backup-option.d.ts.map +1 -1
- package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/openapi/models/dms-pagination.d.ts +36 -0
- package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +3 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -1
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/instance-template-attribute.d.ts +2 -0
- package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-attribute.js +3 -1
- package/dist/openapi/models/instance-template-attribute.js.map +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +13 -1
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-op.d.ts +1 -0
- package/dist/openapi/models/instance-template-op.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-op.js +2 -1
- package/dist/openapi/models/instance-template-op.js.map +1 -1
- package/dist/openapi/models/instance-template-volume-expand.d.ts +32 -0
- package/dist/openapi/models/instance-template-volume-expand.d.ts.map +1 -0
- package/dist/openapi/models/{ops-volume-expand-volumes-inner.js → instance-template-volume-expand.js} +1 -1
- package/dist/openapi/models/instance-template-volume-expand.js.map +1 -0
- package/dist/openapi/models/mode-component-instance-template.d.ts +3 -3
- package/dist/openapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
- package/dist/openapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
- package/dist/openapi/models/ops-volume-expand-volumes-items0.js +16 -0
- package/dist/openapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
- package/dist/openapi/models/ops-volume-expand.d.ts +11 -4
- package/dist/openapi/models/ops-volume-expand.d.ts.map +1 -1
- package/dist/openapi/models/show-data-request.d.ts +13 -1
- package/dist/openapi/models/show-data-request.d.ts.map +1 -1
- package/dist/openapi/models/task-retry-mode.d.ts +22 -0
- package/dist/openapi/models/task-retry-mode.d.ts.map +1 -0
- package/dist/openapi/models/task-retry-mode.js +26 -0
- package/dist/openapi/models/task-retry-mode.js.map +1 -0
- package/dist/openapi/models/task.d.ts +7 -0
- package/dist/openapi/models/task.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -1
- package/src/adminapi/apis/cluster-jar-api.ts +0 -136
- package/src/adminapi/apis/shared-api.ts +0 -136
- package/src/adminapi/apis/task-api.ts +25 -10
- package/src/adminapi/models/backup-option.ts +6 -0
- package/src/adminapi/models/cluster-jar-package.ts +0 -6
- package/src/adminapi/models/dms-pagination.ts +36 -0
- package/src/adminapi/models/index.ts +3 -1
- package/src/adminapi/models/instance-template-attribute.ts +3 -1
- package/src/adminapi/models/instance-template-create.ts +13 -1
- package/src/adminapi/models/instance-template-op.ts +2 -1
- package/src/adminapi/models/instance-template-volume-expand.ts +39 -0
- package/src/adminapi/models/mode-component-instance-template.ts +3 -3
- package/src/adminapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
- package/src/adminapi/models/ops-volume-expand.ts +13 -4
- package/src/adminapi/models/show-data-request.ts +13 -1
- package/src/adminapi/models/task-retry-mode.ts +31 -0
- package/src/adminapi/models/task.ts +9 -0
- package/src/adminapi.yaml +126 -81
- package/src/openapi/.openapi-generator/FILES +3 -1
- package/src/openapi/apis/cluster-jar-api.ts +0 -136
- package/src/openapi/apis/shared-api.ts +0 -136
- package/src/openapi/models/backup-option.ts +6 -0
- package/src/openapi/models/cluster-jar-package.ts +0 -6
- package/src/openapi/models/dms-pagination.ts +36 -0
- package/src/openapi/models/index.ts +3 -1
- package/src/openapi/models/instance-template-attribute.ts +3 -1
- package/src/openapi/models/instance-template-create.ts +13 -1
- package/src/openapi/models/instance-template-op.ts +2 -1
- package/src/openapi/models/instance-template-volume-expand.ts +39 -0
- package/src/openapi/models/mode-component-instance-template.ts +3 -3
- package/src/openapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
- package/src/openapi/models/ops-volume-expand.ts +13 -4
- package/src/openapi/models/show-data-request.ts +13 -1
- package/src/openapi/models/task-retry-mode.ts +31 -0
- package/src/openapi/models/task.ts +9 -0
- package/src/openapi.yaml +113 -80
- package/dist/adminapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
- package/dist/adminapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
- package/dist/openapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
- package/dist/openapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KubeBlocks Cloud API
|
|
3
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
/**
|
|
13
|
+
* restart reruns all steps; resume preserves successful steps.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const TaskRetryMode: {
|
|
18
|
+
readonly restart: "restart";
|
|
19
|
+
readonly resume: "resume";
|
|
20
|
+
};
|
|
21
|
+
export type TaskRetryMode = typeof TaskRetryMode[keyof typeof TaskRetryMode];
|
|
22
|
+
//# sourceMappingURL=task-retry-mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-retry-mode.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/task-retry-mode.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TaskRetryMode = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* restart reruns all steps; resume preserves successful steps.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.TaskRetryMode = {
|
|
23
|
+
restart: 'restart',
|
|
24
|
+
resume: 'resume'
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=task-retry-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-retry-mode.js","sourceRoot":"","sources":["../../../src/openapi/models/task-retry-mode.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TaskFailurePolicy } from './task-failure-policy';
|
|
13
|
+
import type { TaskRetryMode } from './task-retry-mode';
|
|
13
14
|
import type { TaskSchedule } from './task-schedule';
|
|
14
15
|
import type { TaskStatus } from './task-status';
|
|
15
16
|
import type { TaskStep } from './task-step';
|
|
@@ -109,6 +110,12 @@ export interface Task {
|
|
|
109
110
|
* @memberof Task
|
|
110
111
|
*/
|
|
111
112
|
'failurePolicy'?: TaskFailurePolicy;
|
|
113
|
+
/**
|
|
114
|
+
* Supported manual retry modes for this task. Runtime conflicts are checked when retrying.
|
|
115
|
+
* @type {Array<TaskRetryMode>}
|
|
116
|
+
* @memberof Task
|
|
117
|
+
*/
|
|
118
|
+
'retryModes'?: Array<TaskRetryMode>;
|
|
112
119
|
/**
|
|
113
120
|
* Maximum number of retries for the task
|
|
114
121
|
* @type {number}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/task.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;CAC9B"}
|
package/package.json
CHANGED
|
@@ -700,6 +700,7 @@ models/instance-template-create.ts
|
|
|
700
700
|
models/instance-template-env.ts
|
|
701
701
|
models/instance-template-op.ts
|
|
702
702
|
models/instance-template-replicas.ts
|
|
703
|
+
models/instance-template-volume-expand.ts
|
|
703
704
|
models/instance.ts
|
|
704
705
|
models/integer-option.ts
|
|
705
706
|
models/international-desc.ts
|
|
@@ -879,7 +880,7 @@ models/ops-restart.ts
|
|
|
879
880
|
models/ops-start.ts
|
|
880
881
|
models/ops-stop.ts
|
|
881
882
|
models/ops-upgrade.ts
|
|
882
|
-
models/ops-volume-expand-volumes-
|
|
883
|
+
models/ops-volume-expand-volumes-items0.ts
|
|
883
884
|
models/ops-volume-expand.ts
|
|
884
885
|
models/ops-vscale.ts
|
|
885
886
|
models/org-create.ts
|
|
@@ -1138,6 +1139,7 @@ models/target.ts
|
|
|
1138
1139
|
models/task-failure-policy.ts
|
|
1139
1140
|
models/task-list-item.ts
|
|
1140
1141
|
models/task-list.ts
|
|
1142
|
+
models/task-retry-mode.ts
|
|
1141
1143
|
models/task-schedule-type.ts
|
|
1142
1144
|
models/task-schedule.ts
|
|
1143
1145
|
models/task-status.ts
|
|
@@ -41,59 +41,6 @@ import type { ClusterJarTask } from '../models';
|
|
|
41
41
|
*/
|
|
42
42
|
export const ClusterJarApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43
43
|
return {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
47
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
48
|
-
* @param {string} orgName
|
|
49
|
-
* @param {string} clusterName
|
|
50
|
-
* @param {string} jarId
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
56
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
57
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
58
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
59
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
60
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
61
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
62
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
63
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
64
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
65
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
66
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
67
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
68
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70
|
-
let baseOptions;
|
|
71
|
-
if (configuration) {
|
|
72
|
-
baseOptions = configuration.baseOptions;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
76
|
-
const localVarHeaderParameter = {} as any;
|
|
77
|
-
const localVarQueryParameter = {} as any;
|
|
78
|
-
|
|
79
|
-
// authentication BearerToken required
|
|
80
|
-
// http bearer authentication required
|
|
81
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
82
|
-
|
|
83
|
-
// authentication DigestAuth required
|
|
84
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
url: toPathString(localVarUrlObj),
|
|
94
|
-
options: localVarRequestOptions,
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
44
|
/**
|
|
98
45
|
*
|
|
99
46
|
* @summary Delete an unpublished JAR version
|
|
@@ -500,22 +447,6 @@ export const ClusterJarApiAxiosParamCreator = function (configuration?: Configur
|
|
|
500
447
|
export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
501
448
|
const localVarAxiosParamCreator = ClusterJarApiAxiosParamCreator(configuration)
|
|
502
449
|
return {
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
506
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
507
|
-
* @param {string} orgName
|
|
508
|
-
* @param {string} clusterName
|
|
509
|
-
* @param {string} jarId
|
|
510
|
-
* @param {*} [options] Override http request option.
|
|
511
|
-
* @throws {RequiredError}
|
|
512
|
-
*/
|
|
513
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
515
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
516
|
-
const localVarOperationServerBasePath = operationServerMap['ClusterJarApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
|
-
},
|
|
519
450
|
/**
|
|
520
451
|
*
|
|
521
452
|
* @summary Delete an unpublished JAR version
|
|
@@ -640,16 +571,6 @@ export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
|
640
571
|
export const ClusterJarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
641
572
|
const localVarFp = ClusterJarApiFp(configuration)
|
|
642
573
|
return {
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
646
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
651
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
652
|
-
},
|
|
653
574
|
/**
|
|
654
575
|
*
|
|
655
576
|
* @summary Delete an unpublished JAR version
|
|
@@ -729,16 +650,6 @@ export const ClusterJarApiFactory = function (configuration?: Configuration, bas
|
|
|
729
650
|
* @interface ClusterJarApi
|
|
730
651
|
*/
|
|
731
652
|
export interface ClusterJarApiInterface {
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
735
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
736
|
-
* @param {*} [options] Override http request option.
|
|
737
|
-
* @throws {RequiredError}
|
|
738
|
-
* @memberof ClusterJarApiInterface
|
|
739
|
-
*/
|
|
740
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
741
|
-
|
|
742
653
|
/**
|
|
743
654
|
*
|
|
744
655
|
* @summary Delete an unpublished JAR version
|
|
@@ -811,41 +722,6 @@ export interface ClusterJarApiInterface {
|
|
|
811
722
|
|
|
812
723
|
}
|
|
813
724
|
|
|
814
|
-
/**
|
|
815
|
-
* Request parameters for archiveClusterJar operation in ClusterJarApi.
|
|
816
|
-
* @export
|
|
817
|
-
* @interface ClusterJarApiArchiveClusterJarRequest
|
|
818
|
-
*/
|
|
819
|
-
export interface ClusterJarApiArchiveClusterJarRequest {
|
|
820
|
-
/**
|
|
821
|
-
* Doris or SelectDB engine of the target cluster.
|
|
822
|
-
* @type {string}
|
|
823
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
824
|
-
*/
|
|
825
|
-
readonly engineName: string
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
*
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
831
|
-
*/
|
|
832
|
-
readonly orgName: string
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
838
|
-
*/
|
|
839
|
-
readonly clusterName: string
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @type {string}
|
|
844
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
845
|
-
*/
|
|
846
|
-
readonly jarId: string
|
|
847
|
-
}
|
|
848
|
-
|
|
849
725
|
/**
|
|
850
726
|
* Request parameters for deleteClusterJar operation in ClusterJarApi.
|
|
851
727
|
* @export
|
|
@@ -1112,18 +988,6 @@ export interface ClusterJarApiUploadClusterJarRequest {
|
|
|
1112
988
|
* @extends {BaseAPI}
|
|
1113
989
|
*/
|
|
1114
990
|
export class ClusterJarApi extends BaseAPI implements ClusterJarApiInterface {
|
|
1115
|
-
/**
|
|
1116
|
-
*
|
|
1117
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
1118
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
1119
|
-
* @param {*} [options] Override http request option.
|
|
1120
|
-
* @throws {RequiredError}
|
|
1121
|
-
* @memberof ClusterJarApi
|
|
1122
|
-
*/
|
|
1123
|
-
public archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
1124
|
-
return ClusterJarApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
991
|
/**
|
|
1128
992
|
*
|
|
1129
993
|
* @summary Delete an unpublished JAR version
|
|
@@ -764,59 +764,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
764
764
|
options: localVarRequestOptions,
|
|
765
765
|
};
|
|
766
766
|
},
|
|
767
|
-
/**
|
|
768
|
-
*
|
|
769
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
770
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
771
|
-
* @param {string} orgName
|
|
772
|
-
* @param {string} clusterName
|
|
773
|
-
* @param {string} jarId
|
|
774
|
-
* @param {*} [options] Override http request option.
|
|
775
|
-
* @throws {RequiredError}
|
|
776
|
-
*/
|
|
777
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
778
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
779
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
780
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
781
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
782
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
783
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
784
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
785
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
786
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
787
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
788
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
789
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
790
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
791
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
792
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
793
|
-
let baseOptions;
|
|
794
|
-
if (configuration) {
|
|
795
|
-
baseOptions = configuration.baseOptions;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
799
|
-
const localVarHeaderParameter = {} as any;
|
|
800
|
-
const localVarQueryParameter = {} as any;
|
|
801
|
-
|
|
802
|
-
// authentication BearerToken required
|
|
803
|
-
// http bearer authentication required
|
|
804
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
805
|
-
|
|
806
|
-
// authentication DigestAuth required
|
|
807
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
812
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
813
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
814
|
-
|
|
815
|
-
return {
|
|
816
|
-
url: toPathString(localVarUrlObj),
|
|
817
|
-
options: localVarRequestOptions,
|
|
818
|
-
};
|
|
819
|
-
},
|
|
820
767
|
/**
|
|
821
768
|
* list the service version of the engine
|
|
822
769
|
* @summary list the service version of the engine
|
|
@@ -17949,22 +17896,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17949
17896
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
17950
17897
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17951
17898
|
},
|
|
17952
|
-
/**
|
|
17953
|
-
*
|
|
17954
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
17955
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17956
|
-
* @param {string} orgName
|
|
17957
|
-
* @param {string} clusterName
|
|
17958
|
-
* @param {string} jarId
|
|
17959
|
-
* @param {*} [options] Override http request option.
|
|
17960
|
-
* @throws {RequiredError}
|
|
17961
|
-
*/
|
|
17962
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17963
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
17964
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17965
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
17966
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17967
|
-
},
|
|
17968
17899
|
/**
|
|
17969
17900
|
* list the service version of the engine
|
|
17970
17901
|
* @summary list the service version of the engine
|
|
@@ -22967,16 +22898,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22967
22898
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
22968
22899
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
22969
22900
|
},
|
|
22970
|
-
/**
|
|
22971
|
-
*
|
|
22972
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
22973
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
22974
|
-
* @param {*} [options] Override http request option.
|
|
22975
|
-
* @throws {RequiredError}
|
|
22976
|
-
*/
|
|
22977
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22978
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22979
|
-
},
|
|
22980
22901
|
/**
|
|
22981
22902
|
* list the service version of the engine
|
|
22982
22903
|
* @summary list the service version of the engine
|
|
@@ -26160,16 +26081,6 @@ export interface SharedApiInterface {
|
|
|
26160
26081
|
*/
|
|
26161
26082
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
26162
26083
|
|
|
26163
|
-
/**
|
|
26164
|
-
*
|
|
26165
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
26166
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
26167
|
-
* @param {*} [options] Override http request option.
|
|
26168
|
-
* @throws {RequiredError}
|
|
26169
|
-
* @memberof SharedApiInterface
|
|
26170
|
-
*/
|
|
26171
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26172
|
-
|
|
26173
26084
|
/**
|
|
26174
26085
|
* list the service version of the engine
|
|
26175
26086
|
* @summary list the service version of the engine
|
|
@@ -29545,41 +29456,6 @@ export interface SharedApiAlterParameterRequest {
|
|
|
29545
29456
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
29546
29457
|
}
|
|
29547
29458
|
|
|
29548
|
-
/**
|
|
29549
|
-
* Request parameters for archiveClusterJar operation in SharedApi.
|
|
29550
|
-
* @export
|
|
29551
|
-
* @interface SharedApiArchiveClusterJarRequest
|
|
29552
|
-
*/
|
|
29553
|
-
export interface SharedApiArchiveClusterJarRequest {
|
|
29554
|
-
/**
|
|
29555
|
-
* Doris or SelectDB engine of the target cluster.
|
|
29556
|
-
* @type {string}
|
|
29557
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29558
|
-
*/
|
|
29559
|
-
readonly engineName: string
|
|
29560
|
-
|
|
29561
|
-
/**
|
|
29562
|
-
*
|
|
29563
|
-
* @type {string}
|
|
29564
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29565
|
-
*/
|
|
29566
|
-
readonly orgName: string
|
|
29567
|
-
|
|
29568
|
-
/**
|
|
29569
|
-
*
|
|
29570
|
-
* @type {string}
|
|
29571
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29572
|
-
*/
|
|
29573
|
-
readonly clusterName: string
|
|
29574
|
-
|
|
29575
|
-
/**
|
|
29576
|
-
*
|
|
29577
|
-
* @type {string}
|
|
29578
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29579
|
-
*/
|
|
29580
|
-
readonly jarId: string
|
|
29581
|
-
}
|
|
29582
|
-
|
|
29583
29459
|
/**
|
|
29584
29460
|
* Request parameters for availableServiceVersion operation in SharedApi.
|
|
29585
29461
|
* @export
|
|
@@ -40078,18 +39954,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40078
39954
|
return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
40079
39955
|
}
|
|
40080
39956
|
|
|
40081
|
-
/**
|
|
40082
|
-
*
|
|
40083
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
40084
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
40085
|
-
* @param {*} [options] Override http request option.
|
|
40086
|
-
* @throws {RequiredError}
|
|
40087
|
-
* @memberof SharedApi
|
|
40088
|
-
*/
|
|
40089
|
-
public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
40090
|
-
return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
40091
|
-
}
|
|
40092
|
-
|
|
40093
39957
|
/**
|
|
40094
39958
|
* list the service version of the engine
|
|
40095
39959
|
* @summary list the service version of the engine
|
|
@@ -30,6 +30,8 @@ import type { Task } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { TaskList } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
+
import type { TaskRetryMode } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
33
35
|
import type { TaskTypeList } from '../models';
|
|
34
36
|
/**
|
|
35
37
|
* TaskApi - axios parameter creator
|
|
@@ -375,13 +377,14 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
375
377
|
};
|
|
376
378
|
},
|
|
377
379
|
/**
|
|
378
|
-
*
|
|
380
|
+
* Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
|
|
379
381
|
* @summary Retry a task
|
|
380
382
|
* @param {string} taskId ID of the task
|
|
383
|
+
* @param {TaskRetryMode} [mode] restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
|
|
381
384
|
* @param {*} [options] Override http request option.
|
|
382
385
|
* @throws {RequiredError}
|
|
383
386
|
*/
|
|
384
|
-
retryTask: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
387
|
+
retryTask: async (taskId: string, mode?: TaskRetryMode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
385
388
|
// verify required parameter 'taskId' is not null or undefined
|
|
386
389
|
assertParamExists('retryTask', 'taskId', taskId)
|
|
387
390
|
const localVarPath = `/admin/v1/tasks/{taskId}/retry`
|
|
@@ -404,6 +407,10 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
404
407
|
// authentication DigestAuth required
|
|
405
408
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
406
409
|
|
|
410
|
+
if (mode !== undefined) {
|
|
411
|
+
localVarQueryParameter['mode'] = mode;
|
|
412
|
+
}
|
|
413
|
+
|
|
407
414
|
|
|
408
415
|
|
|
409
416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -567,14 +574,15 @@ export const TaskApiFp = function(configuration?: Configuration) {
|
|
|
567
574
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
575
|
},
|
|
569
576
|
/**
|
|
570
|
-
*
|
|
577
|
+
* Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
|
|
571
578
|
* @summary Retry a task
|
|
572
579
|
* @param {string} taskId ID of the task
|
|
580
|
+
* @param {TaskRetryMode} [mode] restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
|
|
573
581
|
* @param {*} [options] Override http request option.
|
|
574
582
|
* @throws {RequiredError}
|
|
575
583
|
*/
|
|
576
|
-
async retryTask(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
577
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.retryTask(taskId, options);
|
|
584
|
+
async retryTask(taskId: string, mode?: TaskRetryMode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
|
|
585
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryTask(taskId, mode, options);
|
|
578
586
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
579
587
|
const localVarOperationServerBasePath = operationServerMap['TaskApi.retryTask']?.[localVarOperationServerIndex]?.url;
|
|
580
588
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -672,14 +680,14 @@ export const TaskApiFactory = function (configuration?: Configuration, basePath?
|
|
|
672
680
|
return localVarFp.listTasks(requestParameters.start, requestParameters.end, requestParameters.orgName, requestParameters.resourceId, requestParameters.resourceType, requestParameters.taskType, requestParameters.status, requestParameters.pageNumber, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
673
681
|
},
|
|
674
682
|
/**
|
|
675
|
-
*
|
|
683
|
+
* Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
|
|
676
684
|
* @summary Retry a task
|
|
677
685
|
* @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
|
|
678
686
|
* @param {*} [options] Override http request option.
|
|
679
687
|
* @throws {RequiredError}
|
|
680
688
|
*/
|
|
681
689
|
retryTask(requestParameters: TaskApiRetryTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
|
|
682
|
-
return localVarFp.retryTask(requestParameters.taskId, options).then((request) => request(axios, basePath));
|
|
690
|
+
return localVarFp.retryTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
683
691
|
},
|
|
684
692
|
/**
|
|
685
693
|
* stop task
|
|
@@ -770,7 +778,7 @@ export interface TaskApiInterface {
|
|
|
770
778
|
listTasks(requestParameters: TaskApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskList>;
|
|
771
779
|
|
|
772
780
|
/**
|
|
773
|
-
*
|
|
781
|
+
* Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
|
|
774
782
|
* @summary Retry a task
|
|
775
783
|
* @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
|
|
776
784
|
* @param {*} [options] Override http request option.
|
|
@@ -957,6 +965,13 @@ export interface TaskApiRetryTaskRequest {
|
|
|
957
965
|
* @memberof TaskApiRetryTask
|
|
958
966
|
*/
|
|
959
967
|
readonly taskId: string
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
|
|
971
|
+
* @type {TaskRetryMode}
|
|
972
|
+
* @memberof TaskApiRetryTask
|
|
973
|
+
*/
|
|
974
|
+
readonly mode?: TaskRetryMode
|
|
960
975
|
}
|
|
961
976
|
|
|
962
977
|
/**
|
|
@@ -1064,7 +1079,7 @@ export class TaskApi extends BaseAPI implements TaskApiInterface {
|
|
|
1064
1079
|
}
|
|
1065
1080
|
|
|
1066
1081
|
/**
|
|
1067
|
-
*
|
|
1082
|
+
* Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
|
|
1068
1083
|
* @summary Retry a task
|
|
1069
1084
|
* @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
|
|
1070
1085
|
* @param {*} [options] Override http request option.
|
|
@@ -1072,7 +1087,7 @@ export class TaskApi extends BaseAPI implements TaskApiInterface {
|
|
|
1072
1087
|
* @memberof TaskApi
|
|
1073
1088
|
*/
|
|
1074
1089
|
public retryTask(requestParameters: TaskApiRetryTaskRequest, options?: RawAxiosRequestConfig) {
|
|
1075
|
-
return TaskApiFp(this.configuration).retryTask(requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
|
|
1090
|
+
return TaskApiFp(this.configuration).retryTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
1076
1091
|
}
|
|
1077
1092
|
|
|
1078
1093
|
/**
|
|
@@ -35,6 +35,12 @@ import type { SelectiveMethodOption } from './selective-method-option';
|
|
|
35
35
|
* @interface BackupOption
|
|
36
36
|
*/
|
|
37
37
|
export interface BackupOption {
|
|
38
|
+
/**
|
|
39
|
+
* Engine modes that support backup and restore. Omitted or null means all modes (legacy behavior); an empty array disables backup and restore for all modes.
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof BackupOption
|
|
42
|
+
*/
|
|
43
|
+
'modes'?: Array<string>;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {string}
|
|
@@ -20,6 +20,42 @@
|
|
|
20
20
|
* @interface DmsPagination
|
|
21
21
|
*/
|
|
22
22
|
export interface DmsPagination {
|
|
23
|
+
/**
|
|
24
|
+
* Zero-based offset of this showData page.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DmsPagination
|
|
27
|
+
*/
|
|
28
|
+
'offset'?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DmsPagination
|
|
33
|
+
*/
|
|
34
|
+
'limit'?: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Whether another showData page exists; determined by reading one extra row.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof DmsPagination
|
|
39
|
+
*/
|
|
40
|
+
'hasMore'?: boolean | null;
|
|
41
|
+
/**
|
|
42
|
+
* Present only when hasMore is true.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DmsPagination
|
|
45
|
+
*/
|
|
46
|
+
'nextOffset'?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Exact count returned only by countOnly requests (including zero).
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof DmsPagination
|
|
51
|
+
*/
|
|
52
|
+
'totalRows'?: number | null;
|
|
53
|
+
/**
|
|
54
|
+
* Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof DmsPagination
|
|
57
|
+
*/
|
|
58
|
+
'orderColumns'?: Array<string>;
|
|
23
59
|
/**
|
|
24
60
|
*
|
|
25
61
|
* @type {number}
|