kb-cloud-client-typescript 2.3.69 → 2.3.71
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 +3 -3
- package/dist/adminapi/apis/backup-api.js +2 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-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 +227 -3
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +245 -2
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- 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/environment-delete.d.ts +6 -0
- package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
- 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/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/adminapi/models/selected-object-option.d.ts +7 -0
- package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
- package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
- package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
- package/dist/internalapi/apis/cluster-api.d.ts +4 -4
- package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-api.d.ts +3 -3
- package/dist/openapi/apis/backup-api.js +2 -2
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-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 +227 -3
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +245 -2
- package/dist/openapi/apis/shared-api.js.map +1 -1
- 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/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/openapi/models/selected-object-option.d.ts +7 -0
- package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/backup-api.ts +3 -3
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/dolphindb-api.ts +397 -0
- package/src/adminapi/apis/shared-api.ts +398 -3
- 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/environment-delete.ts +6 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/adminapi/models/selected-object-option-tree.ts +1 -1
- package/src/adminapi/models/selected-object-option.ts +11 -0
- package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
- package/src/adminapi.yaml +324 -30
- package/src/internalapi/apis/cluster-api.ts +3 -3
- package/src/internalapi.yaml +9 -2
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/backup-api.ts +3 -3
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/dolphindb-api.ts +397 -0
- package/src/openapi/apis/shared-api.ts +398 -3
- 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/models/selected-object-conversion-strategy.ts +31 -0
- package/src/openapi/models/selected-object-option-tree.ts +1 -1
- package/src/openapi/models/selected-object-option.ts +11 -0
- package/src/openapi.yaml +316 -28
package/src/adminapi.yaml
CHANGED
|
@@ -76,6 +76,147 @@ tags:
|
|
|
76
76
|
- name: disasterRecovery
|
|
77
77
|
description: Cluster Disaster Recovery APIs
|
|
78
78
|
paths:
|
|
79
|
+
/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview:
|
|
80
|
+
get:
|
|
81
|
+
summary: DolphinDB PreviewRebalance
|
|
82
|
+
operationId: dolphinDBPreviewRebalance
|
|
83
|
+
tags:
|
|
84
|
+
- dolphindb
|
|
85
|
+
- shared
|
|
86
|
+
description: Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
87
|
+
parameters:
|
|
88
|
+
- name: orgName
|
|
89
|
+
in: path
|
|
90
|
+
required: true
|
|
91
|
+
schema:
|
|
92
|
+
type: string
|
|
93
|
+
- name: clusterName
|
|
94
|
+
in: path
|
|
95
|
+
required: true
|
|
96
|
+
schema:
|
|
97
|
+
type: string
|
|
98
|
+
- name: offset
|
|
99
|
+
in: query
|
|
100
|
+
schema:
|
|
101
|
+
type: integer
|
|
102
|
+
minimum: 0
|
|
103
|
+
maximum: 10000000
|
|
104
|
+
default: 0
|
|
105
|
+
- name: limit
|
|
106
|
+
in: query
|
|
107
|
+
schema:
|
|
108
|
+
type: integer
|
|
109
|
+
minimum: 1
|
|
110
|
+
maximum: 1000
|
|
111
|
+
default: 100
|
|
112
|
+
- name: updatedBeforeDays
|
|
113
|
+
in: query
|
|
114
|
+
schema:
|
|
115
|
+
type: number
|
|
116
|
+
minimum: 0
|
|
117
|
+
maximum: 36500
|
|
118
|
+
default: 7
|
|
119
|
+
responses:
|
|
120
|
+
'200':
|
|
121
|
+
description: Operation result
|
|
122
|
+
content:
|
|
123
|
+
application/json:
|
|
124
|
+
schema:
|
|
125
|
+
$ref: '#/components/schemas/DolphinDBRebalancePreview'
|
|
126
|
+
'400':
|
|
127
|
+
$ref: '#/components/responses/400'
|
|
128
|
+
'401':
|
|
129
|
+
$ref: '#/components/responses/401'
|
|
130
|
+
'403':
|
|
131
|
+
$ref: '#/components/responses/403'
|
|
132
|
+
'404':
|
|
133
|
+
$ref: '#/components/responses/404'
|
|
134
|
+
'409':
|
|
135
|
+
$ref: '#/components/responses/409'
|
|
136
|
+
'500':
|
|
137
|
+
$ref: '#/components/responses/500'
|
|
138
|
+
/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution:
|
|
139
|
+
get:
|
|
140
|
+
summary: DolphinDB GetDistribution
|
|
141
|
+
operationId: dolphinDBGetDistribution
|
|
142
|
+
tags:
|
|
143
|
+
- dolphindb
|
|
144
|
+
- shared
|
|
145
|
+
description: Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
146
|
+
parameters:
|
|
147
|
+
- name: orgName
|
|
148
|
+
in: path
|
|
149
|
+
required: true
|
|
150
|
+
schema:
|
|
151
|
+
type: string
|
|
152
|
+
- name: clusterName
|
|
153
|
+
in: path
|
|
154
|
+
required: true
|
|
155
|
+
schema:
|
|
156
|
+
type: string
|
|
157
|
+
responses:
|
|
158
|
+
'200':
|
|
159
|
+
description: Operation result
|
|
160
|
+
content:
|
|
161
|
+
application/json:
|
|
162
|
+
schema:
|
|
163
|
+
$ref: '#/components/schemas/DolphinDBDistribution'
|
|
164
|
+
'400':
|
|
165
|
+
$ref: '#/components/responses/400'
|
|
166
|
+
'401':
|
|
167
|
+
$ref: '#/components/responses/401'
|
|
168
|
+
'403':
|
|
169
|
+
$ref: '#/components/responses/403'
|
|
170
|
+
'404':
|
|
171
|
+
$ref: '#/components/responses/404'
|
|
172
|
+
'409':
|
|
173
|
+
$ref: '#/components/responses/409'
|
|
174
|
+
'500':
|
|
175
|
+
$ref: '#/components/responses/500'
|
|
176
|
+
/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations:
|
|
177
|
+
post:
|
|
178
|
+
summary: DolphinDB CreateRebalance
|
|
179
|
+
operationId: dolphinDBCreateRebalance
|
|
180
|
+
tags:
|
|
181
|
+
- dolphindb
|
|
182
|
+
- shared
|
|
183
|
+
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.
|
|
184
|
+
parameters:
|
|
185
|
+
- name: orgName
|
|
186
|
+
in: path
|
|
187
|
+
required: true
|
|
188
|
+
schema:
|
|
189
|
+
type: string
|
|
190
|
+
- name: clusterName
|
|
191
|
+
in: path
|
|
192
|
+
required: true
|
|
193
|
+
schema:
|
|
194
|
+
type: string
|
|
195
|
+
responses:
|
|
196
|
+
'202':
|
|
197
|
+
description: Operation result
|
|
198
|
+
content:
|
|
199
|
+
application/json:
|
|
200
|
+
schema:
|
|
201
|
+
$ref: '#/components/schemas/opsRequestName'
|
|
202
|
+
'400':
|
|
203
|
+
$ref: '#/components/responses/400'
|
|
204
|
+
'401':
|
|
205
|
+
$ref: '#/components/responses/401'
|
|
206
|
+
'403':
|
|
207
|
+
$ref: '#/components/responses/403'
|
|
208
|
+
'404':
|
|
209
|
+
$ref: '#/components/responses/404'
|
|
210
|
+
'409':
|
|
211
|
+
$ref: '#/components/responses/409'
|
|
212
|
+
'500':
|
|
213
|
+
$ref: '#/components/responses/500'
|
|
214
|
+
requestBody:
|
|
215
|
+
required: true
|
|
216
|
+
content:
|
|
217
|
+
application/json:
|
|
218
|
+
schema:
|
|
219
|
+
$ref: '#/components/schemas/DolphinDBRebalanceRequest'
|
|
79
220
|
/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
80
221
|
get:
|
|
81
222
|
summary: DolphinDB ListUsers
|
|
@@ -13319,7 +13460,7 @@ paths:
|
|
|
13319
13460
|
type: string
|
|
13320
13461
|
- name: database
|
|
13321
13462
|
in: query
|
|
13322
|
-
description:
|
|
13463
|
+
description: Database name for engines configured to switch the object tree by database.
|
|
13323
13464
|
schema:
|
|
13324
13465
|
type: string
|
|
13325
13466
|
responses:
|
|
@@ -25986,6 +26127,61 @@ paths:
|
|
|
25986
26127
|
$ref: '#/components/responses/404'
|
|
25987
26128
|
'500':
|
|
25988
26129
|
$ref: '#/components/responses/500'
|
|
26130
|
+
/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/performanceTrends:
|
|
26131
|
+
get:
|
|
26132
|
+
tags:
|
|
26133
|
+
- diagnostics
|
|
26134
|
+
summary: Get Kingbase performance trends
|
|
26135
|
+
description: |
|
|
26136
|
+
Get read-only Kingbase performance trends from backend-owned metrics. The response covers resource, connection, workload, database, capacity, and availability series and does not expose PromQL, internal endpoints, or credentials.
|
|
26137
|
+
V9 queries.perSecond requires track_sql=on and track_sql_item either empty (all items) or containing the complete sqltime item. Each QPS sample must have matching settings from the same scrape target and timestamp; disabled, missing, stale, or conflicting settings exclude that sample from both series and summaries. V8 QPS does not depend on these V9 settings. Unknown or unverified major versions (including V10) omit QPS without querying it.
|
|
26138
|
+
An absent QPS series means collection availability cannot be confirmed; it does not mean zero load or prove that SQL tracking is disabled. Check the database version, SQL tracking settings, and collection of same-scrape settings metrics. Source success describes queries with displayable results, not the availability of every metric. Empty metrics do not produce query-failure warnings.
|
|
26139
|
+
xid.age, database.sizeBytes, and locks.observedSessionCount cover user databases only, excluding esrep, kingbase, security, template0, template1, and empty or placeholder (-) database names. xid.age is not an instance-wide wraparound safety check: system database ages are not shown. Its 150M/180M warning/critical thresholds are static references, not the cluster's freeze settings or database limits.
|
|
26140
|
+
operationId: getDiagnosticsKingbasePerformanceTrends
|
|
26141
|
+
parameters:
|
|
26142
|
+
- name: orgName
|
|
26143
|
+
in: path
|
|
26144
|
+
description: Organization name
|
|
26145
|
+
required: true
|
|
26146
|
+
schema:
|
|
26147
|
+
type: string
|
|
26148
|
+
- name: clusterName
|
|
26149
|
+
in: path
|
|
26150
|
+
description: Cluster name
|
|
26151
|
+
required: true
|
|
26152
|
+
schema:
|
|
26153
|
+
type: string
|
|
26154
|
+
- name: range
|
|
26155
|
+
in: query
|
|
26156
|
+
description: Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
26157
|
+
required: false
|
|
26158
|
+
schema:
|
|
26159
|
+
type: string
|
|
26160
|
+
- name: step
|
|
26161
|
+
in: query
|
|
26162
|
+
description: Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
|
|
26163
|
+
required: false
|
|
26164
|
+
schema:
|
|
26165
|
+
type: string
|
|
26166
|
+
responses:
|
|
26167
|
+
'200':
|
|
26168
|
+
description: OK
|
|
26169
|
+
content:
|
|
26170
|
+
application/json:
|
|
26171
|
+
schema:
|
|
26172
|
+
$ref: '#/components/schemas/performanceTrends'
|
|
26173
|
+
'400':
|
|
26174
|
+
$ref: '#/components/responses/400'
|
|
26175
|
+
'401':
|
|
26176
|
+
$ref: '#/components/responses/401'
|
|
26177
|
+
'403':
|
|
26178
|
+
$ref: '#/components/responses/403'
|
|
26179
|
+
'404':
|
|
26180
|
+
$ref: '#/components/responses/404'
|
|
26181
|
+
'429':
|
|
26182
|
+
$ref: '#/components/responses/429'
|
|
26183
|
+
'500':
|
|
26184
|
+
$ref: '#/components/responses/500'
|
|
25989
26185
|
/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions:
|
|
25990
26186
|
get:
|
|
25991
26187
|
tags:
|
|
@@ -29210,25 +29406,39 @@ components:
|
|
|
29210
29406
|
curl --digest -u "accessKey:secretKey" https://api.example.com/admin/v1/user
|
|
29211
29407
|
```
|
|
29212
29408
|
schemas:
|
|
29213
|
-
|
|
29409
|
+
DolphinDBMigration:
|
|
29214
29410
|
type: object
|
|
29215
29411
|
properties:
|
|
29216
|
-
|
|
29412
|
+
chunkId:
|
|
29217
29413
|
type: string
|
|
29218
|
-
|
|
29219
|
-
type:
|
|
29220
|
-
|
|
29414
|
+
srcNode:
|
|
29415
|
+
type: string
|
|
29416
|
+
destNode:
|
|
29417
|
+
type: string
|
|
29418
|
+
destVolume:
|
|
29419
|
+
type: string
|
|
29420
|
+
required:
|
|
29421
|
+
- chunkId
|
|
29422
|
+
- srcNode
|
|
29423
|
+
- destNode
|
|
29424
|
+
DolphinDBRebalancePreview:
|
|
29425
|
+
type: object
|
|
29426
|
+
properties:
|
|
29427
|
+
observedAt:
|
|
29428
|
+
type: string
|
|
29429
|
+
format: date-time
|
|
29430
|
+
updatedBeforeDays:
|
|
29431
|
+
type: number
|
|
29432
|
+
total:
|
|
29433
|
+
type: integer
|
|
29434
|
+
format: int64
|
|
29435
|
+
offset:
|
|
29436
|
+
type: integer
|
|
29437
|
+
format: int64
|
|
29438
|
+
entries:
|
|
29221
29439
|
type: array
|
|
29222
29440
|
items:
|
|
29223
|
-
|
|
29224
|
-
readOnly:
|
|
29225
|
-
type: boolean
|
|
29226
|
-
description: Built-in admin and management account are protected from mutation.
|
|
29227
|
-
required:
|
|
29228
|
-
- name
|
|
29229
|
-
- isAdmin
|
|
29230
|
-
- groups
|
|
29231
|
-
- readOnly
|
|
29441
|
+
$ref: '#/components/schemas/DolphinDBMigration'
|
|
29232
29442
|
APIErrorResponse:
|
|
29233
29443
|
description: API error response.
|
|
29234
29444
|
properties:
|
|
@@ -29244,6 +29454,87 @@ components:
|
|
|
29244
29454
|
required:
|
|
29245
29455
|
- code
|
|
29246
29456
|
type: object
|
|
29457
|
+
DolphinDBVolumeUsage:
|
|
29458
|
+
type: object
|
|
29459
|
+
properties:
|
|
29460
|
+
node:
|
|
29461
|
+
type: string
|
|
29462
|
+
volumePath:
|
|
29463
|
+
type: string
|
|
29464
|
+
usage:
|
|
29465
|
+
type: integer
|
|
29466
|
+
format: int64
|
|
29467
|
+
capacity:
|
|
29468
|
+
type: integer
|
|
29469
|
+
format: int64
|
|
29470
|
+
DolphinDBReplicaDistribution:
|
|
29471
|
+
type: object
|
|
29472
|
+
properties:
|
|
29473
|
+
node:
|
|
29474
|
+
type: string
|
|
29475
|
+
replicaCount:
|
|
29476
|
+
type: integer
|
|
29477
|
+
format: int64
|
|
29478
|
+
DolphinDBDistribution:
|
|
29479
|
+
type: object
|
|
29480
|
+
properties:
|
|
29481
|
+
observedAt:
|
|
29482
|
+
type: string
|
|
29483
|
+
format: date-time
|
|
29484
|
+
volumes:
|
|
29485
|
+
type: array
|
|
29486
|
+
items:
|
|
29487
|
+
$ref: '#/components/schemas/DolphinDBVolumeUsage'
|
|
29488
|
+
replicas:
|
|
29489
|
+
type: array
|
|
29490
|
+
items:
|
|
29491
|
+
$ref: '#/components/schemas/DolphinDBReplicaDistribution'
|
|
29492
|
+
DolphinDBRebalanceRequest:
|
|
29493
|
+
type: object
|
|
29494
|
+
properties:
|
|
29495
|
+
updatedBeforeDays:
|
|
29496
|
+
type: number
|
|
29497
|
+
minimum: 0
|
|
29498
|
+
maximum: 36500
|
|
29499
|
+
default: 7
|
|
29500
|
+
timeoutSeconds:
|
|
29501
|
+
type: integer
|
|
29502
|
+
format: int32
|
|
29503
|
+
minimum: 1
|
|
29504
|
+
maximum: 86400
|
|
29505
|
+
default: 3600
|
|
29506
|
+
description: Addon wait timeout. Expiry does not cancel native migrations.
|
|
29507
|
+
opsRequestName:
|
|
29508
|
+
description: OpsRequestName is the name of a KubeBlocks OpsRequest response
|
|
29509
|
+
properties:
|
|
29510
|
+
opsRequestName:
|
|
29511
|
+
type: string
|
|
29512
|
+
clusterTaskId:
|
|
29513
|
+
type: string
|
|
29514
|
+
taskId:
|
|
29515
|
+
type: string
|
|
29516
|
+
required:
|
|
29517
|
+
- taskId
|
|
29518
|
+
type: object
|
|
29519
|
+
DolphinDBUser:
|
|
29520
|
+
type: object
|
|
29521
|
+
properties:
|
|
29522
|
+
name:
|
|
29523
|
+
type: string
|
|
29524
|
+
isAdmin:
|
|
29525
|
+
type: boolean
|
|
29526
|
+
groups:
|
|
29527
|
+
type: array
|
|
29528
|
+
items:
|
|
29529
|
+
type: string
|
|
29530
|
+
readOnly:
|
|
29531
|
+
type: boolean
|
|
29532
|
+
description: Built-in admin and management account are protected from mutation.
|
|
29533
|
+
required:
|
|
29534
|
+
- name
|
|
29535
|
+
- isAdmin
|
|
29536
|
+
- groups
|
|
29537
|
+
- readOnly
|
|
29247
29538
|
DolphinDBUserCreate:
|
|
29248
29539
|
type: object
|
|
29249
29540
|
properties:
|
|
@@ -32857,18 +33148,6 @@ components:
|
|
|
32857
33148
|
networkMode:
|
|
32858
33149
|
description: Specify the network mode the cluster transitions to. Defaults to the network mode of the cluster when omitted.
|
|
32859
33150
|
$ref: '#/components/schemas/networkMode'
|
|
32860
|
-
opsRequestName:
|
|
32861
|
-
description: OpsRequestName is the name of a KubeBlocks OpsRequest response
|
|
32862
|
-
properties:
|
|
32863
|
-
opsRequestName:
|
|
32864
|
-
type: string
|
|
32865
|
-
clusterTaskId:
|
|
32866
|
-
type: string
|
|
32867
|
-
taskId:
|
|
32868
|
-
type: string
|
|
32869
|
-
required:
|
|
32870
|
-
- taskId
|
|
32871
|
-
type: object
|
|
32872
33151
|
disasterRecoveryTask:
|
|
32873
33152
|
description: Task information of disasterRecovery job
|
|
32874
33153
|
properties:
|
|
@@ -37931,6 +38210,9 @@ components:
|
|
|
37931
38210
|
victoriaMetrics:
|
|
37932
38211
|
description: reserve vm cluster when delete environment
|
|
37933
38212
|
$ref: '#/components/schemas/cloudResourceCleanPolicy'
|
|
38213
|
+
victoriaLogs:
|
|
38214
|
+
description: Cleanup policy for the VictoriaLogs cluster when deleting the environment. If omitted, uses the minio policy.
|
|
38215
|
+
$ref: '#/components/schemas/cloudResourceCleanPolicy'
|
|
37934
38216
|
environmentUpdate:
|
|
37935
38217
|
type: object
|
|
37936
38218
|
description: Environment info
|
|
@@ -41619,9 +41901,18 @@ components:
|
|
|
41619
41901
|
type: string
|
|
41620
41902
|
description:
|
|
41621
41903
|
$ref: '#/components/schemas/localizedDescription'
|
|
41904
|
+
selectedObjectConversionStrategy:
|
|
41905
|
+
type: string
|
|
41906
|
+
enum:
|
|
41907
|
+
- levelMapping
|
|
41908
|
+
- wholeObject
|
|
41909
|
+
default: levelMapping
|
|
41910
|
+
description: Strategy for converting the selected tree to parameters. levelMapping maps every configured level and applies skipWhenParentLevelsSelectedAll. wholeObject merges duplicate branches and maps only whole selected nodes (selectedAll or leaves), omitting covered descendants. Defaults to levelMapping when omitted.
|
|
41622
41911
|
selectedObjectOption:
|
|
41623
41912
|
type: object
|
|
41624
41913
|
properties:
|
|
41914
|
+
conversionStrategy:
|
|
41915
|
+
$ref: '#/components/schemas/selectedObjectConversionStrategy'
|
|
41625
41916
|
tree:
|
|
41626
41917
|
type: object
|
|
41627
41918
|
required:
|
|
@@ -41633,7 +41924,7 @@ components:
|
|
|
41633
41924
|
description: if set to true, the tree will switch when database is switched. This is used for database-level backup, and the root level of the tree is database. If not set or set to false, the tree will not switch when database is switched, and the root level of the tree is instance.
|
|
41634
41925
|
sql:
|
|
41635
41926
|
type: string
|
|
41636
|
-
description: The
|
|
41927
|
+
description: The engine-native query returning the columns used to build the object tree.
|
|
41637
41928
|
levelOrder:
|
|
41638
41929
|
type: array
|
|
41639
41930
|
description: The order of object types in the hierarchy
|
|
@@ -44766,8 +45057,11 @@ components:
|
|
|
44766
45057
|
type: object
|
|
44767
45058
|
description: default value for the parameter
|
|
44768
45059
|
description:
|
|
44769
|
-
|
|
44770
|
-
description: description of the parameter
|
|
45060
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
45061
|
+
description: localized description of the parameter
|
|
45062
|
+
title:
|
|
45063
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
45064
|
+
description: localized display title of the parameter
|
|
44771
45065
|
type:
|
|
44772
45066
|
type: string
|
|
44773
45067
|
description: type of the parameter
|
|
@@ -586,7 +586,7 @@ export const ClusterApiFp = function(configuration?: Configuration) {
|
|
|
586
586
|
* @param {*} [options] Override http request option.
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
*/
|
|
589
|
-
async deleteMinioCluster(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
589
|
+
async deleteMinioCluster(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>> {
|
|
590
590
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMinioCluster(environmentName, options);
|
|
591
591
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
592
592
|
const localVarOperationServerBasePath = operationServerMap['ClusterApi.deleteMinioCluster']?.[localVarOperationServerIndex]?.url;
|
|
@@ -729,7 +729,7 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
|
|
|
729
729
|
* @param {*} [options] Override http request option.
|
|
730
730
|
* @throws {RequiredError}
|
|
731
731
|
*/
|
|
732
|
-
deleteMinioCluster(requestParameters: ClusterApiDeleteMinioClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
732
|
+
deleteMinioCluster(requestParameters: ClusterApiDeleteMinioClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
733
733
|
return localVarFp.deleteMinioCluster(requestParameters.environmentName, options).then((request) => request(axios, basePath));
|
|
734
734
|
},
|
|
735
735
|
/**
|
|
@@ -839,7 +839,7 @@ export interface ClusterApiInterface {
|
|
|
839
839
|
* @throws {RequiredError}
|
|
840
840
|
* @memberof ClusterApiInterface
|
|
841
841
|
*/
|
|
842
|
-
deleteMinioCluster(requestParameters: ClusterApiDeleteMinioClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
842
|
+
deleteMinioCluster(requestParameters: ClusterApiDeleteMinioClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
843
843
|
|
|
844
844
|
/**
|
|
845
845
|
*
|
package/src/internalapi.yaml
CHANGED
|
@@ -354,9 +354,14 @@ paths:
|
|
|
354
354
|
schema:
|
|
355
355
|
type: string
|
|
356
356
|
responses:
|
|
357
|
+
'200':
|
|
358
|
+
content:
|
|
359
|
+
application/json:
|
|
360
|
+
schema:
|
|
361
|
+
$ref: '#/components/schemas/cluster'
|
|
362
|
+
description: Deletion accepted. The cluster hash identifies the Kubernetes Cluster to wait for.
|
|
357
363
|
'204':
|
|
358
|
-
|
|
359
|
-
description: Returned when project is deleted successfully.
|
|
364
|
+
$ref: '#/components/responses/204'
|
|
360
365
|
'401':
|
|
361
366
|
$ref: '#/components/responses/401'
|
|
362
367
|
'403':
|
|
@@ -2499,6 +2504,8 @@ components:
|
|
|
2499
2504
|
description:
|
|
2500
2505
|
$ref: '#/components/schemas/localizedDescription'
|
|
2501
2506
|
responses:
|
|
2507
|
+
'204':
|
|
2508
|
+
description: No Content
|
|
2502
2509
|
'400':
|
|
2503
2510
|
content:
|
|
2504
2511
|
application/json:
|
|
@@ -465,17 +465,23 @@ models/dmsconsole-enable-opt.ts
|
|
|
465
465
|
models/dmsconsole-net-mode.ts
|
|
466
466
|
models/dmsconsole-svc-type.ts
|
|
467
467
|
models/dolphin-dbcapabilities.ts
|
|
468
|
+
models/dolphin-dbdistribution.ts
|
|
468
469
|
models/dolphin-dbgroup-create.ts
|
|
469
470
|
models/dolphin-dbgroup-permissions.ts
|
|
470
471
|
models/dolphin-dbgroup.ts
|
|
471
472
|
models/dolphin-dbmembership-change.ts
|
|
473
|
+
models/dolphin-dbmigration.ts
|
|
472
474
|
models/dolphin-dbpassword-change.ts
|
|
473
475
|
models/dolphin-dbpermission-change.ts
|
|
474
476
|
models/dolphin-dbpermission-snapshot.ts
|
|
475
477
|
models/dolphin-dbpermission-state.ts
|
|
476
478
|
models/dolphin-dbprivilege-capability.ts
|
|
479
|
+
models/dolphin-dbrebalance-preview.ts
|
|
480
|
+
models/dolphin-dbrebalance-request.ts
|
|
481
|
+
models/dolphin-dbreplica-distribution.ts
|
|
477
482
|
models/dolphin-dbuser-create.ts
|
|
478
483
|
models/dolphin-dbuser.ts
|
|
484
|
+
models/dolphin-dbvolume-usage.ts
|
|
479
485
|
models/elasticsearch-allocation-decider.ts
|
|
480
486
|
models/elasticsearch-allocation-explanation.ts
|
|
481
487
|
models/elasticsearch-disk-watermarks.ts
|
|
@@ -975,6 +981,7 @@ models/role.ts
|
|
|
975
981
|
models/scheduler-option.ts
|
|
976
982
|
models/scheduling-policy-type.ts
|
|
977
983
|
models/select-module-mode.ts
|
|
984
|
+
models/selected-object-conversion-strategy.ts
|
|
978
985
|
models/selected-object-option-convert-to-parameters-inner.ts
|
|
979
986
|
models/selected-object-option-tree-level-order-inner.ts
|
|
980
987
|
models/selected-object-option-tree.ts
|
|
@@ -802,7 +802,7 @@ export const BackupApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
802
802
|
* @summary List objects tree for selective backup
|
|
803
803
|
* @param {string} orgName name of the org
|
|
804
804
|
* @param {string} clusterName name of the cluster
|
|
805
|
-
* @param {string} [database]
|
|
805
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
806
806
|
* @param {*} [options] Override http request option.
|
|
807
807
|
* @throws {RequiredError}
|
|
808
808
|
*/
|
|
@@ -1238,7 +1238,7 @@ export const BackupApiFp = function(configuration?: Configuration) {
|
|
|
1238
1238
|
* @summary List objects tree for selective backup
|
|
1239
1239
|
* @param {string} orgName name of the org
|
|
1240
1240
|
* @param {string} clusterName name of the cluster
|
|
1241
|
-
* @param {string} [database]
|
|
1241
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
1242
1242
|
* @param {*} [options] Override http request option.
|
|
1243
1243
|
* @throws {RequiredError}
|
|
1244
1244
|
*/
|
|
@@ -2131,7 +2131,7 @@ export interface BackupApiListObjectsTreeForSelectiveBackupRequest {
|
|
|
2131
2131
|
readonly clusterName: string
|
|
2132
2132
|
|
|
2133
2133
|
/**
|
|
2134
|
-
*
|
|
2134
|
+
* Database name for engines configured to switch the object tree by database.
|
|
2135
2135
|
* @type {string}
|
|
2136
2136
|
* @memberof BackupApiListObjectsTreeForSelectiveBackup
|
|
2137
2137
|
*/
|