kb-cloud-client-typescript 2.4.0-alpha.50 → 2.4.0-alpha.51

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 (198) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/data-replication-api.d.ts +1356 -0
  6. package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/data-replication-api.js +1495 -0
  8. package/dist/adminapi/apis/data-replication-api.js.map +1 -0
  9. package/dist/adminapi/models/auth-type.d.ts +21 -0
  10. package/dist/adminapi/models/auth-type.d.ts.map +1 -0
  11. package/dist/adminapi/models/auth-type.js +25 -0
  12. package/dist/adminapi/models/auth-type.js.map +1 -0
  13. package/dist/adminapi/models/basic-auth-model.d.ts +31 -0
  14. package/dist/adminapi/models/basic-auth-model.d.ts.map +1 -0
  15. package/dist/adminapi/models/basic-auth-model.js +16 -0
  16. package/dist/adminapi/models/basic-auth-model.js.map +1 -0
  17. package/dist/adminapi/models/channel-status.d.ts +28 -0
  18. package/dist/adminapi/models/channel-status.d.ts.map +1 -0
  19. package/dist/adminapi/models/channel-status.js +32 -0
  20. package/dist/adminapi/models/channel-status.js.map +1 -0
  21. package/dist/adminapi/models/custom-endpoint-create.d.ts +39 -0
  22. package/dist/adminapi/models/custom-endpoint-create.d.ts.map +1 -0
  23. package/dist/adminapi/models/custom-endpoint-create.js +16 -0
  24. package/dist/adminapi/models/custom-endpoint-create.js.map +1 -0
  25. package/dist/adminapi/models/custom-endpoint.d.ts +45 -0
  26. package/dist/adminapi/models/custom-endpoint.d.ts.map +1 -0
  27. package/dist/adminapi/models/custom-endpoint.js +16 -0
  28. package/dist/adminapi/models/custom-endpoint.js.map +1 -0
  29. package/dist/adminapi/models/data-channel-detail.d.ts +33 -0
  30. package/dist/adminapi/models/data-channel-detail.d.ts.map +1 -0
  31. package/dist/adminapi/models/data-channel-detail.js +16 -0
  32. package/dist/adminapi/models/data-channel-detail.js.map +1 -0
  33. package/dist/adminapi/models/data-channel-endpoint-create.d.ts +60 -0
  34. package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -0
  35. package/dist/adminapi/models/data-channel-endpoint-create.js +16 -0
  36. package/dist/adminapi/models/data-channel-endpoint-create.js.map +1 -0
  37. package/dist/adminapi/models/data-channel-item.d.ts +119 -0
  38. package/dist/adminapi/models/data-channel-item.d.ts.map +1 -0
  39. package/dist/adminapi/models/data-channel-item.js +16 -0
  40. package/dist/adminapi/models/data-channel-item.js.map +1 -0
  41. package/dist/adminapi/models/data-channel-list-endpoint.d.ts +54 -0
  42. package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -0
  43. package/dist/adminapi/models/data-channel-list-endpoint.js +16 -0
  44. package/dist/adminapi/models/data-channel-list-endpoint.js.map +1 -0
  45. package/dist/adminapi/models/data-channel-module-progress.d.ts +49 -0
  46. package/dist/adminapi/models/data-channel-module-progress.d.ts.map +1 -0
  47. package/dist/adminapi/models/data-channel-module-progress.js +16 -0
  48. package/dist/adminapi/models/data-channel-module-progress.js.map +1 -0
  49. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts +31 -0
  50. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts.map +1 -0
  51. package/dist/adminapi/models/data-channel-parameter-key-value.js +16 -0
  52. package/dist/adminapi/models/data-channel-parameter-key-value.js.map +1 -0
  53. package/dist/adminapi/models/data-channel-progress.d.ts +32 -0
  54. package/dist/adminapi/models/data-channel-progress.d.ts.map +1 -0
  55. package/dist/adminapi/models/data-channel-progress.js +16 -0
  56. package/dist/adminapi/models/data-channel-progress.js.map +1 -0
  57. package/dist/adminapi/models/data-channel-response.d.ts +43 -0
  58. package/dist/adminapi/models/data-channel-response.d.ts.map +1 -0
  59. package/dist/adminapi/models/data-channel-response.js +16 -0
  60. package/dist/adminapi/models/data-channel-response.js.map +1 -0
  61. package/dist/adminapi/models/data-check-detail-item.d.ts +94 -0
  62. package/dist/adminapi/models/data-check-detail-item.d.ts.map +1 -0
  63. package/dist/adminapi/models/data-check-detail-item.js +16 -0
  64. package/dist/adminapi/models/data-check-detail-item.js.map +1 -0
  65. package/dist/adminapi/models/data-check-detail-type.d.ts +22 -0
  66. package/dist/adminapi/models/data-check-detail-type.d.ts.map +1 -0
  67. package/dist/adminapi/models/data-check-detail-type.js +26 -0
  68. package/dist/adminapi/models/data-check-detail-type.js.map +1 -0
  69. package/dist/adminapi/models/data-check-details.d.ts +33 -0
  70. package/dist/adminapi/models/data-check-details.d.ts.map +1 -0
  71. package/dist/adminapi/models/data-check-details.js +16 -0
  72. package/dist/adminapi/models/data-check-details.js.map +1 -0
  73. package/dist/adminapi/models/data-check-diff-value.d.ts +43 -0
  74. package/dist/adminapi/models/data-check-diff-value.d.ts.map +1 -0
  75. package/dist/adminapi/models/data-check-diff-value.js +16 -0
  76. package/dist/adminapi/models/data-check-diff-value.js.map +1 -0
  77. package/dist/adminapi/models/data-check-item.d.ts +120 -0
  78. package/dist/adminapi/models/data-check-item.d.ts.map +1 -0
  79. package/dist/adminapi/models/data-check-item.js +16 -0
  80. package/dist/adminapi/models/data-check-item.js.map +1 -0
  81. package/dist/adminapi/models/data-check-list-item.d.ts +120 -0
  82. package/dist/adminapi/models/data-check-list-item.d.ts.map +1 -0
  83. package/dist/adminapi/models/data-check-list-item.js +16 -0
  84. package/dist/adminapi/models/data-check-list-item.js.map +1 -0
  85. package/dist/adminapi/models/data-check-list-summary.d.ts +49 -0
  86. package/dist/adminapi/models/data-check-list-summary.d.ts.map +1 -0
  87. package/dist/adminapi/models/data-check-list-summary.js +16 -0
  88. package/dist/adminapi/models/data-check-list-summary.js.map +1 -0
  89. package/dist/adminapi/models/data-check-status.d.ts +23 -0
  90. package/dist/adminapi/models/data-check-status.d.ts.map +1 -0
  91. package/dist/adminapi/models/data-check-status.js +27 -0
  92. package/dist/adminapi/models/data-check-status.js.map +1 -0
  93. package/dist/adminapi/models/data-check-summary.d.ts +56 -0
  94. package/dist/adminapi/models/data-check-summary.d.ts.map +1 -0
  95. package/dist/adminapi/models/data-check-summary.js +16 -0
  96. package/dist/adminapi/models/data-check-summary.js.map +1 -0
  97. package/dist/adminapi/models/data-check-table-summary.d.ts +67 -0
  98. package/dist/adminapi/models/data-check-table-summary.d.ts.map +1 -0
  99. package/dist/adminapi/models/data-check-table-summary.js +16 -0
  100. package/dist/adminapi/models/data-check-table-summary.js.map +1 -0
  101. package/dist/adminapi/models/data-check-type.d.ts +22 -0
  102. package/dist/adminapi/models/data-check-type.d.ts.map +1 -0
  103. package/dist/adminapi/models/data-check-type.js +26 -0
  104. package/dist/adminapi/models/data-check-type.js.map +1 -0
  105. package/dist/adminapi/models/data-replication-channel-container.d.ts +37 -0
  106. package/dist/adminapi/models/data-replication-channel-container.d.ts.map +1 -0
  107. package/dist/adminapi/models/data-replication-channel-container.js +16 -0
  108. package/dist/adminapi/models/data-replication-channel-container.js.map +1 -0
  109. package/dist/adminapi/models/data-replication-create.d.ts +85 -0
  110. package/dist/adminapi/models/data-replication-create.d.ts.map +1 -0
  111. package/dist/adminapi/models/data-replication-create.js +16 -0
  112. package/dist/adminapi/models/data-replication-create.js.map +1 -0
  113. package/dist/adminapi/models/data-replication-endpoint-type.d.ts +22 -0
  114. package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -0
  115. package/dist/adminapi/models/data-replication-endpoint-type.js +26 -0
  116. package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -0
  117. package/dist/adminapi/models/data-replication-ops-type.d.ts +23 -0
  118. package/dist/adminapi/models/data-replication-ops-type.d.ts.map +1 -0
  119. package/dist/adminapi/models/data-replication-ops-type.js +27 -0
  120. package/dist/adminapi/models/data-replication-ops-type.js.map +1 -0
  121. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts +57 -0
  122. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts.map +1 -0
  123. package/dist/adminapi/models/data-replication-parameters-response-detail.js +16 -0
  124. package/dist/adminapi/models/data-replication-parameters-response-detail.js.map +1 -0
  125. package/dist/adminapi/models/data-replication-update.d.ts +32 -0
  126. package/dist/adminapi/models/data-replication-update.d.ts.map +1 -0
  127. package/dist/adminapi/models/data-replication-update.js +16 -0
  128. package/dist/adminapi/models/data-replication-update.js.map +1 -0
  129. package/dist/adminapi/models/event-item.d.ts +55 -0
  130. package/dist/adminapi/models/event-item.d.ts.map +1 -0
  131. package/dist/adminapi/models/event-item.js +16 -0
  132. package/dist/adminapi/models/event-item.js.map +1 -0
  133. package/dist/adminapi/models/index.d.ts +34 -0
  134. package/dist/adminapi/models/index.d.ts.map +1 -1
  135. package/dist/adminapi/models/index.js +34 -0
  136. package/dist/adminapi/models/index.js.map +1 -1
  137. package/dist/adminapi/models/kubeblocks-endpoint.d.ts +49 -0
  138. package/dist/adminapi/models/kubeblocks-endpoint.d.ts.map +1 -0
  139. package/dist/adminapi/models/kubeblocks-endpoint.js +16 -0
  140. package/dist/adminapi/models/kubeblocks-endpoint.js.map +1 -0
  141. package/dist/adminapi/models/pre-check-create.d.ts +51 -0
  142. package/dist/adminapi/models/pre-check-create.d.ts.map +1 -0
  143. package/dist/adminapi/models/pre-check-create.js +16 -0
  144. package/dist/adminapi/models/pre-check-create.js.map +1 -0
  145. package/dist/adminapi/models/replication-object-query.d.ts +56 -0
  146. package/dist/adminapi/models/replication-object-query.d.ts.map +1 -0
  147. package/dist/adminapi/models/replication-object-query.js +16 -0
  148. package/dist/adminapi/models/replication-object-query.js.map +1 -0
  149. package/dist/openapi/models/data-channel-item.d.ts +6 -0
  150. package/dist/openapi/models/data-channel-item.d.ts.map +1 -1
  151. package/dist/openapi/models/data-check-item.d.ts +6 -0
  152. package/dist/openapi/models/data-check-item.d.ts.map +1 -1
  153. package/dist/openapi/models/data-check-list-item.d.ts +6 -0
  154. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -1
  155. package/package.json +1 -1
  156. package/src/adminapi/.openapi-generator/FILES +35 -0
  157. package/src/adminapi/api.ts +1 -0
  158. package/src/adminapi/apis/data-replication-api.ts +2370 -0
  159. package/src/adminapi/models/auth-type.ts +30 -0
  160. package/src/adminapi/models/basic-auth-model.ts +36 -0
  161. package/src/adminapi/models/channel-status.ts +37 -0
  162. package/src/adminapi/models/custom-endpoint-create.ts +50 -0
  163. package/src/adminapi/models/custom-endpoint.ts +56 -0
  164. package/src/adminapi/models/data-channel-detail.ts +42 -0
  165. package/src/adminapi/models/data-channel-endpoint-create.ts +71 -0
  166. package/src/adminapi/models/data-channel-item.ts +134 -0
  167. package/src/adminapi/models/data-channel-list-endpoint.ts +65 -0
  168. package/src/adminapi/models/data-channel-module-progress.ts +54 -0
  169. package/src/adminapi/models/data-channel-parameter-key-value.ts +36 -0
  170. package/src/adminapi/models/data-channel-progress.ts +39 -0
  171. package/src/adminapi/models/data-channel-response.ts +48 -0
  172. package/src/adminapi/models/data-check-detail-item.ts +93 -0
  173. package/src/adminapi/models/data-check-detail-type.ts +31 -0
  174. package/src/adminapi/models/data-check-details.ts +42 -0
  175. package/src/adminapi/models/data-check-diff-value.ts +48 -0
  176. package/src/adminapi/models/data-check-item.ts +137 -0
  177. package/src/adminapi/models/data-check-list-item.ts +137 -0
  178. package/src/adminapi/models/data-check-list-summary.ts +54 -0
  179. package/src/adminapi/models/data-check-status.ts +32 -0
  180. package/src/adminapi/models/data-check-summary.ts +63 -0
  181. package/src/adminapi/models/data-check-table-summary.ts +72 -0
  182. package/src/adminapi/models/data-check-type.ts +31 -0
  183. package/src/adminapi/models/data-replication-channel-container.ts +42 -0
  184. package/src/adminapi/models/data-replication-create.ts +96 -0
  185. package/src/adminapi/models/data-replication-endpoint-type.ts +31 -0
  186. package/src/adminapi/models/data-replication-ops-type.ts +32 -0
  187. package/src/adminapi/models/data-replication-parameters-response-detail.ts +68 -0
  188. package/src/adminapi/models/data-replication-update.ts +39 -0
  189. package/src/adminapi/models/event-item.ts +60 -0
  190. package/src/adminapi/models/index.ts +34 -0
  191. package/src/adminapi/models/kubeblocks-endpoint.ts +54 -0
  192. package/src/adminapi/models/pre-check-create.ts +60 -0
  193. package/src/adminapi/models/replication-object-query.ts +63 -0
  194. package/src/adminapi.yaml +2066 -797
  195. package/src/openapi/models/data-channel-item.ts +6 -0
  196. package/src/openapi/models/data-check-item.ts +6 -0
  197. package/src/openapi/models/data-check-list-item.ts +6 -0
  198. package/src/openapi.yaml +6 -0
package/src/adminapi.yaml CHANGED
@@ -26219,6 +26219,695 @@ paths:
26219
26219
  $ref: '#/components/responses/403'
26220
26220
  '404':
26221
26221
  $ref: '#/components/responses/404'
26222
+ /admin/v1/replication/channel:
26223
+ get:
26224
+ operationId: listAdminDataChannels
26225
+ summary: List Data Channels
26226
+ description: Retrieve a list of data channels.
26227
+ parameters:
26228
+ - description: The Name of the organization
26229
+ in: query
26230
+ name: orgName
26231
+ required: false
26232
+ schema:
26233
+ type: string
26234
+ - description: The name of the data channel
26235
+ in: query
26236
+ name: name
26237
+ required: false
26238
+ schema:
26239
+ type: string
26240
+ - description: The status of the data channel
26241
+ in: query
26242
+ name: status
26243
+ required: false
26244
+ schema:
26245
+ type: array
26246
+ items:
26247
+ type: string
26248
+ responses:
26249
+ '200':
26250
+ content:
26251
+ application/json:
26252
+ schema:
26253
+ $ref: '#/components/schemas/dataChannelList'
26254
+ description: A list of data channels.
26255
+ '401':
26256
+ $ref: '#/components/responses/401'
26257
+ '403':
26258
+ $ref: '#/components/responses/403'
26259
+ '404':
26260
+ $ref: '#/components/responses/404'
26261
+ tags:
26262
+ - dataReplication
26263
+ /admin/v1/organizations/{orgName}/replication/channel/{channelID}:
26264
+ get:
26265
+ operationId: getDataChannel
26266
+ summary: Get Data Channel Details
26267
+ description: Retrieve a data channel detail.
26268
+ parameters:
26269
+ - description: The Name of the organization
26270
+ in: path
26271
+ name: orgName
26272
+ required: true
26273
+ schema:
26274
+ type: string
26275
+ - description: The ID of the data channel
26276
+ in: path
26277
+ name: channelID
26278
+ required: true
26279
+ schema:
26280
+ type: string
26281
+ responses:
26282
+ '200':
26283
+ content:
26284
+ application/json:
26285
+ schema:
26286
+ $ref: '#/components/schemas/dataChannelDetail'
26287
+ description: A detail of data channel.
26288
+ '401':
26289
+ $ref: '#/components/responses/401'
26290
+ '403':
26291
+ $ref: '#/components/responses/403'
26292
+ '404':
26293
+ $ref: '#/components/responses/404'
26294
+ tags:
26295
+ - dataReplication
26296
+ delete:
26297
+ operationId: deleteDataChannel
26298
+ summary: Delete a data channel
26299
+ description: Delete a data channel.
26300
+ parameters:
26301
+ - description: The Name of the organization
26302
+ in: path
26303
+ name: orgName
26304
+ required: true
26305
+ schema:
26306
+ type: string
26307
+ - description: The ID of the data channel
26308
+ in: path
26309
+ name: channelID
26310
+ required: true
26311
+ schema:
26312
+ type: string
26313
+ responses:
26314
+ '204':
26315
+ content: {}
26316
+ description: Returned when channel is deleted successfully.
26317
+ '401':
26318
+ $ref: '#/components/responses/401'
26319
+ '403':
26320
+ $ref: '#/components/responses/403'
26321
+ '404':
26322
+ $ref: '#/components/responses/404'
26323
+ tags:
26324
+ - dataReplication
26325
+ patch:
26326
+ operationId: updateDataChannel
26327
+ summary: Update a data channel
26328
+ description: Update a new data channel.
26329
+ parameters:
26330
+ - description: The Name of the organization
26331
+ in: path
26332
+ name: orgName
26333
+ required: true
26334
+ schema:
26335
+ type: string
26336
+ - description: The ID of the data channel
26337
+ in: path
26338
+ name: channelID
26339
+ required: true
26340
+ schema:
26341
+ type: string
26342
+ requestBody:
26343
+ content:
26344
+ application/json:
26345
+ schema:
26346
+ $ref: '#/components/schemas/dataReplicationUpdate'
26347
+ required: true
26348
+ responses:
26349
+ '200':
26350
+ content:
26351
+ application/json:
26352
+ schema:
26353
+ $ref: '#/components/schemas/dataChannelResponse'
26354
+ description: A successful response.
26355
+ '401':
26356
+ $ref: '#/components/responses/401'
26357
+ '403':
26358
+ $ref: '#/components/responses/403'
26359
+ '404':
26360
+ $ref: '#/components/responses/404'
26361
+ tags:
26362
+ - dataReplication
26363
+ x-codegen-request-body-name: body
26364
+ /admin/v1/checks:
26365
+ get:
26366
+ operationId: listAdminDataChecks
26367
+ summary: List Data Checks
26368
+ description: Retrieve a list of standalone data checks.
26369
+ parameters:
26370
+ - description: The Name of the organization
26371
+ in: query
26372
+ name: orgName
26373
+ required: false
26374
+ schema:
26375
+ type: string
26376
+ - description: The name of the check
26377
+ in: query
26378
+ name: name
26379
+ required: false
26380
+ schema:
26381
+ type: string
26382
+ - description: The status of the check
26383
+ in: query
26384
+ name: status
26385
+ required: false
26386
+ schema:
26387
+ type: array
26388
+ items:
26389
+ type: string
26390
+ responses:
26391
+ '200':
26392
+ content:
26393
+ application/json:
26394
+ schema:
26395
+ $ref: '#/components/schemas/dataCheckList'
26396
+ description: A list of checks.
26397
+ '401':
26398
+ $ref: '#/components/responses/401'
26399
+ '403':
26400
+ $ref: '#/components/responses/403'
26401
+ '404':
26402
+ $ref: '#/components/responses/404'
26403
+ tags:
26404
+ - dataReplication
26405
+ /admin/v1/organizations/{orgName}/checks/{checkID}:
26406
+ get:
26407
+ operationId: getDataCheck
26408
+ summary: Get Data Check
26409
+ description: Retrieve a standalone data check detail.
26410
+ parameters:
26411
+ - description: The Name of the organization
26412
+ in: path
26413
+ name: orgName
26414
+ required: true
26415
+ schema:
26416
+ type: string
26417
+ - description: The ID of the check
26418
+ in: path
26419
+ name: checkID
26420
+ required: true
26421
+ schema:
26422
+ type: string
26423
+ responses:
26424
+ '200':
26425
+ content:
26426
+ application/json:
26427
+ schema:
26428
+ $ref: '#/components/schemas/dataCheckItem'
26429
+ description: A check detail.
26430
+ '401':
26431
+ $ref: '#/components/responses/401'
26432
+ '403':
26433
+ $ref: '#/components/responses/403'
26434
+ '404':
26435
+ $ref: '#/components/responses/404'
26436
+ tags:
26437
+ - dataReplication
26438
+ delete:
26439
+ operationId: deleteDataCheck
26440
+ summary: Delete a data check
26441
+ description: Delete a standalone data check and its runtime resources.
26442
+ parameters:
26443
+ - description: The Name of the organization
26444
+ in: path
26445
+ name: orgName
26446
+ required: true
26447
+ schema:
26448
+ type: string
26449
+ - description: The ID of the check
26450
+ in: path
26451
+ name: checkID
26452
+ required: true
26453
+ schema:
26454
+ type: string
26455
+ responses:
26456
+ '204':
26457
+ content: {}
26458
+ description: Returned when check is deleted successfully.
26459
+ '401':
26460
+ $ref: '#/components/responses/401'
26461
+ '403':
26462
+ $ref: '#/components/responses/403'
26463
+ '404':
26464
+ $ref: '#/components/responses/404'
26465
+ tags:
26466
+ - dataReplication
26467
+ /admin/v1/organizations/{orgName}/checks/{checkID}/details:
26468
+ get:
26469
+ operationId: getDataCheckDetails
26470
+ summary: Get Data Check Difference Details
26471
+ description: Read typed check miss or diff details from the latest parsed check result.
26472
+ parameters:
26473
+ - description: The Name of the organization
26474
+ in: path
26475
+ name: orgName
26476
+ required: true
26477
+ schema:
26478
+ type: string
26479
+ - description: The ID of the check
26480
+ in: path
26481
+ name: checkID
26482
+ required: true
26483
+ schema:
26484
+ type: string
26485
+ - description: The detail type
26486
+ in: query
26487
+ name: type
26488
+ required: true
26489
+ schema:
26490
+ $ref: '#/components/schemas/dataCheckDetailType'
26491
+ - description: Source schema or database. Required for snapshot checks.
26492
+ in: query
26493
+ name: schema
26494
+ required: false
26495
+ schema:
26496
+ type: string
26497
+ - description: Source table. Required for snapshot checks.
26498
+ in: query
26499
+ name: table
26500
+ required: false
26501
+ schema:
26502
+ type: string
26503
+ - description: Struct object key. Optional for struct checks; omitted to page all struct details.
26504
+ in: query
26505
+ name: key
26506
+ required: false
26507
+ schema:
26508
+ type: string
26509
+ - description: Page number for pagination.
26510
+ in: query
26511
+ name: page
26512
+ required: false
26513
+ schema:
26514
+ type: integer
26515
+ minimum: 1
26516
+ default: 1
26517
+ - description: Number of items per page.
26518
+ in: query
26519
+ name: pageSize
26520
+ required: false
26521
+ schema:
26522
+ type: integer
26523
+ minimum: 1
26524
+ maximum: 1000
26525
+ default: 100
26526
+ responses:
26527
+ '200':
26528
+ content:
26529
+ application/json:
26530
+ schema:
26531
+ $ref: '#/components/schemas/dataCheckDetails'
26532
+ description: A successful response.
26533
+ '401':
26534
+ $ref: '#/components/responses/401'
26535
+ '403':
26536
+ $ref: '#/components/responses/403'
26537
+ '404':
26538
+ $ref: '#/components/responses/404'
26539
+ tags:
26540
+ - dataReplication
26541
+ /admin/v1/organizations/{orgName}/checks/{checkID}/sqlLogs:
26542
+ get:
26543
+ operationId: getDataCheckSQLLogs
26544
+ summary: Get Data Check SQL Logs
26545
+ description: Read raw SQL lines emitted by check sql_logger entries.
26546
+ parameters:
26547
+ - description: The Name of the organization
26548
+ in: path
26549
+ name: orgName
26550
+ required: true
26551
+ schema:
26552
+ type: string
26553
+ - description: The ID of the check
26554
+ in: path
26555
+ name: checkID
26556
+ required: true
26557
+ schema:
26558
+ type: string
26559
+ responses:
26560
+ '200':
26561
+ content:
26562
+ text/plain:
26563
+ schema:
26564
+ type: string
26565
+ description: Raw SQL lines.
26566
+ '401':
26567
+ $ref: '#/components/responses/401'
26568
+ '403':
26569
+ $ref: '#/components/responses/403'
26570
+ '404':
26571
+ $ref: '#/components/responses/404'
26572
+ tags:
26573
+ - dataReplication
26574
+ /admin/v1/organizations/{orgName}/replication/channel/{channelID}/ops/{opsType}:
26575
+ post:
26576
+ operationId: createDataChannelOps
26577
+ summary: Create a new data channel ops
26578
+ description: Create a new data channel ops.
26579
+ parameters:
26580
+ - description: The Name of the organization
26581
+ in: path
26582
+ name: orgName
26583
+ required: true
26584
+ schema:
26585
+ type: string
26586
+ - description: The ID of the data channel
26587
+ in: path
26588
+ name: channelID
26589
+ required: true
26590
+ schema:
26591
+ type: string
26592
+ - description: The operation type
26593
+ in: path
26594
+ name: opsType
26595
+ required: true
26596
+ schema:
26597
+ $ref: '#/components/schemas/dataReplicationOpsType'
26598
+ responses:
26599
+ '204':
26600
+ content: {}
26601
+ description: Returned when operation is completed successfully.
26602
+ '401':
26603
+ $ref: '#/components/responses/401'
26604
+ '403':
26605
+ $ref: '#/components/responses/403'
26606
+ '404':
26607
+ $ref: '#/components/responses/404'
26608
+ tags:
26609
+ - dataReplication
26610
+ /admin/v1/organizations/{orgName}/replication/channel/{channelID}/events:
26611
+ get:
26612
+ operationId: listDataChannelEvents
26613
+ summary: List Data Channel Events
26614
+ description: Retrieve a list of data channel events.
26615
+ parameters:
26616
+ - description: The Name of the organization
26617
+ in: path
26618
+ name: orgName
26619
+ required: true
26620
+ schema:
26621
+ type: string
26622
+ - description: The ID of the data channel
26623
+ in: path
26624
+ name: channelID
26625
+ required: true
26626
+ schema:
26627
+ type: string
26628
+ responses:
26629
+ '200':
26630
+ content:
26631
+ application/json:
26632
+ schema:
26633
+ $ref: '#/components/schemas/dataReplicationEventList'
26634
+ description: A list of data channel events.
26635
+ '401':
26636
+ $ref: '#/components/responses/401'
26637
+ '403':
26638
+ $ref: '#/components/responses/403'
26639
+ '404':
26640
+ $ref: '#/components/responses/404'
26641
+ tags:
26642
+ - dataReplication
26643
+ /admin/v1/organizations/{orgName}/replication/channel/objects:
26644
+ post:
26645
+ operationId: queryReplicationObject
26646
+ summary: query replication object
26647
+ description: query replication object.
26648
+ parameters:
26649
+ - description: The Name of the organization
26650
+ in: path
26651
+ name: orgName
26652
+ required: true
26653
+ schema:
26654
+ type: string
26655
+ requestBody:
26656
+ content:
26657
+ application/json:
26658
+ schema:
26659
+ $ref: '#/components/schemas/replicationObjectQuery'
26660
+ required: true
26661
+ responses:
26662
+ '200':
26663
+ content:
26664
+ application/json:
26665
+ schema:
26666
+ $ref: '#/components/schemas/replicationObjectTree'
26667
+ description: A successful response.
26668
+ '401':
26669
+ $ref: '#/components/responses/401'
26670
+ '403':
26671
+ $ref: '#/components/responses/403'
26672
+ '404':
26673
+ $ref: '#/components/responses/404'
26674
+ '501':
26675
+ $ref: '#/components/responses/501'
26676
+ tags:
26677
+ - dataReplication
26678
+ x-codegen-request-body-name: body
26679
+ /admin/v1/organizations/{orgName}/replication/channel/precheck:
26680
+ post:
26681
+ operationId: createPreCheck
26682
+ summary: create pre check
26683
+ description: create pre check.
26684
+ parameters:
26685
+ - description: The Name of the organization
26686
+ in: path
26687
+ name: orgName
26688
+ required: true
26689
+ schema:
26690
+ type: string
26691
+ requestBody:
26692
+ content:
26693
+ application/json:
26694
+ schema:
26695
+ $ref: '#/components/schemas/preCheckCreate'
26696
+ required: true
26697
+ responses:
26698
+ '200':
26699
+ content:
26700
+ application/json:
26701
+ schema:
26702
+ $ref: '#/components/schemas/preCheckTaskResponse'
26703
+ description: A successful response.
26704
+ '401':
26705
+ $ref: '#/components/responses/401'
26706
+ '403':
26707
+ $ref: '#/components/responses/403'
26708
+ '404':
26709
+ $ref: '#/components/responses/404'
26710
+ tags:
26711
+ - dataReplication
26712
+ x-codegen-request-body-name: body
26713
+ /admin/v1/organizations/{orgName}/replication/channel/precheck/{preCheckID}:
26714
+ get:
26715
+ operationId: getPreCheck
26716
+ summary: get preCheck
26717
+ description: get preCheck.
26718
+ parameters:
26719
+ - description: The ID of the preCheck task
26720
+ in: path
26721
+ name: preCheckID
26722
+ required: true
26723
+ schema:
26724
+ type: string
26725
+ - description: The Name of the organization
26726
+ in: path
26727
+ name: orgName
26728
+ required: true
26729
+ schema:
26730
+ type: string
26731
+ responses:
26732
+ '200':
26733
+ content:
26734
+ application/json:
26735
+ schema:
26736
+ $ref: '#/components/schemas/preCheckTaskDetail'
26737
+ description: A successful response.
26738
+ '401':
26739
+ $ref: '#/components/responses/401'
26740
+ '403':
26741
+ $ref: '#/components/responses/403'
26742
+ '404':
26743
+ $ref: '#/components/responses/404'
26744
+ tags:
26745
+ - dataReplication
26746
+ delete:
26747
+ deprecated: true
26748
+ operationId: deletePreCheck
26749
+ summary: delete preCheck
26750
+ description: delete preCheck.
26751
+ parameters:
26752
+ - description: The ID of the preCheck task
26753
+ in: path
26754
+ name: preCheckID
26755
+ required: true
26756
+ schema:
26757
+ type: string
26758
+ - description: The Name of the organization
26759
+ in: path
26760
+ name: orgName
26761
+ required: true
26762
+ schema:
26763
+ type: string
26764
+ responses:
26765
+ '204':
26766
+ content: {}
26767
+ description: Returned when preCheck is deleted successfully.
26768
+ '401':
26769
+ $ref: '#/components/responses/401'
26770
+ '403':
26771
+ $ref: '#/components/responses/403'
26772
+ '404':
26773
+ $ref: '#/components/responses/404'
26774
+ tags:
26775
+ - dataReplication
26776
+ /admin/v1/organizations/{orgName}/replication/channel/{channelID}/logs:
26777
+ get:
26778
+ description: Query logs of a data channel
26779
+ summary: Query data channel logs
26780
+ operationId: queryDataChannelLogs
26781
+ parameters:
26782
+ - description: The Name of the organization
26783
+ in: path
26784
+ name: orgName
26785
+ required: true
26786
+ schema:
26787
+ type: string
26788
+ - in: path
26789
+ name: channelID
26790
+ required: true
26791
+ schema:
26792
+ type: string
26793
+ - in: query
26794
+ name: moduleName
26795
+ schema:
26796
+ type: string
26797
+ - in: query
26798
+ name: containerName
26799
+ schema:
26800
+ type: string
26801
+ required: false
26802
+ - in: query
26803
+ name: limit
26804
+ schema:
26805
+ type: string
26806
+ responses:
26807
+ '200':
26808
+ content:
26809
+ text/plain:
26810
+ schema:
26811
+ type: string
26812
+ description: channel logs output
26813
+ '401':
26814
+ $ref: '#/components/responses/401'
26815
+ '403':
26816
+ $ref: '#/components/responses/403'
26817
+ '404':
26818
+ $ref: '#/components/responses/404'
26819
+ tags:
26820
+ - dataReplication
26821
+ /admin/v1/organizations/{orgName}/replication/channel/{channelID}/containers:
26822
+ get:
26823
+ description: Query containers of a data channel module pod
26824
+ summary: Query data channel module pod containers
26825
+ operationId: queryDataChannelContainers
26826
+ parameters:
26827
+ - description: The Name of the organization
26828
+ in: path
26829
+ name: orgName
26830
+ required: true
26831
+ schema:
26832
+ type: string
26833
+ - in: path
26834
+ name: channelID
26835
+ required: true
26836
+ schema:
26837
+ type: string
26838
+ - in: query
26839
+ name: moduleName
26840
+ schema:
26841
+ type: string
26842
+ responses:
26843
+ '200':
26844
+ content:
26845
+ application/json:
26846
+ schema:
26847
+ type: array
26848
+ items:
26849
+ $ref: '#/components/schemas/dataReplicationChannelContainer'
26850
+ description: A list of data channel module containers.
26851
+ '401':
26852
+ $ref: '#/components/responses/401'
26853
+ '403':
26854
+ $ref: '#/components/responses/403'
26855
+ '404':
26856
+ $ref: '#/components/responses/404'
26857
+ tags:
26858
+ - dataReplication
26859
+ /admin/v1/organizations/{orgName}/replication/channel/parameters:
26860
+ get:
26861
+ operationId: listDataChannelParameters
26862
+ summary: List Data Channel Parameters
26863
+ description: Retrieve a list of data channel parameters.
26864
+ parameters:
26865
+ - description: The Name of the organization
26866
+ in: path
26867
+ name: orgName
26868
+ required: true
26869
+ schema:
26870
+ type: string
26871
+ - description: The name of the standard definition
26872
+ in: query
26873
+ name: standardName
26874
+ schema:
26875
+ type: string
26876
+ - description: The ID of the data channel
26877
+ in: query
26878
+ name: channelID
26879
+ schema:
26880
+ type: string
26881
+ - description: The source EngineDeifnition name
26882
+ in: query
26883
+ name: source
26884
+ schema:
26885
+ type: string
26886
+ - description: The target EngineDeifnition name
26887
+ in: query
26888
+ name: target
26889
+ schema:
26890
+ type: string
26891
+ - description: The module name
26892
+ in: query
26893
+ name: moduleName
26894
+ schema:
26895
+ type: string
26896
+ responses:
26897
+ '200':
26898
+ content:
26899
+ application/json:
26900
+ schema:
26901
+ $ref: '#/components/schemas/dataReplicationParametersResponse'
26902
+ description: A list of data channel parameters.
26903
+ '401':
26904
+ $ref: '#/components/responses/401'
26905
+ '403':
26906
+ $ref: '#/components/responses/403'
26907
+ '404':
26908
+ $ref: '#/components/responses/404'
26909
+ tags:
26910
+ - dataReplication
26222
26911
  components:
26223
26912
  securitySchemes:
26224
26913
  BearerToken:
@@ -46075,1060 +46764,1640 @@ components:
46075
46764
  pageResult:
46076
46765
  $ref: '#/components/schemas/pageResult'
46077
46766
  required:
46078
- - items
46079
- type: object
46080
- dataChannelObject:
46767
+ - items
46768
+ type: object
46769
+ dataChannelObject:
46770
+ type: object
46771
+ properties:
46772
+ includeObjects:
46773
+ type: array
46774
+ items:
46775
+ type: string
46776
+ excludeObjects:
46777
+ type: array
46778
+ items:
46779
+ type: string
46780
+ nullable: true
46781
+ ImportPreflightRequest:
46782
+ description: Data source preflight request
46783
+ type: object
46784
+ required:
46785
+ - sourceType
46786
+ - connectionConfig
46787
+ properties:
46788
+ sourceType:
46789
+ type: string
46790
+ description: Data source type
46791
+ connectionConfig:
46792
+ type: object
46793
+ description: Connection configuration parameters that vary by data source type
46794
+ example:
46795
+ host: mysql-source.example.com
46796
+ port: 3306
46797
+ username: migration_user
46798
+ password: secret123
46799
+ sslMode: disable
46800
+ objectSelection:
46801
+ $ref: '#/components/schemas/dataChannelObject'
46802
+ preCheckTaskResponse:
46803
+ type: object
46804
+ properties:
46805
+ taskId:
46806
+ type: string
46807
+ preCheckStatus:
46808
+ enum:
46809
+ - Pending
46810
+ - Running
46811
+ - Succeed
46812
+ - Failed
46813
+ type: string
46814
+ preCheckTaskItem:
46815
+ type: object
46816
+ properties:
46817
+ checkerName:
46818
+ type: string
46819
+ checkerDesc:
46820
+ type: string
46821
+ message:
46822
+ type: string
46823
+ nullable: true
46824
+ status:
46825
+ $ref: '#/components/schemas/preCheckStatus'
46826
+ preCheckResult:
46827
+ type: object
46828
+ properties:
46829
+ name:
46830
+ type: string
46831
+ checkerName:
46832
+ type: string
46833
+ message:
46834
+ type: string
46835
+ nullable: true
46836
+ advice:
46837
+ type: string
46838
+ nullable: true
46839
+ preCheckTaskDetail:
46840
+ type: object
46841
+ properties:
46842
+ taskID:
46843
+ type: string
46844
+ taskStatus:
46845
+ $ref: '#/components/schemas/preCheckStatus'
46846
+ progress:
46847
+ type: integer
46848
+ format: int32
46849
+ nullable: true
46850
+ checkers:
46851
+ type: array
46852
+ items:
46853
+ $ref: '#/components/schemas/preCheckTaskItem'
46854
+ errors:
46855
+ type: array
46856
+ items:
46857
+ $ref: '#/components/schemas/preCheckResult'
46858
+ nullable: true
46859
+ warnings:
46860
+ type: array
46861
+ items:
46862
+ $ref: '#/components/schemas/preCheckResult'
46863
+ nullable: true
46864
+ createdAt:
46865
+ type: string
46866
+ format: date-time
46867
+ completedAt:
46868
+ type: string
46869
+ format: date-time
46870
+ nullable: true
46871
+ ImportQueryObjectsRequest:
46872
+ description: Request payload for querying import data source objects.
46873
+ type: object
46874
+ required:
46875
+ - sourceType
46876
+ - connectionConfig
46877
+ properties:
46878
+ sourceType:
46879
+ $ref: '#/components/schemas/ImportSourceType'
46880
+ description: Data source type to query objects from.
46881
+ connectionConfig:
46882
+ type: object
46883
+ description: Connection configuration parameters that vary by data source type.
46884
+ example:
46885
+ host: mysql-source.example.com
46886
+ port: 3306
46887
+ username: migration_user
46888
+ password: secret123
46889
+ sslMode: disable
46890
+ nodeType:
46891
+ type: string
46892
+ description: Current node type in the replication object tree.
46893
+ nodeValue:
46894
+ type: string
46895
+ description: Encoded node value of the current tree node.
46896
+ queryNodeType:
46897
+ type: string
46898
+ description: Target node type to enumerate for the next level.
46899
+ replicationObjectNode:
46900
+ type: object
46901
+ properties:
46902
+ nodeName:
46903
+ type: string
46904
+ nodeValue:
46905
+ type: string
46906
+ replicationObjectTree:
46907
+ type: object
46908
+ properties:
46909
+ nodeType:
46910
+ type: string
46911
+ nodeValues:
46912
+ type: array
46913
+ items:
46914
+ $ref: '#/components/schemas/replicationObjectNode'
46915
+ childrenNodeTypes:
46916
+ type: array
46917
+ nullable: true
46918
+ items:
46919
+ type: string
46920
+ ImportTaskStatus:
46921
+ type: string
46922
+ description: Import task status
46923
+ enum:
46924
+ - Pending
46925
+ - Initializing
46926
+ - Finished
46927
+ - Failed
46928
+ - Deleting
46929
+ ImportTaskResponse:
46930
+ description: Import task response
46931
+ type: object
46932
+ properties:
46933
+ id:
46934
+ type: string
46935
+ description: Import task ID
46936
+ name:
46937
+ type: string
46938
+ description: Import name
46939
+ status:
46940
+ $ref: '#/components/schemas/ImportTaskStatus'
46941
+ sourceEndpoint:
46942
+ type: string
46943
+ description: Source endpoint address
46944
+ targetClusterName:
46945
+ type: string
46946
+ description: Target cluster name
46947
+ progress:
46948
+ type: integer
46949
+ format: int32
46950
+ minimum: 0
46951
+ maximum: 100
46952
+ default: 0
46953
+ description: Overall progress
46954
+ sourceType:
46955
+ type: string
46956
+ description: Data source type
46957
+ targetEngine:
46958
+ type: string
46959
+ description: Target engine type
46960
+ syncTimestamp:
46961
+ type: string
46962
+ format: date-time
46963
+ description: Sync timestamp
46964
+ nullable: true
46965
+ delaySecond:
46966
+ type: integer
46967
+ description: Delay seconds
46968
+ nullable: true
46969
+ createdAt:
46970
+ type: string
46971
+ format: date-time
46972
+ description: Creation time
46973
+ updatedAt:
46974
+ type: string
46975
+ format: date-time
46976
+ description: Update time
46977
+ finishedAt:
46978
+ type: string
46979
+ format: date-time
46980
+ description: Finish time
46981
+ nullable: true
46982
+ message:
46983
+ type: string
46984
+ description: Operation result message
46985
+ nullable: true
46986
+ required:
46987
+ - id
46988
+ - name
46989
+ - status
46990
+ - sourceEndpoint
46991
+ - targetClusterName
46992
+ - progress
46993
+ - sourceType
46994
+ - targetEngine
46995
+ - createdAt
46996
+ - updatedAt
46997
+ - message
46998
+ ImportTaskListResponse:
46999
+ description: Import task list response
46081
47000
  type: object
46082
47001
  properties:
46083
- includeObjects:
46084
- type: array
46085
- items:
46086
- type: string
46087
- excludeObjects:
47002
+ items:
46088
47003
  type: array
46089
47004
  items:
46090
- type: string
46091
- nullable: true
46092
- ImportPreflightRequest:
46093
- description: Data source preflight request
47005
+ $ref: '#/components/schemas/ImportTaskResponse'
47006
+ description: Task list
47007
+ required:
47008
+ - items
47009
+ ImportTaskCreateRequest:
47010
+ description: Create import task request
46094
47011
  type: object
46095
47012
  required:
46096
47013
  - sourceType
46097
47014
  - connectionConfig
46098
47015
  properties:
46099
- sourceType:
47016
+ name:
46100
47017
  type: string
46101
- description: Data source type
47018
+ description: Import name
47019
+ sourceType:
47020
+ $ref: '#/components/schemas/ImportSourceType'
46102
47021
  connectionConfig:
46103
47022
  type: object
46104
- description: Connection configuration parameters that vary by data source type
46105
- example:
46106
- host: mysql-source.example.com
46107
- port: 3306
46108
- username: migration_user
46109
- password: secret123
46110
- sslMode: disable
47023
+ description: Connection configuration
46111
47024
  objectSelection:
46112
47025
  $ref: '#/components/schemas/dataChannelObject'
46113
- preCheckTaskResponse:
46114
- type: object
46115
- properties:
46116
- taskId:
46117
- type: string
46118
- preCheckStatus:
46119
- enum:
46120
- - Pending
46121
- - Running
46122
- - Succeed
46123
- - Failed
47026
+ ImportOpsType:
46124
47027
  type: string
46125
- preCheckTaskItem:
47028
+ description: Import task operation type
47029
+ enum:
47030
+ - pause
47031
+ - resume
47032
+ environmentPricing:
46126
47033
  type: object
47034
+ description: the information of environment pricing
47035
+ required:
47036
+ - envName
47037
+ - cpuPrice
47038
+ - memoryPrice
47039
+ - storagePrice
47040
+ - backupPrice
46127
47041
  properties:
46128
- checkerName:
47042
+ envName:
47043
+ description: The environment name
46129
47044
  type: string
46130
- checkerDesc:
47045
+ nullable: true
47046
+ cpuPrice:
47047
+ description: The price of CPU, the unit is 'Core'
46131
47048
  type: string
46132
- message:
47049
+ nullable: true
47050
+ memoryPrice:
47051
+ description: The price of Memory, the unit is 'GB'
46133
47052
  type: string
46134
47053
  nullable: true
46135
- status:
46136
- $ref: '#/components/schemas/preCheckStatus'
46137
- preCheckResult:
47054
+ storagePrice:
47055
+ description: The price of Storage, the unit is 'GB'
47056
+ type: string
47057
+ nullable: true
47058
+ backupPrice:
47059
+ description: The price of Backup, the unit is 'GB'
47060
+ type: string
47061
+ nullable: true
47062
+ environmentPricingList:
46138
47063
  type: object
47064
+ description: list of information with environment pricing
46139
47065
  properties:
46140
- name:
47066
+ items:
47067
+ description: Items is the list of environment pricing information
47068
+ items:
47069
+ $ref: '#/components/schemas/environmentPricing'
47070
+ type: array
47071
+ required:
47072
+ - items
47073
+ globalPricing:
47074
+ type: object
47075
+ description: the global information of pricing
47076
+ required:
47077
+ - billScheduleTime
47078
+ - cpuPrice
47079
+ - memoryPrice
47080
+ - storagePrice
47081
+ - backupPrice
47082
+ properties:
47083
+ enabled:
47084
+ description: Enable global pricing
47085
+ type: boolean
47086
+ x-omitempty: false
47087
+ currencyUnit:
47088
+ description: The currency uint for display in bill query
46141
47089
  type: string
46142
- checkerName:
47090
+ nullable: true
47091
+ billScheduleTime:
47092
+ description: Scheduled production time for daily bills, the format is 'HH:mm:ss', such as '01:00:00' meas every day at 1:00 AM, use the configured timezone
46143
47093
  type: string
46144
- message:
47094
+ nullable: true
47095
+ example: '01:00:00'
47096
+ lastBillingTime:
47097
+ description: |
47098
+ The last billing time in RFC3339 format (e.g., '2025-09-01T00:00:00Z' or '2025-09-01T00:00:00+08:00').
47099
+ This timestamp represents when the end time of the latest bill.
46145
47100
  type: string
47101
+ format: date-time
46146
47102
  nullable: true
46147
- advice:
47103
+ example: '2025-09-02T00:00:00Z'
47104
+ cpuPrice:
47105
+ description: The price of CPU, the unit is 'Core'
46148
47106
  type: string
46149
47107
  nullable: true
46150
- preCheckTaskDetail:
47108
+ memoryPrice:
47109
+ description: The price of Memory, the unit is 'GB'
47110
+ type: string
47111
+ nullable: true
47112
+ storagePrice:
47113
+ description: The price of Storage, the unit is 'GB'
47114
+ type: string
47115
+ nullable: true
47116
+ backupPrice:
47117
+ description: The price of Backup, the unit is 'GB'
47118
+ type: string
47119
+ nullable: true
47120
+ timezone:
47121
+ description: |
47122
+ The timezone used for billing calculations and time alignment, specified as an IANA timezone identifier.
47123
+
47124
+ This timezone determines:
47125
+ - When daily billing periods start and end (aligned to midnight in this timezone)
47126
+ - How input timestamps are converted and normalized for billing calculations
47127
+ - The timezone context for scheduled billing operations
47128
+
47129
+ Examples of valid timezone values:
47130
+ - "UTC" - Coordinated Universal Time
47131
+ - "Asia/Shanghai" - China Standard Time (CST, UTC+8)
47132
+ - "America/New_York" - Eastern Time (EST/EDT, UTC-5/-4)
47133
+ - "Europe/London" - Greenwich Mean Time/British Summer Time (GMT/BST, UTC+0/+1)
47134
+
47135
+ **The system defaults to UTC and not support to change for now.**
47136
+ type: string
47137
+ nullable: true
47138
+ example: UTC
47139
+ BasicTask:
46151
47140
  type: object
47141
+ description: Task information
46152
47142
  properties:
46153
- taskID:
47143
+ taskId:
47144
+ description: Task ID
46154
47145
  type: string
46155
- taskStatus:
46156
- $ref: '#/components/schemas/preCheckStatus'
46157
- progress:
47146
+ nullable: true
47147
+ required:
47148
+ - taskId
47149
+ aggregationTimeType:
47150
+ description: The type of aggregation time
47151
+ enum:
47152
+ - yearly
47153
+ - monthly
47154
+ - quarterly
47155
+ - daily
47156
+ type: string
47157
+ nullable: true
47158
+ aggregationGroupType:
47159
+ description: The type of aggregation group
47160
+ enum:
47161
+ - global
47162
+ - organization
47163
+ - project
47164
+ - cluster
47165
+ type: string
47166
+ nullable: true
47167
+ Bill:
47168
+ type: object
47169
+ description: Task information
47170
+ properties:
47171
+ dataTime:
47172
+ description: |
47173
+ The Unix timestamp (seconds since epoch) representing the start of the billing period.
46158
47174
  type: integer
46159
- format: int32
47175
+ format: int64
47176
+ example: 1756656000
47177
+ price:
47178
+ description: The total price
47179
+ type: string
47180
+ clusterID:
47181
+ description: The ID of cluster
47182
+ type: string
46160
47183
  nullable: true
46161
- checkers:
46162
- type: array
46163
- items:
46164
- $ref: '#/components/schemas/preCheckTaskItem'
46165
- errors:
46166
- type: array
46167
- items:
46168
- $ref: '#/components/schemas/preCheckResult'
47184
+ x-omitempty: true
47185
+ clusterName:
47186
+ description: The Name of cluster
47187
+ type: string
46169
47188
  nullable: true
46170
- warnings:
46171
- type: array
46172
- items:
46173
- $ref: '#/components/schemas/preCheckResult'
47189
+ x-omitempty: true
47190
+ clusterDisplayName:
47191
+ description: The Display Name of cluster
47192
+ type: string
47193
+ nullable: true
47194
+ x-omitempty: true
47195
+ engine:
47196
+ description: Cluster Application Engine
47197
+ type: string
47198
+ nullable: true
47199
+ x-omitempty: true
47200
+ version:
47201
+ description: Cluster Application Version
47202
+ type: string
47203
+ nullable: true
47204
+ x-omitempty: true
47205
+ mode:
47206
+ description: Cluster topology mode
47207
+ type: string
46174
47208
  nullable: true
46175
- createdAt:
47209
+ x-omitempty: true
47210
+ orgName:
47211
+ description: The Name of organization
46176
47212
  type: string
46177
- format: date-time
46178
- completedAt:
47213
+ nullable: true
47214
+ x-omitempty: true
47215
+ projectName:
47216
+ description: The Name of project
46179
47217
  type: string
46180
- format: date-time
46181
47218
  nullable: true
46182
- ImportQueryObjectsRequest:
46183
- description: Request payload for querying import data source objects.
47219
+ x-omitempty: true
47220
+ BillList:
46184
47221
  type: object
47222
+ description: list price details in date range
47223
+ properties:
47224
+ items:
47225
+ description: Items of the price
47226
+ items:
47227
+ $ref: '#/components/schemas/Bill'
47228
+ type: array
46185
47229
  required:
46186
- - sourceType
46187
- - connectionConfig
47230
+ - items
47231
+ MeteringTrack:
47232
+ type: object
47233
+ description: RTS metering track information
46188
47234
  properties:
46189
- sourceType:
46190
- $ref: '#/components/schemas/ImportSourceType'
46191
- description: Data source type to query objects from.
46192
- connectionConfig:
46193
- type: object
46194
- description: Connection configuration parameters that vary by data source type.
46195
- example:
46196
- host: mysql-source.example.com
46197
- port: 3306
46198
- username: migration_user
46199
- password: secret123
46200
- sslMode: disable
46201
- nodeType:
47235
+ clusterID:
47236
+ description: The ID of cluster
46202
47237
  type: string
46203
- description: Current node type in the replication object tree.
46204
- nodeValue:
47238
+ nullable: true
47239
+ x-omitempty: true
47240
+ orgName:
47241
+ description: The Name of organization
46205
47242
  type: string
46206
- description: Encoded node value of the current tree node.
46207
- queryNodeType:
47243
+ nullable: true
47244
+ x-omitempty: true
47245
+ projectName:
47246
+ description: The Name of project
46208
47247
  type: string
46209
- description: Target node type to enumerate for the next level.
46210
- replicationObjectNode:
46211
- type: object
46212
- properties:
46213
- nodeName:
47248
+ nullable: true
47249
+ x-omitempty: true
47250
+ environmentID:
47251
+ description: The ID of environment
46214
47252
  type: string
46215
- nodeValue:
47253
+ nullable: true
47254
+ x-omitempty: true
47255
+ startTime:
47256
+ description: The clipped start time of the metering track in Unix timestamp (seconds since epoch)
47257
+ type: integer
47258
+ format: int64
47259
+ example: 1756656000
47260
+ endTime:
47261
+ description: The clipped end time of the metering track in Unix timestamp (seconds since epoch)
47262
+ type: integer
47263
+ format: int64
47264
+ example: 1756663200
47265
+ cpu:
47266
+ description: The CPU usage tracked for the interval
46216
47267
  type: string
46217
- replicationObjectTree:
47268
+ memory:
47269
+ description: The memory usage tracked for the interval
47270
+ type: string
47271
+ storage:
47272
+ description: The storage usage tracked for the interval
47273
+ type: string
47274
+ backup:
47275
+ description: The backup usage tracked for the interval
47276
+ type: string
47277
+ MeteringTrackList:
46218
47278
  type: object
47279
+ description: list metering tracks in date range
46219
47280
  properties:
46220
- nodeType:
46221
- type: string
46222
- nodeValues:
46223
- type: array
47281
+ items:
47282
+ description: Items of the metering tracks
46224
47283
  items:
46225
- $ref: '#/components/schemas/replicationObjectNode'
46226
- childrenNodeTypes:
47284
+ $ref: '#/components/schemas/MeteringTrack'
46227
47285
  type: array
46228
- nullable: true
46229
- items:
46230
- type: string
46231
- ImportTaskStatus:
46232
- type: string
46233
- description: Import task status
46234
- enum:
46235
- - Pending
46236
- - Initializing
46237
- - Finished
46238
- - Failed
46239
- - Deleting
46240
- ImportTaskResponse:
46241
- description: Import task response
47286
+ pagination:
47287
+ $ref: '#/components/schemas/paginationResult'
47288
+ required:
47289
+ - items
47290
+ SLACluster:
46242
47291
  type: object
47292
+ description: The cluster summary used by SLA calculation results. SLA responses can be built from historical outage data, so general cluster list fields may be unavailable.
46243
47293
  properties:
46244
47294
  id:
46245
47295
  type: string
46246
- description: Import task ID
47296
+ description: ID of cluster.
46247
47297
  name:
46248
47298
  type: string
46249
- description: Import name
46250
- status:
46251
- $ref: '#/components/schemas/ImportTaskStatus'
46252
- sourceEndpoint:
47299
+ description: Name of cluster.
47300
+ displayName:
46253
47301
  type: string
46254
- description: Source endpoint address
46255
- targetClusterName:
47302
+ description: Display name of cluster.
47303
+ orgName:
46256
47304
  type: string
46257
- description: Target cluster name
46258
- progress:
46259
- type: integer
46260
- format: int32
46261
- minimum: 0
46262
- maximum: 100
46263
- default: 0
46264
- description: Overall progress
46265
- sourceType:
47305
+ description: Org Name.
47306
+ environmentName:
46266
47307
  type: string
46267
- description: Data source type
46268
- targetEngine:
47308
+ description: Environment Name.
47309
+ engine:
46269
47310
  type: string
46270
- description: Target engine type
46271
- syncTimestamp:
47311
+ description: Cluster Application Engine.
47312
+ clusterType:
47313
+ $ref: '#/components/schemas/clusterType'
47314
+ createdAt:
46272
47315
  type: string
46273
47316
  format: date-time
46274
- description: Sync timestamp
47317
+ x-nullable: true
47318
+ description: The timestamp when the cluster was created, when available.
47319
+ status:
47320
+ type: string
47321
+ description: The SLA calculation status for the cluster.
47322
+ version:
47323
+ type: string
47324
+ description: Cluster Application Version.
47325
+ OutageRecord:
47326
+ type: object
47327
+ description: Records the outage events of a cluster for SLA calculation. It is designed to ensure that for any given cluster, there can be at most one active outage record at any time.
47328
+ required:
47329
+ - clusterID
47330
+ properties:
47331
+ id:
47332
+ type: string
47333
+ description: The unique identifier for the outage record.
47334
+ clusterID:
47335
+ type: string
47336
+ description: The id of cluster.
47337
+ outageStartTime:
47338
+ type: integer
47339
+ format: int64
47340
+ description: The Unix timestamp (in seconds) when the outage began (UTC).
47341
+ outageEndTime:
47342
+ type: integer
47343
+ format: int64
46275
47344
  nullable: true
46276
- delaySecond:
47345
+ description: The Unix timestamp (in seconds) when the outage was resolved (UTC). A null value indicates that the outage is still ongoing.
47346
+ lastFailureReason:
47347
+ type: string
47348
+ nullable: true
47349
+ description: The error message from the last failed probe.
47350
+ failureCount:
46277
47351
  type: integer
46278
- description: Delay seconds
47352
+ format: int32
46279
47353
  nullable: true
47354
+ description: The number of consecutive failures in this outage event.
47355
+ default: 1
46280
47356
  createdAt:
46281
47357
  type: string
46282
47358
  format: date-time
46283
- description: Creation time
47359
+ description: The timestamp when the record was created.
47360
+ readOnly: true
46284
47361
  updatedAt:
46285
47362
  type: string
46286
47363
  format: date-time
46287
- description: Update time
46288
- finishedAt:
46289
- type: string
46290
- format: date-time
46291
- description: Finish time
46292
- nullable: true
46293
- message:
46294
- type: string
46295
- description: Operation result message
46296
- nullable: true
46297
- required:
46298
- - id
46299
- - name
46300
- - status
46301
- - sourceEndpoint
46302
- - targetClusterName
46303
- - progress
46304
- - sourceType
46305
- - targetEngine
46306
- - createdAt
46307
- - updatedAt
46308
- - message
46309
- ImportTaskListResponse:
46310
- description: Import task list response
47364
+ description: The timestamp when the record was last updated.
47365
+ readOnly: true
47366
+ OutageRecordList:
47367
+ type: array
47368
+ description: A list of outage records.
47369
+ items:
47370
+ $ref: '#/components/schemas/OutageRecord'
47371
+ SLA:
47372
+ type: object
47373
+ description: The SLA (Service Level Agreement) for a cluster.
47374
+ properties:
47375
+ cluster:
47376
+ type: object
47377
+ $ref: '#/components/schemas/SLACluster'
47378
+ detail:
47379
+ type: object
47380
+ $ref: '#/components/schemas/OutageRecordList'
47381
+ sla:
47382
+ type: number
47383
+ description: The SLA value for the cluster.
47384
+ targetThreshold:
47385
+ type: number
47386
+ description: The target SLA threshold value for the cluster.
47387
+ totalDuration:
47388
+ type: integer
47389
+ format: int64
47390
+ description: The total duration of the outage records.
47391
+ totalDowntime:
47392
+ type: integer
47393
+ format: int64
47394
+ description: The total downtime duration of the outage records.
47395
+ SLAList:
47396
+ type: array
47397
+ description: A list of SLA records.
47398
+ items:
47399
+ $ref: '#/components/schemas/SLA'
47400
+ ClustersSLA:
46311
47401
  type: object
47402
+ description: The SLA (Service Level Agreement) for a cluster.
46312
47403
  properties:
46313
47404
  items:
46314
- type: array
46315
- items:
46316
- $ref: '#/components/schemas/ImportTaskResponse'
46317
- description: Task list
46318
- required:
46319
- - items
46320
- ImportTaskCreateRequest:
46321
- description: Create import task request
46322
- type: object
46323
- required:
46324
- - sourceType
46325
- - connectionConfig
46326
- properties:
46327
- name:
46328
- type: string
46329
- description: Import name
46330
- sourceType:
46331
- $ref: '#/components/schemas/ImportSourceType'
46332
- connectionConfig:
46333
47405
  type: object
46334
- description: Connection configuration
46335
- objectSelection:
46336
- $ref: '#/components/schemas/dataChannelObject'
46337
- ImportOpsType:
46338
- type: string
46339
- description: Import task operation type
46340
- enum:
46341
- - pause
46342
- - resume
46343
- environmentPricing:
47406
+ $ref: '#/components/schemas/SLAList'
47407
+ total:
47408
+ type: integer
47409
+ format: int64
47410
+ description: The total number of cluster SLA records.
47411
+ DailySLA:
46344
47412
  type: object
46345
- description: the information of environment pricing
46346
- required:
46347
- - envName
46348
- - cpuPrice
46349
- - memoryPrice
46350
- - storagePrice
46351
- - backupPrice
47413
+ description: The SLA (Service Level Agreement) for a cluster on a specific date.
46352
47414
  properties:
46353
- envName:
46354
- description: The environment name
46355
- type: string
46356
- nullable: true
46357
- cpuPrice:
46358
- description: The price of CPU, the unit is 'Core'
47415
+ date:
46359
47416
  type: string
47417
+ description: The date for which the SLA is calculated, formatted as YYYY-MM-DD.
47418
+ sla:
47419
+ type: number
47420
+ description: The SLA value for the cluster on the specified date. Null indicates that the cluster was not existing on that date.
47421
+ x-omitempty: false
46360
47422
  nullable: true
46361
- memoryPrice:
46362
- description: The price of Memory, the unit is 'GB'
47423
+ DailySLAList:
47424
+ type: array
47425
+ description: A list of daily SLA records.
47426
+ items:
47427
+ $ref: '#/components/schemas/DailySLA'
47428
+ SLASettings:
47429
+ type: object
47430
+ properties:
47431
+ environmentName:
46363
47432
  type: string
46364
- nullable: true
46365
- storagePrice:
46366
- description: The price of Storage, the unit is 'GB'
47433
+ description: The name of the environment.
47434
+ probeInterval:
46367
47435
  type: string
46368
- nullable: true
46369
- backupPrice:
46370
- description: The price of Backup, the unit is 'GB'
47436
+ format: duration
47437
+ probeTimeout:
46371
47438
  type: string
46372
- nullable: true
46373
- environmentPricingList:
46374
- type: object
46375
- description: list of information with environment pricing
46376
- properties:
46377
- items:
46378
- description: Items is the list of environment pricing information
46379
- items:
46380
- $ref: '#/components/schemas/environmentPricing'
46381
- type: array
46382
- required:
46383
- - items
46384
- globalPricing:
46385
- type: object
46386
- description: the global information of pricing
46387
- required:
46388
- - billScheduleTime
46389
- - cpuPrice
46390
- - memoryPrice
46391
- - storagePrice
46392
- - backupPrice
46393
- properties:
46394
- enabled:
46395
- description: Enable global pricing
47439
+ format: duration
47440
+ enableProbeRetry:
46396
47441
  type: boolean
46397
47442
  x-omitempty: false
46398
- currencyUnit:
46399
- description: The currency uint for display in bill query
47443
+ probeRetryCount:
47444
+ type: integer
47445
+ x-omitempty: false
47446
+ probeRetryInterval:
46400
47447
  type: string
46401
- nullable: true
46402
- billScheduleTime:
46403
- description: Scheduled production time for daily bills, the format is 'HH:mm:ss', such as '01:00:00' meas every day at 1:00 AM, use the configured timezone
47448
+ format: duration
47449
+ probeEngines:
47450
+ type: array
47451
+ items:
47452
+ type: string
47453
+ probePoolSize:
47454
+ type: integer
47455
+ x-omitempty: false
47456
+ collectorBatchSize:
47457
+ type: integer
47458
+ collectorMaxWaitTime:
46404
47459
  type: string
46405
- nullable: true
46406
- example: '01:00:00'
46407
- lastBillingTime:
46408
- description: |
46409
- The last billing time in RFC3339 format (e.g., '2025-09-01T00:00:00Z' or '2025-09-01T00:00:00+08:00').
46410
- This timestamp represents when the end time of the latest bill.
47460
+ format: duration
47461
+ slaThreshold:
47462
+ type: number
47463
+ description: The SLA threshold value for the cluster.
47464
+ affectedClusterItem:
47465
+ description: a cluster which is affected by the vulnerability
47466
+ properties:
47467
+ id:
47468
+ description: the ID of the cluster
46411
47469
  type: string
46412
- format: date-time
46413
- nullable: true
46414
- example: '2025-09-02T00:00:00Z'
46415
- cpuPrice:
46416
- description: The price of CPU, the unit is 'Core'
47470
+ name:
47471
+ description: the name of the cluster
46417
47472
  type: string
46418
- nullable: true
46419
- memoryPrice:
46420
- description: The price of Memory, the unit is 'GB'
47473
+ displayName:
47474
+ description: the display name of the cluster
46421
47475
  type: string
46422
- nullable: true
46423
- storagePrice:
46424
- description: The price of Storage, the unit is 'GB'
47476
+ clusterType:
47477
+ description: the type of the cluster
46425
47478
  type: string
46426
- nullable: true
46427
- backupPrice:
46428
- description: The price of Backup, the unit is 'GB'
47479
+ engine:
47480
+ description: the engine of the cluster
46429
47481
  type: string
46430
- nullable: true
46431
- timezone:
46432
- description: |
46433
- The timezone used for billing calculations and time alignment, specified as an IANA timezone identifier.
46434
-
46435
- This timezone determines:
46436
- - When daily billing periods start and end (aligned to midnight in this timezone)
46437
- - How input timestamps are converted and normalized for billing calculations
46438
- - The timezone context for scheduled billing operations
46439
-
46440
- Examples of valid timezone values:
46441
- - "UTC" - Coordinated Universal Time
46442
- - "Asia/Shanghai" - China Standard Time (CST, UTC+8)
46443
- - "America/New_York" - Eastern Time (EST/EDT, UTC-5/-4)
46444
- - "Europe/London" - Greenwich Mean Time/British Summer Time (GMT/BST, UTC+0/+1)
46445
-
46446
- **The system defaults to UTC and not support to change for now.**
47482
+ orgName:
47483
+ description: the name of the organization
46447
47484
  type: string
46448
- nullable: true
46449
- example: UTC
46450
- BasicTask:
46451
- type: object
46452
- description: Task information
47485
+ refItem:
47486
+ description: a reference of the vulnerability
46453
47487
  properties:
46454
- taskId:
46455
- description: Task ID
47488
+ rType:
47489
+ description: the type of the reference
47490
+ type: string
47491
+ url:
47492
+ description: the URL of the reference
46456
47493
  type: string
46457
- nullable: true
46458
47494
  required:
46459
- - taskId
46460
- aggregationTimeType:
46461
- description: The type of aggregation time
46462
- enum:
46463
- - yearly
46464
- - monthly
46465
- - quarterly
46466
- - daily
46467
- type: string
46468
- nullable: true
46469
- aggregationGroupType:
46470
- description: The type of aggregation group
46471
- enum:
46472
- - global
46473
- - organization
46474
- - project
46475
- - cluster
46476
- type: string
46477
- nullable: true
46478
- Bill:
46479
- type: object
46480
- description: Task information
47495
+ - rType
47496
+ - url
47497
+ vulnListItem:
47498
+ description: a vulnerability which affected the cluster
46481
47499
  properties:
46482
- dataTime:
46483
- description: |
46484
- The Unix timestamp (seconds since epoch) representing the start of the billing period.
46485
- type: integer
46486
- format: int64
46487
- example: 1756656000
46488
- price:
46489
- description: The total price
46490
- type: string
46491
- clusterID:
46492
- description: The ID of cluster
47500
+ cveId:
47501
+ description: the CVE ID of the vulnerability
46493
47502
  type: string
46494
- nullable: true
46495
- x-omitempty: true
46496
- clusterName:
46497
- description: The Name of cluster
47503
+ engineName:
47504
+ description: the engine name of the vulnerability
46498
47505
  type: string
46499
- nullable: true
46500
- x-omitempty: true
46501
- clusterDisplayName:
46502
- description: The Display Name of cluster
47506
+ productName:
47507
+ description: the product name of the vulnerability
46503
47508
  type: string
46504
- nullable: true
46505
- x-omitempty: true
46506
- engine:
46507
- description: Cluster Application Engine
47509
+ versions:
47510
+ description: the versions of the product which are affected by the vulnerability
47511
+ type: array
47512
+ items:
47513
+ type: string
47514
+ fixedVersions:
47515
+ description: the fixed versions of the product which fixed the vulnerability
47516
+ type: array
47517
+ items:
47518
+ type: string
47519
+ affectedClusters:
47520
+ description: the clusters which are affected by the vulnerability
47521
+ type: array
47522
+ items:
47523
+ $ref: '#/components/schemas/affectedClusterItem'
47524
+ detail:
47525
+ description: the detail of the vulnerability
46508
47526
  type: string
46509
- nullable: true
46510
- x-omitempty: true
46511
- version:
46512
- description: Cluster Application Version
47527
+ severity:
47528
+ description: the severity of the vulnerability
46513
47529
  type: string
46514
- nullable: true
46515
- x-omitempty: true
46516
- mode:
46517
- description: Cluster topology mode
47530
+ cvssVector:
47531
+ description: the CVSS vector and score of the vulnerability
46518
47532
  type: string
46519
- nullable: true
46520
- x-omitempty: true
46521
- orgName:
46522
- description: The Name of organization
47533
+ publishedAt:
47534
+ description: the published time of the vulnerability
46523
47535
  type: string
46524
- nullable: true
46525
- x-omitempty: true
46526
- projectName:
46527
- description: The Name of project
47536
+ format: date-time
47537
+ modifiedAt:
47538
+ description: the modified time of the vulnerability
46528
47539
  type: string
46529
- nullable: true
46530
- x-omitempty: true
46531
- BillList:
46532
- type: object
46533
- description: list price details in date range
47540
+ format: date-time
47541
+ refs:
47542
+ description: the references of the vulnerability
47543
+ type: array
47544
+ items:
47545
+ $ref: '#/components/schemas/refItem'
47546
+ required:
47547
+ - cveId
47548
+ - engineName
47549
+ - productName
47550
+ - versions
47551
+ - severity
47552
+ - publishedAt
47553
+ - modifiedAt
47554
+ vulnList:
47555
+ description: a list of vulnerabilities
46534
47556
  properties:
46535
47557
  items:
46536
- description: Items of the price
47558
+ description: a list of vulnerabilities
46537
47559
  items:
46538
- $ref: '#/components/schemas/Bill'
47560
+ $ref: '#/components/schemas/vulnListItem'
46539
47561
  type: array
47562
+ pageResult:
47563
+ $ref: '#/components/schemas/pageResult'
46540
47564
  required:
46541
47565
  - items
46542
- MeteringTrack:
46543
47566
  type: object
46544
- description: RTS metering track information
47567
+ vulnUploadFormData:
47568
+ description: the data of the upload task
47569
+ type: object
47570
+ required:
47571
+ - file
46545
47572
  properties:
46546
- clusterID:
46547
- description: The ID of cluster
47573
+ file:
46548
47574
  type: string
46549
- nullable: true
46550
- x-omitempty: true
46551
- orgName:
46552
- description: The Name of organization
47575
+ format: binary
47576
+ description: the data file, zip or other format
47577
+ markVulnsAsIgnored:
47578
+ description: the data of the mark request
47579
+ type: object
47580
+ required:
47581
+ - cveId
47582
+ - engineName
47583
+ - productName
47584
+ properties:
47585
+ cveId:
46553
47586
  type: string
46554
- nullable: true
46555
- x-omitempty: true
46556
- projectName:
46557
- description: The Name of project
47587
+ description: the CVE ID of the vulnerability
47588
+ engineName:
46558
47589
  type: string
46559
- nullable: true
46560
- x-omitempty: true
46561
- environmentID:
46562
- description: The ID of environment
47590
+ description: the engine name of the vulnerability
47591
+ productName:
46563
47592
  type: string
46564
- nullable: true
46565
- x-omitempty: true
46566
- startTime:
46567
- description: The clipped start time of the metering track in Unix timestamp (seconds since epoch)
46568
- type: integer
46569
- format: int64
46570
- example: 1756656000
46571
- endTime:
46572
- description: The clipped end time of the metering track in Unix timestamp (seconds since epoch)
46573
- type: integer
46574
- format: int64
46575
- example: 1756663200
46576
- cpu:
46577
- description: The CPU usage tracked for the interval
47593
+ description: the product name of the vulnerability
47594
+ vulnItem:
47595
+ description: a vulnerability which affected the cluster
47596
+ properties:
47597
+ cveId:
47598
+ description: the CVE ID of the vulnerability
46578
47599
  type: string
46579
- memory:
46580
- description: The memory usage tracked for the interval
47600
+ detail:
47601
+ description: the detail of the vulnerability
46581
47602
  type: string
46582
- storage:
46583
- description: The storage usage tracked for the interval
47603
+ severity:
47604
+ description: the severity of the vulnerability
46584
47605
  type: string
46585
- backup:
46586
- description: The backup usage tracked for the interval
47606
+ cvssVector:
47607
+ description: the CVSS vector and score of the vulnerability
46587
47608
  type: string
46588
- MeteringTrackList:
47609
+ publishedAt:
47610
+ description: the published time of the vulnerability
47611
+ type: string
47612
+ format: date-time
47613
+ modifiedAt:
47614
+ description: the modified time of the vulnerability
47615
+ type: string
47616
+ format: date-time
47617
+ refs:
47618
+ description: the references of the vulnerability
47619
+ type: array
47620
+ items:
47621
+ $ref: '#/components/schemas/refItem'
47622
+ required:
47623
+ - cveId
47624
+ - severity
47625
+ - publishedAt
47626
+ - modifiedAt
47627
+ clusterVulns:
47628
+ description: a list of vulnerabilities which affected the cluster
46589
47629
  type: object
46590
- description: list metering tracks in date range
47630
+ required:
47631
+ - items
46591
47632
  properties:
46592
47633
  items:
46593
- description: Items of the metering tracks
46594
- items:
46595
- $ref: '#/components/schemas/MeteringTrack'
46596
47634
  type: array
46597
- pagination:
46598
- $ref: '#/components/schemas/paginationResult'
46599
- required:
46600
- - items
46601
- SLACluster:
47635
+ items:
47636
+ $ref: '#/components/schemas/vulnItem'
47637
+ engineSchedulingPolicy:
46602
47638
  type: object
46603
- description: The cluster summary used by SLA calculation results. SLA responses can be built from historical outage data, so general cluster list fields may be unavailable.
47639
+ description: Engine-level default scheduling policy for a specific engine and engine mode.
46604
47640
  properties:
46605
47641
  id:
46606
47642
  type: string
46607
- description: ID of cluster.
46608
- name:
47643
+ description: Id of engine scheduling policy.
47644
+ schedulingPolicyType:
47645
+ description: Scheduling policy type applied by default to matching clusters unless overridden by a environment-level or cluster-level setting.
47646
+ $ref: '#/components/schemas/schedulingPolicyType'
47647
+ engine:
46609
47648
  type: string
46610
- description: Name of cluster.
46611
- displayName:
47649
+ description: Database engine that this policy applies to. Used together with `engineMode`.
47650
+ engineMode:
46612
47651
  type: string
46613
- description: Display name of cluster.
46614
- orgName:
47652
+ description: Engine mode that this policy applies to, such as `standalone` or `replication`.
47653
+ description:
46615
47654
  type: string
46616
- description: Org Name.
46617
- environmentName:
47655
+ description: Human-readable description of the engine scheduling policy.
47656
+ required:
47657
+ - engine
47658
+ - engineMode
47659
+ - schedulingPolicyType
47660
+ target_role:
47661
+ type: string
47662
+ enum:
47663
+ - Primary
47664
+ - '*'
47665
+ description: |
47666
+ Role name to match. Use `*` to match all roles, including components without an explicit role.
47667
+ default: '*'
47668
+ target:
47669
+ type: object
47670
+ description: Identifies one side of a scheduling rule match, including component and role.
47671
+ properties:
47672
+ component:
46618
47673
  type: string
46619
- description: Environment Name.
46620
- engine:
47674
+ description: |
47675
+ Component name to match. Use `*` to match all components for the selected engine mode.
47676
+ default: '*'
47677
+ role:
47678
+ $ref: '#/components/schemas/target_role'
47679
+ engineSchedulingRule:
47680
+ type: object
47681
+ properties:
47682
+ id:
46621
47683
  type: string
46622
- description: Cluster Application Engine.
46623
- clusterType:
46624
- $ref: '#/components/schemas/clusterType'
46625
- createdAt:
47684
+ description: Id of engine scheduling rule.
47685
+ name:
46626
47686
  type: string
46627
- format: date-time
46628
- x-nullable: true
46629
- description: The timestamp when the cluster was created, when available.
46630
- status:
47687
+ description: Rule name, used to reference this rule when applying scheduling policies to a cluster.
47688
+ engine:
46631
47689
  type: string
46632
- description: The SLA calculation status for the cluster.
46633
- version:
47690
+ description: Database engine type this rule applies to. Used to match rules to clusters by engine.
47691
+ engineMode:
46634
47692
  type: string
46635
- description: Cluster Application Version.
46636
- OutageRecord:
47693
+ description: Cluster mode this rule applies to. Used to match rules to clusters by mode.
47694
+ targetSelector:
47695
+ type: array
47696
+ description: Selects the two mutually exclusive targets that this rule applies to. The array length must be exactly 2.
47697
+ items:
47698
+ $ref: '#/components/schemas/target'
47699
+ schedulingPolicyType:
47700
+ description: Scheduling policy type to apply when this rule matches.
47701
+ $ref: '#/components/schemas/schedulingPolicyType'
47702
+ description:
47703
+ type: string
47704
+ description: Optional description of the scheduling rule.
47705
+ default:
47706
+ description: Indicates whether this rule is used as the fallback when no other rule matches.
47707
+ type: boolean
47708
+ nullable: true
47709
+ required:
47710
+ - name
47711
+ - engine
47712
+ - engineMode
47713
+ - targetSelector
47714
+ - schedulingPolicyType
47715
+ environmentEngineOption:
46637
47716
  type: object
46638
- description: Records the outage events of a cluster for SLA calculation. It is designed to ensure that for any given cluster, there can be at most one active outage record at any time.
46639
47717
  required:
46640
- - clusterID
47718
+ - id
47719
+ - engineName
47720
+ - mode
47721
+ - networkModes
47722
+ - envId
47723
+ - envName
46641
47724
  properties:
46642
47725
  id:
46643
47726
  type: string
46644
- description: The unique identifier for the outage record.
46645
- clusterID:
47727
+ description: record id
47728
+ engineName:
46646
47729
  type: string
46647
- description: The id of cluster.
46648
- outageStartTime:
46649
- type: integer
46650
- format: int64
46651
- description: The Unix timestamp (in seconds) when the outage began (UTC).
46652
- outageEndTime:
46653
- type: integer
46654
- format: int64
46655
- nullable: true
46656
- description: The Unix timestamp (in seconds) when the outage was resolved (UTC). A null value indicates that the outage is still ongoing.
46657
- lastFailureReason:
47730
+ description: engine name
47731
+ mode:
46658
47732
  type: string
46659
- nullable: true
46660
- description: The error message from the last failed probe.
46661
- failureCount:
46662
- type: integer
46663
- format: int32
46664
- nullable: true
46665
- description: The number of consecutive failures in this outage event.
46666
- default: 1
46667
- createdAt:
47733
+ description: engine mode
47734
+ networkModes:
47735
+ type: array
47736
+ items:
47737
+ type: string
47738
+ description: network modes configured for this engine+mode+env combination
47739
+ envId:
47740
+ type: string
47741
+ format: uuid
47742
+ description: environment id
47743
+ envName:
47744
+ type: string
47745
+ description: environment name
47746
+ createTime:
46668
47747
  type: string
46669
47748
  format: date-time
46670
- description: The timestamp when the record was created.
46671
- readOnly: true
46672
- updatedAt:
47749
+ description: create time
47750
+ updateTime:
46673
47751
  type: string
46674
47752
  format: date-time
46675
- description: The timestamp when the record was last updated.
46676
- readOnly: true
46677
- OutageRecordList:
47753
+ description: update time
47754
+ environmentEngineOptionList:
46678
47755
  type: array
46679
- description: A list of outage records.
46680
47756
  items:
46681
- $ref: '#/components/schemas/OutageRecord'
46682
- SLA:
47757
+ $ref: '#/components/schemas/environmentEngineOption'
47758
+ environmentEngineOptionCreate:
46683
47759
  type: object
46684
- description: The SLA (Service Level Agreement) for a cluster.
47760
+ required:
47761
+ - engineName
47762
+ - mode
47763
+ - networkModes
46685
47764
  properties:
46686
- cluster:
46687
- type: object
46688
- $ref: '#/components/schemas/SLACluster'
46689
- detail:
47765
+ engineName:
47766
+ type: string
47767
+ description: engine name
47768
+ mode:
47769
+ type: string
47770
+ description: engine mode
47771
+ networkModes:
47772
+ type: array
47773
+ items:
47774
+ type: string
47775
+ description: network modes
47776
+ environmentEngineOptionUpdate:
47777
+ type: object
47778
+ required:
47779
+ - networkModes
47780
+ properties:
47781
+ networkModes:
47782
+ type: array
47783
+ items:
47784
+ type: string
47785
+ description: environment engine option to update
47786
+ engineNetworkModeSupported:
47787
+ type: object
47788
+ properties:
47789
+ supported:
47790
+ type: array
47791
+ items:
47792
+ $ref: '#/components/schemas/networkMode'
47793
+ description: supported network modes
47794
+ notSupportedVersions:
46690
47795
  type: object
46691
- $ref: '#/components/schemas/OutageRecordList'
46692
- sla:
46693
- type: number
46694
- description: The SLA value for the cluster.
46695
- targetThreshold:
46696
- type: number
46697
- description: The target SLA threshold value for the cluster.
46698
- totalDuration:
46699
- type: integer
46700
- format: int64
46701
- description: The total duration of the outage records.
46702
- totalDowntime:
46703
- type: integer
46704
- format: int64
46705
- description: The total downtime duration of the outage records.
46706
- SLAList:
47796
+ additionalProperties:
47797
+ type: array
47798
+ items:
47799
+ type: string
47800
+ description: not supported versions, key is networkMode, value is array of versions
47801
+ engineNetworkModeOptions:
46707
47802
  type: array
46708
- description: A list of SLA records.
46709
47803
  items:
46710
- $ref: '#/components/schemas/SLA'
46711
- ClustersSLA:
47804
+ type: object
47805
+ required:
47806
+ - engineName
47807
+ - mode
47808
+ - networkModes
47809
+ properties:
47810
+ engineName:
47811
+ type: string
47812
+ description: engine name
47813
+ mode:
47814
+ type: string
47815
+ description: engine mode
47816
+ networkModes:
47817
+ type: array
47818
+ items:
47819
+ $ref: '#/components/schemas/networkMode'
47820
+ description: available network modes for this engine+mode
47821
+ channelStatus:
47822
+ enum:
47823
+ - Pending
47824
+ - Initializing
47825
+ - Running
47826
+ - Finished
47827
+ - Failed
47828
+ - Pausing
47829
+ - Paused
47830
+ - Deleting
47831
+ type: string
47832
+ dataReplicationEndpointType:
47833
+ enum:
47834
+ - custom
47835
+ - kubeblocks
47836
+ type: string
47837
+ authType:
47838
+ enum:
47839
+ - basic
47840
+ type: string
47841
+ basicAuthModel:
46712
47842
  type: object
46713
- description: The SLA (Service Level Agreement) for a cluster.
46714
47843
  properties:
46715
- items:
46716
- type: object
46717
- $ref: '#/components/schemas/SLAList'
46718
- total:
46719
- type: integer
46720
- format: int64
46721
- description: The total number of cluster SLA records.
46722
- DailySLA:
47844
+ userName:
47845
+ type: string
47846
+ password:
47847
+ type: string
47848
+ description: if password is not provided when patch replication channel, it means not to modify the password
47849
+ nullable: true
47850
+ customEndpoint:
46723
47851
  type: object
46724
- description: The SLA (Service Level Agreement) for a cluster on a specific date.
46725
47852
  properties:
46726
- date:
47853
+ connectionString:
47854
+ description: display connection string information, including connection details such as url, database, etc
46727
47855
  type: string
46728
- description: The date for which the SLA is calculated, formatted as YYYY-MM-DD.
46729
- sla:
46730
- type: number
46731
- description: The SLA value for the cluster on the specified date. Null indicates that the cluster was not existing on that date.
46732
- x-omitempty: false
47856
+ connection:
47857
+ type: string
47858
+ authType:
47859
+ $ref: '#/components/schemas/authType'
47860
+ basicAuth:
47861
+ $ref: '#/components/schemas/basicAuthModel'
46733
47862
  nullable: true
46734
- DailySLAList:
46735
- type: array
46736
- description: A list of daily SLA records.
46737
- items:
46738
- $ref: '#/components/schemas/DailySLA'
46739
- SLASettings:
47863
+ kubeblocksEndpoint:
46740
47864
  type: object
46741
47865
  properties:
47866
+ environmentID:
47867
+ type: string
46742
47868
  environmentName:
46743
47869
  type: string
46744
- description: The name of the environment.
46745
- probeInterval:
47870
+ clusterID:
46746
47871
  type: string
46747
- format: duration
46748
- probeTimeout:
47872
+ clusterName:
46749
47873
  type: string
46750
- format: duration
46751
- enableProbeRetry:
46752
- type: boolean
46753
- x-omitempty: false
46754
- probeRetryCount:
46755
- type: integer
46756
- x-omitempty: false
46757
- probeRetryInterval:
47874
+ displayName:
46758
47875
  type: string
46759
- format: duration
46760
- probeEngines:
47876
+ nullable: true
47877
+ dataChannelListEndpoint:
47878
+ type: object
47879
+ properties:
47880
+ engineName:
47881
+ type: string
47882
+ endpointType:
47883
+ $ref: '#/components/schemas/dataReplicationEndpointType'
47884
+ custom:
47885
+ $ref: '#/components/schemas/customEndpoint'
47886
+ nullable: true
47887
+ kubeblocks:
47888
+ $ref: '#/components/schemas/kubeblocksEndpoint'
47889
+ nullable: true
47890
+ extraCfgs:
47891
+ type: object
47892
+ additionalProperties:
47893
+ type: string
47894
+ nullable: true
47895
+ dataChannelItem:
47896
+ type: object
47897
+ properties:
47898
+ channelID:
47899
+ type: string
47900
+ channelName:
47901
+ type: string
47902
+ orgName:
47903
+ type: string
47904
+ channelStatus:
47905
+ $ref: '#/components/schemas/channelStatus'
47906
+ environmentID:
47907
+ type: string
47908
+ environmentName:
47909
+ type: string
47910
+ project:
47911
+ type: string
47912
+ kubernetesName:
47913
+ type: string
47914
+ standardDefinition:
47915
+ type: string
47916
+ source:
47917
+ $ref: '#/components/schemas/dataChannelListEndpoint'
47918
+ target:
47919
+ $ref: '#/components/schemas/dataChannelListEndpoint'
47920
+ replicationObjects:
47921
+ $ref: '#/components/schemas/dataChannelObject'
47922
+ modules:
46761
47923
  type: array
46762
47924
  items:
46763
47925
  type: string
46764
- probePoolSize:
46765
- type: integer
46766
- x-omitempty: false
46767
- collectorBatchSize:
46768
- type: integer
46769
- collectorMaxWaitTime:
47926
+ events:
47927
+ type: array
47928
+ items:
47929
+ $ref: '#/components/schemas/eventObject'
47930
+ createdAt:
46770
47931
  type: string
46771
- format: duration
46772
- slaThreshold:
46773
- type: number
46774
- description: The SLA threshold value for the cluster.
46775
- affectedClusterItem:
46776
- description: a cluster which is affected by the vulnerability
46777
- properties:
46778
- id:
46779
- description: the ID of the cluster
47932
+ format: date-time
47933
+ FinishedAt:
46780
47934
  type: string
46781
- name:
46782
- description: the name of the cluster
47935
+ format: date-time
47936
+ nullable: true
47937
+ dataChannelList:
47938
+ type: array
47939
+ items:
47940
+ $ref: '#/components/schemas/dataChannelItem'
47941
+ dataChannelModuleProgress:
47942
+ type: object
47943
+ properties:
47944
+ moduleName:
46783
47945
  type: string
46784
- displayName:
46785
- description: the display name of the cluster
47946
+ kubernetesName:
46786
47947
  type: string
46787
- clusterType:
46788
- description: the type of the cluster
47948
+ nullable: true
47949
+ progress:
47950
+ type: number
47951
+ format: double
47952
+ nullable: true
47953
+ status:
46789
47954
  type: string
46790
- engine:
46791
- description: the engine of the cluster
47955
+ message:
46792
47956
  type: string
46793
- orgName:
46794
- description: the name of the organization
47957
+ nullable: true
47958
+ dataChannelProgress:
47959
+ type: object
47960
+ properties:
47961
+ progress:
47962
+ type: number
47963
+ format: double
47964
+ nullable: true
47965
+ moduleProgress:
47966
+ type: array
47967
+ items:
47968
+ $ref: '#/components/schemas/dataChannelModuleProgress'
47969
+ dataChannelDetail:
47970
+ type: object
47971
+ properties:
47972
+ channel:
47973
+ $ref: '#/components/schemas/dataChannelItem'
47974
+ progress:
47975
+ $ref: '#/components/schemas/dataChannelProgress'
47976
+ customEndpointCreate:
47977
+ type: object
47978
+ properties:
47979
+ connection:
46795
47980
  type: string
46796
- refItem:
46797
- description: a reference of the vulnerability
47981
+ authType:
47982
+ $ref: '#/components/schemas/authType'
47983
+ basicAuth:
47984
+ $ref: '#/components/schemas/basicAuthModel'
47985
+ nullable: true
47986
+ dataChannelEndpointCreate:
47987
+ type: object
46798
47988
  properties:
46799
- rType:
46800
- description: the type of the reference
47989
+ engineName:
46801
47990
  type: string
46802
- url:
46803
- description: the URL of the reference
47991
+ definitionName:
46804
47992
  type: string
46805
- required:
46806
- - rType
46807
- - url
46808
- vulnListItem:
46809
- description: a vulnerability which affected the cluster
47993
+ endpointType:
47994
+ $ref: '#/components/schemas/dataReplicationEndpointType'
47995
+ custom:
47996
+ $ref: '#/components/schemas/customEndpointCreate'
47997
+ nullable: true
47998
+ kubeblocks:
47999
+ $ref: '#/components/schemas/kubeblocksEndpoint'
48000
+ nullable: true
48001
+ extraCfgs:
48002
+ type: object
48003
+ additionalProperties:
48004
+ type: string
48005
+ nullable: true
48006
+ dataChannelParameterKeyValue:
48007
+ type: object
46810
48008
  properties:
46811
- cveId:
46812
- description: the CVE ID of the vulnerability
48009
+ key:
46813
48010
  type: string
46814
- engineName:
46815
- description: the engine name of the vulnerability
48011
+ value:
46816
48012
  type: string
46817
- productName:
46818
- description: the product name of the vulnerability
48013
+ required:
48014
+ - key
48015
+ - value
48016
+ dataReplicationCreate:
48017
+ type: object
48018
+ properties:
48019
+ channelName:
46819
48020
  type: string
46820
- versions:
46821
- description: the versions of the product which are affected by the vulnerability
46822
- type: array
46823
- items:
46824
- type: string
46825
- fixedVersions:
46826
- description: the fixed versions of the product which fixed the vulnerability
48021
+ modules:
46827
48022
  type: array
46828
48023
  items:
46829
48024
  type: string
46830
- affectedClusters:
46831
- description: the clusters which are affected by the vulnerability
48025
+ environmentID:
48026
+ type: string
48027
+ project:
48028
+ type: string
48029
+ default: kubeblocks-cloud-ns
48030
+ standardDefinition:
48031
+ type: string
48032
+ source:
48033
+ $ref: '#/components/schemas/dataChannelEndpointCreate'
48034
+ target:
48035
+ $ref: '#/components/schemas/dataChannelEndpointCreate'
48036
+ replicationObjects:
48037
+ $ref: '#/components/schemas/dataChannelObject'
48038
+ events:
46832
48039
  type: array
46833
48040
  items:
46834
- $ref: '#/components/schemas/affectedClusterItem'
46835
- detail:
46836
- description: the detail of the vulnerability
46837
- type: string
46838
- severity:
46839
- description: the severity of the vulnerability
48041
+ $ref: '#/components/schemas/eventObject'
48042
+ parameters:
48043
+ type: object
48044
+ additionalProperties:
48045
+ type: array
48046
+ items:
48047
+ $ref: '#/components/schemas/dataChannelParameterKeyValue'
48048
+ nullable: true
48049
+ dataReplicationUpdate:
48050
+ type: object
48051
+ properties:
48052
+ clusterUpdates:
48053
+ $ref: '#/components/schemas/dataReplicationCreate'
48054
+ isRestart:
48055
+ type: boolean
48056
+ nullable: true
48057
+ dataChannelResponse:
48058
+ type: object
48059
+ properties:
48060
+ channelID:
46840
48061
  type: string
46841
- cvssVector:
46842
- description: the CVSS vector and score of the vulnerability
48062
+ channelName:
46843
48063
  type: string
46844
- publishedAt:
46845
- description: the published time of the vulnerability
48064
+ createdAt:
46846
48065
  type: string
46847
48066
  format: date-time
46848
- modifiedAt:
46849
- description: the modified time of the vulnerability
48067
+ updatedAt:
46850
48068
  type: string
46851
48069
  format: date-time
46852
- refs:
46853
- description: the references of the vulnerability
46854
- type: array
46855
- items:
46856
- $ref: '#/components/schemas/refItem'
46857
- required:
46858
- - cveId
46859
- - engineName
46860
- - productName
46861
- - versions
46862
- - severity
46863
- - publishedAt
46864
- - modifiedAt
46865
- vulnList:
46866
- description: a list of vulnerabilities
46867
- properties:
46868
- items:
46869
- description: a list of vulnerabilities
46870
- items:
46871
- $ref: '#/components/schemas/vulnListItem'
46872
- type: array
46873
- pageResult:
46874
- $ref: '#/components/schemas/pageResult'
46875
- required:
46876
- - items
46877
- type: object
46878
- vulnUploadFormData:
46879
- description: the data of the upload task
48070
+ nullable: true
48071
+ dataCheckType:
48072
+ type: string
48073
+ description: Type of check to run. A standalone check runs exactly one type.
48074
+ enum:
48075
+ - struct
48076
+ - snapshot
48077
+ dataCheckStatus:
48078
+ type: string
48079
+ enum:
48080
+ - Running
48081
+ - Finished
48082
+ - Failed
48083
+ dataCheckListSummary:
46880
48084
  type: object
46881
- required:
46882
- - file
46883
48085
  properties:
46884
- file:
46885
- type: string
46886
- format: binary
46887
- description: the data file, zip or other format
46888
- markVulnsAsIgnored:
46889
- description: the data of the mark request
48086
+ is_consistent:
48087
+ type: boolean
48088
+ nullable: true
48089
+ miss_count:
48090
+ type: integer
48091
+ format: int64
48092
+ diff_count:
48093
+ type: integer
48094
+ format: int64
48095
+ skip_count:
48096
+ type: integer
48097
+ format: int64
48098
+ sql_count:
48099
+ type: integer
48100
+ format: int64
48101
+ dataCheckListItem:
46890
48102
  type: object
46891
- required:
46892
- - cveId
46893
- - engineName
46894
- - productName
46895
48103
  properties:
46896
- cveId:
48104
+ checkID:
46897
48105
  type: string
46898
- description: the CVE ID of the vulnerability
46899
- engineName:
48106
+ checkName:
46900
48107
  type: string
46901
- description: the engine name of the vulnerability
46902
- productName:
48108
+ orgName:
46903
48109
  type: string
46904
- description: the product name of the vulnerability
46905
- vulnItem:
46906
- description: a vulnerability which affected the cluster
46907
- properties:
46908
- cveId:
46909
- description: the CVE ID of the vulnerability
48110
+ checkType:
48111
+ $ref: '#/components/schemas/dataCheckType'
48112
+ checkStatus:
48113
+ $ref: '#/components/schemas/dataCheckStatus'
48114
+ checkSummary:
48115
+ $ref: '#/components/schemas/dataCheckListSummary'
48116
+ nullable: true
48117
+ environmentID:
46910
48118
  type: string
46911
- detail:
46912
- description: the detail of the vulnerability
48119
+ environmentName:
46913
48120
  type: string
46914
- severity:
46915
- description: the severity of the vulnerability
48121
+ project:
46916
48122
  type: string
46917
- cvssVector:
46918
- description: the CVSS vector and score of the vulnerability
48123
+ source:
48124
+ $ref: '#/components/schemas/dataChannelListEndpoint'
48125
+ target:
48126
+ $ref: '#/components/schemas/dataChannelListEndpoint'
48127
+ replicationObjects:
48128
+ $ref: '#/components/schemas/dataChannelObject'
48129
+ errorMessage:
46919
48130
  type: string
46920
- publishedAt:
46921
- description: the published time of the vulnerability
48131
+ nullable: true
48132
+ createdAt:
46922
48133
  type: string
46923
48134
  format: date-time
46924
- modifiedAt:
46925
- description: the modified time of the vulnerability
48135
+ updatedAt:
46926
48136
  type: string
46927
48137
  format: date-time
46928
- refs:
46929
- description: the references of the vulnerability
46930
- type: array
46931
- items:
46932
- $ref: '#/components/schemas/refItem'
46933
- required:
46934
- - cveId
46935
- - severity
46936
- - publishedAt
46937
- - modifiedAt
46938
- clusterVulns:
46939
- description: a list of vulnerabilities which affected the cluster
48138
+ finishedAt:
48139
+ type: string
48140
+ format: date-time
48141
+ nullable: true
48142
+ dataCheckList:
48143
+ type: array
48144
+ items:
48145
+ $ref: '#/components/schemas/dataCheckListItem'
48146
+ dataCheckTableSummary:
46940
48147
  type: object
46941
- required:
46942
- - items
46943
48148
  properties:
46944
- items:
48149
+ schema:
48150
+ type: string
48151
+ tb:
48152
+ type: string
48153
+ target_schema:
48154
+ type: string
48155
+ target_tb:
48156
+ type: string
48157
+ checked_count:
48158
+ type: integer
48159
+ format: int64
48160
+ miss_count:
48161
+ type: integer
48162
+ format: int64
48163
+ diff_count:
48164
+ type: integer
48165
+ format: int64
48166
+ skip_count:
48167
+ type: integer
48168
+ format: int64
48169
+ dataCheckSummary:
48170
+ type: object
48171
+ properties:
48172
+ is_consistent:
48173
+ type: boolean
48174
+ nullable: true
48175
+ miss_count:
48176
+ type: integer
48177
+ format: int64
48178
+ diff_count:
48179
+ type: integer
48180
+ format: int64
48181
+ skip_count:
48182
+ type: integer
48183
+ format: int64
48184
+ sql_count:
48185
+ type: integer
48186
+ format: int64
48187
+ tables:
46945
48188
  type: array
46946
48189
  items:
46947
- $ref: '#/components/schemas/vulnItem'
46948
- engineSchedulingPolicy:
48190
+ $ref: '#/components/schemas/dataCheckTableSummary'
48191
+ dataCheckItem:
46949
48192
  type: object
46950
- description: Engine-level default scheduling policy for a specific engine and engine mode.
46951
48193
  properties:
46952
- id:
48194
+ orgName:
46953
48195
  type: string
46954
- description: Id of engine scheduling policy.
46955
- schedulingPolicyType:
46956
- description: Scheduling policy type applied by default to matching clusters unless overridden by a environment-level or cluster-level setting.
46957
- $ref: '#/components/schemas/schedulingPolicyType'
46958
- engine:
48196
+ checkID:
46959
48197
  type: string
46960
- description: Database engine that this policy applies to. Used together with `engineMode`.
46961
- engineMode:
48198
+ checkName:
46962
48199
  type: string
46963
- description: Engine mode that this policy applies to, such as `standalone` or `replication`.
46964
- description:
48200
+ checkType:
48201
+ $ref: '#/components/schemas/dataCheckType'
48202
+ checkStatus:
48203
+ $ref: '#/components/schemas/dataCheckStatus'
48204
+ checkSummary:
48205
+ $ref: '#/components/schemas/dataCheckSummary'
48206
+ nullable: true
48207
+ environmentID:
46965
48208
  type: string
46966
- description: Human-readable description of the engine scheduling policy.
46967
- required:
46968
- - engine
46969
- - engineMode
46970
- - schedulingPolicyType
46971
- target_role:
48209
+ environmentName:
48210
+ type: string
48211
+ project:
48212
+ type: string
48213
+ source:
48214
+ $ref: '#/components/schemas/dataChannelListEndpoint'
48215
+ target:
48216
+ $ref: '#/components/schemas/dataChannelListEndpoint'
48217
+ replicationObjects:
48218
+ $ref: '#/components/schemas/dataChannelObject'
48219
+ errorMessage:
48220
+ type: string
48221
+ nullable: true
48222
+ createdAt:
48223
+ type: string
48224
+ format: date-time
48225
+ updatedAt:
48226
+ type: string
48227
+ format: date-time
48228
+ finishedAt:
48229
+ type: string
48230
+ format: date-time
48231
+ nullable: true
48232
+ dataCheckDetailType:
46972
48233
  type: string
46973
48234
  enum:
46974
- - Primary
46975
- - '*'
46976
- description: |
46977
- Role name to match. Use `*` to match all roles, including components without an explicit role.
46978
- default: '*'
46979
- target:
48235
+ - miss
48236
+ - diff
48237
+ dataCheckDiffValue:
46980
48238
  type: object
46981
- description: Identifies one side of a scheduling rule match, including component and role.
46982
48239
  properties:
46983
- component:
48240
+ src:
46984
48241
  type: string
46985
- description: |
46986
- Component name to match. Use `*` to match all components for the selected engine mode.
46987
- default: '*'
46988
- role:
46989
- $ref: '#/components/schemas/target_role'
46990
- engineSchedulingRule:
48242
+ nullable: true
48243
+ dst:
48244
+ type: string
48245
+ nullable: true
48246
+ src_type:
48247
+ type: string
48248
+ nullable: true
48249
+ dst_type:
48250
+ type: string
48251
+ nullable: true
48252
+ dataCheckDetailItem:
46991
48253
  type: object
46992
48254
  properties:
46993
- id:
48255
+ key:
46994
48256
  type: string
46995
- description: Id of engine scheduling rule.
46996
- name:
48257
+ description: Struct check object key. Present for struct details; omitted for snapshot row details.
48258
+ schema:
46997
48259
  type: string
46998
- description: Rule name, used to reference this rule when applying scheduling policies to a cluster.
46999
- engine:
48260
+ description: Source schema or database from the requested detail scope.
48261
+ tb:
47000
48262
  type: string
47001
- description: Database engine type this rule applies to. Used to match rules to clusters by engine.
47002
- engineMode:
48263
+ description: Source table from the requested detail scope.
48264
+ target_schema:
47003
48265
  type: string
47004
- description: Cluster mode this rule applies to. Used to match rules to clusters by mode.
47005
- targetSelector:
47006
- type: array
47007
- description: Selects the two mutually exclusive targets that this rule applies to. The array length must be exactly 2.
47008
- items:
47009
- $ref: '#/components/schemas/target'
47010
- schedulingPolicyType:
47011
- description: Scheduling policy type to apply when this rule matches.
47012
- $ref: '#/components/schemas/schedulingPolicyType'
47013
- description:
48266
+ nullable: true
48267
+ description: Target schema or database for snapshot details when routing changes the target object.
48268
+ target_tb:
47014
48269
  type: string
47015
- description: Optional description of the scheduling rule.
47016
- default:
47017
- description: Indicates whether this rule is used as the fallback when no other rule matches.
47018
- type: boolean
47019
48270
  nullable: true
47020
- required:
47021
- - name
47022
- - engine
47023
- - engineMode
47024
- - targetSelector
47025
- - schedulingPolicyType
47026
- environmentEngineOption:
48271
+ description: Target table for snapshot details when routing changes the target object.
48272
+ id_col_values:
48273
+ type: object
48274
+ additionalProperties: {}
48275
+ src_sql:
48276
+ type: string
48277
+ nullable: true
48278
+ diff_col_values:
48279
+ type: object
48280
+ additionalProperties:
48281
+ $ref: '#/components/schemas/dataCheckDiffValue'
48282
+ nullable: true
48283
+ src_row:
48284
+ type: object
48285
+ additionalProperties: true
48286
+ nullable: true
48287
+ dst_row:
48288
+ type: object
48289
+ additionalProperties: true
48290
+ nullable: true
48291
+ dst_sql:
48292
+ type: string
48293
+ nullable: true
48294
+ dataCheckDetails:
47027
48295
  type: object
47028
48296
  required:
47029
- - id
47030
- - engineName
47031
- - mode
47032
- - networkModes
47033
- - envId
47034
- - envName
48297
+ - items
47035
48298
  properties:
47036
- id:
47037
- type: string
47038
- description: record id
47039
- engineName:
47040
- type: string
47041
- description: engine name
47042
- mode:
47043
- type: string
47044
- description: engine mode
47045
- networkModes:
48299
+ items:
47046
48300
  type: array
47047
48301
  items:
47048
- type: string
47049
- description: network modes configured for this engine+mode+env combination
47050
- envId:
48302
+ $ref: '#/components/schemas/dataCheckDetailItem'
48303
+ pagination:
48304
+ $ref: '#/components/schemas/paginationResult'
48305
+ dataReplicationOpsType:
48306
+ description: data replication ops type
48307
+ enum:
48308
+ - pause
48309
+ - resume
48310
+ - restart
48311
+ type: string
48312
+ eventItem:
48313
+ type: object
48314
+ properties:
48315
+ eventID:
47051
48316
  type: string
47052
- format: uuid
47053
- description: environment id
47054
- envName:
48317
+ eventName:
47055
48318
  type: string
47056
- description: environment name
47057
- createTime:
48319
+ eventTime:
47058
48320
  type: string
47059
48321
  format: date-time
47060
- description: create time
47061
- updateTime:
48322
+ eventMessage:
47062
48323
  type: string
47063
- format: date-time
47064
- description: update time
47065
- environmentEngineOptionList:
48324
+ operator:
48325
+ type: string
48326
+ operatorID:
48327
+ type: string
48328
+ nullable: true
48329
+ dataReplicationEventList:
47066
48330
  type: array
47067
48331
  items:
47068
- $ref: '#/components/schemas/environmentEngineOption'
47069
- environmentEngineOptionCreate:
48332
+ $ref: '#/components/schemas/eventItem'
48333
+ replicationObjectQuery:
47070
48334
  type: object
47071
- required:
47072
- - engineName
47073
- - mode
47074
- - networkModes
47075
48335
  properties:
47076
- engineName:
48336
+ sourceEngineDefinition:
47077
48337
  type: string
47078
- description: engine name
47079
- mode:
48338
+ targetEngineDefinition:
47080
48339
  type: string
47081
- description: engine mode
47082
- networkModes:
47083
- type: array
47084
- items:
47085
- type: string
47086
- description: network modes
47087
- environmentEngineOptionUpdate:
48340
+ endpoint:
48341
+ $ref: '#/components/schemas/dataChannelEndpointCreate'
48342
+ nodeType:
48343
+ type: string
48344
+ nullable: true
48345
+ nodeValue:
48346
+ type: string
48347
+ nullable: true
48348
+ queryNodeType:
48349
+ type: string
48350
+ nullable: true
48351
+ preCheckCreate:
47088
48352
  type: object
47089
- required:
47090
- - networkModes
47091
48353
  properties:
47092
- networkModes:
48354
+ modules:
47093
48355
  type: array
47094
48356
  items:
47095
48357
  type: string
47096
- description: environment engine option to update
47097
- engineNetworkModeSupported:
48358
+ environmentID:
48359
+ type: string
48360
+ source:
48361
+ $ref: '#/components/schemas/dataChannelEndpointCreate'
48362
+ target:
48363
+ $ref: '#/components/schemas/dataChannelEndpointCreate'
48364
+ replicationObjects:
48365
+ $ref: '#/components/schemas/dataChannelObject'
48366
+ dataReplicationChannelContainer:
47098
48367
  type: object
47099
48368
  properties:
47100
- supported:
47101
- type: array
47102
- items:
47103
- $ref: '#/components/schemas/networkMode'
47104
- description: supported network modes
47105
- notSupportedVersions:
47106
- type: object
47107
- additionalProperties:
47108
- type: array
47109
- items:
47110
- type: string
47111
- description: not supported versions, key is networkMode, value is array of versions
47112
- engineNetworkModeOptions:
47113
- type: array
47114
- items:
47115
- type: object
47116
- required:
47117
- - engineName
47118
- - mode
47119
- - networkModes
47120
- properties:
47121
- engineName:
47122
- type: string
47123
- description: engine name
47124
- mode:
47125
- type: string
47126
- description: engine mode
47127
- networkModes:
47128
- type: array
47129
- items:
47130
- $ref: '#/components/schemas/networkMode'
47131
- description: available network modes for this engine+mode
48369
+ name:
48370
+ type: string
48371
+ isMainContainer:
48372
+ type: boolean
48373
+ default: false
48374
+ isInitContainer:
48375
+ type: boolean
48376
+ default: false
48377
+ dataReplicationParametersResponseDetail:
48378
+ type: object
48379
+ properties:
48380
+ displayName:
48381
+ type: string
48382
+ desc:
48383
+ $ref: '#/components/schemas/internationalDesc'
48384
+ key:
48385
+ type: string
48386
+ defaultValue:
48387
+ type: string
48388
+ value:
48389
+ type: string
48390
+ valueType:
48391
+ $ref: '#/components/schemas/parameterValueType'
48392
+ required:
48393
+ - key
48394
+ dataReplicationParametersResponse:
48395
+ type: object
48396
+ description: the parameters of the data channel, the key is the module name, the value is the parameter template
48397
+ additionalProperties:
48398
+ type: array
48399
+ items:
48400
+ $ref: '#/components/schemas/dataReplicationParametersResponseDetail'
47132
48401
  responses:
47133
48402
  '204':
47134
48403
  description: No Content