kb-cloud-client-typescript 2.3.68 → 2.3.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/adminapi/apis/backup-api.d.ts +3 -3
  2. package/dist/adminapi/apis/backup-api.js +2 -2
  3. package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
  4. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/diagnostics-api.js +84 -0
  6. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  7. package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
  8. package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/dolphindb-api.js +243 -0
  10. package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
  11. package/dist/adminapi/apis/shared-api.d.ts +227 -3
  12. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  13. package/dist/adminapi/apis/shared-api.js +245 -2
  14. package/dist/adminapi/apis/shared-api.js.map +1 -1
  15. package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
  16. package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  17. package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
  18. package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
  19. package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
  20. package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
  21. package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
  22. package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
  23. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  24. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  25. package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
  26. package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  27. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  28. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  29. package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
  30. package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
  31. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  32. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  33. package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
  34. package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  35. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  36. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  37. package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
  38. package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
  39. package/dist/adminapi/models/environment-delete.d.ts +6 -0
  40. package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
  41. package/dist/adminapi/models/index.d.ts +7 -0
  42. package/dist/adminapi/models/index.d.ts.map +1 -1
  43. package/dist/adminapi/models/index.js +7 -0
  44. package/dist/adminapi/models/index.js.map +1 -1
  45. package/dist/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
  46. package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  47. package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
  48. package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
  49. package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
  50. package/dist/adminapi/models/selected-object-option.d.ts +7 -0
  51. package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
  52. package/dist/openapi/apis/backup-api.d.ts +3 -3
  53. package/dist/openapi/apis/backup-api.js +2 -2
  54. package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
  55. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  56. package/dist/openapi/apis/diagnostics-api.js +84 -0
  57. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  58. package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
  59. package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
  60. package/dist/openapi/apis/dolphindb-api.js +243 -0
  61. package/dist/openapi/apis/dolphindb-api.js.map +1 -1
  62. package/dist/openapi/apis/shared-api.d.ts +227 -3
  63. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  64. package/dist/openapi/apis/shared-api.js +245 -2
  65. package/dist/openapi/apis/shared-api.js.map +1 -1
  66. package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
  67. package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  68. package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
  69. package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
  70. package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
  71. package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
  72. package/dist/openapi/models/dolphin-dbmigration.js +16 -0
  73. package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
  74. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  75. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  76. package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
  77. package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  78. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  79. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  80. package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
  81. package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
  82. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  83. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  84. package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
  85. package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  86. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  87. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  88. package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
  89. package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
  90. package/dist/openapi/models/index.d.ts +7 -0
  91. package/dist/openapi/models/index.d.ts.map +1 -1
  92. package/dist/openapi/models/index.js +7 -0
  93. package/dist/openapi/models/index.js.map +1 -1
  94. package/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
  95. package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  96. package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
  97. package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
  98. package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
  99. package/dist/openapi/models/selected-object-option.d.ts +7 -0
  100. package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
  101. package/package.json +1 -1
  102. package/src/adminapi/.openapi-generator/FILES +7 -0
  103. package/src/adminapi/apis/backup-api.ts +3 -3
  104. package/src/adminapi/apis/diagnostics-api.ts +138 -0
  105. package/src/adminapi/apis/dolphindb-api.ts +397 -0
  106. package/src/adminapi/apis/shared-api.ts +398 -3
  107. package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
  108. package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
  109. package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
  110. package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
  111. package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
  112. package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
  113. package/src/adminapi/models/environment-delete.ts +6 -0
  114. package/src/adminapi/models/index.ts +7 -0
  115. package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
  116. package/src/adminapi/models/selected-object-option-tree.ts +1 -1
  117. package/src/adminapi/models/selected-object-option.ts +11 -0
  118. package/src/adminapi.yaml +319 -28
  119. package/src/openapi/.openapi-generator/FILES +7 -0
  120. package/src/openapi/apis/backup-api.ts +3 -3
  121. package/src/openapi/apis/diagnostics-api.ts +138 -0
  122. package/src/openapi/apis/dolphindb-api.ts +397 -0
  123. package/src/openapi/apis/shared-api.ts +398 -3
  124. package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
  125. package/src/openapi/models/dolphin-dbmigration.ts +48 -0
  126. package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
  127. package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
  128. package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
  129. package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
  130. package/src/openapi/models/index.ts +7 -0
  131. package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
  132. package/src/openapi/models/selected-object-option-tree.ts +1 -1
  133. package/src/openapi/models/selected-object-option.ts +11 -0
  134. 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: database name
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
- DolphinDBUser:
29409
+ DolphinDBMigration:
29214
29410
  type: object
29215
29411
  properties:
29216
- name:
29412
+ chunkId:
29217
29413
  type: string
29218
- isAdmin:
29219
- type: boolean
29220
- groups:
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
- type: string
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 SQL query to retrieve the object tree
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
@@ -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] database name
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] database name
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
- * database name
2134
+ * Database name for engines configured to switch the object tree by database.
2135
2135
  * @type {string}
2136
2136
  * @memberof BackupApiListObjectsTreeForSelectiveBackup
2137
2137
  */
@@ -567,6 +567,61 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
567
567
 
568
568
 
569
569
 
570
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
571
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
572
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
573
+
574
+ return {
575
+ url: toPathString(localVarUrlObj),
576
+ options: localVarRequestOptions,
577
+ };
578
+ },
579
+ /**
580
+ * 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. 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. 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. 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.
581
+ * @summary Get Kingbase performance trends
582
+ * @param {string} orgName Organization name
583
+ * @param {string} clusterName Cluster name
584
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
585
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ getDiagnosticsKingbasePerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
590
+ // verify required parameter 'orgName' is not null or undefined
591
+ assertParamExists('getDiagnosticsKingbasePerformanceTrends', 'orgName', orgName)
592
+ // verify required parameter 'clusterName' is not null or undefined
593
+ assertParamExists('getDiagnosticsKingbasePerformanceTrends', 'clusterName', clusterName)
594
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/performanceTrends`
595
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
596
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
599
+ let baseOptions;
600
+ if (configuration) {
601
+ baseOptions = configuration.baseOptions;
602
+ }
603
+
604
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
605
+ const localVarHeaderParameter = {} as any;
606
+ const localVarQueryParameter = {} as any;
607
+
608
+ // authentication BearerToken required
609
+ // http bearer authentication required
610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
611
+
612
+ // authentication DigestAuth required
613
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
614
+
615
+ if (range !== undefined) {
616
+ localVarQueryParameter['range'] = range;
617
+ }
618
+
619
+ if (step !== undefined) {
620
+ localVarQueryParameter['step'] = step;
621
+ }
622
+
623
+
624
+
570
625
  setSearchParams(localVarUrlObj, localVarQueryParameter);
571
626
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
572
627
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1952,6 +2007,22 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1952
2007
  const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchTaskAnalysis']?.[localVarOperationServerIndex]?.url;
1953
2008
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1954
2009
  },
2010
+ /**
2011
+ * 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. 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. 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. 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.
2012
+ * @summary Get Kingbase performance trends
2013
+ * @param {string} orgName Organization name
2014
+ * @param {string} clusterName Cluster name
2015
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
2016
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
2017
+ * @param {*} [options] Override http request option.
2018
+ * @throws {RequiredError}
2019
+ */
2020
+ async getDiagnosticsKingbasePerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
2021
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbasePerformanceTrends(orgName, clusterName, range, step, options);
2022
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2023
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbasePerformanceTrends']?.[localVarOperationServerIndex]?.url;
2024
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2025
+ },
1955
2026
  /**
1956
2027
  *
1957
2028
  * @summary Get Kingbase session diagnostics
@@ -2403,6 +2474,16 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
2403
2474
  getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis> {
2404
2475
  return localVarFp.getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(axios, basePath));
2405
2476
  },
2477
+ /**
2478
+ * 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. 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. 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. 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.
2479
+ * @summary Get Kingbase performance trends
2480
+ * @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
2481
+ * @param {*} [options] Override http request option.
2482
+ * @throws {RequiredError}
2483
+ */
2484
+ getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
2485
+ return localVarFp.getDiagnosticsKingbasePerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2486
+ },
2406
2487
  /**
2407
2488
  *
2408
2489
  * @summary Get Kingbase session diagnostics
@@ -2722,6 +2803,16 @@ export interface DiagnosticsApiInterface {
2722
2803
  */
2723
2804
  getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis>;
2724
2805
 
2806
+ /**
2807
+ * 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. 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. 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. 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.
2808
+ * @summary Get Kingbase performance trends
2809
+ * @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
2810
+ * @param {*} [options] Override http request option.
2811
+ * @throws {RequiredError}
2812
+ * @memberof DiagnosticsApiInterface
2813
+ */
2814
+ getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
2815
+
2725
2816
  /**
2726
2817
  *
2727
2818
  * @summary Get Kingbase session diagnostics
@@ -3290,6 +3381,41 @@ export interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest {
3290
3381
  readonly threads?: number
3291
3382
  }
3292
3383
 
3384
+ /**
3385
+ * Request parameters for getDiagnosticsKingbasePerformanceTrends operation in DiagnosticsApi.
3386
+ * @export
3387
+ * @interface DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest
3388
+ */
3389
+ export interface DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest {
3390
+ /**
3391
+ * Organization name
3392
+ * @type {string}
3393
+ * @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
3394
+ */
3395
+ readonly orgName: string
3396
+
3397
+ /**
3398
+ * Cluster name
3399
+ * @type {string}
3400
+ * @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
3401
+ */
3402
+ readonly clusterName: string
3403
+
3404
+ /**
3405
+ * Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
3406
+ * @type {string}
3407
+ * @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
3408
+ */
3409
+ readonly range?: string
3410
+
3411
+ /**
3412
+ * Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. For range 7d, step must be at least 5m; the default is 1h.
3413
+ * @type {string}
3414
+ * @memberof DiagnosticsApiGetDiagnosticsKingbasePerformanceTrends
3415
+ */
3416
+ readonly step?: string
3417
+ }
3418
+
3293
3419
  /**
3294
3420
  * Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
3295
3421
  * @export
@@ -4149,6 +4275,18 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
4149
4275
  return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(this.axios, this.basePath));
4150
4276
  }
4151
4277
 
4278
+ /**
4279
+ * 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. 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. 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. 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.
4280
+ * @summary Get Kingbase performance trends
4281
+ * @param {DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest} requestParameters Request parameters.
4282
+ * @param {*} [options] Override http request option.
4283
+ * @throws {RequiredError}
4284
+ * @memberof DiagnosticsApi
4285
+ */
4286
+ public getDiagnosticsKingbasePerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsKingbasePerformanceTrendsRequest, options?: RawAxiosRequestConfig) {
4287
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsKingbasePerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(this.axios, this.basePath));
4288
+ }
4289
+
4152
4290
  /**
4153
4291
  *
4154
4292
  * @summary Get Kingbase session diagnostics