kb-cloud-client-typescript 2.4.0-alpha.129 → 2.4.0-alpha.130
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/backup-api.d.ts +64 -0
- package/dist/adminapi/apis/backup-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-api.js +75 -0
- package/dist/adminapi/apis/backup-api.js.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.js +243 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +224 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +243 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/backup-batch-delete.d.ts +25 -0
- package/dist/adminapi/models/backup-batch-delete.d.ts.map +1 -0
- package/dist/adminapi/models/backup-batch-delete.js +16 -0
- package/dist/adminapi/models/backup-batch-delete.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
- package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/backup-api.d.ts +64 -0
- package/dist/openapi/apis/backup-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-api.js +75 -0
- package/dist/openapi/apis/backup-api.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/openapi/apis/dolphindb-api.js +243 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +224 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +243 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/backup-batch-delete.d.ts +25 -0
- package/dist/openapi/models/backup-batch-delete.d.ts.map +1 -0
- package/dist/openapi/models/backup-batch-delete.js +16 -0
- package/dist/openapi/models/backup-batch-delete.js.map +1 -0
- package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.js +16 -0
- package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
- package/dist/openapi/models/index.d.ts +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/backup-api.ts +116 -0
- package/src/adminapi/apis/dolphindb-api.ts +397 -0
- package/src/adminapi/apis/shared-api.ts +395 -0
- package/src/adminapi/models/backup-batch-delete.ts +30 -0
- package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
- package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi.yaml +292 -24
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/backup-api.ts +116 -0
- package/src/openapi/apis/dolphindb-api.ts +397 -0
- package/src/openapi/apis/shared-api.ts +395 -0
- package/src/openapi/models/backup-batch-delete.ts +30 -0
- package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/openapi/models/dolphin-dbmigration.ts +48 -0
- package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi.yaml +292 -24
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { DolphinDBMigration } from './dolphin-dbmigration';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface DolphinDBRebalancePreview
|
|
24
|
+
*/
|
|
25
|
+
export interface DolphinDBRebalancePreview {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof DolphinDBRebalancePreview
|
|
30
|
+
*/
|
|
31
|
+
'observedAt'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof DolphinDBRebalancePreview
|
|
36
|
+
*/
|
|
37
|
+
'updatedBeforeDays'?: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof DolphinDBRebalancePreview
|
|
42
|
+
*/
|
|
43
|
+
'total'?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof DolphinDBRebalancePreview
|
|
48
|
+
*/
|
|
49
|
+
'offset'?: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<DolphinDBMigration>}
|
|
53
|
+
* @memberof DolphinDBRebalancePreview
|
|
54
|
+
*/
|
|
55
|
+
'entries'?: Array<DolphinDBMigration>;
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DolphinDBRebalanceRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface DolphinDBRebalanceRequest {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DolphinDBRebalanceRequest
|
|
27
|
+
*/
|
|
28
|
+
'updatedBeforeDays'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Addon wait timeout. Expiry does not cancel native migrations.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DolphinDBRebalanceRequest
|
|
33
|
+
*/
|
|
34
|
+
'timeoutSeconds'?: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DolphinDBReplicaDistribution
|
|
21
|
+
*/
|
|
22
|
+
export interface DolphinDBReplicaDistribution {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DolphinDBReplicaDistribution
|
|
27
|
+
*/
|
|
28
|
+
'node'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DolphinDBReplicaDistribution
|
|
33
|
+
*/
|
|
34
|
+
'replicaCount'?: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DolphinDBVolumeUsage
|
|
21
|
+
*/
|
|
22
|
+
export interface DolphinDBVolumeUsage {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DolphinDBVolumeUsage
|
|
27
|
+
*/
|
|
28
|
+
'node'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DolphinDBVolumeUsage
|
|
33
|
+
*/
|
|
34
|
+
'volumePath'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof DolphinDBVolumeUsage
|
|
39
|
+
*/
|
|
40
|
+
'usage'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DolphinDBVolumeUsage
|
|
45
|
+
*/
|
|
46
|
+
'capacity'?: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -74,6 +74,7 @@ export * from './auto-inspection-resource-type';
|
|
|
74
74
|
export * from './auto-inspection-run-unit';
|
|
75
75
|
export * from './available-cluster-list-inner';
|
|
76
76
|
export * from './backup';
|
|
77
|
+
export * from './backup-batch-delete';
|
|
77
78
|
export * from './backup-create';
|
|
78
79
|
export * from './backup-download';
|
|
79
80
|
export * from './backup-list';
|
|
@@ -393,17 +394,23 @@ export * from './dms-unique-key';
|
|
|
393
394
|
export * from './dms-view-metadata';
|
|
394
395
|
export * from './dms-visual-explain-request';
|
|
395
396
|
export * from './dolphin-dbcapabilities';
|
|
397
|
+
export * from './dolphin-dbdistribution';
|
|
396
398
|
export * from './dolphin-dbgroup';
|
|
397
399
|
export * from './dolphin-dbgroup-create';
|
|
398
400
|
export * from './dolphin-dbgroup-permissions';
|
|
399
401
|
export * from './dolphin-dbmembership-change';
|
|
402
|
+
export * from './dolphin-dbmigration';
|
|
400
403
|
export * from './dolphin-dbpassword-change';
|
|
401
404
|
export * from './dolphin-dbpermission-change';
|
|
402
405
|
export * from './dolphin-dbpermission-snapshot';
|
|
403
406
|
export * from './dolphin-dbpermission-state';
|
|
404
407
|
export * from './dolphin-dbprivilege-capability';
|
|
408
|
+
export * from './dolphin-dbrebalance-preview';
|
|
409
|
+
export * from './dolphin-dbrebalance-request';
|
|
410
|
+
export * from './dolphin-dbreplica-distribution';
|
|
405
411
|
export * from './dolphin-dbuser';
|
|
406
412
|
export * from './dolphin-dbuser-create';
|
|
413
|
+
export * from './dolphin-dbvolume-usage';
|
|
407
414
|
export * from './esput-security-user-request';
|
|
408
415
|
export * from './essecurity-application-privileges';
|
|
409
416
|
export * from './essecurity-field-security';
|
package/src/openapi.yaml
CHANGED
|
@@ -116,6 +116,147 @@ tags:
|
|
|
116
116
|
- name: blueGreenDeployment
|
|
117
117
|
description: Blue Green Deployment APIs
|
|
118
118
|
paths:
|
|
119
|
+
/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview:
|
|
120
|
+
get:
|
|
121
|
+
summary: DolphinDB PreviewRebalance
|
|
122
|
+
operationId: dolphinDBPreviewRebalance
|
|
123
|
+
tags:
|
|
124
|
+
- dolphindb
|
|
125
|
+
- shared
|
|
126
|
+
description: Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
127
|
+
parameters:
|
|
128
|
+
- name: orgName
|
|
129
|
+
in: path
|
|
130
|
+
required: true
|
|
131
|
+
schema:
|
|
132
|
+
type: string
|
|
133
|
+
- name: clusterName
|
|
134
|
+
in: path
|
|
135
|
+
required: true
|
|
136
|
+
schema:
|
|
137
|
+
type: string
|
|
138
|
+
- name: offset
|
|
139
|
+
in: query
|
|
140
|
+
schema:
|
|
141
|
+
type: integer
|
|
142
|
+
minimum: 0
|
|
143
|
+
maximum: 10000000
|
|
144
|
+
default: 0
|
|
145
|
+
- name: limit
|
|
146
|
+
in: query
|
|
147
|
+
schema:
|
|
148
|
+
type: integer
|
|
149
|
+
minimum: 1
|
|
150
|
+
maximum: 1000
|
|
151
|
+
default: 100
|
|
152
|
+
- name: updatedBeforeDays
|
|
153
|
+
in: query
|
|
154
|
+
schema:
|
|
155
|
+
type: number
|
|
156
|
+
minimum: 0
|
|
157
|
+
maximum: 36500
|
|
158
|
+
default: 7
|
|
159
|
+
responses:
|
|
160
|
+
'200':
|
|
161
|
+
description: Operation result
|
|
162
|
+
content:
|
|
163
|
+
application/json:
|
|
164
|
+
schema:
|
|
165
|
+
$ref: '#/components/schemas/DolphinDBRebalancePreview'
|
|
166
|
+
'400':
|
|
167
|
+
$ref: '#/components/responses/400'
|
|
168
|
+
'401':
|
|
169
|
+
$ref: '#/components/responses/401'
|
|
170
|
+
'403':
|
|
171
|
+
$ref: '#/components/responses/403'
|
|
172
|
+
'404':
|
|
173
|
+
$ref: '#/components/responses/404'
|
|
174
|
+
'409':
|
|
175
|
+
$ref: '#/components/responses/409'
|
|
176
|
+
'500':
|
|
177
|
+
$ref: '#/components/responses/500'
|
|
178
|
+
/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution:
|
|
179
|
+
get:
|
|
180
|
+
summary: DolphinDB GetDistribution
|
|
181
|
+
operationId: dolphinDBGetDistribution
|
|
182
|
+
tags:
|
|
183
|
+
- dolphindb
|
|
184
|
+
- shared
|
|
185
|
+
description: Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
186
|
+
parameters:
|
|
187
|
+
- name: orgName
|
|
188
|
+
in: path
|
|
189
|
+
required: true
|
|
190
|
+
schema:
|
|
191
|
+
type: string
|
|
192
|
+
- name: clusterName
|
|
193
|
+
in: path
|
|
194
|
+
required: true
|
|
195
|
+
schema:
|
|
196
|
+
type: string
|
|
197
|
+
responses:
|
|
198
|
+
'200':
|
|
199
|
+
description: Operation result
|
|
200
|
+
content:
|
|
201
|
+
application/json:
|
|
202
|
+
schema:
|
|
203
|
+
$ref: '#/components/schemas/DolphinDBDistribution'
|
|
204
|
+
'400':
|
|
205
|
+
$ref: '#/components/responses/400'
|
|
206
|
+
'401':
|
|
207
|
+
$ref: '#/components/responses/401'
|
|
208
|
+
'403':
|
|
209
|
+
$ref: '#/components/responses/403'
|
|
210
|
+
'404':
|
|
211
|
+
$ref: '#/components/responses/404'
|
|
212
|
+
'409':
|
|
213
|
+
$ref: '#/components/responses/409'
|
|
214
|
+
'500':
|
|
215
|
+
$ref: '#/components/responses/500'
|
|
216
|
+
/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations:
|
|
217
|
+
post:
|
|
218
|
+
summary: DolphinDB CreateRebalance
|
|
219
|
+
operationId: dolphinDBCreateRebalance
|
|
220
|
+
tags:
|
|
221
|
+
- dolphindb
|
|
222
|
+
- shared
|
|
223
|
+
description: Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
|
|
224
|
+
parameters:
|
|
225
|
+
- name: orgName
|
|
226
|
+
in: path
|
|
227
|
+
required: true
|
|
228
|
+
schema:
|
|
229
|
+
type: string
|
|
230
|
+
- name: clusterName
|
|
231
|
+
in: path
|
|
232
|
+
required: true
|
|
233
|
+
schema:
|
|
234
|
+
type: string
|
|
235
|
+
responses:
|
|
236
|
+
'202':
|
|
237
|
+
description: Operation result
|
|
238
|
+
content:
|
|
239
|
+
application/json:
|
|
240
|
+
schema:
|
|
241
|
+
$ref: '#/components/schemas/opsRequestName'
|
|
242
|
+
'400':
|
|
243
|
+
$ref: '#/components/responses/400'
|
|
244
|
+
'401':
|
|
245
|
+
$ref: '#/components/responses/401'
|
|
246
|
+
'403':
|
|
247
|
+
$ref: '#/components/responses/403'
|
|
248
|
+
'404':
|
|
249
|
+
$ref: '#/components/responses/404'
|
|
250
|
+
'409':
|
|
251
|
+
$ref: '#/components/responses/409'
|
|
252
|
+
'500':
|
|
253
|
+
$ref: '#/components/responses/500'
|
|
254
|
+
requestBody:
|
|
255
|
+
required: true
|
|
256
|
+
content:
|
|
257
|
+
application/json:
|
|
258
|
+
schema:
|
|
259
|
+
$ref: '#/components/schemas/DolphinDBRebalanceRequest'
|
|
119
260
|
/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
120
261
|
get:
|
|
121
262
|
summary: DolphinDB ListUsers
|
|
@@ -9262,6 +9403,37 @@ paths:
|
|
|
9262
9403
|
$ref: '#/components/responses/403'
|
|
9263
9404
|
tags:
|
|
9264
9405
|
- backup
|
|
9406
|
+
/api/v1/organizations/{orgName}/backups/batch-delete:
|
|
9407
|
+
post:
|
|
9408
|
+
operationId: batchDeleteBackups
|
|
9409
|
+
summary: Batch delete backups
|
|
9410
|
+
description: Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
9411
|
+
parameters:
|
|
9412
|
+
- description: name of the Org
|
|
9413
|
+
in: path
|
|
9414
|
+
name: orgName
|
|
9415
|
+
required: true
|
|
9416
|
+
schema:
|
|
9417
|
+
type: string
|
|
9418
|
+
requestBody:
|
|
9419
|
+
content:
|
|
9420
|
+
application/json:
|
|
9421
|
+
schema:
|
|
9422
|
+
$ref: '#/components/schemas/backupBatchDelete'
|
|
9423
|
+
required: true
|
|
9424
|
+
responses:
|
|
9425
|
+
'204':
|
|
9426
|
+
content: {}
|
|
9427
|
+
description: Returned when the backups are deleted successfully.
|
|
9428
|
+
'400':
|
|
9429
|
+
$ref: '#/components/responses/400'
|
|
9430
|
+
'401':
|
|
9431
|
+
$ref: '#/components/responses/401'
|
|
9432
|
+
'403':
|
|
9433
|
+
$ref: '#/components/responses/403'
|
|
9434
|
+
tags:
|
|
9435
|
+
- backup
|
|
9436
|
+
x-codegen-request-body-name: body
|
|
9265
9437
|
/api/v1/organizations/{orgName}/backupStats:
|
|
9266
9438
|
get:
|
|
9267
9439
|
operationId: getBackupStats
|
|
@@ -26037,25 +26209,39 @@ components:
|
|
|
26037
26209
|
curl --digest -u "accessKey:secretKey" https://api.example.com/api/v1/user
|
|
26038
26210
|
```
|
|
26039
26211
|
schemas:
|
|
26040
|
-
|
|
26212
|
+
DolphinDBMigration:
|
|
26041
26213
|
type: object
|
|
26042
26214
|
properties:
|
|
26043
|
-
|
|
26215
|
+
chunkId:
|
|
26044
26216
|
type: string
|
|
26045
|
-
|
|
26046
|
-
type:
|
|
26047
|
-
|
|
26217
|
+
srcNode:
|
|
26218
|
+
type: string
|
|
26219
|
+
destNode:
|
|
26220
|
+
type: string
|
|
26221
|
+
destVolume:
|
|
26222
|
+
type: string
|
|
26223
|
+
required:
|
|
26224
|
+
- chunkId
|
|
26225
|
+
- srcNode
|
|
26226
|
+
- destNode
|
|
26227
|
+
DolphinDBRebalancePreview:
|
|
26228
|
+
type: object
|
|
26229
|
+
properties:
|
|
26230
|
+
observedAt:
|
|
26231
|
+
type: string
|
|
26232
|
+
format: date-time
|
|
26233
|
+
updatedBeforeDays:
|
|
26234
|
+
type: number
|
|
26235
|
+
total:
|
|
26236
|
+
type: integer
|
|
26237
|
+
format: int64
|
|
26238
|
+
offset:
|
|
26239
|
+
type: integer
|
|
26240
|
+
format: int64
|
|
26241
|
+
entries:
|
|
26048
26242
|
type: array
|
|
26049
26243
|
items:
|
|
26050
|
-
|
|
26051
|
-
readOnly:
|
|
26052
|
-
type: boolean
|
|
26053
|
-
description: Built-in admin and management account are protected from mutation.
|
|
26054
|
-
required:
|
|
26055
|
-
- name
|
|
26056
|
-
- isAdmin
|
|
26057
|
-
- groups
|
|
26058
|
-
- readOnly
|
|
26244
|
+
$ref: '#/components/schemas/DolphinDBMigration'
|
|
26059
26245
|
APIErrorResponse:
|
|
26060
26246
|
description: API error response.
|
|
26061
26247
|
properties:
|
|
@@ -26071,6 +26257,85 @@ components:
|
|
|
26071
26257
|
required:
|
|
26072
26258
|
- code
|
|
26073
26259
|
type: object
|
|
26260
|
+
DolphinDBVolumeUsage:
|
|
26261
|
+
type: object
|
|
26262
|
+
properties:
|
|
26263
|
+
node:
|
|
26264
|
+
type: string
|
|
26265
|
+
volumePath:
|
|
26266
|
+
type: string
|
|
26267
|
+
usage:
|
|
26268
|
+
type: integer
|
|
26269
|
+
format: int64
|
|
26270
|
+
capacity:
|
|
26271
|
+
type: integer
|
|
26272
|
+
format: int64
|
|
26273
|
+
DolphinDBReplicaDistribution:
|
|
26274
|
+
type: object
|
|
26275
|
+
properties:
|
|
26276
|
+
node:
|
|
26277
|
+
type: string
|
|
26278
|
+
replicaCount:
|
|
26279
|
+
type: integer
|
|
26280
|
+
format: int64
|
|
26281
|
+
DolphinDBDistribution:
|
|
26282
|
+
type: object
|
|
26283
|
+
properties:
|
|
26284
|
+
observedAt:
|
|
26285
|
+
type: string
|
|
26286
|
+
format: date-time
|
|
26287
|
+
volumes:
|
|
26288
|
+
type: array
|
|
26289
|
+
items:
|
|
26290
|
+
$ref: '#/components/schemas/DolphinDBVolumeUsage'
|
|
26291
|
+
replicas:
|
|
26292
|
+
type: array
|
|
26293
|
+
items:
|
|
26294
|
+
$ref: '#/components/schemas/DolphinDBReplicaDistribution'
|
|
26295
|
+
DolphinDBRebalanceRequest:
|
|
26296
|
+
type: object
|
|
26297
|
+
properties:
|
|
26298
|
+
updatedBeforeDays:
|
|
26299
|
+
type: number
|
|
26300
|
+
minimum: 0
|
|
26301
|
+
maximum: 36500
|
|
26302
|
+
default: 7
|
|
26303
|
+
timeoutSeconds:
|
|
26304
|
+
type: integer
|
|
26305
|
+
format: int32
|
|
26306
|
+
minimum: 1
|
|
26307
|
+
maximum: 86400
|
|
26308
|
+
default: 3600
|
|
26309
|
+
description: Addon wait timeout. Expiry does not cancel native migrations.
|
|
26310
|
+
opsRequestName:
|
|
26311
|
+
description: OpsRequestName is the name of a KubeBlocks OpsRequest response
|
|
26312
|
+
properties:
|
|
26313
|
+
opsRequestName:
|
|
26314
|
+
type: string
|
|
26315
|
+
taskId:
|
|
26316
|
+
type: string
|
|
26317
|
+
required:
|
|
26318
|
+
- taskId
|
|
26319
|
+
type: object
|
|
26320
|
+
DolphinDBUser:
|
|
26321
|
+
type: object
|
|
26322
|
+
properties:
|
|
26323
|
+
name:
|
|
26324
|
+
type: string
|
|
26325
|
+
isAdmin:
|
|
26326
|
+
type: boolean
|
|
26327
|
+
groups:
|
|
26328
|
+
type: array
|
|
26329
|
+
items:
|
|
26330
|
+
type: string
|
|
26331
|
+
readOnly:
|
|
26332
|
+
type: boolean
|
|
26333
|
+
description: Built-in admin and management account are protected from mutation.
|
|
26334
|
+
required:
|
|
26335
|
+
- name
|
|
26336
|
+
- isAdmin
|
|
26337
|
+
- groups
|
|
26338
|
+
- readOnly
|
|
26074
26339
|
DolphinDBUserCreate:
|
|
26075
26340
|
type: object
|
|
26076
26341
|
properties:
|
|
@@ -30111,16 +30376,6 @@ components:
|
|
|
30111
30376
|
networkMode:
|
|
30112
30377
|
description: Specify the network mode the cluster transitions to. Defaults to the network mode of the cluster when omitted.
|
|
30113
30378
|
$ref: '#/components/schemas/networkMode'
|
|
30114
|
-
opsRequestName:
|
|
30115
|
-
description: OpsRequestName is the name of a KubeBlocks OpsRequest response
|
|
30116
|
-
properties:
|
|
30117
|
-
opsRequestName:
|
|
30118
|
-
type: string
|
|
30119
|
-
taskId:
|
|
30120
|
-
type: string
|
|
30121
|
-
required:
|
|
30122
|
-
- taskId
|
|
30123
|
-
type: object
|
|
30124
30379
|
logRetention:
|
|
30125
30380
|
type: object
|
|
30126
30381
|
description: Log retention in days.
|
|
@@ -35780,6 +36035,19 @@ components:
|
|
|
35780
36035
|
required:
|
|
35781
36036
|
- items
|
|
35782
36037
|
type: object
|
|
36038
|
+
backupBatchDelete:
|
|
36039
|
+
description: BackupBatchDelete is the payload for deleting multiple backups
|
|
36040
|
+
type: object
|
|
36041
|
+
required:
|
|
36042
|
+
- backupIds
|
|
36043
|
+
properties:
|
|
36044
|
+
backupIds:
|
|
36045
|
+
description: IDs of the backups to delete
|
|
36046
|
+
type: array
|
|
36047
|
+
minItems: 1
|
|
36048
|
+
maxItems: 100
|
|
36049
|
+
items:
|
|
36050
|
+
type: string
|
|
35783
36051
|
backupStatsStatus:
|
|
35784
36052
|
description: Number of backups for the status
|
|
35785
36053
|
properties:
|