kb-cloud-client-typescript 2.4.0-alpha.5 → 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 (1083) hide show
  1. package/dist/adminapi/api.d.ts +4 -1
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +4 -1
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +158 -86
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +175 -95
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
  10. package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/alert-object-api.js +10 -5
  12. package/dist/adminapi/apis/alert-object-api.js.map +1 -1
  13. package/dist/adminapi/apis/clickhouse-api.d.ts +995 -0
  14. package/dist/adminapi/apis/clickhouse-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/clickhouse-api.js +1107 -0
  16. package/dist/adminapi/apis/clickhouse-api.js.map +1 -0
  17. package/dist/adminapi/apis/cluster-log-api.d.ts +5 -5
  18. package/dist/adminapi/apis/cluster-log-api.js +4 -4
  19. package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
  20. package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
  21. package/dist/adminapi/apis/dashboard-config-api.js +277 -0
  22. package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
  23. package/dist/adminapi/apis/data-replication-api.d.ts +1356 -0
  24. package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -0
  25. package/dist/adminapi/apis/data-replication-api.js +1495 -0
  26. package/dist/adminapi/apis/data-replication-api.js.map +1 -0
  27. package/dist/adminapi/apis/diagnostics-api.d.ts +1192 -71
  28. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  29. package/dist/adminapi/apis/diagnostics-api.js +1216 -54
  30. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  31. package/dist/adminapi/apis/engine-license-api.d.ts +3 -3
  32. package/dist/adminapi/apis/engine-license-api.js +2 -2
  33. package/dist/adminapi/apis/milvus-api.d.ts +151 -79
  34. package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
  35. package/dist/adminapi/apis/milvus-api.js +153 -73
  36. package/dist/adminapi/apis/milvus-api.js.map +1 -1
  37. package/dist/adminapi/apis/oracle-api.d.ts +422 -0
  38. package/dist/adminapi/apis/oracle-api.d.ts.map +1 -0
  39. package/dist/adminapi/apis/oracle-api.js +471 -0
  40. package/dist/adminapi/apis/oracle-api.js.map +1 -0
  41. package/dist/adminapi/apis/rabbit-mqapi.d.ts +7 -7
  42. package/dist/adminapi/apis/rabbit-mqapi.d.ts.map +1 -1
  43. package/dist/adminapi/apis/rabbit-mqapi.js +10 -10
  44. package/dist/adminapi/apis/rabbit-mqapi.js.map +1 -1
  45. package/dist/adminapi/apis/shared-api.d.ts +1144 -194
  46. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  47. package/dist/adminapi/apis/shared-api.js +1231 -186
  48. package/dist/adminapi/apis/shared-api.js.map +1 -1
  49. package/dist/adminapi/models/aggregate-task-result-summary.d.ts +6 -0
  50. package/dist/adminapi/models/aggregate-task-result-summary.d.ts.map +1 -1
  51. package/dist/adminapi/models/aggregate-task-result-type.d.ts +1 -0
  52. package/dist/adminapi/models/aggregate-task-result-type.d.ts.map +1 -1
  53. package/dist/adminapi/models/aggregate-task-result-type.js +2 -1
  54. package/dist/adminapi/models/aggregate-task-result-type.js.map +1 -1
  55. package/dist/adminapi/models/auth-type.d.ts +21 -0
  56. package/dist/adminapi/models/auth-type.d.ts.map +1 -0
  57. package/dist/adminapi/models/auth-type.js +25 -0
  58. package/dist/adminapi/models/auth-type.js.map +1 -0
  59. package/dist/adminapi/models/basic-auth-model.d.ts +31 -0
  60. package/dist/adminapi/models/basic-auth-model.d.ts.map +1 -0
  61. package/dist/adminapi/models/{autohealing-list-inner.js → basic-auth-model.js} +1 -1
  62. package/dist/adminapi/models/basic-auth-model.js.map +1 -0
  63. package/dist/adminapi/models/channel-status.d.ts +28 -0
  64. package/dist/adminapi/models/channel-status.d.ts.map +1 -0
  65. package/dist/adminapi/models/channel-status.js +32 -0
  66. package/dist/adminapi/models/channel-status.js.map +1 -0
  67. package/dist/adminapi/models/ck-account-type.d.ts +23 -0
  68. package/dist/adminapi/models/ck-account-type.d.ts.map +1 -0
  69. package/dist/adminapi/models/ck-account-type.js +27 -0
  70. package/dist/adminapi/models/ck-account-type.js.map +1 -0
  71. package/dist/adminapi/models/ck-account.d.ts +50 -0
  72. package/dist/adminapi/models/ck-account.d.ts.map +1 -0
  73. package/dist/adminapi/models/ck-account.js +16 -0
  74. package/dist/adminapi/models/ck-account.js.map +1 -0
  75. package/dist/adminapi/models/cluster-metrics.d.ts +4 -2
  76. package/dist/adminapi/models/cluster-metrics.d.ts.map +1 -1
  77. package/dist/adminapi/models/cluster-reference.d.ts +31 -0
  78. package/dist/adminapi/models/cluster-reference.d.ts.map +1 -0
  79. package/dist/adminapi/models/cluster-reference.js +16 -0
  80. package/dist/adminapi/models/cluster-reference.js.map +1 -0
  81. package/dist/adminapi/models/cluster-update.d.ts +6 -0
  82. package/dist/adminapi/models/cluster-update.d.ts.map +1 -1
  83. package/dist/adminapi/models/cluster.d.ts +3 -2
  84. package/dist/adminapi/models/cluster.d.ts.map +1 -1
  85. package/dist/adminapi/models/create-clickhouse-account-request.d.ts +37 -0
  86. package/dist/adminapi/models/create-clickhouse-account-request.d.ts.map +1 -0
  87. package/dist/adminapi/models/create-clickhouse-account-request.js +16 -0
  88. package/dist/adminapi/models/create-clickhouse-account-request.js.map +1 -0
  89. package/dist/adminapi/models/custom-endpoint-create.d.ts +39 -0
  90. package/dist/adminapi/models/custom-endpoint-create.d.ts.map +1 -0
  91. package/dist/adminapi/models/custom-endpoint-create.js +16 -0
  92. package/dist/adminapi/models/custom-endpoint-create.js.map +1 -0
  93. package/dist/adminapi/models/custom-endpoint.d.ts +45 -0
  94. package/dist/adminapi/models/custom-endpoint.d.ts.map +1 -0
  95. package/dist/adminapi/models/custom-endpoint.js +16 -0
  96. package/dist/adminapi/models/custom-endpoint.js.map +1 -0
  97. package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
  98. package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
  99. package/dist/adminapi/models/dashboard-config-update.js +16 -0
  100. package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
  101. package/dist/adminapi/models/dashboard-config.d.ts +31 -0
  102. package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
  103. package/dist/adminapi/models/dashboard-config.js +16 -0
  104. package/dist/adminapi/models/dashboard-config.js.map +1 -0
  105. package/dist/adminapi/models/data-channel-detail.d.ts +33 -0
  106. package/dist/adminapi/models/data-channel-detail.d.ts.map +1 -0
  107. package/dist/adminapi/models/data-channel-detail.js +16 -0
  108. package/dist/adminapi/models/data-channel-detail.js.map +1 -0
  109. package/dist/adminapi/models/data-channel-endpoint-create.d.ts +60 -0
  110. package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -0
  111. package/dist/adminapi/models/data-channel-endpoint-create.js +16 -0
  112. package/dist/adminapi/models/data-channel-endpoint-create.js.map +1 -0
  113. package/dist/adminapi/models/data-channel-item.d.ts +119 -0
  114. package/dist/adminapi/models/data-channel-item.d.ts.map +1 -0
  115. package/dist/adminapi/models/data-channel-item.js +16 -0
  116. package/dist/adminapi/models/data-channel-item.js.map +1 -0
  117. package/dist/adminapi/models/data-channel-list-endpoint.d.ts +54 -0
  118. package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -0
  119. package/dist/adminapi/models/data-channel-list-endpoint.js +16 -0
  120. package/dist/adminapi/models/data-channel-list-endpoint.js.map +1 -0
  121. package/dist/adminapi/models/data-channel-module-progress.d.ts +49 -0
  122. package/dist/adminapi/models/data-channel-module-progress.d.ts.map +1 -0
  123. package/dist/adminapi/models/data-channel-module-progress.js +16 -0
  124. package/dist/adminapi/models/data-channel-module-progress.js.map +1 -0
  125. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts +31 -0
  126. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts.map +1 -0
  127. package/dist/adminapi/models/data-channel-parameter-key-value.js +16 -0
  128. package/dist/adminapi/models/data-channel-parameter-key-value.js.map +1 -0
  129. package/dist/adminapi/models/data-channel-progress.d.ts +32 -0
  130. package/dist/adminapi/models/data-channel-progress.d.ts.map +1 -0
  131. package/dist/adminapi/models/data-channel-progress.js +16 -0
  132. package/dist/adminapi/models/data-channel-progress.js.map +1 -0
  133. package/dist/adminapi/models/data-channel-response.d.ts +43 -0
  134. package/dist/adminapi/models/data-channel-response.d.ts.map +1 -0
  135. package/dist/adminapi/models/data-channel-response.js +16 -0
  136. package/dist/adminapi/models/data-channel-response.js.map +1 -0
  137. package/dist/adminapi/models/data-check-detail-item.d.ts +94 -0
  138. package/dist/adminapi/models/data-check-detail-item.d.ts.map +1 -0
  139. package/dist/adminapi/models/data-check-detail-item.js +16 -0
  140. package/dist/adminapi/models/data-check-detail-item.js.map +1 -0
  141. package/dist/adminapi/models/data-check-detail-type.d.ts +22 -0
  142. package/dist/adminapi/models/data-check-detail-type.d.ts.map +1 -0
  143. package/dist/adminapi/models/data-check-detail-type.js +26 -0
  144. package/dist/adminapi/models/data-check-detail-type.js.map +1 -0
  145. package/dist/adminapi/models/data-check-details.d.ts +33 -0
  146. package/dist/adminapi/models/data-check-details.d.ts.map +1 -0
  147. package/dist/adminapi/models/data-check-details.js +16 -0
  148. package/dist/adminapi/models/data-check-details.js.map +1 -0
  149. package/dist/adminapi/models/data-check-diff-value.d.ts +43 -0
  150. package/dist/adminapi/models/data-check-diff-value.d.ts.map +1 -0
  151. package/dist/adminapi/models/data-check-diff-value.js +16 -0
  152. package/dist/adminapi/models/data-check-diff-value.js.map +1 -0
  153. package/dist/adminapi/models/data-check-item.d.ts +120 -0
  154. package/dist/adminapi/models/data-check-item.d.ts.map +1 -0
  155. package/dist/adminapi/models/data-check-item.js +16 -0
  156. package/dist/adminapi/models/data-check-item.js.map +1 -0
  157. package/dist/adminapi/models/data-check-list-item.d.ts +120 -0
  158. package/dist/adminapi/models/data-check-list-item.d.ts.map +1 -0
  159. package/dist/adminapi/models/data-check-list-item.js +16 -0
  160. package/dist/adminapi/models/data-check-list-item.js.map +1 -0
  161. package/dist/adminapi/models/data-check-list-summary.d.ts +49 -0
  162. package/dist/adminapi/models/data-check-list-summary.d.ts.map +1 -0
  163. package/dist/adminapi/models/data-check-list-summary.js +16 -0
  164. package/dist/adminapi/models/data-check-list-summary.js.map +1 -0
  165. package/dist/adminapi/models/data-check-status.d.ts +23 -0
  166. package/dist/adminapi/models/data-check-status.d.ts.map +1 -0
  167. package/dist/adminapi/models/data-check-status.js +27 -0
  168. package/dist/adminapi/models/data-check-status.js.map +1 -0
  169. package/dist/adminapi/models/data-check-summary.d.ts +56 -0
  170. package/dist/adminapi/models/data-check-summary.d.ts.map +1 -0
  171. package/dist/adminapi/models/data-check-summary.js +16 -0
  172. package/dist/adminapi/models/data-check-summary.js.map +1 -0
  173. package/dist/adminapi/models/data-check-table-summary.d.ts +67 -0
  174. package/dist/adminapi/models/data-check-table-summary.d.ts.map +1 -0
  175. package/dist/adminapi/models/data-check-table-summary.js +16 -0
  176. package/dist/adminapi/models/data-check-table-summary.js.map +1 -0
  177. package/dist/adminapi/models/data-check-type.d.ts +22 -0
  178. package/dist/adminapi/models/data-check-type.d.ts.map +1 -0
  179. package/dist/adminapi/models/data-check-type.js +26 -0
  180. package/dist/adminapi/models/data-check-type.js.map +1 -0
  181. package/dist/adminapi/models/data-replication-channel-container.d.ts +37 -0
  182. package/dist/adminapi/models/data-replication-channel-container.d.ts.map +1 -0
  183. package/dist/adminapi/models/data-replication-channel-container.js +16 -0
  184. package/dist/adminapi/models/data-replication-channel-container.js.map +1 -0
  185. package/dist/adminapi/models/data-replication-create.d.ts +85 -0
  186. package/dist/adminapi/models/data-replication-create.d.ts.map +1 -0
  187. package/dist/adminapi/models/data-replication-create.js +16 -0
  188. package/dist/adminapi/models/data-replication-create.js.map +1 -0
  189. package/dist/adminapi/models/data-replication-endpoint-type.d.ts +22 -0
  190. package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -0
  191. package/dist/adminapi/models/data-replication-endpoint-type.js +26 -0
  192. package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -0
  193. package/dist/adminapi/models/data-replication-ops-type.d.ts +23 -0
  194. package/dist/adminapi/models/data-replication-ops-type.d.ts.map +1 -0
  195. package/dist/adminapi/models/data-replication-ops-type.js +27 -0
  196. package/dist/adminapi/models/data-replication-ops-type.js.map +1 -0
  197. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts +57 -0
  198. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts.map +1 -0
  199. package/dist/adminapi/models/data-replication-parameters-response-detail.js +16 -0
  200. package/dist/adminapi/models/data-replication-parameters-response-detail.js.map +1 -0
  201. package/dist/adminapi/models/data-replication-update.d.ts +32 -0
  202. package/dist/adminapi/models/data-replication-update.d.ts.map +1 -0
  203. package/dist/adminapi/models/data-replication-update.js +16 -0
  204. package/dist/adminapi/models/data-replication-update.js.map +1 -0
  205. package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
  206. package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
  207. package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
  208. package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
  209. package/dist/adminapi/models/dms-execution-plan-planning-mode.js +26 -0
  210. package/dist/adminapi/models/dms-execution-plan-planning-mode.js.map +1 -0
  211. package/dist/adminapi/models/dms-execution-plan-result.d.ts +19 -0
  212. package/dist/adminapi/models/dms-execution-plan-result.d.ts.map +1 -1
  213. package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts +37 -0
  214. package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
  215. package/dist/adminapi/models/elasticsearch-allocation-decider.js +16 -0
  216. package/dist/adminapi/models/elasticsearch-allocation-decider.js.map +1 -0
  217. package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
  218. package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
  219. package/dist/adminapi/models/elasticsearch-allocation-explanation.js +16 -0
  220. package/dist/adminapi/models/elasticsearch-allocation-explanation.js.map +1 -0
  221. package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
  222. package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
  223. package/dist/adminapi/models/elasticsearch-disk-watermarks.js +16 -0
  224. package/dist/adminapi/models/elasticsearch-disk-watermarks.js.map +1 -0
  225. package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
  226. package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
  227. package/dist/adminapi/models/elasticsearch-hot-threads-type.js +27 -0
  228. package/dist/adminapi/models/elasticsearch-hot-threads-type.js.map +1 -0
  229. package/dist/adminapi/models/elasticsearch-hot-threads.d.ts +43 -0
  230. package/dist/adminapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
  231. package/dist/adminapi/models/elasticsearch-hot-threads.js +16 -0
  232. package/dist/adminapi/models/elasticsearch-hot-threads.js.map +1 -0
  233. package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts +24 -0
  234. package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
  235. package/dist/adminapi/models/elasticsearch-index-sort-by.js +28 -0
  236. package/dist/adminapi/models/elasticsearch-index-sort-by.js.map +1 -0
  237. package/dist/adminapi/models/elasticsearch-index-storage.d.ts +85 -0
  238. package/dist/adminapi/models/elasticsearch-index-storage.d.ts.map +1 -0
  239. package/dist/adminapi/models/elasticsearch-index-storage.js +16 -0
  240. package/dist/adminapi/models/elasticsearch-index-storage.js.map +1 -0
  241. package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
  242. package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
  243. package/dist/adminapi/models/elasticsearch-node-allocation-decision.js +16 -0
  244. package/dist/adminapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
  245. package/dist/adminapi/models/elasticsearch-node-allocation.d.ts +73 -0
  246. package/dist/adminapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
  247. package/dist/adminapi/models/elasticsearch-node-allocation.js +16 -0
  248. package/dist/adminapi/models/elasticsearch-node-allocation.js.map +1 -0
  249. package/dist/adminapi/models/elasticsearch-recovery-list.d.ts +32 -0
  250. package/dist/adminapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
  251. package/dist/adminapi/models/elasticsearch-recovery-list.js +16 -0
  252. package/dist/adminapi/models/elasticsearch-recovery-list.js.map +1 -0
  253. package/dist/adminapi/models/elasticsearch-recovery-size.d.ts +43 -0
  254. package/dist/adminapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
  255. package/dist/adminapi/models/elasticsearch-recovery-size.js +16 -0
  256. package/dist/adminapi/models/elasticsearch-recovery-size.js.map +1 -0
  257. package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts +37 -0
  258. package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
  259. package/dist/adminapi/models/elasticsearch-recovery-translog.js +16 -0
  260. package/dist/adminapi/models/elasticsearch-recovery-translog.js.map +1 -0
  261. package/dist/adminapi/models/elasticsearch-shard-list.d.ts +32 -0
  262. package/dist/adminapi/models/elasticsearch-shard-list.d.ts.map +1 -0
  263. package/dist/adminapi/models/elasticsearch-shard-list.js +16 -0
  264. package/dist/adminapi/models/elasticsearch-shard-list.js.map +1 -0
  265. package/dist/adminapi/models/elasticsearch-shard-node.d.ts +31 -0
  266. package/dist/adminapi/models/elasticsearch-shard-node.d.ts.map +1 -0
  267. package/dist/adminapi/models/elasticsearch-shard-node.js +16 -0
  268. package/dist/adminapi/models/elasticsearch-shard-node.js.map +1 -0
  269. package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts +88 -0
  270. package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
  271. package/dist/adminapi/models/elasticsearch-shard-recovery.js +16 -0
  272. package/dist/adminapi/models/elasticsearch-shard-recovery.js.map +1 -0
  273. package/dist/adminapi/models/elasticsearch-shard-state.d.ts +24 -0
  274. package/dist/adminapi/models/elasticsearch-shard-state.d.ts.map +1 -0
  275. package/dist/adminapi/models/elasticsearch-shard-state.js +28 -0
  276. package/dist/adminapi/models/elasticsearch-shard-state.js.map +1 -0
  277. package/dist/adminapi/models/elasticsearch-shard.d.ts +73 -0
  278. package/dist/adminapi/models/elasticsearch-shard.d.ts.map +1 -0
  279. package/dist/adminapi/models/elasticsearch-shard.js +16 -0
  280. package/dist/adminapi/models/elasticsearch-shard.js.map +1 -0
  281. package/dist/adminapi/models/elasticsearch-sort-order.d.ts +22 -0
  282. package/dist/adminapi/models/elasticsearch-sort-order.d.ts.map +1 -0
  283. package/dist/adminapi/models/elasticsearch-sort-order.js +26 -0
  284. package/dist/adminapi/models/elasticsearch-sort-order.js.map +1 -0
  285. package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts +59 -0
  286. package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
  287. package/dist/adminapi/models/elasticsearch-storage-analysis.js +16 -0
  288. package/dist/adminapi/models/elasticsearch-storage-analysis.js.map +1 -0
  289. package/dist/adminapi/models/elasticsearch-task-analysis.d.ts +52 -0
  290. package/dist/adminapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
  291. package/dist/adminapi/models/elasticsearch-task-analysis.js +16 -0
  292. package/dist/adminapi/models/elasticsearch-task-analysis.js.map +1 -0
  293. package/dist/adminapi/models/elasticsearch-task.d.ts +79 -0
  294. package/dist/adminapi/models/elasticsearch-task.d.ts.map +1 -0
  295. package/dist/adminapi/models/elasticsearch-task.js +16 -0
  296. package/dist/adminapi/models/elasticsearch-task.js.map +1 -0
  297. package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts +43 -0
  298. package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
  299. package/dist/adminapi/models/elasticsearch-unassigned-info.js +16 -0
  300. package/dist/adminapi/models/elasticsearch-unassigned-info.js.map +1 -0
  301. package/dist/adminapi/models/engine-mapping.d.ts +7 -0
  302. package/dist/adminapi/models/engine-mapping.d.ts.map +1 -1
  303. package/dist/adminapi/models/engine-option-license-file.d.ts +38 -0
  304. package/dist/adminapi/models/engine-option-license-file.d.ts.map +1 -0
  305. package/dist/adminapi/models/engine-option-license-file.js +16 -0
  306. package/dist/adminapi/models/engine-option-license-file.js.map +1 -0
  307. package/dist/adminapi/models/engine-option-license.d.ts +8 -1
  308. package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
  309. package/dist/adminapi/models/environment-update.d.ts +6 -0
  310. package/dist/adminapi/models/environment-update.d.ts.map +1 -1
  311. package/dist/adminapi/models/essecurity-role-mapping.d.ts +3 -3
  312. package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -1
  313. package/dist/adminapi/models/essecurity-role-template.d.ts +1 -1
  314. package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -1
  315. package/dist/adminapi/models/event-item.d.ts +55 -0
  316. package/dist/adminapi/models/event-item.d.ts.map +1 -0
  317. package/dist/adminapi/models/event-item.js +16 -0
  318. package/dist/adminapi/models/event-item.js.map +1 -0
  319. package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.d.ts +49 -0
  320. package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.d.ts.map +1 -0
  321. package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.js +16 -0
  322. package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.js.map +1 -0
  323. package/dist/adminapi/models/index.d.ts +91 -1
  324. package/dist/adminapi/models/index.d.ts.map +1 -1
  325. package/dist/adminapi/models/index.js +91 -1
  326. package/dist/adminapi/models/index.js.map +1 -1
  327. package/dist/adminapi/models/inspection-criticality.d.ts +2 -1
  328. package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -1
  329. package/dist/adminapi/models/inspection-criticality.js +3 -2
  330. package/dist/adminapi/models/inspection-criticality.js.map +1 -1
  331. package/dist/adminapi/models/inspection-evaluation-mode.d.ts +23 -0
  332. package/dist/adminapi/models/inspection-evaluation-mode.d.ts.map +1 -0
  333. package/dist/adminapi/models/inspection-evaluation-mode.js +27 -0
  334. package/dist/adminapi/models/inspection-evaluation-mode.js.map +1 -0
  335. package/dist/adminapi/models/inspection-script.d.ts +9 -2
  336. package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
  337. package/dist/adminapi/models/inspection-task-item.d.ts +11 -11
  338. package/dist/adminapi/models/inspection-task.d.ts +3 -3
  339. package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
  340. package/dist/adminapi/models/kubeblocks-endpoint.d.ts +49 -0
  341. package/dist/adminapi/models/kubeblocks-endpoint.d.ts.map +1 -0
  342. package/dist/adminapi/models/kubeblocks-endpoint.js +16 -0
  343. package/dist/adminapi/models/kubeblocks-endpoint.js.map +1 -0
  344. package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts +31 -0
  345. package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts.map +1 -0
  346. package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.js +16 -0
  347. package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.js.map +1 -0
  348. package/dist/adminapi/models/list-clickhouse-account-roles200-response.d.ts +32 -0
  349. package/dist/adminapi/models/list-clickhouse-account-roles200-response.d.ts.map +1 -0
  350. package/dist/adminapi/models/list-clickhouse-account-roles200-response.js +16 -0
  351. package/dist/adminapi/models/list-clickhouse-account-roles200-response.js.map +1 -0
  352. package/dist/adminapi/models/milvus-role-create-request.d.ts +32 -0
  353. package/dist/adminapi/models/milvus-role-create-request.d.ts.map +1 -0
  354. package/dist/adminapi/models/milvus-role-create-request.js +16 -0
  355. package/dist/adminapi/models/milvus-role-create-request.js.map +1 -0
  356. package/dist/adminapi/models/milvus-role-request.d.ts +1 -1
  357. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  358. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  359. package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
  360. package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
  361. package/dist/adminapi/models/mode-service-ref.d.ts +26 -0
  362. package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
  363. package/dist/adminapi/models/mssql-cached-plan.d.ts +37 -0
  364. package/dist/adminapi/models/mssql-cached-plan.d.ts.map +1 -0
  365. package/dist/adminapi/models/mssql-cached-plan.js +16 -0
  366. package/dist/adminapi/models/mssql-cached-plan.js.map +1 -0
  367. package/dist/adminapi/models/mssql-lock-snapshot.d.ts +52 -0
  368. package/dist/adminapi/models/mssql-lock-snapshot.d.ts.map +1 -0
  369. package/dist/adminapi/models/mssql-lock-snapshot.js +16 -0
  370. package/dist/adminapi/models/mssql-lock-snapshot.js.map +1 -0
  371. package/dist/adminapi/models/mssql-lock.d.ts +73 -0
  372. package/dist/adminapi/models/mssql-lock.d.ts.map +1 -0
  373. package/dist/adminapi/models/mssql-lock.js +16 -0
  374. package/dist/adminapi/models/mssql-lock.js.map +1 -0
  375. package/dist/adminapi/models/mssql-request.d.ts +115 -0
  376. package/dist/adminapi/models/mssql-request.d.ts.map +1 -0
  377. package/dist/adminapi/models/mssql-request.js +16 -0
  378. package/dist/adminapi/models/mssql-request.js.map +1 -0
  379. package/dist/adminapi/models/mssql-session-snapshot.d.ts +38 -0
  380. package/dist/adminapi/models/mssql-session-snapshot.d.ts.map +1 -0
  381. package/dist/adminapi/models/mssql-session-snapshot.js +16 -0
  382. package/dist/adminapi/models/mssql-session-snapshot.js.map +1 -0
  383. package/dist/adminapi/models/mssql-session.d.ts +104 -0
  384. package/dist/adminapi/models/mssql-session.d.ts.map +1 -0
  385. package/dist/adminapi/models/mssql-session.js +16 -0
  386. package/dist/adminapi/models/mssql-session.js.map +1 -0
  387. package/dist/adminapi/models/mssql-wait.d.ts +61 -0
  388. package/dist/adminapi/models/mssql-wait.d.ts.map +1 -0
  389. package/dist/adminapi/models/mssql-wait.js +16 -0
  390. package/dist/adminapi/models/mssql-wait.js.map +1 -0
  391. package/dist/adminapi/models/ops-expose.d.ts +2 -2
  392. package/dist/adminapi/models/ops-request-name.d.ts +0 -6
  393. package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
  394. package/dist/adminapi/models/oracle-tablespace-contents.d.ts +22 -0
  395. package/dist/adminapi/models/oracle-tablespace-contents.d.ts.map +1 -0
  396. package/dist/adminapi/models/oracle-tablespace-contents.js +26 -0
  397. package/dist/adminapi/models/oracle-tablespace-contents.js.map +1 -0
  398. package/dist/adminapi/models/oracle-tablespace-create.d.ts +45 -0
  399. package/dist/adminapi/models/oracle-tablespace-create.d.ts.map +1 -0
  400. package/dist/adminapi/models/oracle-tablespace-create.js +16 -0
  401. package/dist/adminapi/models/oracle-tablespace-create.js.map +1 -0
  402. package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts +22 -0
  403. package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
  404. package/dist/adminapi/models/oracle-tablespace-expand-action.js +26 -0
  405. package/dist/adminapi/models/oracle-tablespace-expand-action.js.map +1 -0
  406. package/dist/adminapi/models/oracle-tablespace-expand.d.ts +45 -0
  407. package/dist/adminapi/models/oracle-tablespace-expand.d.ts.map +1 -0
  408. package/dist/adminapi/models/oracle-tablespace-expand.js +16 -0
  409. package/dist/adminapi/models/oracle-tablespace-expand.js.map +1 -0
  410. package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts +49 -0
  411. package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
  412. package/dist/adminapi/models/oracle-tablespace-file-spec.js +16 -0
  413. package/dist/adminapi/models/oracle-tablespace-file-spec.js.map +1 -0
  414. package/dist/adminapi/models/oracle-tablespace-file.d.ts +67 -0
  415. package/dist/adminapi/models/oracle-tablespace-file.d.ts.map +1 -0
  416. package/dist/adminapi/models/oracle-tablespace-file.js +16 -0
  417. package/dist/adminapi/models/oracle-tablespace-file.js.map +1 -0
  418. package/dist/adminapi/models/oracle-tablespace.d.ts +86 -0
  419. package/dist/adminapi/models/oracle-tablespace.d.ts.map +1 -0
  420. package/dist/adminapi/models/oracle-tablespace.js +16 -0
  421. package/dist/adminapi/models/oracle-tablespace.js.map +1 -0
  422. package/dist/adminapi/models/param-tpl-update.d.ts +6 -0
  423. package/dist/adminapi/models/param-tpl-update.d.ts.map +1 -1
  424. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
  425. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
  426. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
  427. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
  428. package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts +6 -0
  429. package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
  430. package/dist/adminapi/models/pre-check-create.d.ts +51 -0
  431. package/dist/adminapi/models/pre-check-create.d.ts.map +1 -0
  432. package/dist/adminapi/models/pre-check-create.js +16 -0
  433. package/dist/adminapi/models/pre-check-create.js.map +1 -0
  434. package/dist/adminapi/models/provision-config.d.ts +13 -0
  435. package/dist/adminapi/models/provision-config.d.ts.map +1 -1
  436. package/dist/adminapi/models/rbmq-password-update-request.d.ts +25 -0
  437. package/dist/adminapi/models/rbmq-password-update-request.d.ts.map +1 -0
  438. package/dist/adminapi/models/rbmq-password-update-request.js +16 -0
  439. package/dist/adminapi/models/rbmq-password-update-request.js.map +1 -0
  440. package/dist/adminapi/models/redis-info-response.d.ts +6 -0
  441. package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
  442. package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
  443. package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
  444. package/dist/adminapi/models/redis-key-scan-progress.js +16 -0
  445. package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
  446. package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
  447. package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
  448. package/dist/adminapi/models/redis-key-value-item.d.ts +3 -5
  449. package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -1
  450. package/dist/adminapi/models/replication-check-option.d.ts +25 -0
  451. package/dist/adminapi/models/replication-check-option.d.ts.map +1 -0
  452. package/dist/adminapi/models/replication-check-option.js +16 -0
  453. package/dist/adminapi/models/replication-check-option.js.map +1 -0
  454. package/dist/adminapi/models/replication-object-query.d.ts +56 -0
  455. package/dist/adminapi/models/replication-object-query.d.ts.map +1 -0
  456. package/dist/adminapi/models/replication-object-query.js +16 -0
  457. package/dist/adminapi/models/replication-object-query.js.map +1 -0
  458. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts +31 -0
  459. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts.map +1 -0
  460. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js +16 -0
  461. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js.map +1 -0
  462. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.d.ts +26 -0
  463. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.d.ts.map +1 -0
  464. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.js +16 -0
  465. package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.js.map +1 -0
  466. package/dist/adminapi/models/scheduling-config.d.ts +6 -0
  467. package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
  468. package/dist/adminapi/models/service-ref.d.ts +8 -0
  469. package/dist/adminapi/models/service-ref.d.ts.map +1 -1
  470. package/dist/adminapi/models/update-clickhouse-account-password-request.d.ts +25 -0
  471. package/dist/adminapi/models/update-clickhouse-account-password-request.d.ts.map +1 -0
  472. package/dist/adminapi/models/update-clickhouse-account-password-request.js +16 -0
  473. package/dist/adminapi/models/update-clickhouse-account-password-request.js.map +1 -0
  474. package/dist/adminapi/models/update-clickhouse-account-roles-request.d.ts +25 -0
  475. package/dist/adminapi/models/update-clickhouse-account-roles-request.d.ts.map +1 -0
  476. package/dist/adminapi/models/update-clickhouse-account-roles-request.js +16 -0
  477. package/dist/adminapi/models/update-clickhouse-account-roles-request.js.map +1 -0
  478. package/dist/adminapi/models/vip-pool.d.ts +1 -1
  479. package/dist/internalapi/models/cluster-reference.d.ts +31 -0
  480. package/dist/internalapi/models/cluster-reference.d.ts.map +1 -0
  481. package/dist/internalapi/models/cluster-reference.js +16 -0
  482. package/dist/internalapi/models/cluster-reference.js.map +1 -0
  483. package/dist/internalapi/models/cluster-update.d.ts +6 -0
  484. package/dist/internalapi/models/cluster-update.d.ts.map +1 -1
  485. package/dist/internalapi/models/cluster.d.ts +3 -2
  486. package/dist/internalapi/models/cluster.d.ts.map +1 -1
  487. package/dist/internalapi/models/index.d.ts +1 -0
  488. package/dist/internalapi/models/index.d.ts.map +1 -1
  489. package/dist/internalapi/models/index.js +1 -0
  490. package/dist/internalapi/models/index.js.map +1 -1
  491. package/dist/internalapi/models/service-ref.d.ts +8 -0
  492. package/dist/internalapi/models/service-ref.d.ts.map +1 -1
  493. package/dist/openapi/api.d.ts +3 -1
  494. package/dist/openapi/api.d.ts.map +1 -1
  495. package/dist/openapi/api.js +3 -1
  496. package/dist/openapi/api.js.map +1 -1
  497. package/dist/openapi/apis/account-api.d.ts +158 -86
  498. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  499. package/dist/openapi/apis/account-api.js +175 -95
  500. package/dist/openapi/apis/account-api.js.map +1 -1
  501. package/dist/openapi/apis/clickhouse-api.d.ts +995 -0
  502. package/dist/openapi/apis/clickhouse-api.d.ts.map +1 -0
  503. package/dist/openapi/apis/clickhouse-api.js +1107 -0
  504. package/dist/openapi/apis/clickhouse-api.js.map +1 -0
  505. package/dist/openapi/apis/cluster-log-api.d.ts +5 -5
  506. package/dist/openapi/apis/cluster-log-api.js +4 -4
  507. package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
  508. package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
  509. package/dist/openapi/apis/{autohealing-api.js → dashboard-config-api.js} +42 -51
  510. package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
  511. package/dist/openapi/apis/diagnostics-api.d.ts +1192 -71
  512. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  513. package/dist/openapi/apis/diagnostics-api.js +1216 -54
  514. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  515. package/dist/openapi/apis/milvus-api.d.ts +151 -79
  516. package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
  517. package/dist/openapi/apis/milvus-api.js +153 -73
  518. package/dist/openapi/apis/milvus-api.js.map +1 -1
  519. package/dist/openapi/apis/oracle-api.d.ts +422 -0
  520. package/dist/openapi/apis/oracle-api.d.ts.map +1 -0
  521. package/dist/openapi/apis/oracle-api.js +471 -0
  522. package/dist/openapi/apis/oracle-api.js.map +1 -0
  523. package/dist/openapi/apis/rabbit-mqapi.d.ts +7 -7
  524. package/dist/openapi/apis/rabbit-mqapi.d.ts.map +1 -1
  525. package/dist/openapi/apis/rabbit-mqapi.js +10 -10
  526. package/dist/openapi/apis/rabbit-mqapi.js.map +1 -1
  527. package/dist/openapi/apis/shared-api.d.ts +1141 -191
  528. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  529. package/dist/openapi/apis/shared-api.js +1231 -186
  530. package/dist/openapi/apis/shared-api.js.map +1 -1
  531. package/dist/openapi/models/aggregate-task-result-summary.d.ts +6 -0
  532. package/dist/openapi/models/aggregate-task-result-summary.d.ts.map +1 -1
  533. package/dist/openapi/models/aggregate-task-result-type.d.ts +1 -0
  534. package/dist/openapi/models/aggregate-task-result-type.d.ts.map +1 -1
  535. package/dist/openapi/models/aggregate-task-result-type.js +2 -1
  536. package/dist/openapi/models/aggregate-task-result-type.js.map +1 -1
  537. package/dist/openapi/models/ck-account-type.d.ts +23 -0
  538. package/dist/openapi/models/ck-account-type.d.ts.map +1 -0
  539. package/dist/openapi/models/ck-account-type.js +27 -0
  540. package/dist/openapi/models/ck-account-type.js.map +1 -0
  541. package/dist/openapi/models/ck-account.d.ts +50 -0
  542. package/dist/openapi/models/ck-account.d.ts.map +1 -0
  543. package/dist/openapi/models/{autohealing-list-inner.js → ck-account.js} +1 -1
  544. package/dist/openapi/models/ck-account.js.map +1 -0
  545. package/dist/openapi/models/cluster-metrics.d.ts +4 -2
  546. package/dist/openapi/models/cluster-metrics.d.ts.map +1 -1
  547. package/dist/openapi/models/cluster-reference.d.ts +31 -0
  548. package/dist/openapi/models/cluster-reference.d.ts.map +1 -0
  549. package/dist/openapi/models/cluster-reference.js +16 -0
  550. package/dist/openapi/models/cluster-reference.js.map +1 -0
  551. package/dist/openapi/models/cluster-update.d.ts +6 -0
  552. package/dist/openapi/models/cluster-update.d.ts.map +1 -1
  553. package/dist/openapi/models/cluster.d.ts +3 -2
  554. package/dist/openapi/models/cluster.d.ts.map +1 -1
  555. package/dist/openapi/models/create-clickhouse-account-request.d.ts +37 -0
  556. package/dist/openapi/models/create-clickhouse-account-request.d.ts.map +1 -0
  557. package/dist/openapi/models/create-clickhouse-account-request.js +16 -0
  558. package/dist/openapi/models/create-clickhouse-account-request.js.map +1 -0
  559. package/dist/openapi/models/dashboard-config.d.ts +31 -0
  560. package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
  561. package/dist/openapi/models/dashboard-config.js +16 -0
  562. package/dist/openapi/models/dashboard-config.js.map +1 -0
  563. package/dist/openapi/models/data-channel-item.d.ts +6 -0
  564. package/dist/openapi/models/data-channel-item.d.ts.map +1 -1
  565. package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
  566. package/dist/openapi/models/data-check-item.d.ts +6 -0
  567. package/dist/openapi/models/data-check-item.d.ts.map +1 -1
  568. package/dist/openapi/models/data-check-list-item.d.ts +6 -0
  569. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -1
  570. package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
  571. package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
  572. package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
  573. package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
  574. package/dist/openapi/models/dms-execution-plan-planning-mode.js +26 -0
  575. package/dist/openapi/models/dms-execution-plan-planning-mode.js.map +1 -0
  576. package/dist/openapi/models/dms-execution-plan-result.d.ts +19 -0
  577. package/dist/openapi/models/dms-execution-plan-result.d.ts.map +1 -1
  578. package/dist/openapi/models/elasticsearch-allocation-decider.d.ts +37 -0
  579. package/dist/openapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
  580. package/dist/openapi/models/elasticsearch-allocation-decider.js +16 -0
  581. package/dist/openapi/models/elasticsearch-allocation-decider.js.map +1 -0
  582. package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
  583. package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
  584. package/dist/openapi/models/elasticsearch-allocation-explanation.js +16 -0
  585. package/dist/openapi/models/elasticsearch-allocation-explanation.js.map +1 -0
  586. package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
  587. package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
  588. package/dist/openapi/models/elasticsearch-disk-watermarks.js +16 -0
  589. package/dist/openapi/models/elasticsearch-disk-watermarks.js.map +1 -0
  590. package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
  591. package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
  592. package/dist/openapi/models/elasticsearch-hot-threads-type.js +27 -0
  593. package/dist/openapi/models/elasticsearch-hot-threads-type.js.map +1 -0
  594. package/dist/openapi/models/elasticsearch-hot-threads.d.ts +43 -0
  595. package/dist/openapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
  596. package/dist/openapi/models/elasticsearch-hot-threads.js +16 -0
  597. package/dist/openapi/models/elasticsearch-hot-threads.js.map +1 -0
  598. package/dist/openapi/models/elasticsearch-index-sort-by.d.ts +24 -0
  599. package/dist/openapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
  600. package/dist/openapi/models/elasticsearch-index-sort-by.js +28 -0
  601. package/dist/openapi/models/elasticsearch-index-sort-by.js.map +1 -0
  602. package/dist/openapi/models/elasticsearch-index-storage.d.ts +85 -0
  603. package/dist/openapi/models/elasticsearch-index-storage.d.ts.map +1 -0
  604. package/dist/openapi/models/elasticsearch-index-storage.js +16 -0
  605. package/dist/openapi/models/elasticsearch-index-storage.js.map +1 -0
  606. package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
  607. package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
  608. package/dist/openapi/models/elasticsearch-node-allocation-decision.js +16 -0
  609. package/dist/openapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
  610. package/dist/openapi/models/elasticsearch-node-allocation.d.ts +73 -0
  611. package/dist/openapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
  612. package/dist/openapi/models/elasticsearch-node-allocation.js +16 -0
  613. package/dist/openapi/models/elasticsearch-node-allocation.js.map +1 -0
  614. package/dist/openapi/models/elasticsearch-recovery-list.d.ts +32 -0
  615. package/dist/openapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
  616. package/dist/openapi/models/elasticsearch-recovery-list.js +16 -0
  617. package/dist/openapi/models/elasticsearch-recovery-list.js.map +1 -0
  618. package/dist/openapi/models/elasticsearch-recovery-size.d.ts +43 -0
  619. package/dist/openapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
  620. package/dist/openapi/models/elasticsearch-recovery-size.js +16 -0
  621. package/dist/openapi/models/elasticsearch-recovery-size.js.map +1 -0
  622. package/dist/openapi/models/elasticsearch-recovery-translog.d.ts +37 -0
  623. package/dist/openapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
  624. package/dist/openapi/models/elasticsearch-recovery-translog.js +16 -0
  625. package/dist/openapi/models/elasticsearch-recovery-translog.js.map +1 -0
  626. package/dist/openapi/models/elasticsearch-shard-list.d.ts +32 -0
  627. package/dist/openapi/models/elasticsearch-shard-list.d.ts.map +1 -0
  628. package/dist/openapi/models/elasticsearch-shard-list.js +16 -0
  629. package/dist/openapi/models/elasticsearch-shard-list.js.map +1 -0
  630. package/dist/openapi/models/elasticsearch-shard-node.d.ts +31 -0
  631. package/dist/openapi/models/elasticsearch-shard-node.d.ts.map +1 -0
  632. package/dist/openapi/models/elasticsearch-shard-node.js +16 -0
  633. package/dist/openapi/models/elasticsearch-shard-node.js.map +1 -0
  634. package/dist/openapi/models/elasticsearch-shard-recovery.d.ts +88 -0
  635. package/dist/openapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
  636. package/dist/openapi/models/elasticsearch-shard-recovery.js +16 -0
  637. package/dist/openapi/models/elasticsearch-shard-recovery.js.map +1 -0
  638. package/dist/openapi/models/elasticsearch-shard-state.d.ts +24 -0
  639. package/dist/openapi/models/elasticsearch-shard-state.d.ts.map +1 -0
  640. package/dist/openapi/models/elasticsearch-shard-state.js +28 -0
  641. package/dist/openapi/models/elasticsearch-shard-state.js.map +1 -0
  642. package/dist/openapi/models/elasticsearch-shard.d.ts +73 -0
  643. package/dist/openapi/models/elasticsearch-shard.d.ts.map +1 -0
  644. package/dist/openapi/models/elasticsearch-shard.js +16 -0
  645. package/dist/openapi/models/elasticsearch-shard.js.map +1 -0
  646. package/dist/openapi/models/elasticsearch-sort-order.d.ts +22 -0
  647. package/dist/openapi/models/elasticsearch-sort-order.d.ts.map +1 -0
  648. package/dist/openapi/models/elasticsearch-sort-order.js +26 -0
  649. package/dist/openapi/models/elasticsearch-sort-order.js.map +1 -0
  650. package/dist/openapi/models/elasticsearch-storage-analysis.d.ts +59 -0
  651. package/dist/openapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
  652. package/dist/openapi/models/elasticsearch-storage-analysis.js +16 -0
  653. package/dist/openapi/models/elasticsearch-storage-analysis.js.map +1 -0
  654. package/dist/openapi/models/elasticsearch-task-analysis.d.ts +52 -0
  655. package/dist/openapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
  656. package/dist/openapi/models/elasticsearch-task-analysis.js +16 -0
  657. package/dist/openapi/models/elasticsearch-task-analysis.js.map +1 -0
  658. package/dist/openapi/models/{autohealing-list-inner.d.ts → elasticsearch-task.d.ts} +29 -47
  659. package/dist/openapi/models/elasticsearch-task.d.ts.map +1 -0
  660. package/dist/openapi/models/elasticsearch-task.js +16 -0
  661. package/dist/openapi/models/elasticsearch-task.js.map +1 -0
  662. package/dist/openapi/models/elasticsearch-unassigned-info.d.ts +43 -0
  663. package/dist/openapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
  664. package/dist/openapi/models/elasticsearch-unassigned-info.js +16 -0
  665. package/dist/openapi/models/elasticsearch-unassigned-info.js.map +1 -0
  666. package/dist/openapi/models/engine-mapping.d.ts +7 -0
  667. package/dist/openapi/models/engine-mapping.d.ts.map +1 -1
  668. package/dist/openapi/models/engine-option-license-file.d.ts +38 -0
  669. package/dist/openapi/models/engine-option-license-file.d.ts.map +1 -0
  670. package/dist/openapi/models/engine-option-license-file.js +16 -0
  671. package/dist/openapi/models/engine-option-license-file.js.map +1 -0
  672. package/dist/openapi/models/engine-option-license.d.ts +8 -1
  673. package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
  674. package/dist/openapi/models/essecurity-role-mapping.d.ts +3 -3
  675. package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -1
  676. package/dist/openapi/models/essecurity-role-template.d.ts +1 -1
  677. package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -1
  678. package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.d.ts +49 -0
  679. package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.d.ts.map +1 -0
  680. package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.js +16 -0
  681. package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.js.map +1 -0
  682. package/dist/openapi/models/index.d.ts +56 -1
  683. package/dist/openapi/models/index.d.ts.map +1 -1
  684. package/dist/openapi/models/index.js +56 -1
  685. package/dist/openapi/models/index.js.map +1 -1
  686. package/dist/openapi/models/inspection-criticality.d.ts +2 -1
  687. package/dist/openapi/models/inspection-criticality.d.ts.map +1 -1
  688. package/dist/openapi/models/inspection-criticality.js +3 -2
  689. package/dist/openapi/models/inspection-criticality.js.map +1 -1
  690. package/dist/openapi/models/inspection-evaluation-mode.d.ts +23 -0
  691. package/dist/openapi/models/inspection-evaluation-mode.d.ts.map +1 -0
  692. package/dist/openapi/models/inspection-evaluation-mode.js +27 -0
  693. package/dist/openapi/models/inspection-evaluation-mode.js.map +1 -0
  694. package/dist/openapi/models/inspection-script.d.ts +9 -2
  695. package/dist/openapi/models/inspection-script.d.ts.map +1 -1
  696. package/dist/openapi/models/inspection-task-item.d.ts +11 -11
  697. package/dist/openapi/models/inspection-task.d.ts +3 -3
  698. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  699. package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts +31 -0
  700. package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts.map +1 -0
  701. package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.js +16 -0
  702. package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.js.map +1 -0
  703. package/dist/openapi/models/list-clickhouse-account-roles200-response.d.ts +32 -0
  704. package/dist/openapi/models/list-clickhouse-account-roles200-response.d.ts.map +1 -0
  705. package/dist/openapi/models/list-clickhouse-account-roles200-response.js +16 -0
  706. package/dist/openapi/models/list-clickhouse-account-roles200-response.js.map +1 -0
  707. package/dist/openapi/models/milvus-role-create-request.d.ts +32 -0
  708. package/dist/openapi/models/milvus-role-create-request.d.ts.map +1 -0
  709. package/dist/openapi/models/milvus-role-create-request.js +16 -0
  710. package/dist/openapi/models/milvus-role-create-request.js.map +1 -0
  711. package/dist/openapi/models/milvus-role-request.d.ts +1 -1
  712. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  713. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  714. package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
  715. package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
  716. package/dist/openapi/models/mode-service-ref.d.ts +26 -0
  717. package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
  718. package/dist/openapi/models/mssql-cached-plan.d.ts +37 -0
  719. package/dist/openapi/models/mssql-cached-plan.d.ts.map +1 -0
  720. package/dist/openapi/models/mssql-cached-plan.js +16 -0
  721. package/dist/openapi/models/mssql-cached-plan.js.map +1 -0
  722. package/dist/openapi/models/mssql-lock-snapshot.d.ts +52 -0
  723. package/dist/openapi/models/mssql-lock-snapshot.d.ts.map +1 -0
  724. package/dist/openapi/models/mssql-lock-snapshot.js +16 -0
  725. package/dist/openapi/models/mssql-lock-snapshot.js.map +1 -0
  726. package/dist/openapi/models/mssql-lock.d.ts +73 -0
  727. package/dist/openapi/models/mssql-lock.d.ts.map +1 -0
  728. package/dist/openapi/models/mssql-lock.js +16 -0
  729. package/dist/openapi/models/mssql-lock.js.map +1 -0
  730. package/dist/openapi/models/mssql-request.d.ts +115 -0
  731. package/dist/openapi/models/mssql-request.d.ts.map +1 -0
  732. package/dist/openapi/models/mssql-request.js +16 -0
  733. package/dist/openapi/models/mssql-request.js.map +1 -0
  734. package/dist/openapi/models/mssql-session-snapshot.d.ts +38 -0
  735. package/dist/openapi/models/mssql-session-snapshot.d.ts.map +1 -0
  736. package/dist/openapi/models/mssql-session-snapshot.js +16 -0
  737. package/dist/openapi/models/mssql-session-snapshot.js.map +1 -0
  738. package/dist/openapi/models/mssql-session.d.ts +104 -0
  739. package/dist/openapi/models/mssql-session.d.ts.map +1 -0
  740. package/dist/openapi/models/mssql-session.js +16 -0
  741. package/dist/openapi/models/mssql-session.js.map +1 -0
  742. package/dist/openapi/models/mssql-wait.d.ts +61 -0
  743. package/dist/openapi/models/mssql-wait.d.ts.map +1 -0
  744. package/dist/openapi/models/mssql-wait.js +16 -0
  745. package/dist/openapi/models/mssql-wait.js.map +1 -0
  746. package/dist/openapi/models/ops-expose.d.ts +2 -2
  747. package/dist/openapi/models/ops-request-name.d.ts +0 -6
  748. package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
  749. package/dist/openapi/models/oracle-tablespace-contents.d.ts +22 -0
  750. package/dist/openapi/models/oracle-tablespace-contents.d.ts.map +1 -0
  751. package/dist/openapi/models/oracle-tablespace-contents.js +26 -0
  752. package/dist/openapi/models/oracle-tablespace-contents.js.map +1 -0
  753. package/dist/openapi/models/oracle-tablespace-create.d.ts +45 -0
  754. package/dist/openapi/models/oracle-tablespace-create.d.ts.map +1 -0
  755. package/dist/openapi/models/oracle-tablespace-create.js +16 -0
  756. package/dist/openapi/models/oracle-tablespace-create.js.map +1 -0
  757. package/dist/openapi/models/oracle-tablespace-expand-action.d.ts +22 -0
  758. package/dist/openapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
  759. package/dist/openapi/models/oracle-tablespace-expand-action.js +26 -0
  760. package/dist/openapi/models/oracle-tablespace-expand-action.js.map +1 -0
  761. package/dist/openapi/models/oracle-tablespace-expand.d.ts +45 -0
  762. package/dist/openapi/models/oracle-tablespace-expand.d.ts.map +1 -0
  763. package/dist/openapi/models/oracle-tablespace-expand.js +16 -0
  764. package/dist/openapi/models/oracle-tablespace-expand.js.map +1 -0
  765. package/dist/openapi/models/oracle-tablespace-file-spec.d.ts +49 -0
  766. package/dist/openapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
  767. package/dist/openapi/models/oracle-tablespace-file-spec.js +16 -0
  768. package/dist/openapi/models/oracle-tablespace-file-spec.js.map +1 -0
  769. package/dist/openapi/models/oracle-tablespace-file.d.ts +67 -0
  770. package/dist/openapi/models/oracle-tablespace-file.d.ts.map +1 -0
  771. package/dist/openapi/models/oracle-tablespace-file.js +16 -0
  772. package/dist/openapi/models/oracle-tablespace-file.js.map +1 -0
  773. package/dist/openapi/models/oracle-tablespace.d.ts +86 -0
  774. package/dist/openapi/models/oracle-tablespace.d.ts.map +1 -0
  775. package/dist/openapi/models/oracle-tablespace.js +16 -0
  776. package/dist/openapi/models/oracle-tablespace.js.map +1 -0
  777. package/dist/openapi/models/param-tpl-update.d.ts +6 -0
  778. package/dist/openapi/models/param-tpl-update.d.ts.map +1 -1
  779. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
  780. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
  781. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
  782. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
  783. package/dist/openapi/models/postgresql-sqlfingerprint.d.ts +6 -0
  784. package/dist/openapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
  785. package/dist/openapi/models/rbmq-password-update-request.d.ts +25 -0
  786. package/dist/openapi/models/rbmq-password-update-request.d.ts.map +1 -0
  787. package/dist/openapi/models/rbmq-password-update-request.js +16 -0
  788. package/dist/openapi/models/rbmq-password-update-request.js.map +1 -0
  789. package/dist/openapi/models/redis-info-response.d.ts +6 -0
  790. package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
  791. package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
  792. package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
  793. package/dist/openapi/models/redis-key-scan-progress.js +16 -0
  794. package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
  795. package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
  796. package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
  797. package/dist/openapi/models/redis-key-value-item.d.ts +3 -5
  798. package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -1
  799. package/dist/openapi/models/replication-check-option.d.ts +25 -0
  800. package/dist/openapi/models/replication-check-option.d.ts.map +1 -0
  801. package/dist/openapi/models/replication-check-option.js +16 -0
  802. package/dist/openapi/models/replication-check-option.js.map +1 -0
  803. package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts +31 -0
  804. package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts.map +1 -0
  805. package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js +16 -0
  806. package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js.map +1 -0
  807. package/dist/openapi/models/revoke-clickhouse-role-privileges-request.d.ts +26 -0
  808. package/dist/openapi/models/revoke-clickhouse-role-privileges-request.d.ts.map +1 -0
  809. package/dist/openapi/models/revoke-clickhouse-role-privileges-request.js +16 -0
  810. package/dist/openapi/models/revoke-clickhouse-role-privileges-request.js.map +1 -0
  811. package/dist/openapi/models/service-ref.d.ts +8 -0
  812. package/dist/openapi/models/service-ref.d.ts.map +1 -1
  813. package/dist/openapi/models/update-clickhouse-account-password-request.d.ts +25 -0
  814. package/dist/openapi/models/update-clickhouse-account-password-request.d.ts.map +1 -0
  815. package/dist/openapi/models/update-clickhouse-account-password-request.js +16 -0
  816. package/dist/openapi/models/update-clickhouse-account-password-request.js.map +1 -0
  817. package/dist/openapi/models/update-clickhouse-account-roles-request.d.ts +25 -0
  818. package/dist/openapi/models/update-clickhouse-account-roles-request.d.ts.map +1 -0
  819. package/dist/openapi/models/update-clickhouse-account-roles-request.js +16 -0
  820. package/dist/openapi/models/update-clickhouse-account-roles-request.js.map +1 -0
  821. package/dist/openapi/models/vip-pool.d.ts +1 -1
  822. package/package.json +1 -1
  823. package/src/adminapi/.openapi-generator/FILES +95 -2
  824. package/src/adminapi/api.ts +4 -1
  825. package/src/adminapi/apis/account-api.ts +280 -152
  826. package/src/adminapi/apis/alert-object-api.ts +18 -5
  827. package/src/adminapi/apis/clickhouse-api.ts +1735 -0
  828. package/src/adminapi/apis/cluster-log-api.ts +5 -5
  829. package/src/adminapi/apis/dashboard-config-api.ts +388 -0
  830. package/src/adminapi/apis/data-replication-api.ts +2370 -0
  831. package/src/adminapi/apis/diagnostics-api.ts +2538 -571
  832. package/src/adminapi/apis/engine-license-api.ts +3 -3
  833. package/src/adminapi/apis/milvus-api.ts +242 -114
  834. package/src/adminapi/apis/oracle-api.ts +726 -0
  835. package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
  836. package/src/adminapi/apis/shared-api.ts +2141 -467
  837. package/src/adminapi/models/aggregate-task-result-summary.ts +6 -0
  838. package/src/adminapi/models/aggregate-task-result-type.ts +2 -1
  839. package/src/adminapi/models/auth-type.ts +30 -0
  840. package/src/adminapi/models/basic-auth-model.ts +36 -0
  841. package/src/adminapi/models/channel-status.ts +37 -0
  842. package/src/adminapi/models/ck-account-type.ts +32 -0
  843. package/src/adminapi/models/ck-account.ts +59 -0
  844. package/src/adminapi/models/cluster-metrics.ts +2 -2
  845. package/src/adminapi/models/cluster-reference.ts +36 -0
  846. package/src/adminapi/models/cluster-update.ts +6 -0
  847. package/src/adminapi/models/cluster.ts +5 -2
  848. package/src/adminapi/models/create-clickhouse-account-request.ts +42 -0
  849. package/src/adminapi/models/custom-endpoint-create.ts +50 -0
  850. package/src/adminapi/models/custom-endpoint.ts +56 -0
  851. package/src/adminapi/models/dashboard-config-update.ts +30 -0
  852. package/src/adminapi/models/dashboard-config.ts +36 -0
  853. package/src/adminapi/models/data-channel-detail.ts +42 -0
  854. package/src/adminapi/models/data-channel-endpoint-create.ts +71 -0
  855. package/src/adminapi/models/data-channel-item.ts +134 -0
  856. package/src/adminapi/models/data-channel-list-endpoint.ts +65 -0
  857. package/src/adminapi/models/data-channel-module-progress.ts +54 -0
  858. package/src/adminapi/models/data-channel-parameter-key-value.ts +36 -0
  859. package/src/adminapi/models/data-channel-progress.ts +39 -0
  860. package/src/adminapi/models/data-channel-response.ts +48 -0
  861. package/src/adminapi/models/data-check-detail-item.ts +93 -0
  862. package/src/adminapi/models/data-check-detail-type.ts +31 -0
  863. package/src/adminapi/models/data-check-details.ts +42 -0
  864. package/src/adminapi/models/data-check-diff-value.ts +48 -0
  865. package/src/adminapi/models/data-check-item.ts +137 -0
  866. package/src/adminapi/models/data-check-list-item.ts +137 -0
  867. package/src/adminapi/models/data-check-list-summary.ts +54 -0
  868. package/src/adminapi/models/data-check-status.ts +32 -0
  869. package/src/adminapi/models/data-check-summary.ts +63 -0
  870. package/src/adminapi/models/data-check-table-summary.ts +72 -0
  871. package/src/adminapi/models/data-check-type.ts +31 -0
  872. package/src/adminapi/models/data-replication-channel-container.ts +42 -0
  873. package/src/adminapi/models/data-replication-create.ts +96 -0
  874. package/src/adminapi/models/data-replication-endpoint-type.ts +31 -0
  875. package/src/adminapi/models/data-replication-ops-type.ts +32 -0
  876. package/src/adminapi/models/data-replication-parameters-response-detail.ts +68 -0
  877. package/src/adminapi/models/data-replication-update.ts +39 -0
  878. package/src/adminapi/models/disaster-recovery-task.ts +0 -6
  879. package/src/adminapi/models/dms-execution-plan-planning-mode.ts +31 -0
  880. package/src/adminapi/models/dms-execution-plan-result.ts +21 -0
  881. package/src/adminapi/models/elasticsearch-allocation-decider.ts +42 -0
  882. package/src/adminapi/models/elasticsearch-allocation-explanation.ts +126 -0
  883. package/src/adminapi/models/elasticsearch-disk-watermarks.ts +42 -0
  884. package/src/adminapi/models/elasticsearch-hot-threads-type.ts +32 -0
  885. package/src/adminapi/models/elasticsearch-hot-threads.ts +48 -0
  886. package/src/adminapi/models/elasticsearch-index-sort-by.ts +33 -0
  887. package/src/adminapi/models/elasticsearch-index-storage.ts +90 -0
  888. package/src/adminapi/models/elasticsearch-node-allocation-decision.ts +51 -0
  889. package/src/adminapi/models/elasticsearch-node-allocation.ts +78 -0
  890. package/src/adminapi/models/elasticsearch-recovery-list.ts +39 -0
  891. package/src/adminapi/models/elasticsearch-recovery-size.ts +48 -0
  892. package/src/adminapi/models/elasticsearch-recovery-translog.ts +42 -0
  893. package/src/adminapi/models/elasticsearch-shard-list.ts +39 -0
  894. package/src/adminapi/models/elasticsearch-shard-node.ts +36 -0
  895. package/src/adminapi/models/elasticsearch-shard-recovery.ts +99 -0
  896. package/src/adminapi/models/elasticsearch-shard-state.ts +33 -0
  897. package/src/adminapi/models/elasticsearch-shard.ts +78 -0
  898. package/src/adminapi/models/elasticsearch-sort-order.ts +31 -0
  899. package/src/adminapi/models/elasticsearch-storage-analysis.ts +72 -0
  900. package/src/adminapi/models/elasticsearch-task-analysis.ts +63 -0
  901. package/src/adminapi/models/elasticsearch-task.ts +84 -0
  902. package/src/adminapi/models/elasticsearch-unassigned-info.ts +48 -0
  903. package/src/adminapi/models/engine-mapping.ts +9 -0
  904. package/src/adminapi/models/engine-option-license-file.ts +45 -0
  905. package/src/adminapi/models/engine-option-license.ts +10 -1
  906. package/src/adminapi/models/environment-update.ts +6 -0
  907. package/src/adminapi/models/essecurity-role-mapping.ts +3 -3
  908. package/src/adminapi/models/essecurity-role-template.ts +1 -1
  909. package/src/adminapi/models/event-item.ts +60 -0
  910. package/src/adminapi/models/get-clickhouse-role-grants200-response-inner.ts +54 -0
  911. package/src/adminapi/models/index.ts +91 -1
  912. package/src/adminapi/models/inspection-criticality.ts +3 -2
  913. package/src/adminapi/models/inspection-evaluation-mode.ts +32 -0
  914. package/src/adminapi/models/inspection-script.ts +11 -2
  915. package/src/adminapi/models/inspection-task-item.ts +11 -11
  916. package/src/adminapi/models/inspection-task.ts +3 -3
  917. package/src/adminapi/models/kubeblocks-endpoint.ts +54 -0
  918. package/src/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.ts +36 -0
  919. package/src/adminapi/models/list-clickhouse-account-roles200-response.ts +39 -0
  920. package/src/adminapi/models/milvus-role-create-request.ts +39 -0
  921. package/src/adminapi/models/milvus-role-request.ts +1 -1
  922. package/src/adminapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  923. package/src/adminapi/models/mode-service-ref-helm-value-path.ts +6 -0
  924. package/src/adminapi/models/mode-service-ref.ts +24 -0
  925. package/src/adminapi/models/mssql-cached-plan.ts +42 -0
  926. package/src/adminapi/models/mssql-lock-snapshot.ts +63 -0
  927. package/src/adminapi/models/mssql-lock.ts +78 -0
  928. package/src/adminapi/models/mssql-request.ts +120 -0
  929. package/src/adminapi/models/mssql-session-snapshot.ts +45 -0
  930. package/src/adminapi/models/mssql-session.ts +111 -0
  931. package/src/adminapi/models/mssql-wait.ts +66 -0
  932. package/src/adminapi/models/ops-expose.ts +2 -2
  933. package/src/adminapi/models/ops-request-name.ts +0 -6
  934. package/src/adminapi/models/oracle-tablespace-contents.ts +31 -0
  935. package/src/adminapi/models/oracle-tablespace-create.ts +56 -0
  936. package/src/adminapi/models/oracle-tablespace-expand-action.ts +31 -0
  937. package/src/adminapi/models/oracle-tablespace-expand.ts +56 -0
  938. package/src/adminapi/models/oracle-tablespace-file-spec.ts +54 -0
  939. package/src/adminapi/models/oracle-tablespace-file.ts +72 -0
  940. package/src/adminapi/models/oracle-tablespace.ts +93 -0
  941. package/src/adminapi/models/param-tpl-update.ts +6 -0
  942. package/src/adminapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
  943. package/src/adminapi/models/postgresql-sqlfingerprint.ts +6 -0
  944. package/src/adminapi/models/pre-check-create.ts +60 -0
  945. package/src/adminapi/models/provision-config.ts +15 -0
  946. package/src/adminapi/models/rbmq-password-update-request.ts +30 -0
  947. package/src/adminapi/models/redis-info-response.ts +6 -0
  948. package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
  949. package/src/adminapi/models/redis-key-summary-list.ts +9 -0
  950. package/src/adminapi/models/redis-key-value-item.ts +3 -3
  951. package/src/adminapi/models/replication-check-option.ts +30 -0
  952. package/src/adminapi/models/replication-object-query.ts +63 -0
  953. package/src/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.ts +36 -0
  954. package/src/adminapi/models/revoke-clickhouse-role-privileges-request.ts +33 -0
  955. package/src/adminapi/models/scheduling-config.ts +6 -0
  956. package/src/adminapi/models/service-ref.ts +6 -0
  957. package/src/adminapi/models/update-clickhouse-account-password-request.ts +30 -0
  958. package/src/adminapi/models/update-clickhouse-account-roles-request.ts +30 -0
  959. package/src/adminapi/models/vip-pool.ts +1 -1
  960. package/src/adminapi.yaml +15087 -10972
  961. package/src/internalapi/.openapi-generator/FILES +1 -0
  962. package/src/internalapi/models/cluster-reference.ts +36 -0
  963. package/src/internalapi/models/cluster-update.ts +6 -0
  964. package/src/internalapi/models/cluster.ts +5 -2
  965. package/src/internalapi/models/index.ts +1 -0
  966. package/src/internalapi/models/service-ref.ts +6 -0
  967. package/src/internalapi.yaml +30 -1
  968. package/src/openapi/.openapi-generator/FILES +59 -2
  969. package/src/openapi/api.ts +3 -1
  970. package/src/openapi/apis/account-api.ts +280 -152
  971. package/src/openapi/apis/clickhouse-api.ts +1735 -0
  972. package/src/openapi/apis/cluster-log-api.ts +5 -5
  973. package/src/openapi/apis/dashboard-config-api.ts +172 -0
  974. package/src/openapi/apis/diagnostics-api.ts +2538 -571
  975. package/src/openapi/apis/milvus-api.ts +242 -114
  976. package/src/openapi/apis/oracle-api.ts +726 -0
  977. package/src/openapi/apis/rabbit-mqapi.ts +14 -14
  978. package/src/openapi/apis/shared-api.ts +2189 -515
  979. package/src/openapi/models/aggregate-task-result-summary.ts +6 -0
  980. package/src/openapi/models/aggregate-task-result-type.ts +2 -1
  981. package/src/openapi/models/ck-account-type.ts +32 -0
  982. package/src/openapi/models/ck-account.ts +59 -0
  983. package/src/openapi/models/cluster-metrics.ts +2 -2
  984. package/src/openapi/models/cluster-reference.ts +36 -0
  985. package/src/openapi/models/cluster-update.ts +6 -0
  986. package/src/openapi/models/cluster.ts +5 -2
  987. package/src/openapi/models/create-clickhouse-account-request.ts +42 -0
  988. package/src/openapi/models/dashboard-config.ts +36 -0
  989. package/src/openapi/models/data-channel-item.ts +6 -0
  990. package/src/openapi/models/data-check-detail-item.ts +2 -2
  991. package/src/openapi/models/data-check-item.ts +6 -0
  992. package/src/openapi/models/data-check-list-item.ts +6 -0
  993. package/src/openapi/models/disaster-recovery-task.ts +0 -6
  994. package/src/openapi/models/dms-execution-plan-planning-mode.ts +31 -0
  995. package/src/openapi/models/dms-execution-plan-result.ts +21 -0
  996. package/src/openapi/models/elasticsearch-allocation-decider.ts +42 -0
  997. package/src/openapi/models/elasticsearch-allocation-explanation.ts +126 -0
  998. package/src/openapi/models/elasticsearch-disk-watermarks.ts +42 -0
  999. package/src/openapi/models/elasticsearch-hot-threads-type.ts +32 -0
  1000. package/src/openapi/models/elasticsearch-hot-threads.ts +48 -0
  1001. package/src/openapi/models/elasticsearch-index-sort-by.ts +33 -0
  1002. package/src/openapi/models/elasticsearch-index-storage.ts +90 -0
  1003. package/src/openapi/models/elasticsearch-node-allocation-decision.ts +51 -0
  1004. package/src/openapi/models/elasticsearch-node-allocation.ts +78 -0
  1005. package/src/openapi/models/elasticsearch-recovery-list.ts +39 -0
  1006. package/src/openapi/models/elasticsearch-recovery-size.ts +48 -0
  1007. package/src/openapi/models/elasticsearch-recovery-translog.ts +42 -0
  1008. package/src/openapi/models/elasticsearch-shard-list.ts +39 -0
  1009. package/src/openapi/models/elasticsearch-shard-node.ts +36 -0
  1010. package/src/openapi/models/elasticsearch-shard-recovery.ts +99 -0
  1011. package/src/openapi/models/elasticsearch-shard-state.ts +33 -0
  1012. package/src/openapi/models/elasticsearch-shard.ts +78 -0
  1013. package/src/openapi/models/elasticsearch-sort-order.ts +31 -0
  1014. package/src/openapi/models/elasticsearch-storage-analysis.ts +72 -0
  1015. package/src/openapi/models/elasticsearch-task-analysis.ts +63 -0
  1016. package/src/openapi/models/{autohealing-list-inner.ts → elasticsearch-task.ts} +28 -46
  1017. package/src/openapi/models/elasticsearch-unassigned-info.ts +48 -0
  1018. package/src/openapi/models/engine-mapping.ts +9 -0
  1019. package/src/openapi/models/engine-option-license-file.ts +45 -0
  1020. package/src/openapi/models/engine-option-license.ts +10 -1
  1021. package/src/openapi/models/essecurity-role-mapping.ts +3 -3
  1022. package/src/openapi/models/essecurity-role-template.ts +1 -1
  1023. package/src/openapi/models/get-clickhouse-role-grants200-response-inner.ts +54 -0
  1024. package/src/openapi/models/index.ts +56 -1
  1025. package/src/openapi/models/inspection-criticality.ts +3 -2
  1026. package/src/openapi/models/inspection-evaluation-mode.ts +32 -0
  1027. package/src/openapi/models/inspection-script.ts +11 -2
  1028. package/src/openapi/models/inspection-task-item.ts +11 -11
  1029. package/src/openapi/models/inspection-task.ts +3 -3
  1030. package/src/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.ts +36 -0
  1031. package/src/openapi/models/list-clickhouse-account-roles200-response.ts +39 -0
  1032. package/src/openapi/models/milvus-role-create-request.ts +39 -0
  1033. package/src/openapi/models/milvus-role-request.ts +1 -1
  1034. package/src/openapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  1035. package/src/openapi/models/mode-service-ref-helm-value-path.ts +6 -0
  1036. package/src/openapi/models/mode-service-ref.ts +24 -0
  1037. package/src/openapi/models/mssql-cached-plan.ts +42 -0
  1038. package/src/openapi/models/mssql-lock-snapshot.ts +63 -0
  1039. package/src/openapi/models/mssql-lock.ts +78 -0
  1040. package/src/openapi/models/mssql-request.ts +120 -0
  1041. package/src/openapi/models/mssql-session-snapshot.ts +45 -0
  1042. package/src/openapi/models/mssql-session.ts +111 -0
  1043. package/src/openapi/models/mssql-wait.ts +66 -0
  1044. package/src/openapi/models/ops-expose.ts +2 -2
  1045. package/src/openapi/models/ops-request-name.ts +0 -6
  1046. package/src/openapi/models/oracle-tablespace-contents.ts +31 -0
  1047. package/src/openapi/models/oracle-tablespace-create.ts +56 -0
  1048. package/src/openapi/models/oracle-tablespace-expand-action.ts +31 -0
  1049. package/src/openapi/models/oracle-tablespace-expand.ts +56 -0
  1050. package/src/openapi/models/oracle-tablespace-file-spec.ts +54 -0
  1051. package/src/openapi/models/oracle-tablespace-file.ts +72 -0
  1052. package/src/openapi/models/oracle-tablespace.ts +93 -0
  1053. package/src/openapi/models/param-tpl-update.ts +6 -0
  1054. package/src/openapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
  1055. package/src/openapi/models/postgresql-sqlfingerprint.ts +6 -0
  1056. package/src/openapi/models/rbmq-password-update-request.ts +30 -0
  1057. package/src/openapi/models/redis-info-response.ts +6 -0
  1058. package/src/openapi/models/redis-key-scan-progress.ts +54 -0
  1059. package/src/openapi/models/redis-key-summary-list.ts +9 -0
  1060. package/src/openapi/models/redis-key-value-item.ts +3 -3
  1061. package/src/openapi/models/replication-check-option.ts +30 -0
  1062. package/src/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.ts +36 -0
  1063. package/src/openapi/models/revoke-clickhouse-role-privileges-request.ts +33 -0
  1064. package/src/openapi/models/service-ref.ts +6 -0
  1065. package/src/openapi/models/update-clickhouse-account-password-request.ts +30 -0
  1066. package/src/openapi/models/update-clickhouse-account-roles-request.ts +30 -0
  1067. package/src/openapi/models/vip-pool.ts +1 -1
  1068. package/src/openapi.yaml +4573 -1802
  1069. package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
  1070. package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
  1071. package/dist/adminapi/apis/autohealing-api.js +0 -142
  1072. package/dist/adminapi/apis/autohealing-api.js.map +0 -1
  1073. package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
  1074. package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
  1075. package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
  1076. package/dist/openapi/apis/autohealing-api.d.ts +0 -117
  1077. package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
  1078. package/dist/openapi/apis/autohealing-api.js.map +0 -1
  1079. package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
  1080. package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
  1081. package/src/adminapi/apis/autohealing-api.ts +0 -187
  1082. package/src/adminapi/models/autohealing-list-inner.ts +0 -102
  1083. package/src/openapi/apis/autohealing-api.ts +0 -187
@@ -34,12 +34,38 @@ import type { DamengSessionListItem } from '../models';
34
34
  // @ts-ignore
35
35
  import type { DamengSpaceAnalysis } from '../models';
36
36
  // @ts-ignore
37
+ import type { ElasticsearchAllocationExplanation } from '../models';
38
+ // @ts-ignore
39
+ import type { ElasticsearchHotThreadsType } from '../models';
40
+ // @ts-ignore
41
+ import type { ElasticsearchIndexSortBy } from '../models';
42
+ // @ts-ignore
43
+ import type { ElasticsearchRecoveryList } from '../models';
44
+ // @ts-ignore
45
+ import type { ElasticsearchShardList } from '../models';
46
+ // @ts-ignore
47
+ import type { ElasticsearchShardState } from '../models';
48
+ // @ts-ignore
49
+ import type { ElasticsearchSortOrder } from '../models';
50
+ // @ts-ignore
51
+ import type { ElasticsearchStorageAnalysis } from '../models';
52
+ // @ts-ignore
53
+ import type { ElasticsearchTaskAnalysis } from '../models';
54
+ // @ts-ignore
37
55
  import type { KingbaseLockAnalysis } from '../models';
38
56
  // @ts-ignore
39
57
  import type { KingbaseSessionDetail } from '../models';
40
58
  // @ts-ignore
41
59
  import type { KingbaseSessionList } from '../models';
42
60
  // @ts-ignore
61
+ import type { MssqlCachedPlan } from '../models';
62
+ // @ts-ignore
63
+ import type { MssqlLockSnapshot } from '../models';
64
+ // @ts-ignore
65
+ import type { MssqlSession } from '../models';
66
+ // @ts-ignore
67
+ import type { MssqlSessionSnapshot } from '../models';
68
+ // @ts-ignore
43
69
  import type { MysqlSQLAnalysis } from '../models';
44
70
  // @ts-ignore
45
71
  import type { MysqlSpaceAnalysis } from '../models';
@@ -50,6 +76,8 @@ import type { PostgresqlLockAnalysis } from '../models';
50
76
  // @ts-ignore
51
77
  import type { PostgresqlSQLAnalysis } from '../models';
52
78
  // @ts-ignore
79
+ import type { PostgresqlSQLFingerprintExplainResponse } from '../models';
80
+ // @ts-ignore
53
81
  import type { PostgresqlSession } from '../models';
54
82
  // @ts-ignore
55
83
  import type { PostgresqlSpaceAnalysis } from '../models';
@@ -59,6 +87,152 @@ import type { PostgresqlSpaceAnalysis } from '../models';
59
87
  */
60
88
  export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configuration) {
61
89
  return {
90
+ /**
91
+ *
92
+ * @summary Explain Elasticsearch shard allocation
93
+ * @param {string} orgName
94
+ * @param {string} clusterName
95
+ * @param {string} index
96
+ * @param {number} shard
97
+ * @param {boolean} primary
98
+ * @param {string} [currentNode]
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ explainDiagnosticsElasticsearchAllocation: async (orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
103
+ // verify required parameter 'orgName' is not null or undefined
104
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'orgName', orgName)
105
+ // verify required parameter 'clusterName' is not null or undefined
106
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'clusterName', clusterName)
107
+ // verify required parameter 'index' is not null or undefined
108
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'index', index)
109
+ // verify required parameter 'shard' is not null or undefined
110
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'shard', shard)
111
+ // verify required parameter 'primary' is not null or undefined
112
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'primary', primary)
113
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/allocationExplain`
114
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
115
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
116
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
117
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
118
+ let baseOptions;
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ }
122
+
123
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
124
+ const localVarHeaderParameter = {} as any;
125
+ const localVarQueryParameter = {} as any;
126
+
127
+ // authentication BearerToken required
128
+ // http bearer authentication required
129
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
130
+
131
+ // authentication DigestAuth required
132
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
133
+
134
+ if (index !== undefined) {
135
+ localVarQueryParameter['index'] = index;
136
+ }
137
+
138
+ if (shard !== undefined) {
139
+ localVarQueryParameter['shard'] = shard;
140
+ }
141
+
142
+ if (primary !== undefined) {
143
+ localVarQueryParameter['primary'] = primary;
144
+ }
145
+
146
+ if (currentNode !== undefined) {
147
+ localVarQueryParameter['currentNode'] = currentNode;
148
+ }
149
+
150
+
151
+
152
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
155
+
156
+ return {
157
+ url: toPathString(localVarUrlObj),
158
+ options: localVarRequestOptions,
159
+ };
160
+ },
161
+ /**
162
+ * Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
163
+ * @summary Explain PostgreSQL SQL fingerprint
164
+ * @param {string} orgName Organization name
165
+ * @param {string} clusterName Cluster name
166
+ * @param {string} queryID PostgreSQL pg_stat_statements queryid represented as a string.
167
+ * @param {string} database Database name from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
168
+ * @param {string} user Database user from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
169
+ * @param {boolean} topLevel Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
170
+ * @param {string} [fingerprint] Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ explainDiagnosticsPostgresqlSQLFingerprint: async (orgName: string, clusterName: string, queryID: string, database: string, user: string, topLevel: boolean, fingerprint?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
175
+ // verify required parameter 'orgName' is not null or undefined
176
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'orgName', orgName)
177
+ // verify required parameter 'clusterName' is not null or undefined
178
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'clusterName', clusterName)
179
+ // verify required parameter 'queryID' is not null or undefined
180
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'queryID', queryID)
181
+ // verify required parameter 'database' is not null or undefined
182
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'database', database)
183
+ // verify required parameter 'user' is not null or undefined
184
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'user', user)
185
+ // verify required parameter 'topLevel' is not null or undefined
186
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'topLevel', topLevel)
187
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sqlAnalysis/queries/{queryID}/explain`
188
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
189
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
190
+ .replace(`{${"queryID"}}`, encodeURIComponent(String(queryID)));
191
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
193
+ let baseOptions;
194
+ if (configuration) {
195
+ baseOptions = configuration.baseOptions;
196
+ }
197
+
198
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
199
+ const localVarHeaderParameter = {} as any;
200
+ const localVarQueryParameter = {} as any;
201
+
202
+ // authentication BearerToken required
203
+ // http bearer authentication required
204
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
205
+
206
+ // authentication DigestAuth required
207
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
208
+
209
+ if (database !== undefined) {
210
+ localVarQueryParameter['database'] = database;
211
+ }
212
+
213
+ if (user !== undefined) {
214
+ localVarQueryParameter['user'] = user;
215
+ }
216
+
217
+ if (topLevel !== undefined) {
218
+ localVarQueryParameter['topLevel'] = topLevel;
219
+ }
220
+
221
+ if (fingerprint !== undefined) {
222
+ localVarQueryParameter['fingerprint'] = fingerprint;
223
+ }
224
+
225
+
226
+
227
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
228
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
229
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
230
+
231
+ return {
232
+ url: toPathString(localVarUrlObj),
233
+ options: localVarRequestOptions,
234
+ };
235
+ },
62
236
  /**
63
237
  * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
64
238
  * @summary Get Dameng SQL analysis
@@ -263,6 +437,136 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
263
437
 
264
438
 
265
439
 
440
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
442
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
443
+
444
+ return {
445
+ url: toPathString(localVarUrlObj),
446
+ options: localVarRequestOptions,
447
+ };
448
+ },
449
+ /**
450
+ *
451
+ * @summary Get Elasticsearch storage and index analysis
452
+ * @param {string} orgName
453
+ * @param {string} clusterName
454
+ * @param {string} [node]
455
+ * @param {string} [index]
456
+ * @param {ElasticsearchIndexSortBy} [sortBy]
457
+ * @param {ElasticsearchSortOrder} [sortOrder]
458
+ * @param {*} [options] Override http request option.
459
+ * @throws {RequiredError}
460
+ */
461
+ getDiagnosticsElasticsearchStorageAnalysis: async (orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
462
+ // verify required parameter 'orgName' is not null or undefined
463
+ assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'orgName', orgName)
464
+ // verify required parameter 'clusterName' is not null or undefined
465
+ assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'clusterName', clusterName)
466
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/storageAnalysis`
467
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
468
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
471
+ let baseOptions;
472
+ if (configuration) {
473
+ baseOptions = configuration.baseOptions;
474
+ }
475
+
476
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
477
+ const localVarHeaderParameter = {} as any;
478
+ const localVarQueryParameter = {} as any;
479
+
480
+ // authentication BearerToken required
481
+ // http bearer authentication required
482
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
483
+
484
+ // authentication DigestAuth required
485
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
486
+
487
+ if (node !== undefined) {
488
+ localVarQueryParameter['node'] = node;
489
+ }
490
+
491
+ if (index !== undefined) {
492
+ localVarQueryParameter['index'] = index;
493
+ }
494
+
495
+ if (sortBy !== undefined) {
496
+ localVarQueryParameter['sortBy'] = sortBy;
497
+ }
498
+
499
+ if (sortOrder !== undefined) {
500
+ localVarQueryParameter['sortOrder'] = sortOrder;
501
+ }
502
+
503
+
504
+
505
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
507
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
508
+
509
+ return {
510
+ url: toPathString(localVarUrlObj),
511
+ options: localVarRequestOptions,
512
+ };
513
+ },
514
+ /**
515
+ *
516
+ * @summary Get Elasticsearch task and hot-thread analysis
517
+ * @param {string} orgName
518
+ * @param {string} clusterName
519
+ * @param {ElasticsearchHotThreadsType} [type]
520
+ * @param {string} [node]
521
+ * @param {number} [taskLimit]
522
+ * @param {number} [threads]
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ */
526
+ getDiagnosticsElasticsearchTaskAnalysis: async (orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
527
+ // verify required parameter 'orgName' is not null or undefined
528
+ assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'orgName', orgName)
529
+ // verify required parameter 'clusterName' is not null or undefined
530
+ assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'clusterName', clusterName)
531
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/taskAnalysis`
532
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
533
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
534
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
535
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
536
+ let baseOptions;
537
+ if (configuration) {
538
+ baseOptions = configuration.baseOptions;
539
+ }
540
+
541
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
542
+ const localVarHeaderParameter = {} as any;
543
+ const localVarQueryParameter = {} as any;
544
+
545
+ // authentication BearerToken required
546
+ // http bearer authentication required
547
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
548
+
549
+ // authentication DigestAuth required
550
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
551
+
552
+ if (type !== undefined) {
553
+ localVarQueryParameter['type'] = type;
554
+ }
555
+
556
+ if (node !== undefined) {
557
+ localVarQueryParameter['node'] = node;
558
+ }
559
+
560
+ if (taskLimit !== undefined) {
561
+ localVarQueryParameter['taskLimit'] = taskLimit;
562
+ }
563
+
564
+ if (threads !== undefined) {
565
+ localVarQueryParameter['threads'] = threads;
566
+ }
567
+
568
+
569
+
266
570
  setSearchParams(localVarUrlObj, localVarQueryParameter);
267
571
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
268
572
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -371,8 +675,8 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
371
675
  };
372
676
  },
373
677
  /**
374
- * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
375
- * @summary Get MySQL performance trends
678
+ * Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
679
+ * @summary Get MariaDB performance trends
376
680
  * @param {string} orgName Organization name
377
681
  * @param {string} clusterName Cluster name
378
682
  * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
@@ -380,12 +684,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
380
684
  * @param {*} [options] Override http request option.
381
685
  * @throws {RequiredError}
382
686
  */
383
- getDiagnosticsMysqlPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
687
+ getDiagnosticsMariaDBPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
384
688
  // verify required parameter 'orgName' is not null or undefined
385
- assertParamExists('getDiagnosticsMysqlPerformanceTrends', 'orgName', orgName)
689
+ assertParamExists('getDiagnosticsMariaDBPerformanceTrends', 'orgName', orgName)
386
690
  // verify required parameter 'clusterName' is not null or undefined
387
- assertParamExists('getDiagnosticsMysqlPerformanceTrends', 'clusterName', clusterName)
388
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/performanceTrends`
691
+ assertParamExists('getDiagnosticsMariaDBPerformanceTrends', 'clusterName', clusterName)
692
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/performanceTrends`
389
693
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
390
694
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
391
695
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -426,8 +730,8 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
426
730
  };
427
731
  },
428
732
  /**
429
- * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
430
- * @summary Get MySQL SQL analysis
733
+ * Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
734
+ * @summary Get MariaDB SQL analysis
431
735
  * @param {string} orgName Organization name
432
736
  * @param {string} clusterName Cluster name
433
737
  * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
@@ -435,12 +739,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
435
739
  * @param {*} [options] Override http request option.
436
740
  * @throws {RequiredError}
437
741
  */
438
- getDiagnosticsMysqlSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
742
+ getDiagnosticsMariaDBSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
439
743
  // verify required parameter 'orgName' is not null or undefined
440
- assertParamExists('getDiagnosticsMysqlSQLAnalysis', 'orgName', orgName)
744
+ assertParamExists('getDiagnosticsMariaDBSQLAnalysis', 'orgName', orgName)
441
745
  // verify required parameter 'clusterName' is not null or undefined
442
- assertParamExists('getDiagnosticsMysqlSQLAnalysis', 'clusterName', clusterName)
443
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/sqlAnalysis`
746
+ assertParamExists('getDiagnosticsMariaDBSQLAnalysis', 'clusterName', clusterName)
747
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/sqlAnalysis`
444
748
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
445
749
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
446
750
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -481,20 +785,20 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
481
785
  };
482
786
  },
483
787
  /**
484
- * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
485
- * @summary Get MySQL space analysis
788
+ * Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
789
+ * @summary Get MariaDB space analysis
486
790
  * @param {string} orgName
487
791
  * @param {string} clusterName
488
792
  * @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
489
793
  * @param {*} [options] Override http request option.
490
794
  * @throws {RequiredError}
491
795
  */
492
- getDiagnosticsMysqlSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
796
+ getDiagnosticsMariaDBSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
493
797
  // verify required parameter 'orgName' is not null or undefined
494
- assertParamExists('getDiagnosticsMysqlSpaceAnalysis', 'orgName', orgName)
798
+ assertParamExists('getDiagnosticsMariaDBSpaceAnalysis', 'orgName', orgName)
495
799
  // verify required parameter 'clusterName' is not null or undefined
496
- assertParamExists('getDiagnosticsMysqlSpaceAnalysis', 'clusterName', clusterName)
497
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/spaceAnalysis`
800
+ assertParamExists('getDiagnosticsMariaDBSpaceAnalysis', 'clusterName', clusterName)
801
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/spaceAnalysis`
498
802
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
499
803
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
500
804
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -531,23 +835,28 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
531
835
  };
532
836
  },
533
837
  /**
534
- * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
535
- * @summary Get PostgreSQL performance trends
536
- * @param {string} orgName Organization name
537
- * @param {string} clusterName Cluster name
538
- * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
539
- * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
838
+ *
839
+ * @summary Get a SQL Server session
840
+ * @param {string} orgName
841
+ * @param {string} clusterName
842
+ * @param {number} sessionId
843
+ * @param {string} startedAt
540
844
  * @param {*} [options] Override http request option.
541
845
  * @throws {RequiredError}
542
846
  */
543
- getDiagnosticsPostgresqlPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
847
+ getDiagnosticsMssqlSession: async (orgName: string, clusterName: string, sessionId: number, startedAt: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
544
848
  // verify required parameter 'orgName' is not null or undefined
545
- assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'orgName', orgName)
849
+ assertParamExists('getDiagnosticsMssqlSession', 'orgName', orgName)
546
850
  // verify required parameter 'clusterName' is not null or undefined
547
- assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'clusterName', clusterName)
548
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/performanceTrends`
851
+ assertParamExists('getDiagnosticsMssqlSession', 'clusterName', clusterName)
852
+ // verify required parameter 'sessionId' is not null or undefined
853
+ assertParamExists('getDiagnosticsMssqlSession', 'sessionId', sessionId)
854
+ // verify required parameter 'startedAt' is not null or undefined
855
+ assertParamExists('getDiagnosticsMssqlSession', 'startedAt', startedAt)
856
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions/{sessionId}`
549
857
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
550
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
858
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
859
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
551
860
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
552
861
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
553
862
  let baseOptions;
@@ -566,12 +875,8 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
566
875
  // authentication DigestAuth required
567
876
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
568
877
 
569
- if (range !== undefined) {
570
- localVarQueryParameter['range'] = range;
571
- }
572
-
573
- if (step !== undefined) {
574
- localVarQueryParameter['step'] = step;
878
+ if (startedAt !== undefined) {
879
+ localVarQueryParameter['startedAt'] = startedAt;
575
880
  }
576
881
 
577
882
 
@@ -586,23 +891,35 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
586
891
  };
587
892
  },
588
893
  /**
589
- * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
590
- * @summary Get PostgreSQL SQL analysis
591
- * @param {string} orgName Organization name
592
- * @param {string} clusterName Cluster name
593
- * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
594
- * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
894
+ *
895
+ * @summary Read the cached compiled plan of a live SQL Server request
896
+ * @param {string} orgName
897
+ * @param {string} clusterName
898
+ * @param {number} sessionId
899
+ * @param {string} startedAt
900
+ * @param {number} requestId
901
+ * @param {string} requestStart
595
902
  * @param {*} [options] Override http request option.
596
903
  * @throws {RequiredError}
597
904
  */
598
- getDiagnosticsPostgresqlSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
905
+ getDiagnosticsMssqlSessionCachedPlan: async (orgName: string, clusterName: string, sessionId: number, startedAt: string, requestId: number, requestStart: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
599
906
  // verify required parameter 'orgName' is not null or undefined
600
- assertParamExists('getDiagnosticsPostgresqlSQLAnalysis', 'orgName', orgName)
907
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'orgName', orgName)
601
908
  // verify required parameter 'clusterName' is not null or undefined
602
- assertParamExists('getDiagnosticsPostgresqlSQLAnalysis', 'clusterName', clusterName)
603
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sqlAnalysis`
909
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'clusterName', clusterName)
910
+ // verify required parameter 'sessionId' is not null or undefined
911
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'sessionId', sessionId)
912
+ // verify required parameter 'startedAt' is not null or undefined
913
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'startedAt', startedAt)
914
+ // verify required parameter 'requestId' is not null or undefined
915
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'requestId', requestId)
916
+ // verify required parameter 'requestStart' is not null or undefined
917
+ assertParamExists('getDiagnosticsMssqlSessionCachedPlan', 'requestStart', requestStart)
918
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions/{sessionId}/requests/{requestId}/cachedPlan`
604
919
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
605
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
920
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
921
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
922
+ .replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
606
923
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
607
924
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
608
925
  let baseOptions;
@@ -621,12 +938,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
621
938
  // authentication DigestAuth required
622
939
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
623
940
 
624
- if (limit !== undefined) {
625
- localVarQueryParameter['limit'] = limit;
941
+ if (startedAt !== undefined) {
942
+ localVarQueryParameter['startedAt'] = startedAt;
626
943
  }
627
944
 
628
- if (orderBy !== undefined) {
629
- localVarQueryParameter['orderBy'] = orderBy;
945
+ if (requestStart !== undefined) {
946
+ localVarQueryParameter['requestStart'] = requestStart;
630
947
  }
631
948
 
632
949
 
@@ -641,25 +958,28 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
641
958
  };
642
959
  },
643
960
  /**
644
- * Get one PostgreSQL session basic diagnostics record by backend pid.
645
- * @summary Get PostgreSQL session basic diagnostics
646
- * @param {string} orgName Organization name
647
- * @param {string} clusterName Cluster name
648
- * @param {number} pid PostgreSQL backend process id.
961
+ *
962
+ * @summary Get SQL Server blocking and locks
963
+ * @param {string} orgName
964
+ * @param {string} clusterName
965
+ * @param {number} sessionId
966
+ * @param {string} startedAt
649
967
  * @param {*} [options] Override http request option.
650
968
  * @throws {RequiredError}
651
969
  */
652
- getDiagnosticsPostgresqlSession: async (orgName: string, clusterName: string, pid: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
970
+ getDiagnosticsMssqlSessionLockAnalysis: async (orgName: string, clusterName: string, sessionId: number, startedAt: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
653
971
  // verify required parameter 'orgName' is not null or undefined
654
- assertParamExists('getDiagnosticsPostgresqlSession', 'orgName', orgName)
972
+ assertParamExists('getDiagnosticsMssqlSessionLockAnalysis', 'orgName', orgName)
655
973
  // verify required parameter 'clusterName' is not null or undefined
656
- assertParamExists('getDiagnosticsPostgresqlSession', 'clusterName', clusterName)
657
- // verify required parameter 'pid' is not null or undefined
658
- assertParamExists('getDiagnosticsPostgresqlSession', 'pid', pid)
659
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}`
974
+ assertParamExists('getDiagnosticsMssqlSessionLockAnalysis', 'clusterName', clusterName)
975
+ // verify required parameter 'sessionId' is not null or undefined
976
+ assertParamExists('getDiagnosticsMssqlSessionLockAnalysis', 'sessionId', sessionId)
977
+ // verify required parameter 'startedAt' is not null or undefined
978
+ assertParamExists('getDiagnosticsMssqlSessionLockAnalysis', 'startedAt', startedAt)
979
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions/{sessionId}/lockAnalysis`
660
980
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
661
981
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
662
- .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
982
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
663
983
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
664
984
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
665
985
  let baseOptions;
@@ -678,6 +998,10 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
678
998
  // authentication DigestAuth required
679
999
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
680
1000
 
1001
+ if (startedAt !== undefined) {
1002
+ localVarQueryParameter['startedAt'] = startedAt;
1003
+ }
1004
+
681
1005
 
682
1006
 
683
1007
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -690,25 +1014,23 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
690
1014
  };
691
1015
  },
692
1016
  /**
693
- * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
694
- * @summary Get PostgreSQL session lock analysis
1017
+ * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
1018
+ * @summary Get MySQL performance trends
695
1019
  * @param {string} orgName Organization name
696
1020
  * @param {string} clusterName Cluster name
697
- * @param {number} pid PostgreSQL backend process id.
1021
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
1022
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
698
1023
  * @param {*} [options] Override http request option.
699
1024
  * @throws {RequiredError}
700
1025
  */
701
- getDiagnosticsPostgresqlSessionLockAnalysis: async (orgName: string, clusterName: string, pid: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1026
+ getDiagnosticsMysqlPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
702
1027
  // verify required parameter 'orgName' is not null or undefined
703
- assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'orgName', orgName)
1028
+ assertParamExists('getDiagnosticsMysqlPerformanceTrends', 'orgName', orgName)
704
1029
  // verify required parameter 'clusterName' is not null or undefined
705
- assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'clusterName', clusterName)
706
- // verify required parameter 'pid' is not null or undefined
707
- assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'pid', pid)
708
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}/lockAnalysis`
1030
+ assertParamExists('getDiagnosticsMysqlPerformanceTrends', 'clusterName', clusterName)
1031
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/performanceTrends`
709
1032
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
710
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
711
- .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
1033
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
712
1034
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
713
1035
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
714
1036
  let baseOptions;
@@ -727,6 +1049,14 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
727
1049
  // authentication DigestAuth required
728
1050
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
729
1051
 
1052
+ if (range !== undefined) {
1053
+ localVarQueryParameter['range'] = range;
1054
+ }
1055
+
1056
+ if (step !== undefined) {
1057
+ localVarQueryParameter['step'] = step;
1058
+ }
1059
+
730
1060
 
731
1061
 
732
1062
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -739,20 +1069,21 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
739
1069
  };
740
1070
  },
741
1071
  /**
742
- * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
743
- * @summary Get PostgreSQL space analysis
1072
+ * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
1073
+ * @summary Get MySQL SQL analysis
744
1074
  * @param {string} orgName Organization name
745
1075
  * @param {string} clusterName Cluster name
746
- * @param {string} [databaseName] Optional database name for selected table, index, and TOAST details. When omitted, the backend selects the largest connectable non-template database.
1076
+ * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1077
+ * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
747
1078
  * @param {*} [options] Override http request option.
748
1079
  * @throws {RequiredError}
749
1080
  */
750
- getDiagnosticsPostgresqlSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1081
+ getDiagnosticsMysqlSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
751
1082
  // verify required parameter 'orgName' is not null or undefined
752
- assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'orgName', orgName)
1083
+ assertParamExists('getDiagnosticsMysqlSQLAnalysis', 'orgName', orgName)
753
1084
  // verify required parameter 'clusterName' is not null or undefined
754
- assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'clusterName', clusterName)
755
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/spaceAnalysis`
1085
+ assertParamExists('getDiagnosticsMysqlSQLAnalysis', 'clusterName', clusterName)
1086
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/sqlAnalysis`
756
1087
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
757
1088
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
758
1089
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -773,8 +1104,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
773
1104
  // authentication DigestAuth required
774
1105
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
775
1106
 
776
- if (databaseName !== undefined) {
777
- localVarQueryParameter['databaseName'] = databaseName;
1107
+ if (limit !== undefined) {
1108
+ localVarQueryParameter['limit'] = limit;
1109
+ }
1110
+
1111
+ if (orderBy !== undefined) {
1112
+ localVarQueryParameter['orderBy'] = orderBy;
778
1113
  }
779
1114
 
780
1115
 
@@ -789,21 +1124,20 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
789
1124
  };
790
1125
  },
791
1126
  /**
792
- * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
793
- * @summary List Dameng sessions
794
- * @param {string} orgName Organization name
795
- * @param {string} clusterName Cluster name
796
- * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
797
- * @param {string} [state] Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
1127
+ * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
1128
+ * @summary Get MySQL space analysis
1129
+ * @param {string} orgName
1130
+ * @param {string} clusterName
1131
+ * @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
798
1132
  * @param {*} [options] Override http request option.
799
1133
  * @throws {RequiredError}
800
1134
  */
801
- listDiagnosticsDamengSessions: async (orgName: string, clusterName: string, limit?: number, state?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1135
+ getDiagnosticsMysqlSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
802
1136
  // verify required parameter 'orgName' is not null or undefined
803
- assertParamExists('listDiagnosticsDamengSessions', 'orgName', orgName)
1137
+ assertParamExists('getDiagnosticsMysqlSpaceAnalysis', 'orgName', orgName)
804
1138
  // verify required parameter 'clusterName' is not null or undefined
805
- assertParamExists('listDiagnosticsDamengSessions', 'clusterName', clusterName)
806
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions`
1139
+ assertParamExists('getDiagnosticsMysqlSpaceAnalysis', 'clusterName', clusterName)
1140
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mysql/spaceAnalysis`
807
1141
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
808
1142
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
809
1143
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -824,12 +1158,8 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
824
1158
  // authentication DigestAuth required
825
1159
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
826
1160
 
827
- if (limit !== undefined) {
828
- localVarQueryParameter['limit'] = limit;
829
- }
830
-
831
- if (state !== undefined) {
832
- localVarQueryParameter['state'] = state;
1161
+ if (databaseName !== undefined) {
1162
+ localVarQueryParameter['databaseName'] = databaseName;
833
1163
  }
834
1164
 
835
1165
 
@@ -844,20 +1174,21 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
844
1174
  };
845
1175
  },
846
1176
  /**
847
- *
848
- * @summary List Kingbase session diagnostics
849
- * @param {string} orgName
850
- * @param {string} clusterName
851
- * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1177
+ * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
1178
+ * @summary Get PostgreSQL performance trends
1179
+ * @param {string} orgName Organization name
1180
+ * @param {string} clusterName Cluster name
1181
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
1182
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
852
1183
  * @param {*} [options] Override http request option.
853
1184
  * @throws {RequiredError}
854
1185
  */
855
- listDiagnosticsKingbaseSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1186
+ getDiagnosticsPostgresqlPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
856
1187
  // verify required parameter 'orgName' is not null or undefined
857
- assertParamExists('listDiagnosticsKingbaseSessions', 'orgName', orgName)
1188
+ assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'orgName', orgName)
858
1189
  // verify required parameter 'clusterName' is not null or undefined
859
- assertParamExists('listDiagnosticsKingbaseSessions', 'clusterName', clusterName)
860
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions`
1190
+ assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'clusterName', clusterName)
1191
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/performanceTrends`
861
1192
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
862
1193
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
863
1194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -878,8 +1209,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
878
1209
  // authentication DigestAuth required
879
1210
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
880
1211
 
881
- if (limit !== undefined) {
882
- localVarQueryParameter['limit'] = limit;
1212
+ if (range !== undefined) {
1213
+ localVarQueryParameter['range'] = range;
1214
+ }
1215
+
1216
+ if (step !== undefined) {
1217
+ localVarQueryParameter['step'] = step;
883
1218
  }
884
1219
 
885
1220
 
@@ -894,20 +1229,21 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
894
1229
  };
895
1230
  },
896
1231
  /**
897
- * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
898
- * @summary List PostgreSQL session basic diagnostics
1232
+ * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
1233
+ * @summary Get PostgreSQL SQL analysis
899
1234
  * @param {string} orgName Organization name
900
1235
  * @param {string} clusterName Cluster name
901
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1236
+ * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1237
+ * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
902
1238
  * @param {*} [options] Override http request option.
903
1239
  * @throws {RequiredError}
904
1240
  */
905
- listDiagnosticsPostgresqlSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1241
+ getDiagnosticsPostgresqlSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
906
1242
  // verify required parameter 'orgName' is not null or undefined
907
- assertParamExists('listDiagnosticsPostgresqlSessions', 'orgName', orgName)
1243
+ assertParamExists('getDiagnosticsPostgresqlSQLAnalysis', 'orgName', orgName)
908
1244
  // verify required parameter 'clusterName' is not null or undefined
909
- assertParamExists('listDiagnosticsPostgresqlSessions', 'clusterName', clusterName)
910
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions`
1245
+ assertParamExists('getDiagnosticsPostgresqlSQLAnalysis', 'clusterName', clusterName)
1246
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sqlAnalysis`
911
1247
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
912
1248
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
913
1249
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -932,6 +1268,10 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
932
1268
  localVarQueryParameter['limit'] = limit;
933
1269
  }
934
1270
 
1271
+ if (orderBy !== undefined) {
1272
+ localVarQueryParameter['orderBy'] = orderBy;
1273
+ }
1274
+
935
1275
 
936
1276
 
937
1277
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -943,827 +1283,2193 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
943
1283
  options: localVarRequestOptions,
944
1284
  };
945
1285
  },
946
- }
947
- };
948
-
949
- /**
950
- * DiagnosticsApi - functional programming interface
951
- * @export
952
- */
953
- export const DiagnosticsApiFp = function(configuration?: Configuration) {
954
- const localVarAxiosParamCreator = DiagnosticsApiAxiosParamCreator(configuration)
955
- return {
956
- /**
957
- * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
958
- * @summary Get Dameng SQL analysis
959
- * @param {string} orgName Organization name
960
- * @param {string} clusterName Cluster name
961
- * @param {number} [limit] Maximum number of SQL entries per category. Defaults to 20.
962
- * @param {*} [options] Override http request option.
963
- * @throws {RequiredError}
964
- */
965
- async getDiagnosticsDamengSQLAnalysis(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSQLAnalysis>> {
966
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSQLAnalysis(orgName, clusterName, limit, options);
967
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
968
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSQLAnalysis']?.[localVarOperationServerIndex]?.url;
969
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
970
- },
971
1286
  /**
972
- * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
973
- * @summary Get Dameng session detail
974
- * @param {string} orgName Organization name
975
- * @param {string} clusterName Cluster name
976
- * @param {number} sessionId Dameng session ID (SESS_ID)
977
- * @param {*} [options] Override http request option.
978
- * @throws {RequiredError}
979
- */
980
- async getDiagnosticsDamengSession(orgName: string, clusterName: string, sessionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSessionDetail>> {
981
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSession(orgName, clusterName, sessionId, options);
982
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
983
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSession']?.[localVarOperationServerIndex]?.url;
984
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
985
- },
986
- /**
987
- * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
988
- * @summary Get Dameng session lock analysis
1287
+ * Get one PostgreSQL session basic diagnostics record by backend pid.
1288
+ * @summary Get PostgreSQL session basic diagnostics
989
1289
  * @param {string} orgName Organization name
990
1290
  * @param {string} clusterName Cluster name
991
- * @param {number} sessionId Dameng session ID (SESS_ID)
1291
+ * @param {number} pid PostgreSQL backend process id.
992
1292
  * @param {*} [options] Override http request option.
993
1293
  * @throws {RequiredError}
994
1294
  */
995
- async getDiagnosticsDamengSessionLockAnalysis(orgName: string, clusterName: string, sessionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengLockAnalysis>> {
996
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSessionLockAnalysis(orgName, clusterName, sessionId, options);
997
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
998
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
999
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1295
+ getDiagnosticsPostgresqlSession: async (orgName: string, clusterName: string, pid: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1296
+ // verify required parameter 'orgName' is not null or undefined
1297
+ assertParamExists('getDiagnosticsPostgresqlSession', 'orgName', orgName)
1298
+ // verify required parameter 'clusterName' is not null or undefined
1299
+ assertParamExists('getDiagnosticsPostgresqlSession', 'clusterName', clusterName)
1300
+ // verify required parameter 'pid' is not null or undefined
1301
+ assertParamExists('getDiagnosticsPostgresqlSession', 'pid', pid)
1302
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}`
1303
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1304
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1305
+ .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
1306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1307
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1308
+ let baseOptions;
1309
+ if (configuration) {
1310
+ baseOptions = configuration.baseOptions;
1311
+ }
1312
+
1313
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1314
+ const localVarHeaderParameter = {} as any;
1315
+ const localVarQueryParameter = {} as any;
1316
+
1317
+ // authentication BearerToken required
1318
+ // http bearer authentication required
1319
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1320
+
1321
+ // authentication DigestAuth required
1322
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1323
+
1324
+
1325
+
1326
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1328
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1329
+
1330
+ return {
1331
+ url: toPathString(localVarUrlObj),
1332
+ options: localVarRequestOptions,
1333
+ };
1000
1334
  },
1001
1335
  /**
1002
- * Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
1003
- * @summary Get Dameng space analysis
1336
+ * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
1337
+ * @summary Get PostgreSQL session lock analysis
1004
1338
  * @param {string} orgName Organization name
1005
1339
  * @param {string} clusterName Cluster name
1006
- * @param {number} [tableLimit] Maximum number of top tables to return (0 or omitted &#x3D; not collected)
1007
- * @param {number} [indexLimit] Maximum number of top indexes to return (0 or omitted &#x3D; not collected)
1008
- * @param {string} [schema] Filter tables and indexes by schema (owner). Omit or empty &#x3D; all schemas.
1009
- * @param {boolean} [skipBasic] Set to true to skip tablespace and schema queries, returning only tables and indexes.
1340
+ * @param {number} pid PostgreSQL backend process id.
1010
1341
  * @param {*} [options] Override http request option.
1011
1342
  * @throws {RequiredError}
1012
1343
  */
1013
- async getDiagnosticsDamengSpaceAnalysis(orgName: string, clusterName: string, tableLimit?: number, indexLimit?: number, schema?: string, skipBasic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSpaceAnalysis>> {
1014
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSpaceAnalysis(orgName, clusterName, tableLimit, indexLimit, schema, skipBasic, options);
1015
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1016
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1017
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1018
- },
1019
- /**
1020
- *
1021
- * @summary Get Kingbase session diagnostics
1022
- * @param {string} orgName
1023
- * @param {string} clusterName
1024
- * @param {number} pid
1025
- * @param {*} [options] Override http request option.
1026
- * @throws {RequiredError}
1027
- */
1028
- async getDiagnosticsKingbaseSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseSessionDetail>> {
1029
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbaseSession(orgName, clusterName, pid, options);
1030
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1031
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbaseSession']?.[localVarOperationServerIndex]?.url;
1032
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1033
- },
1034
- /**
1035
- * Returns the selected session and its direct lock rows from the current snapshot.
1036
- * @summary Get Kingbase session lock analysis
1037
- * @param {string} orgName
1038
- * @param {string} clusterName
1039
- * @param {number} pid
1040
- * @param {*} [options] Override http request option.
1041
- * @throws {RequiredError}
1042
- */
1043
- async getDiagnosticsKingbaseSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseLockAnalysis>> {
1044
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbaseSessionLockAnalysis(orgName, clusterName, pid, options);
1045
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1046
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbaseSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
1047
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1344
+ getDiagnosticsPostgresqlSessionLockAnalysis: async (orgName: string, clusterName: string, pid: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1345
+ // verify required parameter 'orgName' is not null or undefined
1346
+ assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'orgName', orgName)
1347
+ // verify required parameter 'clusterName' is not null or undefined
1348
+ assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'clusterName', clusterName)
1349
+ // verify required parameter 'pid' is not null or undefined
1350
+ assertParamExists('getDiagnosticsPostgresqlSessionLockAnalysis', 'pid', pid)
1351
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}/lockAnalysis`
1352
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1353
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1354
+ .replace(`{${"pid"}}`, encodeURIComponent(String(pid)));
1355
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1356
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1357
+ let baseOptions;
1358
+ if (configuration) {
1359
+ baseOptions = configuration.baseOptions;
1360
+ }
1361
+
1362
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1363
+ const localVarHeaderParameter = {} as any;
1364
+ const localVarQueryParameter = {} as any;
1365
+
1366
+ // authentication BearerToken required
1367
+ // http bearer authentication required
1368
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1369
+
1370
+ // authentication DigestAuth required
1371
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1372
+
1373
+
1374
+
1375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1377
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1378
+
1379
+ return {
1380
+ url: toPathString(localVarUrlObj),
1381
+ options: localVarRequestOptions,
1382
+ };
1048
1383
  },
1049
1384
  /**
1050
- * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
1051
- * @summary Get MySQL performance trends
1385
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
1386
+ * @summary Get PostgreSQL space analysis
1052
1387
  * @param {string} orgName Organization name
1053
1388
  * @param {string} clusterName Cluster name
1054
- * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
1055
- * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
1389
+ * @param {string} [databaseName] Optional database name for selected table, index, and TOAST details. When omitted, the backend selects the largest connectable non-template database.
1056
1390
  * @param {*} [options] Override http request option.
1057
1391
  * @throws {RequiredError}
1058
1392
  */
1059
- async getDiagnosticsMysqlPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
1060
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlPerformanceTrends(orgName, clusterName, range, step, options);
1061
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1062
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlPerformanceTrends']?.[localVarOperationServerIndex]?.url;
1063
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1393
+ getDiagnosticsPostgresqlSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1394
+ // verify required parameter 'orgName' is not null or undefined
1395
+ assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'orgName', orgName)
1396
+ // verify required parameter 'clusterName' is not null or undefined
1397
+ assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'clusterName', clusterName)
1398
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/spaceAnalysis`
1399
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1400
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1403
+ let baseOptions;
1404
+ if (configuration) {
1405
+ baseOptions = configuration.baseOptions;
1406
+ }
1407
+
1408
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1409
+ const localVarHeaderParameter = {} as any;
1410
+ const localVarQueryParameter = {} as any;
1411
+
1412
+ // authentication BearerToken required
1413
+ // http bearer authentication required
1414
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1415
+
1416
+ // authentication DigestAuth required
1417
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1418
+
1419
+ if (databaseName !== undefined) {
1420
+ localVarQueryParameter['databaseName'] = databaseName;
1421
+ }
1422
+
1423
+
1424
+
1425
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1426
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1427
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1428
+
1429
+ return {
1430
+ url: toPathString(localVarUrlObj),
1431
+ options: localVarRequestOptions,
1432
+ };
1064
1433
  },
1065
1434
  /**
1066
- * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
1067
- * @summary Get MySQL SQL analysis
1435
+ * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
1436
+ * @summary List Dameng sessions
1068
1437
  * @param {string} orgName Organization name
1069
1438
  * @param {string} clusterName Cluster name
1070
- * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1071
- * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
1439
+ * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1440
+ * @param {string} [state] Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
1072
1441
  * @param {*} [options] Override http request option.
1073
1442
  * @throws {RequiredError}
1074
1443
  */
1075
- async getDiagnosticsMysqlSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSQLAnalysis>> {
1076
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlSQLAnalysis(orgName, clusterName, limit, orderBy, options);
1077
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1078
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlSQLAnalysis']?.[localVarOperationServerIndex]?.url;
1079
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1444
+ listDiagnosticsDamengSessions: async (orgName: string, clusterName: string, limit?: number, state?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1445
+ // verify required parameter 'orgName' is not null or undefined
1446
+ assertParamExists('listDiagnosticsDamengSessions', 'orgName', orgName)
1447
+ // verify required parameter 'clusterName' is not null or undefined
1448
+ assertParamExists('listDiagnosticsDamengSessions', 'clusterName', clusterName)
1449
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions`
1450
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1451
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1452
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1453
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1454
+ let baseOptions;
1455
+ if (configuration) {
1456
+ baseOptions = configuration.baseOptions;
1457
+ }
1458
+
1459
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1460
+ const localVarHeaderParameter = {} as any;
1461
+ const localVarQueryParameter = {} as any;
1462
+
1463
+ // authentication BearerToken required
1464
+ // http bearer authentication required
1465
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1466
+
1467
+ // authentication DigestAuth required
1468
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1469
+
1470
+ if (limit !== undefined) {
1471
+ localVarQueryParameter['limit'] = limit;
1472
+ }
1473
+
1474
+ if (state !== undefined) {
1475
+ localVarQueryParameter['state'] = state;
1476
+ }
1477
+
1478
+
1479
+
1480
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1481
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1482
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1483
+
1484
+ return {
1485
+ url: toPathString(localVarUrlObj),
1486
+ options: localVarRequestOptions,
1487
+ };
1080
1488
  },
1081
1489
  /**
1082
- * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
1083
- * @summary Get MySQL space analysis
1490
+ *
1491
+ * @summary List active Elasticsearch shard recoveries
1084
1492
  * @param {string} orgName
1085
1493
  * @param {string} clusterName
1086
- * @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
1087
- * @param {*} [options] Override http request option.
1088
- * @throws {RequiredError}
1089
- */
1090
- async getDiagnosticsMysqlSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSpaceAnalysis>> {
1091
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlSpaceAnalysis(orgName, clusterName, databaseName, options);
1092
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1093
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1094
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1095
- },
1096
- /**
1097
- * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
1098
- * @summary Get PostgreSQL performance trends
1099
- * @param {string} orgName Organization name
1100
- * @param {string} clusterName Cluster name
1101
- * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
1102
- * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
1494
+ * @param {string} [index] Index name or pattern
1495
+ * @param {string} [node] Exact target node ID or name
1103
1496
  * @param {*} [options] Override http request option.
1104
1497
  * @throws {RequiredError}
1105
1498
  */
1106
- async getDiagnosticsPostgresqlPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
1107
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlPerformanceTrends(orgName, clusterName, range, step, options);
1108
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1109
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlPerformanceTrends']?.[localVarOperationServerIndex]?.url;
1110
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1499
+ listDiagnosticsElasticsearchRecoveries: async (orgName: string, clusterName: string, index?: string, node?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1500
+ // verify required parameter 'orgName' is not null or undefined
1501
+ assertParamExists('listDiagnosticsElasticsearchRecoveries', 'orgName', orgName)
1502
+ // verify required parameter 'clusterName' is not null or undefined
1503
+ assertParamExists('listDiagnosticsElasticsearchRecoveries', 'clusterName', clusterName)
1504
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/recoveries`
1505
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1506
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1509
+ let baseOptions;
1510
+ if (configuration) {
1511
+ baseOptions = configuration.baseOptions;
1512
+ }
1513
+
1514
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1515
+ const localVarHeaderParameter = {} as any;
1516
+ const localVarQueryParameter = {} as any;
1517
+
1518
+ // authentication BearerToken required
1519
+ // http bearer authentication required
1520
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1521
+
1522
+ // authentication DigestAuth required
1523
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1524
+
1525
+ if (index !== undefined) {
1526
+ localVarQueryParameter['index'] = index;
1527
+ }
1528
+
1529
+ if (node !== undefined) {
1530
+ localVarQueryParameter['node'] = node;
1531
+ }
1532
+
1533
+
1534
+
1535
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1536
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1537
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1538
+
1539
+ return {
1540
+ url: toPathString(localVarUrlObj),
1541
+ options: localVarRequestOptions,
1542
+ };
1111
1543
  },
1112
1544
  /**
1113
- * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
1114
- * @summary Get PostgreSQL SQL analysis
1115
- * @param {string} orgName Organization name
1116
- * @param {string} clusterName Cluster name
1117
- * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1118
- * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
1545
+ *
1546
+ * @summary List Elasticsearch shards
1547
+ * @param {string} orgName
1548
+ * @param {string} clusterName
1549
+ * @param {string} [index] Index name or pattern
1550
+ * @param {string} [node] Exact node ID or name
1551
+ * @param {ElasticsearchShardState} [state]
1119
1552
  * @param {*} [options] Override http request option.
1120
1553
  * @throws {RequiredError}
1121
1554
  */
1122
- async getDiagnosticsPostgresqlSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSQLAnalysis>> {
1123
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSQLAnalysis(orgName, clusterName, limit, orderBy, options);
1124
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1125
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSQLAnalysis']?.[localVarOperationServerIndex]?.url;
1126
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1127
- },
1128
- /**
1129
- * Get one PostgreSQL session basic diagnostics record by backend pid.
1130
- * @summary Get PostgreSQL session basic diagnostics
1131
- * @param {string} orgName Organization name
1132
- * @param {string} clusterName Cluster name
1133
- * @param {number} pid PostgreSQL backend process id.
1134
- * @param {*} [options] Override http request option.
1135
- * @throws {RequiredError}
1136
- */
1137
- async getDiagnosticsPostgresqlSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSession>> {
1138
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSession(orgName, clusterName, pid, options);
1139
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1140
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSession']?.[localVarOperationServerIndex]?.url;
1141
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1555
+ listDiagnosticsElasticsearchShards: async (orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1556
+ // verify required parameter 'orgName' is not null or undefined
1557
+ assertParamExists('listDiagnosticsElasticsearchShards', 'orgName', orgName)
1558
+ // verify required parameter 'clusterName' is not null or undefined
1559
+ assertParamExists('listDiagnosticsElasticsearchShards', 'clusterName', clusterName)
1560
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/shards`
1561
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1562
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1565
+ let baseOptions;
1566
+ if (configuration) {
1567
+ baseOptions = configuration.baseOptions;
1568
+ }
1569
+
1570
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1571
+ const localVarHeaderParameter = {} as any;
1572
+ const localVarQueryParameter = {} as any;
1573
+
1574
+ // authentication BearerToken required
1575
+ // http bearer authentication required
1576
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1577
+
1578
+ // authentication DigestAuth required
1579
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1580
+
1581
+ if (index !== undefined) {
1582
+ localVarQueryParameter['index'] = index;
1583
+ }
1584
+
1585
+ if (node !== undefined) {
1586
+ localVarQueryParameter['node'] = node;
1587
+ }
1588
+
1589
+ if (state !== undefined) {
1590
+ localVarQueryParameter['state'] = state;
1591
+ }
1592
+
1593
+
1594
+
1595
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1596
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1597
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1598
+
1599
+ return {
1600
+ url: toPathString(localVarUrlObj),
1601
+ options: localVarRequestOptions,
1602
+ };
1142
1603
  },
1143
1604
  /**
1144
- * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
1145
- * @summary Get PostgreSQL session lock analysis
1146
- * @param {string} orgName Organization name
1147
- * @param {string} clusterName Cluster name
1148
- * @param {number} pid PostgreSQL backend process id.
1605
+ *
1606
+ * @summary List Kingbase session diagnostics
1607
+ * @param {string} orgName
1608
+ * @param {string} clusterName
1609
+ * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1149
1610
  * @param {*} [options] Override http request option.
1150
1611
  * @throws {RequiredError}
1151
1612
  */
1152
- async getDiagnosticsPostgresqlSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlLockAnalysis>> {
1153
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSessionLockAnalysis(orgName, clusterName, pid, options);
1154
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1155
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
1156
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1613
+ listDiagnosticsKingbaseSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1614
+ // verify required parameter 'orgName' is not null or undefined
1615
+ assertParamExists('listDiagnosticsKingbaseSessions', 'orgName', orgName)
1616
+ // verify required parameter 'clusterName' is not null or undefined
1617
+ assertParamExists('listDiagnosticsKingbaseSessions', 'clusterName', clusterName)
1618
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions`
1619
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1620
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1621
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1622
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1623
+ let baseOptions;
1624
+ if (configuration) {
1625
+ baseOptions = configuration.baseOptions;
1626
+ }
1627
+
1628
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1629
+ const localVarHeaderParameter = {} as any;
1630
+ const localVarQueryParameter = {} as any;
1631
+
1632
+ // authentication BearerToken required
1633
+ // http bearer authentication required
1634
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1635
+
1636
+ // authentication DigestAuth required
1637
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1638
+
1639
+ if (limit !== undefined) {
1640
+ localVarQueryParameter['limit'] = limit;
1641
+ }
1642
+
1643
+
1644
+
1645
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1646
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1647
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1648
+
1649
+ return {
1650
+ url: toPathString(localVarUrlObj),
1651
+ options: localVarRequestOptions,
1652
+ };
1157
1653
  },
1158
1654
  /**
1159
- * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
1160
- * @summary Get PostgreSQL space analysis
1161
- * @param {string} orgName Organization name
1162
- * @param {string} clusterName Cluster name
1163
- * @param {string} [databaseName] Optional database name for selected table, index, and TOAST details. When omitted, the backend selects the largest connectable non-template database.
1655
+ *
1656
+ * @summary List SQL Server sessions
1657
+ * @param {string} orgName
1658
+ * @param {string} clusterName
1659
+ * @param {number} [limit]
1164
1660
  * @param {*} [options] Override http request option.
1165
1661
  * @throws {RequiredError}
1166
1662
  */
1167
- async getDiagnosticsPostgresqlSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSpaceAnalysis>> {
1168
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSpaceAnalysis(orgName, clusterName, databaseName, options);
1169
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1170
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1171
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1663
+ listDiagnosticsMssqlSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1664
+ // verify required parameter 'orgName' is not null or undefined
1665
+ assertParamExists('listDiagnosticsMssqlSessions', 'orgName', orgName)
1666
+ // verify required parameter 'clusterName' is not null or undefined
1667
+ assertParamExists('listDiagnosticsMssqlSessions', 'clusterName', clusterName)
1668
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mssql/sessions`
1669
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1670
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1671
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1672
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1673
+ let baseOptions;
1674
+ if (configuration) {
1675
+ baseOptions = configuration.baseOptions;
1676
+ }
1677
+
1678
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1679
+ const localVarHeaderParameter = {} as any;
1680
+ const localVarQueryParameter = {} as any;
1681
+
1682
+ // authentication BearerToken required
1683
+ // http bearer authentication required
1684
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1685
+
1686
+ // authentication DigestAuth required
1687
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1688
+
1689
+ if (limit !== undefined) {
1690
+ localVarQueryParameter['limit'] = limit;
1691
+ }
1692
+
1693
+
1694
+
1695
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1696
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1697
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1698
+
1699
+ return {
1700
+ url: toPathString(localVarUrlObj),
1701
+ options: localVarRequestOptions,
1702
+ };
1172
1703
  },
1173
1704
  /**
1174
- * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
1175
- * @summary List Dameng sessions
1705
+ * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
1706
+ * @summary List PostgreSQL session basic diagnostics
1176
1707
  * @param {string} orgName Organization name
1177
1708
  * @param {string} clusterName Cluster name
1178
- * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1179
- * @param {string} [state] Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
1709
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
1180
1710
  * @param {*} [options] Override http request option.
1181
1711
  * @throws {RequiredError}
1182
1712
  */
1183
- async listDiagnosticsDamengSessions(orgName: string, clusterName: string, limit?: number, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DamengSessionListItem>>> {
1184
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsDamengSessions(orgName, clusterName, limit, state, options);
1185
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1186
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsDamengSessions']?.[localVarOperationServerIndex]?.url;
1187
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1713
+ listDiagnosticsPostgresqlSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1714
+ // verify required parameter 'orgName' is not null or undefined
1715
+ assertParamExists('listDiagnosticsPostgresqlSessions', 'orgName', orgName)
1716
+ // verify required parameter 'clusterName' is not null or undefined
1717
+ assertParamExists('listDiagnosticsPostgresqlSessions', 'clusterName', clusterName)
1718
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions`
1719
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1720
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1723
+ let baseOptions;
1724
+ if (configuration) {
1725
+ baseOptions = configuration.baseOptions;
1726
+ }
1727
+
1728
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1729
+ const localVarHeaderParameter = {} as any;
1730
+ const localVarQueryParameter = {} as any;
1731
+
1732
+ // authentication BearerToken required
1733
+ // http bearer authentication required
1734
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1735
+
1736
+ // authentication DigestAuth required
1737
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1738
+
1739
+ if (limit !== undefined) {
1740
+ localVarQueryParameter['limit'] = limit;
1741
+ }
1742
+
1743
+
1744
+
1745
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1747
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1748
+
1749
+ return {
1750
+ url: toPathString(localVarUrlObj),
1751
+ options: localVarRequestOptions,
1752
+ };
1188
1753
  },
1754
+ }
1755
+ };
1756
+
1757
+ /**
1758
+ * DiagnosticsApi - functional programming interface
1759
+ * @export
1760
+ */
1761
+ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1762
+ const localVarAxiosParamCreator = DiagnosticsApiAxiosParamCreator(configuration)
1763
+ return {
1189
1764
  /**
1190
1765
  *
1191
- * @summary List Kingbase session diagnostics
1766
+ * @summary Explain Elasticsearch shard allocation
1192
1767
  * @param {string} orgName
1193
1768
  * @param {string} clusterName
1194
- * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1769
+ * @param {string} index
1770
+ * @param {number} shard
1771
+ * @param {boolean} primary
1772
+ * @param {string} [currentNode]
1195
1773
  * @param {*} [options] Override http request option.
1196
1774
  * @throws {RequiredError}
1197
1775
  */
1198
- async listDiagnosticsKingbaseSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseSessionList>> {
1199
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsKingbaseSessions(orgName, clusterName, limit, options);
1776
+ async explainDiagnosticsElasticsearchAllocation(orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchAllocationExplanation>> {
1777
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainDiagnosticsElasticsearchAllocation(orgName, clusterName, index, shard, primary, currentNode, options);
1200
1778
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1201
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsKingbaseSessions']?.[localVarOperationServerIndex]?.url;
1779
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.explainDiagnosticsElasticsearchAllocation']?.[localVarOperationServerIndex]?.url;
1202
1780
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1203
1781
  },
1204
1782
  /**
1205
- * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
1206
- * @summary List PostgreSQL session basic diagnostics
1783
+ * Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
1784
+ * @summary Explain PostgreSQL SQL fingerprint
1207
1785
  * @param {string} orgName Organization name
1208
1786
  * @param {string} clusterName Cluster name
1209
- * @param {number} [limit] Maximum number of sessions to return. Defaults to the backend limit when omitted.
1787
+ * @param {string} queryID PostgreSQL pg_stat_statements queryid represented as a string.
1788
+ * @param {string} database Database name from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
1789
+ * @param {string} user Database user from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
1790
+ * @param {boolean} topLevel Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
1791
+ * @param {string} [fingerprint] Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
1210
1792
  * @param {*} [options] Override http request option.
1211
1793
  * @throws {RequiredError}
1212
1794
  */
1213
- async listDiagnosticsPostgresqlSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PostgresqlSession>>> {
1214
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsPostgresqlSessions(orgName, clusterName, limit, options);
1795
+ async explainDiagnosticsPostgresqlSQLFingerprint(orgName: string, clusterName: string, queryID: string, database: string, user: string, topLevel: boolean, fingerprint?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSQLFingerprintExplainResponse>> {
1796
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainDiagnosticsPostgresqlSQLFingerprint(orgName, clusterName, queryID, database, user, topLevel, fingerprint, options);
1215
1797
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1216
- const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsPostgresqlSessions']?.[localVarOperationServerIndex]?.url;
1798
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.explainDiagnosticsPostgresqlSQLFingerprint']?.[localVarOperationServerIndex]?.url;
1217
1799
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1218
1800
  },
1219
- }
1220
- };
1221
-
1222
- /**
1223
- * DiagnosticsApi - factory interface
1224
- * @export
1225
- */
1226
- export const DiagnosticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1227
- const localVarFp = DiagnosticsApiFp(configuration)
1228
- return {
1229
1801
  /**
1230
1802
  * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
1231
1803
  * @summary Get Dameng SQL analysis
1232
- * @param {DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest} requestParameters Request parameters.
1804
+ * @param {string} orgName Organization name
1805
+ * @param {string} clusterName Cluster name
1806
+ * @param {number} [limit] Maximum number of SQL entries per category. Defaults to 20.
1233
1807
  * @param {*} [options] Override http request option.
1234
1808
  * @throws {RequiredError}
1235
1809
  */
1236
- getDiagnosticsDamengSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSQLAnalysis> {
1237
- return localVarFp.getDiagnosticsDamengSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
1810
+ async getDiagnosticsDamengSQLAnalysis(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSQLAnalysis>> {
1811
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSQLAnalysis(orgName, clusterName, limit, options);
1812
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1813
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSQLAnalysis']?.[localVarOperationServerIndex]?.url;
1814
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1238
1815
  },
1239
1816
  /**
1240
1817
  * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
1241
1818
  * @summary Get Dameng session detail
1242
- * @param {DiagnosticsApiGetDiagnosticsDamengSessionRequest} requestParameters Request parameters.
1819
+ * @param {string} orgName Organization name
1820
+ * @param {string} clusterName Cluster name
1821
+ * @param {number} sessionId Dameng session ID (SESS_ID)
1243
1822
  * @param {*} [options] Override http request option.
1244
1823
  * @throws {RequiredError}
1245
1824
  */
1246
- getDiagnosticsDamengSession(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSessionDetail> {
1247
- return localVarFp.getDiagnosticsDamengSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, options).then((request) => request(axios, basePath));
1248
- },
1249
- /**
1250
- * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
1825
+ async getDiagnosticsDamengSession(orgName: string, clusterName: string, sessionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSessionDetail>> {
1826
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSession(orgName, clusterName, sessionId, options);
1827
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1828
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSession']?.[localVarOperationServerIndex]?.url;
1829
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1830
+ },
1831
+ /**
1832
+ * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
1251
1833
  * @summary Get Dameng session lock analysis
1252
- * @param {DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest} requestParameters Request parameters.
1834
+ * @param {string} orgName Organization name
1835
+ * @param {string} clusterName Cluster name
1836
+ * @param {number} sessionId Dameng session ID (SESS_ID)
1253
1837
  * @param {*} [options] Override http request option.
1254
1838
  * @throws {RequiredError}
1255
1839
  */
1256
- getDiagnosticsDamengSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengLockAnalysis> {
1257
- return localVarFp.getDiagnosticsDamengSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, options).then((request) => request(axios, basePath));
1840
+ async getDiagnosticsDamengSessionLockAnalysis(orgName: string, clusterName: string, sessionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengLockAnalysis>> {
1841
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSessionLockAnalysis(orgName, clusterName, sessionId, options);
1842
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1843
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
1844
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1258
1845
  },
1259
1846
  /**
1260
1847
  * Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
1261
1848
  * @summary Get Dameng space analysis
1262
- * @param {DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest} requestParameters Request parameters.
1849
+ * @param {string} orgName Organization name
1850
+ * @param {string} clusterName Cluster name
1851
+ * @param {number} [tableLimit] Maximum number of top tables to return (0 or omitted &#x3D; not collected)
1852
+ * @param {number} [indexLimit] Maximum number of top indexes to return (0 or omitted &#x3D; not collected)
1853
+ * @param {string} [schema] Filter tables and indexes by schema (owner). Omit or empty &#x3D; all schemas.
1854
+ * @param {boolean} [skipBasic] Set to true to skip tablespace and schema queries, returning only tables and indexes.
1263
1855
  * @param {*} [options] Override http request option.
1264
1856
  * @throws {RequiredError}
1265
1857
  */
1266
- getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis> {
1267
- return localVarFp.getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(axios, basePath));
1858
+ async getDiagnosticsDamengSpaceAnalysis(orgName: string, clusterName: string, tableLimit?: number, indexLimit?: number, schema?: string, skipBasic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSpaceAnalysis>> {
1859
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSpaceAnalysis(orgName, clusterName, tableLimit, indexLimit, schema, skipBasic, options);
1860
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1861
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1862
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1863
+ },
1864
+ /**
1865
+ *
1866
+ * @summary Get Elasticsearch storage and index analysis
1867
+ * @param {string} orgName
1868
+ * @param {string} clusterName
1869
+ * @param {string} [node]
1870
+ * @param {string} [index]
1871
+ * @param {ElasticsearchIndexSortBy} [sortBy]
1872
+ * @param {ElasticsearchSortOrder} [sortOrder]
1873
+ * @param {*} [options] Override http request option.
1874
+ * @throws {RequiredError}
1875
+ */
1876
+ async getDiagnosticsElasticsearchStorageAnalysis(orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchStorageAnalysis>> {
1877
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchStorageAnalysis(orgName, clusterName, node, index, sortBy, sortOrder, options);
1878
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1879
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchStorageAnalysis']?.[localVarOperationServerIndex]?.url;
1880
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1881
+ },
1882
+ /**
1883
+ *
1884
+ * @summary Get Elasticsearch task and hot-thread analysis
1885
+ * @param {string} orgName
1886
+ * @param {string} clusterName
1887
+ * @param {ElasticsearchHotThreadsType} [type]
1888
+ * @param {string} [node]
1889
+ * @param {number} [taskLimit]
1890
+ * @param {number} [threads]
1891
+ * @param {*} [options] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ */
1894
+ async getDiagnosticsElasticsearchTaskAnalysis(orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchTaskAnalysis>> {
1895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchTaskAnalysis(orgName, clusterName, type, node, taskLimit, threads, options);
1896
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1897
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchTaskAnalysis']?.[localVarOperationServerIndex]?.url;
1898
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1268
1899
  },
1269
1900
  /**
1270
1901
  *
1271
1902
  * @summary Get Kingbase session diagnostics
1272
- * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionRequest} requestParameters Request parameters.
1903
+ * @param {string} orgName
1904
+ * @param {string} clusterName
1905
+ * @param {number} pid
1273
1906
  * @param {*} [options] Override http request option.
1274
1907
  * @throws {RequiredError}
1275
1908
  */
1276
- getDiagnosticsKingbaseSession(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionDetail> {
1277
- return localVarFp.getDiagnosticsKingbaseSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
1909
+ async getDiagnosticsKingbaseSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseSessionDetail>> {
1910
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbaseSession(orgName, clusterName, pid, options);
1911
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1912
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbaseSession']?.[localVarOperationServerIndex]?.url;
1913
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1278
1914
  },
1279
1915
  /**
1280
1916
  * Returns the selected session and its direct lock rows from the current snapshot.
1281
1917
  * @summary Get Kingbase session lock analysis
1282
- * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest} requestParameters Request parameters.
1918
+ * @param {string} orgName
1919
+ * @param {string} clusterName
1920
+ * @param {number} pid
1283
1921
  * @param {*} [options] Override http request option.
1284
1922
  * @throws {RequiredError}
1285
1923
  */
1286
- getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis> {
1287
- return localVarFp.getDiagnosticsKingbaseSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
1924
+ async getDiagnosticsKingbaseSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseLockAnalysis>> {
1925
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsKingbaseSessionLockAnalysis(orgName, clusterName, pid, options);
1926
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1927
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbaseSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
1928
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1929
+ },
1930
+ /**
1931
+ * Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
1932
+ * @summary Get MariaDB performance trends
1933
+ * @param {string} orgName Organization name
1934
+ * @param {string} clusterName Cluster name
1935
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
1936
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
1937
+ * @param {*} [options] Override http request option.
1938
+ * @throws {RequiredError}
1939
+ */
1940
+ async getDiagnosticsMariaDBPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
1941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBPerformanceTrends(orgName, clusterName, range, step, options);
1942
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1943
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBPerformanceTrends']?.[localVarOperationServerIndex]?.url;
1944
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1945
+ },
1946
+ /**
1947
+ * Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
1948
+ * @summary Get MariaDB SQL analysis
1949
+ * @param {string} orgName Organization name
1950
+ * @param {string} clusterName Cluster name
1951
+ * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1952
+ * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
1953
+ * @param {*} [options] Override http request option.
1954
+ * @throws {RequiredError}
1955
+ */
1956
+ async getDiagnosticsMariaDBSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSQLAnalysis>> {
1957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBSQLAnalysis(orgName, clusterName, limit, orderBy, options);
1958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1959
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBSQLAnalysis']?.[localVarOperationServerIndex]?.url;
1960
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1961
+ },
1962
+ /**
1963
+ * Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
1964
+ * @summary Get MariaDB space analysis
1965
+ * @param {string} orgName
1966
+ * @param {string} clusterName
1967
+ * @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
1968
+ * @param {*} [options] Override http request option.
1969
+ * @throws {RequiredError}
1970
+ */
1971
+ async getDiagnosticsMariaDBSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSpaceAnalysis>> {
1972
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBSpaceAnalysis(orgName, clusterName, databaseName, options);
1973
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1974
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1975
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1976
+ },
1977
+ /**
1978
+ *
1979
+ * @summary Get a SQL Server session
1980
+ * @param {string} orgName
1981
+ * @param {string} clusterName
1982
+ * @param {number} sessionId
1983
+ * @param {string} startedAt
1984
+ * @param {*} [options] Override http request option.
1985
+ * @throws {RequiredError}
1986
+ */
1987
+ async getDiagnosticsMssqlSession(orgName: string, clusterName: string, sessionId: number, startedAt: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MssqlSession>> {
1988
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMssqlSession(orgName, clusterName, sessionId, startedAt, options);
1989
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1990
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMssqlSession']?.[localVarOperationServerIndex]?.url;
1991
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1992
+ },
1993
+ /**
1994
+ *
1995
+ * @summary Read the cached compiled plan of a live SQL Server request
1996
+ * @param {string} orgName
1997
+ * @param {string} clusterName
1998
+ * @param {number} sessionId
1999
+ * @param {string} startedAt
2000
+ * @param {number} requestId
2001
+ * @param {string} requestStart
2002
+ * @param {*} [options] Override http request option.
2003
+ * @throws {RequiredError}
2004
+ */
2005
+ async getDiagnosticsMssqlSessionCachedPlan(orgName: string, clusterName: string, sessionId: number, startedAt: string, requestId: number, requestStart: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MssqlCachedPlan>> {
2006
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMssqlSessionCachedPlan(orgName, clusterName, sessionId, startedAt, requestId, requestStart, options);
2007
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2008
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMssqlSessionCachedPlan']?.[localVarOperationServerIndex]?.url;
2009
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2010
+ },
2011
+ /**
2012
+ *
2013
+ * @summary Get SQL Server blocking and locks
2014
+ * @param {string} orgName
2015
+ * @param {string} clusterName
2016
+ * @param {number} sessionId
2017
+ * @param {string} startedAt
2018
+ * @param {*} [options] Override http request option.
2019
+ * @throws {RequiredError}
2020
+ */
2021
+ async getDiagnosticsMssqlSessionLockAnalysis(orgName: string, clusterName: string, sessionId: number, startedAt: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MssqlLockSnapshot>> {
2022
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMssqlSessionLockAnalysis(orgName, clusterName, sessionId, startedAt, options);
2023
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2024
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMssqlSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
2025
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1288
2026
  },
1289
2027
  /**
1290
2028
  * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
1291
2029
  * @summary Get MySQL performance trends
1292
- * @param {DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest} requestParameters Request parameters.
2030
+ * @param {string} orgName Organization name
2031
+ * @param {string} clusterName Cluster name
2032
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
2033
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
1293
2034
  * @param {*} [options] Override http request option.
1294
2035
  * @throws {RequiredError}
1295
2036
  */
1296
- getDiagnosticsMysqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
1297
- return localVarFp.getDiagnosticsMysqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2037
+ async getDiagnosticsMysqlPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
2038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlPerformanceTrends(orgName, clusterName, range, step, options);
2039
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2040
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlPerformanceTrends']?.[localVarOperationServerIndex]?.url;
2041
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1298
2042
  },
1299
2043
  /**
1300
2044
  * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
1301
2045
  * @summary Get MySQL SQL analysis
1302
- * @param {DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest} requestParameters Request parameters.
2046
+ * @param {string} orgName Organization name
2047
+ * @param {string} clusterName Cluster name
2048
+ * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
2049
+ * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
1303
2050
  * @param {*} [options] Override http request option.
1304
2051
  * @throws {RequiredError}
1305
2052
  */
1306
- getDiagnosticsMysqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis> {
1307
- return localVarFp.getDiagnosticsMysqlSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
2053
+ async getDiagnosticsMysqlSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSQLAnalysis>> {
2054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlSQLAnalysis(orgName, clusterName, limit, orderBy, options);
2055
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2056
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlSQLAnalysis']?.[localVarOperationServerIndex]?.url;
2057
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1308
2058
  },
1309
2059
  /**
1310
2060
  * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
1311
2061
  * @summary Get MySQL space analysis
1312
- * @param {DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest} requestParameters Request parameters.
2062
+ * @param {string} orgName
2063
+ * @param {string} clusterName
2064
+ * @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
1313
2065
  * @param {*} [options] Override http request option.
1314
2066
  * @throws {RequiredError}
1315
2067
  */
1316
- getDiagnosticsMysqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis> {
1317
- return localVarFp.getDiagnosticsMysqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
2068
+ async getDiagnosticsMysqlSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSpaceAnalysis>> {
2069
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMysqlSpaceAnalysis(orgName, clusterName, databaseName, options);
2070
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2071
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMysqlSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
2072
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1318
2073
  },
1319
2074
  /**
1320
2075
  * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
1321
2076
  * @summary Get PostgreSQL performance trends
1322
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
2077
+ * @param {string} orgName Organization name
2078
+ * @param {string} clusterName Cluster name
2079
+ * @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
2080
+ * @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h. Defaults to 1m for 1h, 5m for 6h, 15m for 24h, and 1h for 7d.
1323
2081
  * @param {*} [options] Override http request option.
1324
2082
  * @throws {RequiredError}
1325
2083
  */
1326
- getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
1327
- return localVarFp.getDiagnosticsPostgresqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2084
+ async getDiagnosticsPostgresqlPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
2085
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlPerformanceTrends(orgName, clusterName, range, step, options);
2086
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2087
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlPerformanceTrends']?.[localVarOperationServerIndex]?.url;
2088
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1328
2089
  },
1329
2090
  /**
1330
2091
  * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
1331
2092
  * @summary Get PostgreSQL SQL analysis
1332
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest} requestParameters Request parameters.
2093
+ * @param {string} orgName Organization name
2094
+ * @param {string} clusterName Cluster name
2095
+ * @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
2096
+ * @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
1333
2097
  * @param {*} [options] Override http request option.
1334
2098
  * @throws {RequiredError}
1335
2099
  */
1336
- getDiagnosticsPostgresqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLAnalysis> {
1337
- return localVarFp.getDiagnosticsPostgresqlSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
2100
+ async getDiagnosticsPostgresqlSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSQLAnalysis>> {
2101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSQLAnalysis(orgName, clusterName, limit, orderBy, options);
2102
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2103
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSQLAnalysis']?.[localVarOperationServerIndex]?.url;
2104
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1338
2105
  },
1339
2106
  /**
1340
2107
  * Get one PostgreSQL session basic diagnostics record by backend pid.
1341
2108
  * @summary Get PostgreSQL session basic diagnostics
1342
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
2109
+ * @param {string} orgName Organization name
2110
+ * @param {string} clusterName Cluster name
2111
+ * @param {number} pid PostgreSQL backend process id.
1343
2112
  * @param {*} [options] Override http request option.
1344
2113
  * @throws {RequiredError}
1345
2114
  */
1346
- getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession> {
1347
- return localVarFp.getDiagnosticsPostgresqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2115
+ async getDiagnosticsPostgresqlSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSession>> {
2116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSession(orgName, clusterName, pid, options);
2117
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2118
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSession']?.[localVarOperationServerIndex]?.url;
2119
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1348
2120
  },
1349
2121
  /**
1350
2122
  * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
1351
2123
  * @summary Get PostgreSQL session lock analysis
1352
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
2124
+ * @param {string} orgName Organization name
2125
+ * @param {string} clusterName Cluster name
2126
+ * @param {number} pid PostgreSQL backend process id.
1353
2127
  * @param {*} [options] Override http request option.
1354
2128
  * @throws {RequiredError}
1355
2129
  */
1356
- getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis> {
1357
- return localVarFp.getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2130
+ async getDiagnosticsPostgresqlSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlLockAnalysis>> {
2131
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSessionLockAnalysis(orgName, clusterName, pid, options);
2132
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2133
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
2134
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1358
2135
  },
1359
2136
  /**
1360
2137
  * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
1361
2138
  * @summary Get PostgreSQL space analysis
1362
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
2139
+ * @param {string} orgName Organization name
2140
+ * @param {string} clusterName Cluster name
2141
+ * @param {string} [databaseName] Optional database name for selected table, index, and TOAST details. When omitted, the backend selects the largest connectable non-template database.
1363
2142
  * @param {*} [options] Override http request option.
1364
2143
  * @throws {RequiredError}
1365
2144
  */
1366
- getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis> {
1367
- return localVarFp.getDiagnosticsPostgresqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
2145
+ async getDiagnosticsPostgresqlSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSpaceAnalysis>> {
2146
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSpaceAnalysis(orgName, clusterName, databaseName, options);
2147
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2148
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
2149
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1368
2150
  },
1369
2151
  /**
1370
2152
  * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
1371
2153
  * @summary List Dameng sessions
1372
- * @param {DiagnosticsApiListDiagnosticsDamengSessionsRequest} requestParameters Request parameters.
2154
+ * @param {string} orgName Organization name
2155
+ * @param {string} clusterName Cluster name
2156
+ * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
2157
+ * @param {string} [state] Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
1373
2158
  * @param {*} [options] Override http request option.
1374
2159
  * @throws {RequiredError}
1375
2160
  */
1376
- listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>> {
1377
- return localVarFp.listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(axios, basePath));
2161
+ async listDiagnosticsDamengSessions(orgName: string, clusterName: string, limit?: number, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DamengSessionListItem>>> {
2162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsDamengSessions(orgName, clusterName, limit, state, options);
2163
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2164
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsDamengSessions']?.[localVarOperationServerIndex]?.url;
2165
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1378
2166
  },
1379
2167
  /**
1380
2168
  *
1381
- * @summary List Kingbase session diagnostics
1382
- * @param {DiagnosticsApiListDiagnosticsKingbaseSessionsRequest} requestParameters Request parameters.
2169
+ * @summary List active Elasticsearch shard recoveries
2170
+ * @param {string} orgName
2171
+ * @param {string} clusterName
2172
+ * @param {string} [index] Index name or pattern
2173
+ * @param {string} [node] Exact target node ID or name
1383
2174
  * @param {*} [options] Override http request option.
1384
2175
  * @throws {RequiredError}
1385
2176
  */
1386
- listDiagnosticsKingbaseSessions(requestParameters: DiagnosticsApiListDiagnosticsKingbaseSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionList> {
1387
- return localVarFp.listDiagnosticsKingbaseSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2177
+ async listDiagnosticsElasticsearchRecoveries(orgName: string, clusterName: string, index?: string, node?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchRecoveryList>> {
2178
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchRecoveries(orgName, clusterName, index, node, options);
2179
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2180
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchRecoveries']?.[localVarOperationServerIndex]?.url;
2181
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1388
2182
  },
1389
2183
  /**
1390
- * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
1391
- * @summary List PostgreSQL session basic diagnostics
1392
- * @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
2184
+ *
2185
+ * @summary List Elasticsearch shards
2186
+ * @param {string} orgName
2187
+ * @param {string} clusterName
2188
+ * @param {string} [index] Index name or pattern
2189
+ * @param {string} [node] Exact node ID or name
2190
+ * @param {ElasticsearchShardState} [state]
1393
2191
  * @param {*} [options] Override http request option.
1394
2192
  * @throws {RequiredError}
1395
2193
  */
1396
- listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>> {
1397
- return localVarFp.listDiagnosticsPostgresqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2194
+ async listDiagnosticsElasticsearchShards(orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchShardList>> {
2195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchShards(orgName, clusterName, index, node, state, options);
2196
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2197
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchShards']?.[localVarOperationServerIndex]?.url;
2198
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1398
2199
  },
1399
- };
2200
+ /**
2201
+ *
2202
+ * @summary List Kingbase session diagnostics
2203
+ * @param {string} orgName
2204
+ * @param {string} clusterName
2205
+ * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
2206
+ * @param {*} [options] Override http request option.
2207
+ * @throws {RequiredError}
2208
+ */
2209
+ async listDiagnosticsKingbaseSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KingbaseSessionList>> {
2210
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsKingbaseSessions(orgName, clusterName, limit, options);
2211
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2212
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsKingbaseSessions']?.[localVarOperationServerIndex]?.url;
2213
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2214
+ },
2215
+ /**
2216
+ *
2217
+ * @summary List SQL Server sessions
2218
+ * @param {string} orgName
2219
+ * @param {string} clusterName
2220
+ * @param {number} [limit]
2221
+ * @param {*} [options] Override http request option.
2222
+ * @throws {RequiredError}
2223
+ */
2224
+ async listDiagnosticsMssqlSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MssqlSessionSnapshot>> {
2225
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsMssqlSessions(orgName, clusterName, limit, options);
2226
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2227
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsMssqlSessions']?.[localVarOperationServerIndex]?.url;
2228
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2229
+ },
2230
+ /**
2231
+ * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
2232
+ * @summary List PostgreSQL session basic diagnostics
2233
+ * @param {string} orgName Organization name
2234
+ * @param {string} clusterName Cluster name
2235
+ * @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ async listDiagnosticsPostgresqlSessions(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PostgresqlSession>>> {
2240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsPostgresqlSessions(orgName, clusterName, limit, options);
2241
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2242
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsPostgresqlSessions']?.[localVarOperationServerIndex]?.url;
2243
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2244
+ },
2245
+ }
1400
2246
  };
1401
2247
 
1402
2248
  /**
1403
- * DiagnosticsApi - interface
2249
+ * DiagnosticsApi - factory interface
2250
+ * @export
2251
+ */
2252
+ export const DiagnosticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2253
+ const localVarFp = DiagnosticsApiFp(configuration)
2254
+ return {
2255
+ /**
2256
+ *
2257
+ * @summary Explain Elasticsearch shard allocation
2258
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
2259
+ * @param {*} [options] Override http request option.
2260
+ * @throws {RequiredError}
2261
+ */
2262
+ explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation> {
2263
+ return localVarFp.explainDiagnosticsElasticsearchAllocation(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.shard, requestParameters.primary, requestParameters.currentNode, options).then((request) => request(axios, basePath));
2264
+ },
2265
+ /**
2266
+ * Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
2267
+ * @summary Explain PostgreSQL SQL fingerprint
2268
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
2269
+ * @param {*} [options] Override http request option.
2270
+ * @throws {RequiredError}
2271
+ */
2272
+ explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLFingerprintExplainResponse> {
2273
+ return localVarFp.explainDiagnosticsPostgresqlSQLFingerprint(requestParameters.orgName, requestParameters.clusterName, requestParameters.queryID, requestParameters.database, requestParameters.user, requestParameters.topLevel, requestParameters.fingerprint, options).then((request) => request(axios, basePath));
2274
+ },
2275
+ /**
2276
+ * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
2277
+ * @summary Get Dameng SQL analysis
2278
+ * @param {DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest} requestParameters Request parameters.
2279
+ * @param {*} [options] Override http request option.
2280
+ * @throws {RequiredError}
2281
+ */
2282
+ getDiagnosticsDamengSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSQLAnalysis> {
2283
+ return localVarFp.getDiagnosticsDamengSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2284
+ },
2285
+ /**
2286
+ * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
2287
+ * @summary Get Dameng session detail
2288
+ * @param {DiagnosticsApiGetDiagnosticsDamengSessionRequest} requestParameters Request parameters.
2289
+ * @param {*} [options] Override http request option.
2290
+ * @throws {RequiredError}
2291
+ */
2292
+ getDiagnosticsDamengSession(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSessionDetail> {
2293
+ return localVarFp.getDiagnosticsDamengSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, options).then((request) => request(axios, basePath));
2294
+ },
2295
+ /**
2296
+ * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
2297
+ * @summary Get Dameng session lock analysis
2298
+ * @param {DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest} requestParameters Request parameters.
2299
+ * @param {*} [options] Override http request option.
2300
+ * @throws {RequiredError}
2301
+ */
2302
+ getDiagnosticsDamengSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengLockAnalysis> {
2303
+ return localVarFp.getDiagnosticsDamengSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, options).then((request) => request(axios, basePath));
2304
+ },
2305
+ /**
2306
+ * Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
2307
+ * @summary Get Dameng space analysis
2308
+ * @param {DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest} requestParameters Request parameters.
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis> {
2313
+ return localVarFp.getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(axios, basePath));
2314
+ },
2315
+ /**
2316
+ *
2317
+ * @summary Get Elasticsearch storage and index analysis
2318
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
2319
+ * @param {*} [options] Override http request option.
2320
+ * @throws {RequiredError}
2321
+ */
2322
+ getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis> {
2323
+ return localVarFp.getDiagnosticsElasticsearchStorageAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.node, requestParameters.index, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
2324
+ },
2325
+ /**
2326
+ *
2327
+ * @summary Get Elasticsearch task and hot-thread analysis
2328
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
2329
+ * @param {*} [options] Override http request option.
2330
+ * @throws {RequiredError}
2331
+ */
2332
+ getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis> {
2333
+ return localVarFp.getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(axios, basePath));
2334
+ },
2335
+ /**
2336
+ *
2337
+ * @summary Get Kingbase session diagnostics
2338
+ * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionRequest} requestParameters Request parameters.
2339
+ * @param {*} [options] Override http request option.
2340
+ * @throws {RequiredError}
2341
+ */
2342
+ getDiagnosticsKingbaseSession(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionDetail> {
2343
+ return localVarFp.getDiagnosticsKingbaseSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2344
+ },
2345
+ /**
2346
+ * Returns the selected session and its direct lock rows from the current snapshot.
2347
+ * @summary Get Kingbase session lock analysis
2348
+ * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest} requestParameters Request parameters.
2349
+ * @param {*} [options] Override http request option.
2350
+ * @throws {RequiredError}
2351
+ */
2352
+ getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis> {
2353
+ return localVarFp.getDiagnosticsKingbaseSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2354
+ },
2355
+ /**
2356
+ * Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
2357
+ * @summary Get MariaDB performance trends
2358
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
2359
+ * @param {*} [options] Override http request option.
2360
+ * @throws {RequiredError}
2361
+ */
2362
+ getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
2363
+ return localVarFp.getDiagnosticsMariaDBPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2364
+ },
2365
+ /**
2366
+ * Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
2367
+ * @summary Get MariaDB SQL analysis
2368
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
2369
+ * @param {*} [options] Override http request option.
2370
+ * @throws {RequiredError}
2371
+ */
2372
+ getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis> {
2373
+ return localVarFp.getDiagnosticsMariaDBSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
2374
+ },
2375
+ /**
2376
+ * Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
2377
+ * @summary Get MariaDB space analysis
2378
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis> {
2383
+ return localVarFp.getDiagnosticsMariaDBSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
2384
+ },
2385
+ /**
2386
+ *
2387
+ * @summary Get a SQL Server session
2388
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionRequest} requestParameters Request parameters.
2389
+ * @param {*} [options] Override http request option.
2390
+ * @throws {RequiredError}
2391
+ */
2392
+ getDiagnosticsMssqlSession(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlSession> {
2393
+ return localVarFp.getDiagnosticsMssqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, options).then((request) => request(axios, basePath));
2394
+ },
2395
+ /**
2396
+ *
2397
+ * @summary Read the cached compiled plan of a live SQL Server request
2398
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest} requestParameters Request parameters.
2399
+ * @param {*} [options] Override http request option.
2400
+ * @throws {RequiredError}
2401
+ */
2402
+ getDiagnosticsMssqlSessionCachedPlan(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlCachedPlan> {
2403
+ return localVarFp.getDiagnosticsMssqlSessionCachedPlan(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, requestParameters.requestId, requestParameters.requestStart, options).then((request) => request(axios, basePath));
2404
+ },
2405
+ /**
2406
+ *
2407
+ * @summary Get SQL Server blocking and locks
2408
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest} requestParameters Request parameters.
2409
+ * @param {*} [options] Override http request option.
2410
+ * @throws {RequiredError}
2411
+ */
2412
+ getDiagnosticsMssqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlLockSnapshot> {
2413
+ return localVarFp.getDiagnosticsMssqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, options).then((request) => request(axios, basePath));
2414
+ },
2415
+ /**
2416
+ * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
2417
+ * @summary Get MySQL performance trends
2418
+ * @param {DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest} requestParameters Request parameters.
2419
+ * @param {*} [options] Override http request option.
2420
+ * @throws {RequiredError}
2421
+ */
2422
+ getDiagnosticsMysqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
2423
+ return localVarFp.getDiagnosticsMysqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2424
+ },
2425
+ /**
2426
+ * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
2427
+ * @summary Get MySQL SQL analysis
2428
+ * @param {DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest} requestParameters Request parameters.
2429
+ * @param {*} [options] Override http request option.
2430
+ * @throws {RequiredError}
2431
+ */
2432
+ getDiagnosticsMysqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis> {
2433
+ return localVarFp.getDiagnosticsMysqlSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
2434
+ },
2435
+ /**
2436
+ * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
2437
+ * @summary Get MySQL space analysis
2438
+ * @param {DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest} requestParameters Request parameters.
2439
+ * @param {*} [options] Override http request option.
2440
+ * @throws {RequiredError}
2441
+ */
2442
+ getDiagnosticsMysqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis> {
2443
+ return localVarFp.getDiagnosticsMysqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
2444
+ },
2445
+ /**
2446
+ * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
2447
+ * @summary Get PostgreSQL performance trends
2448
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
2449
+ * @param {*} [options] Override http request option.
2450
+ * @throws {RequiredError}
2451
+ */
2452
+ getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
2453
+ return localVarFp.getDiagnosticsPostgresqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
2454
+ },
2455
+ /**
2456
+ * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
2457
+ * @summary Get PostgreSQL SQL analysis
2458
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest} requestParameters Request parameters.
2459
+ * @param {*} [options] Override http request option.
2460
+ * @throws {RequiredError}
2461
+ */
2462
+ getDiagnosticsPostgresqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLAnalysis> {
2463
+ return localVarFp.getDiagnosticsPostgresqlSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
2464
+ },
2465
+ /**
2466
+ * Get one PostgreSQL session basic diagnostics record by backend pid.
2467
+ * @summary Get PostgreSQL session basic diagnostics
2468
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
2469
+ * @param {*} [options] Override http request option.
2470
+ * @throws {RequiredError}
2471
+ */
2472
+ getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession> {
2473
+ return localVarFp.getDiagnosticsPostgresqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2474
+ },
2475
+ /**
2476
+ * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
2477
+ * @summary Get PostgreSQL session lock analysis
2478
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
2479
+ * @param {*} [options] Override http request option.
2480
+ * @throws {RequiredError}
2481
+ */
2482
+ getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis> {
2483
+ return localVarFp.getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
2484
+ },
2485
+ /**
2486
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
2487
+ * @summary Get PostgreSQL space analysis
2488
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
2489
+ * @param {*} [options] Override http request option.
2490
+ * @throws {RequiredError}
2491
+ */
2492
+ getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis> {
2493
+ return localVarFp.getDiagnosticsPostgresqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
2494
+ },
2495
+ /**
2496
+ * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
2497
+ * @summary List Dameng sessions
2498
+ * @param {DiagnosticsApiListDiagnosticsDamengSessionsRequest} requestParameters Request parameters.
2499
+ * @param {*} [options] Override http request option.
2500
+ * @throws {RequiredError}
2501
+ */
2502
+ listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>> {
2503
+ return localVarFp.listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(axios, basePath));
2504
+ },
2505
+ /**
2506
+ *
2507
+ * @summary List active Elasticsearch shard recoveries
2508
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList> {
2513
+ return localVarFp.listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(axios, basePath));
2514
+ },
2515
+ /**
2516
+ *
2517
+ * @summary List Elasticsearch shards
2518
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
2519
+ * @param {*} [options] Override http request option.
2520
+ * @throws {RequiredError}
2521
+ */
2522
+ listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList> {
2523
+ return localVarFp.listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(axios, basePath));
2524
+ },
2525
+ /**
2526
+ *
2527
+ * @summary List Kingbase session diagnostics
2528
+ * @param {DiagnosticsApiListDiagnosticsKingbaseSessionsRequest} requestParameters Request parameters.
2529
+ * @param {*} [options] Override http request option.
2530
+ * @throws {RequiredError}
2531
+ */
2532
+ listDiagnosticsKingbaseSessions(requestParameters: DiagnosticsApiListDiagnosticsKingbaseSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionList> {
2533
+ return localVarFp.listDiagnosticsKingbaseSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2534
+ },
2535
+ /**
2536
+ *
2537
+ * @summary List SQL Server sessions
2538
+ * @param {DiagnosticsApiListDiagnosticsMssqlSessionsRequest} requestParameters Request parameters.
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ listDiagnosticsMssqlSessions(requestParameters: DiagnosticsApiListDiagnosticsMssqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlSessionSnapshot> {
2543
+ return localVarFp.listDiagnosticsMssqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2544
+ },
2545
+ /**
2546
+ * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
2547
+ * @summary List PostgreSQL session basic diagnostics
2548
+ * @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
2549
+ * @param {*} [options] Override http request option.
2550
+ * @throws {RequiredError}
2551
+ */
2552
+ listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>> {
2553
+ return localVarFp.listDiagnosticsPostgresqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2554
+ },
2555
+ };
2556
+ };
2557
+
2558
+ /**
2559
+ * DiagnosticsApi - interface
2560
+ * @export
2561
+ * @interface DiagnosticsApi
2562
+ */
2563
+ export interface DiagnosticsApiInterface {
2564
+ /**
2565
+ *
2566
+ * @summary Explain Elasticsearch shard allocation
2567
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
2568
+ * @param {*} [options] Override http request option.
2569
+ * @throws {RequiredError}
2570
+ * @memberof DiagnosticsApiInterface
2571
+ */
2572
+ explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation>;
2573
+
2574
+ /**
2575
+ * Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
2576
+ * @summary Explain PostgreSQL SQL fingerprint
2577
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ * @memberof DiagnosticsApiInterface
2581
+ */
2582
+ explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLFingerprintExplainResponse>;
2583
+
2584
+ /**
2585
+ * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
2586
+ * @summary Get Dameng SQL analysis
2587
+ * @param {DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest} requestParameters Request parameters.
2588
+ * @param {*} [options] Override http request option.
2589
+ * @throws {RequiredError}
2590
+ * @memberof DiagnosticsApiInterface
2591
+ */
2592
+ getDiagnosticsDamengSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSQLAnalysis>;
2593
+
2594
+ /**
2595
+ * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
2596
+ * @summary Get Dameng session detail
2597
+ * @param {DiagnosticsApiGetDiagnosticsDamengSessionRequest} requestParameters Request parameters.
2598
+ * @param {*} [options] Override http request option.
2599
+ * @throws {RequiredError}
2600
+ * @memberof DiagnosticsApiInterface
2601
+ */
2602
+ getDiagnosticsDamengSession(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSessionDetail>;
2603
+
2604
+ /**
2605
+ * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
2606
+ * @summary Get Dameng session lock analysis
2607
+ * @param {DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest} requestParameters Request parameters.
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ * @memberof DiagnosticsApiInterface
2611
+ */
2612
+ getDiagnosticsDamengSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengLockAnalysis>;
2613
+
2614
+ /**
2615
+ * Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
2616
+ * @summary Get Dameng space analysis
2617
+ * @param {DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest} requestParameters Request parameters.
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ * @memberof DiagnosticsApiInterface
2621
+ */
2622
+ getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis>;
2623
+
2624
+ /**
2625
+ *
2626
+ * @summary Get Elasticsearch storage and index analysis
2627
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
2628
+ * @param {*} [options] Override http request option.
2629
+ * @throws {RequiredError}
2630
+ * @memberof DiagnosticsApiInterface
2631
+ */
2632
+ getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis>;
2633
+
2634
+ /**
2635
+ *
2636
+ * @summary Get Elasticsearch task and hot-thread analysis
2637
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
2638
+ * @param {*} [options] Override http request option.
2639
+ * @throws {RequiredError}
2640
+ * @memberof DiagnosticsApiInterface
2641
+ */
2642
+ getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis>;
2643
+
2644
+ /**
2645
+ *
2646
+ * @summary Get Kingbase session diagnostics
2647
+ * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionRequest} requestParameters Request parameters.
2648
+ * @param {*} [options] Override http request option.
2649
+ * @throws {RequiredError}
2650
+ * @memberof DiagnosticsApiInterface
2651
+ */
2652
+ getDiagnosticsKingbaseSession(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionDetail>;
2653
+
2654
+ /**
2655
+ * Returns the selected session and its direct lock rows from the current snapshot.
2656
+ * @summary Get Kingbase session lock analysis
2657
+ * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest} requestParameters Request parameters.
2658
+ * @param {*} [options] Override http request option.
2659
+ * @throws {RequiredError}
2660
+ * @memberof DiagnosticsApiInterface
2661
+ */
2662
+ getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis>;
2663
+
2664
+ /**
2665
+ * Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
2666
+ * @summary Get MariaDB performance trends
2667
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
2668
+ * @param {*} [options] Override http request option.
2669
+ * @throws {RequiredError}
2670
+ * @memberof DiagnosticsApiInterface
2671
+ */
2672
+ getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
2673
+
2674
+ /**
2675
+ * Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
2676
+ * @summary Get MariaDB SQL analysis
2677
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
2678
+ * @param {*} [options] Override http request option.
2679
+ * @throws {RequiredError}
2680
+ * @memberof DiagnosticsApiInterface
2681
+ */
2682
+ getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis>;
2683
+
2684
+ /**
2685
+ * Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
2686
+ * @summary Get MariaDB space analysis
2687
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
2688
+ * @param {*} [options] Override http request option.
2689
+ * @throws {RequiredError}
2690
+ * @memberof DiagnosticsApiInterface
2691
+ */
2692
+ getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis>;
2693
+
2694
+ /**
2695
+ *
2696
+ * @summary Get a SQL Server session
2697
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionRequest} requestParameters Request parameters.
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ * @memberof DiagnosticsApiInterface
2701
+ */
2702
+ getDiagnosticsMssqlSession(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlSession>;
2703
+
2704
+ /**
2705
+ *
2706
+ * @summary Read the cached compiled plan of a live SQL Server request
2707
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest} requestParameters Request parameters.
2708
+ * @param {*} [options] Override http request option.
2709
+ * @throws {RequiredError}
2710
+ * @memberof DiagnosticsApiInterface
2711
+ */
2712
+ getDiagnosticsMssqlSessionCachedPlan(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlCachedPlan>;
2713
+
2714
+ /**
2715
+ *
2716
+ * @summary Get SQL Server blocking and locks
2717
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest} requestParameters Request parameters.
2718
+ * @param {*} [options] Override http request option.
2719
+ * @throws {RequiredError}
2720
+ * @memberof DiagnosticsApiInterface
2721
+ */
2722
+ getDiagnosticsMssqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlLockSnapshot>;
2723
+
2724
+ /**
2725
+ * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
2726
+ * @summary Get MySQL performance trends
2727
+ * @param {DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest} requestParameters Request parameters.
2728
+ * @param {*} [options] Override http request option.
2729
+ * @throws {RequiredError}
2730
+ * @memberof DiagnosticsApiInterface
2731
+ */
2732
+ getDiagnosticsMysqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
2733
+
2734
+ /**
2735
+ * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
2736
+ * @summary Get MySQL SQL analysis
2737
+ * @param {DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest} requestParameters Request parameters.
2738
+ * @param {*} [options] Override http request option.
2739
+ * @throws {RequiredError}
2740
+ * @memberof DiagnosticsApiInterface
2741
+ */
2742
+ getDiagnosticsMysqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis>;
2743
+
2744
+ /**
2745
+ * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
2746
+ * @summary Get MySQL space analysis
2747
+ * @param {DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest} requestParameters Request parameters.
2748
+ * @param {*} [options] Override http request option.
2749
+ * @throws {RequiredError}
2750
+ * @memberof DiagnosticsApiInterface
2751
+ */
2752
+ getDiagnosticsMysqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis>;
2753
+
2754
+ /**
2755
+ * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
2756
+ * @summary Get PostgreSQL performance trends
2757
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
2758
+ * @param {*} [options] Override http request option.
2759
+ * @throws {RequiredError}
2760
+ * @memberof DiagnosticsApiInterface
2761
+ */
2762
+ getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
2763
+
2764
+ /**
2765
+ * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
2766
+ * @summary Get PostgreSQL SQL analysis
2767
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest} requestParameters Request parameters.
2768
+ * @param {*} [options] Override http request option.
2769
+ * @throws {RequiredError}
2770
+ * @memberof DiagnosticsApiInterface
2771
+ */
2772
+ getDiagnosticsPostgresqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLAnalysis>;
2773
+
2774
+ /**
2775
+ * Get one PostgreSQL session basic diagnostics record by backend pid.
2776
+ * @summary Get PostgreSQL session basic diagnostics
2777
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
2778
+ * @param {*} [options] Override http request option.
2779
+ * @throws {RequiredError}
2780
+ * @memberof DiagnosticsApiInterface
2781
+ */
2782
+ getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
2783
+
2784
+ /**
2785
+ * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
2786
+ * @summary Get PostgreSQL session lock analysis
2787
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
2788
+ * @param {*} [options] Override http request option.
2789
+ * @throws {RequiredError}
2790
+ * @memberof DiagnosticsApiInterface
2791
+ */
2792
+ getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
2793
+
2794
+ /**
2795
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
2796
+ * @summary Get PostgreSQL space analysis
2797
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
2798
+ * @param {*} [options] Override http request option.
2799
+ * @throws {RequiredError}
2800
+ * @memberof DiagnosticsApiInterface
2801
+ */
2802
+ getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis>;
2803
+
2804
+ /**
2805
+ * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
2806
+ * @summary List Dameng sessions
2807
+ * @param {DiagnosticsApiListDiagnosticsDamengSessionsRequest} requestParameters Request parameters.
2808
+ * @param {*} [options] Override http request option.
2809
+ * @throws {RequiredError}
2810
+ * @memberof DiagnosticsApiInterface
2811
+ */
2812
+ listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>>;
2813
+
2814
+ /**
2815
+ *
2816
+ * @summary List active Elasticsearch shard recoveries
2817
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
2818
+ * @param {*} [options] Override http request option.
2819
+ * @throws {RequiredError}
2820
+ * @memberof DiagnosticsApiInterface
2821
+ */
2822
+ listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList>;
2823
+
2824
+ /**
2825
+ *
2826
+ * @summary List Elasticsearch shards
2827
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
2828
+ * @param {*} [options] Override http request option.
2829
+ * @throws {RequiredError}
2830
+ * @memberof DiagnosticsApiInterface
2831
+ */
2832
+ listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList>;
2833
+
2834
+ /**
2835
+ *
2836
+ * @summary List Kingbase session diagnostics
2837
+ * @param {DiagnosticsApiListDiagnosticsKingbaseSessionsRequest} requestParameters Request parameters.
2838
+ * @param {*} [options] Override http request option.
2839
+ * @throws {RequiredError}
2840
+ * @memberof DiagnosticsApiInterface
2841
+ */
2842
+ listDiagnosticsKingbaseSessions(requestParameters: DiagnosticsApiListDiagnosticsKingbaseSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionList>;
2843
+
2844
+ /**
2845
+ *
2846
+ * @summary List SQL Server sessions
2847
+ * @param {DiagnosticsApiListDiagnosticsMssqlSessionsRequest} requestParameters Request parameters.
2848
+ * @param {*} [options] Override http request option.
2849
+ * @throws {RequiredError}
2850
+ * @memberof DiagnosticsApiInterface
2851
+ */
2852
+ listDiagnosticsMssqlSessions(requestParameters: DiagnosticsApiListDiagnosticsMssqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MssqlSessionSnapshot>;
2853
+
2854
+ /**
2855
+ * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
2856
+ * @summary List PostgreSQL session basic diagnostics
2857
+ * @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
2858
+ * @param {*} [options] Override http request option.
2859
+ * @throws {RequiredError}
2860
+ * @memberof DiagnosticsApiInterface
2861
+ */
2862
+ listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>>;
2863
+
2864
+ }
2865
+
2866
+ /**
2867
+ * Request parameters for explainDiagnosticsElasticsearchAllocation operation in DiagnosticsApi.
2868
+ * @export
2869
+ * @interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest
2870
+ */
2871
+ export interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest {
2872
+ /**
2873
+ *
2874
+ * @type {string}
2875
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2876
+ */
2877
+ readonly orgName: string
2878
+
2879
+ /**
2880
+ *
2881
+ * @type {string}
2882
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2883
+ */
2884
+ readonly clusterName: string
2885
+
2886
+ /**
2887
+ *
2888
+ * @type {string}
2889
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2890
+ */
2891
+ readonly index: string
2892
+
2893
+ /**
2894
+ *
2895
+ * @type {number}
2896
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2897
+ */
2898
+ readonly shard: number
2899
+
2900
+ /**
2901
+ *
2902
+ * @type {boolean}
2903
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2904
+ */
2905
+ readonly primary: boolean
2906
+
2907
+ /**
2908
+ *
2909
+ * @type {string}
2910
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2911
+ */
2912
+ readonly currentNode?: string
2913
+ }
2914
+
2915
+ /**
2916
+ * Request parameters for explainDiagnosticsPostgresqlSQLFingerprint operation in DiagnosticsApi.
2917
+ * @export
2918
+ * @interface DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest
2919
+ */
2920
+ export interface DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest {
2921
+ /**
2922
+ * Organization name
2923
+ * @type {string}
2924
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2925
+ */
2926
+ readonly orgName: string
2927
+
2928
+ /**
2929
+ * Cluster name
2930
+ * @type {string}
2931
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2932
+ */
2933
+ readonly clusterName: string
2934
+
2935
+ /**
2936
+ * PostgreSQL pg_stat_statements queryid represented as a string.
2937
+ * @type {string}
2938
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2939
+ */
2940
+ readonly queryID: string
2941
+
2942
+ /**
2943
+ * Database name from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
2944
+ * @type {string}
2945
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2946
+ */
2947
+ readonly database: string
2948
+
2949
+ /**
2950
+ * Database user from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
2951
+ * @type {string}
2952
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2953
+ */
2954
+ readonly user: string
2955
+
2956
+ /**
2957
+ * Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
2958
+ * @type {boolean}
2959
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2960
+ */
2961
+ readonly topLevel: boolean
2962
+
2963
+ /**
2964
+ * Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
2965
+ * @type {string}
2966
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2967
+ */
2968
+ readonly fingerprint?: string
2969
+ }
2970
+
2971
+ /**
2972
+ * Request parameters for getDiagnosticsDamengSQLAnalysis operation in DiagnosticsApi.
2973
+ * @export
2974
+ * @interface DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest
2975
+ */
2976
+ export interface DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest {
2977
+ /**
2978
+ * Organization name
2979
+ * @type {string}
2980
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
2981
+ */
2982
+ readonly orgName: string
2983
+
2984
+ /**
2985
+ * Cluster name
2986
+ * @type {string}
2987
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
2988
+ */
2989
+ readonly clusterName: string
2990
+
2991
+ /**
2992
+ * Maximum number of SQL entries per category. Defaults to 20.
2993
+ * @type {number}
2994
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
2995
+ */
2996
+ readonly limit?: number
2997
+ }
2998
+
2999
+ /**
3000
+ * Request parameters for getDiagnosticsDamengSession operation in DiagnosticsApi.
3001
+ * @export
3002
+ * @interface DiagnosticsApiGetDiagnosticsDamengSessionRequest
3003
+ */
3004
+ export interface DiagnosticsApiGetDiagnosticsDamengSessionRequest {
3005
+ /**
3006
+ * Organization name
3007
+ * @type {string}
3008
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3009
+ */
3010
+ readonly orgName: string
3011
+
3012
+ /**
3013
+ * Cluster name
3014
+ * @type {string}
3015
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3016
+ */
3017
+ readonly clusterName: string
3018
+
3019
+ /**
3020
+ * Dameng session ID (SESS_ID)
3021
+ * @type {number}
3022
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3023
+ */
3024
+ readonly sessionId: number
3025
+ }
3026
+
3027
+ /**
3028
+ * Request parameters for getDiagnosticsDamengSessionLockAnalysis operation in DiagnosticsApi.
3029
+ * @export
3030
+ * @interface DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest
3031
+ */
3032
+ export interface DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest {
3033
+ /**
3034
+ * Organization name
3035
+ * @type {string}
3036
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3037
+ */
3038
+ readonly orgName: string
3039
+
3040
+ /**
3041
+ * Cluster name
3042
+ * @type {string}
3043
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3044
+ */
3045
+ readonly clusterName: string
3046
+
3047
+ /**
3048
+ * Dameng session ID (SESS_ID)
3049
+ * @type {number}
3050
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3051
+ */
3052
+ readonly sessionId: number
3053
+ }
3054
+
3055
+ /**
3056
+ * Request parameters for getDiagnosticsDamengSpaceAnalysis operation in DiagnosticsApi.
3057
+ * @export
3058
+ * @interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest
3059
+ */
3060
+ export interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest {
3061
+ /**
3062
+ * Organization name
3063
+ * @type {string}
3064
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3065
+ */
3066
+ readonly orgName: string
3067
+
3068
+ /**
3069
+ * Cluster name
3070
+ * @type {string}
3071
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3072
+ */
3073
+ readonly clusterName: string
3074
+
3075
+ /**
3076
+ * Maximum number of top tables to return (0 or omitted &#x3D; not collected)
3077
+ * @type {number}
3078
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3079
+ */
3080
+ readonly tableLimit?: number
3081
+
3082
+ /**
3083
+ * Maximum number of top indexes to return (0 or omitted &#x3D; not collected)
3084
+ * @type {number}
3085
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3086
+ */
3087
+ readonly indexLimit?: number
3088
+
3089
+ /**
3090
+ * Filter tables and indexes by schema (owner). Omit or empty &#x3D; all schemas.
3091
+ * @type {string}
3092
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3093
+ */
3094
+ readonly schema?: string
3095
+
3096
+ /**
3097
+ * Set to true to skip tablespace and schema queries, returning only tables and indexes.
3098
+ * @type {boolean}
3099
+ * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3100
+ */
3101
+ readonly skipBasic?: boolean
3102
+ }
3103
+
3104
+ /**
3105
+ * Request parameters for getDiagnosticsElasticsearchStorageAnalysis operation in DiagnosticsApi.
1404
3106
  * @export
1405
- * @interface DiagnosticsApi
3107
+ * @interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest
1406
3108
  */
1407
- export interface DiagnosticsApiInterface {
3109
+ export interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest {
1408
3110
  /**
1409
- * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
1410
- * @summary Get Dameng SQL analysis
1411
- * @param {DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest} requestParameters Request parameters.
1412
- * @param {*} [options] Override http request option.
1413
- * @throws {RequiredError}
1414
- * @memberof DiagnosticsApiInterface
3111
+ *
3112
+ * @type {string}
3113
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1415
3114
  */
1416
- getDiagnosticsDamengSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSQLAnalysis>;
3115
+ readonly orgName: string
1417
3116
 
1418
3117
  /**
1419
- * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
1420
- * @summary Get Dameng session detail
1421
- * @param {DiagnosticsApiGetDiagnosticsDamengSessionRequest} requestParameters Request parameters.
1422
- * @param {*} [options] Override http request option.
1423
- * @throws {RequiredError}
1424
- * @memberof DiagnosticsApiInterface
3118
+ *
3119
+ * @type {string}
3120
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1425
3121
  */
1426
- getDiagnosticsDamengSession(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSessionDetail>;
3122
+ readonly clusterName: string
1427
3123
 
1428
3124
  /**
1429
- * Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
1430
- * @summary Get Dameng session lock analysis
1431
- * @param {DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest} requestParameters Request parameters.
1432
- * @param {*} [options] Override http request option.
1433
- * @throws {RequiredError}
1434
- * @memberof DiagnosticsApiInterface
3125
+ *
3126
+ * @type {string}
3127
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1435
3128
  */
1436
- getDiagnosticsDamengSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengLockAnalysis>;
3129
+ readonly node?: string
1437
3130
 
1438
3131
  /**
1439
- * Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
1440
- * @summary Get Dameng space analysis
1441
- * @param {DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest} requestParameters Request parameters.
1442
- * @param {*} [options] Override http request option.
1443
- * @throws {RequiredError}
1444
- * @memberof DiagnosticsApiInterface
3132
+ *
3133
+ * @type {string}
3134
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1445
3135
  */
1446
- getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis>;
3136
+ readonly index?: string
1447
3137
 
1448
3138
  /**
1449
3139
  *
1450
- * @summary Get Kingbase session diagnostics
1451
- * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionRequest} requestParameters Request parameters.
1452
- * @param {*} [options] Override http request option.
1453
- * @throws {RequiredError}
1454
- * @memberof DiagnosticsApiInterface
3140
+ * @type {ElasticsearchIndexSortBy}
3141
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1455
3142
  */
1456
- getDiagnosticsKingbaseSession(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionDetail>;
3143
+ readonly sortBy?: ElasticsearchIndexSortBy
1457
3144
 
1458
3145
  /**
1459
- * Returns the selected session and its direct lock rows from the current snapshot.
1460
- * @summary Get Kingbase session lock analysis
1461
- * @param {DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest} requestParameters Request parameters.
1462
- * @param {*} [options] Override http request option.
1463
- * @throws {RequiredError}
1464
- * @memberof DiagnosticsApiInterface
3146
+ *
3147
+ * @type {ElasticsearchSortOrder}
3148
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
1465
3149
  */
1466
- getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis>;
3150
+ readonly sortOrder?: ElasticsearchSortOrder
3151
+ }
1467
3152
 
3153
+ /**
3154
+ * Request parameters for getDiagnosticsElasticsearchTaskAnalysis operation in DiagnosticsApi.
3155
+ * @export
3156
+ * @interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest
3157
+ */
3158
+ export interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest {
1468
3159
  /**
1469
- * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
1470
- * @summary Get MySQL performance trends
1471
- * @param {DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest} requestParameters Request parameters.
1472
- * @param {*} [options] Override http request option.
1473
- * @throws {RequiredError}
1474
- * @memberof DiagnosticsApiInterface
3160
+ *
3161
+ * @type {string}
3162
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1475
3163
  */
1476
- getDiagnosticsMysqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMysqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
3164
+ readonly orgName: string
1477
3165
 
1478
3166
  /**
1479
- * Get a read-only MySQL SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
1480
- * @summary Get MySQL SQL analysis
1481
- * @param {DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest} requestParameters Request parameters.
1482
- * @param {*} [options] Override http request option.
1483
- * @throws {RequiredError}
1484
- * @memberof DiagnosticsApiInterface
3167
+ *
3168
+ * @type {string}
3169
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1485
3170
  */
1486
- getDiagnosticsMysqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis>;
3171
+ readonly clusterName: string
1487
3172
 
1488
3173
  /**
1489
- * Get a read-only MySQL 5.7, 8.0, or 8.4 compatible space snapshot and fixed backend-owned storage metrics.
1490
- * @summary Get MySQL space analysis
1491
- * @param {DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest} requestParameters Request parameters.
1492
- * @param {*} [options] Override http request option.
1493
- * @throws {RequiredError}
1494
- * @memberof DiagnosticsApiInterface
3174
+ *
3175
+ * @type {ElasticsearchHotThreadsType}
3176
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1495
3177
  */
1496
- getDiagnosticsMysqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMysqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis>;
3178
+ readonly type?: ElasticsearchHotThreadsType
1497
3179
 
1498
3180
  /**
1499
- * Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
1500
- * @summary Get PostgreSQL performance trends
1501
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
1502
- * @param {*} [options] Override http request option.
1503
- * @throws {RequiredError}
1504
- * @memberof DiagnosticsApiInterface
3181
+ *
3182
+ * @type {string}
3183
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1505
3184
  */
1506
- getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
3185
+ readonly node?: string
1507
3186
 
1508
3187
  /**
1509
- * Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
1510
- * @summary Get PostgreSQL SQL analysis
1511
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest} requestParameters Request parameters.
1512
- * @param {*} [options] Override http request option.
1513
- * @throws {RequiredError}
1514
- * @memberof DiagnosticsApiInterface
3188
+ *
3189
+ * @type {number}
3190
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1515
3191
  */
1516
- getDiagnosticsPostgresqlSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLAnalysis>;
3192
+ readonly taskLimit?: number
1517
3193
 
1518
3194
  /**
1519
- * Get one PostgreSQL session basic diagnostics record by backend pid.
1520
- * @summary Get PostgreSQL session basic diagnostics
1521
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
1522
- * @param {*} [options] Override http request option.
1523
- * @throws {RequiredError}
1524
- * @memberof DiagnosticsApiInterface
3195
+ *
3196
+ * @type {number}
3197
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
1525
3198
  */
1526
- getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
3199
+ readonly threads?: number
3200
+ }
1527
3201
 
3202
+ /**
3203
+ * Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
3204
+ * @export
3205
+ * @interface DiagnosticsApiGetDiagnosticsKingbaseSessionRequest
3206
+ */
3207
+ export interface DiagnosticsApiGetDiagnosticsKingbaseSessionRequest {
1528
3208
  /**
1529
- * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
1530
- * @summary Get PostgreSQL session lock analysis
1531
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
1532
- * @param {*} [options] Override http request option.
1533
- * @throws {RequiredError}
1534
- * @memberof DiagnosticsApiInterface
3209
+ *
3210
+ * @type {string}
3211
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
1535
3212
  */
1536
- getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
3213
+ readonly orgName: string
1537
3214
 
1538
3215
  /**
1539
- * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, storage history, or remediation actions.
1540
- * @summary Get PostgreSQL space analysis
1541
- * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
1542
- * @param {*} [options] Override http request option.
1543
- * @throws {RequiredError}
1544
- * @memberof DiagnosticsApiInterface
3216
+ *
3217
+ * @type {string}
3218
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
1545
3219
  */
1546
- getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis>;
3220
+ readonly clusterName: string
1547
3221
 
1548
3222
  /**
1549
- * List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
1550
- * @summary List Dameng sessions
1551
- * @param {DiagnosticsApiListDiagnosticsDamengSessionsRequest} requestParameters Request parameters.
1552
- * @param {*} [options] Override http request option.
1553
- * @throws {RequiredError}
1554
- * @memberof DiagnosticsApiInterface
3223
+ *
3224
+ * @type {number}
3225
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
1555
3226
  */
1556
- listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>>;
3227
+ readonly pid: number
3228
+ }
1557
3229
 
3230
+ /**
3231
+ * Request parameters for getDiagnosticsKingbaseSessionLockAnalysis operation in DiagnosticsApi.
3232
+ * @export
3233
+ * @interface DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest
3234
+ */
3235
+ export interface DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest {
1558
3236
  /**
1559
3237
  *
1560
- * @summary List Kingbase session diagnostics
1561
- * @param {DiagnosticsApiListDiagnosticsKingbaseSessionsRequest} requestParameters Request parameters.
1562
- * @param {*} [options] Override http request option.
1563
- * @throws {RequiredError}
1564
- * @memberof DiagnosticsApiInterface
3238
+ * @type {string}
3239
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
1565
3240
  */
1566
- listDiagnosticsKingbaseSessions(requestParameters: DiagnosticsApiListDiagnosticsKingbaseSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseSessionList>;
3241
+ readonly orgName: string
1567
3242
 
1568
3243
  /**
1569
- * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
1570
- * @summary List PostgreSQL session basic diagnostics
1571
- * @param {DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest} requestParameters Request parameters.
1572
- * @param {*} [options] Override http request option.
1573
- * @throws {RequiredError}
1574
- * @memberof DiagnosticsApiInterface
3244
+ *
3245
+ * @type {string}
3246
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
1575
3247
  */
1576
- listDiagnosticsPostgresqlSessions(requestParameters: DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PostgresqlSession>>;
3248
+ readonly clusterName: string
1577
3249
 
3250
+ /**
3251
+ *
3252
+ * @type {number}
3253
+ * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
3254
+ */
3255
+ readonly pid: number
1578
3256
  }
1579
3257
 
1580
3258
  /**
1581
- * Request parameters for getDiagnosticsDamengSQLAnalysis operation in DiagnosticsApi.
3259
+ * Request parameters for getDiagnosticsMariaDBPerformanceTrends operation in DiagnosticsApi.
1582
3260
  * @export
1583
- * @interface DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest
3261
+ * @interface DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest
1584
3262
  */
1585
- export interface DiagnosticsApiGetDiagnosticsDamengSQLAnalysisRequest {
3263
+ export interface DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest {
1586
3264
  /**
1587
3265
  * Organization name
1588
3266
  * @type {string}
1589
- * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
3267
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
1590
3268
  */
1591
3269
  readonly orgName: string
1592
3270
 
1593
3271
  /**
1594
3272
  * Cluster name
1595
3273
  * @type {string}
1596
- * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
3274
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
1597
3275
  */
1598
3276
  readonly clusterName: string
1599
3277
 
1600
3278
  /**
1601
- * Maximum number of SQL entries per category. Defaults to 20.
1602
- * @type {number}
1603
- * @memberof DiagnosticsApiGetDiagnosticsDamengSQLAnalysis
3279
+ * Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
3280
+ * @type {string}
3281
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
1604
3282
  */
1605
- readonly limit?: number
3283
+ readonly range?: string
3284
+
3285
+ /**
3286
+ * Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
3287
+ * @type {string}
3288
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
3289
+ */
3290
+ readonly step?: string
1606
3291
  }
1607
3292
 
1608
3293
  /**
1609
- * Request parameters for getDiagnosticsDamengSession operation in DiagnosticsApi.
3294
+ * Request parameters for getDiagnosticsMariaDBSQLAnalysis operation in DiagnosticsApi.
1610
3295
  * @export
1611
- * @interface DiagnosticsApiGetDiagnosticsDamengSessionRequest
3296
+ * @interface DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest
1612
3297
  */
1613
- export interface DiagnosticsApiGetDiagnosticsDamengSessionRequest {
3298
+ export interface DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest {
1614
3299
  /**
1615
3300
  * Organization name
1616
3301
  * @type {string}
1617
- * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3302
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
1618
3303
  */
1619
3304
  readonly orgName: string
1620
3305
 
1621
3306
  /**
1622
3307
  * Cluster name
1623
3308
  * @type {string}
1624
- * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3309
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
1625
3310
  */
1626
3311
  readonly clusterName: string
1627
3312
 
1628
3313
  /**
1629
- * Dameng session ID (SESS_ID)
3314
+ * Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
1630
3315
  * @type {number}
1631
- * @memberof DiagnosticsApiGetDiagnosticsDamengSession
3316
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
1632
3317
  */
1633
- readonly sessionId: number
3318
+ readonly limit?: number
3319
+
3320
+ /**
3321
+ * Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
3322
+ * @type {string}
3323
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
3324
+ */
3325
+ readonly orderBy?: string
1634
3326
  }
1635
3327
 
1636
3328
  /**
1637
- * Request parameters for getDiagnosticsDamengSessionLockAnalysis operation in DiagnosticsApi.
3329
+ * Request parameters for getDiagnosticsMariaDBSpaceAnalysis operation in DiagnosticsApi.
1638
3330
  * @export
1639
- * @interface DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest
3331
+ * @interface DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest
1640
3332
  */
1641
- export interface DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysisRequest {
3333
+ export interface DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest {
1642
3334
  /**
1643
- * Organization name
3335
+ *
1644
3336
  * @type {string}
1645
- * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3337
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
1646
3338
  */
1647
3339
  readonly orgName: string
1648
3340
 
1649
3341
  /**
1650
- * Cluster name
3342
+ *
1651
3343
  * @type {string}
1652
- * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3344
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
1653
3345
  */
1654
3346
  readonly clusterName: string
1655
3347
 
1656
3348
  /**
1657
- * Dameng session ID (SESS_ID)
1658
- * @type {number}
1659
- * @memberof DiagnosticsApiGetDiagnosticsDamengSessionLockAnalysis
3349
+ * Optional database name for table and index details. When omitted, the largest non-system database is selected.
3350
+ * @type {string}
3351
+ * @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
1660
3352
  */
1661
- readonly sessionId: number
3353
+ readonly databaseName?: string
1662
3354
  }
1663
3355
 
1664
3356
  /**
1665
- * Request parameters for getDiagnosticsDamengSpaceAnalysis operation in DiagnosticsApi.
3357
+ * Request parameters for getDiagnosticsMssqlSession operation in DiagnosticsApi.
1666
3358
  * @export
1667
- * @interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest
3359
+ * @interface DiagnosticsApiGetDiagnosticsMssqlSessionRequest
1668
3360
  */
1669
- export interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest {
3361
+ export interface DiagnosticsApiGetDiagnosticsMssqlSessionRequest {
1670
3362
  /**
1671
- * Organization name
3363
+ *
1672
3364
  * @type {string}
1673
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3365
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSession
1674
3366
  */
1675
3367
  readonly orgName: string
1676
3368
 
1677
3369
  /**
1678
- * Cluster name
3370
+ *
1679
3371
  * @type {string}
1680
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3372
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSession
1681
3373
  */
1682
3374
  readonly clusterName: string
1683
3375
 
1684
3376
  /**
1685
- * Maximum number of top tables to return (0 or omitted &#x3D; not collected)
1686
- * @type {number}
1687
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
1688
- */
1689
- readonly tableLimit?: number
1690
-
1691
- /**
1692
- * Maximum number of top indexes to return (0 or omitted &#x3D; not collected)
3377
+ *
1693
3378
  * @type {number}
1694
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3379
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSession
1695
3380
  */
1696
- readonly indexLimit?: number
3381
+ readonly sessionId: number
1697
3382
 
1698
3383
  /**
1699
- * Filter tables and indexes by schema (owner). Omit or empty &#x3D; all schemas.
3384
+ *
1700
3385
  * @type {string}
1701
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
1702
- */
1703
- readonly schema?: string
1704
-
1705
- /**
1706
- * Set to true to skip tablespace and schema queries, returning only tables and indexes.
1707
- * @type {boolean}
1708
- * @memberof DiagnosticsApiGetDiagnosticsDamengSpaceAnalysis
3386
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSession
1709
3387
  */
1710
- readonly skipBasic?: boolean
3388
+ readonly startedAt: string
1711
3389
  }
1712
3390
 
1713
3391
  /**
1714
- * Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
3392
+ * Request parameters for getDiagnosticsMssqlSessionCachedPlan operation in DiagnosticsApi.
1715
3393
  * @export
1716
- * @interface DiagnosticsApiGetDiagnosticsKingbaseSessionRequest
3394
+ * @interface DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest
1717
3395
  */
1718
- export interface DiagnosticsApiGetDiagnosticsKingbaseSessionRequest {
3396
+ export interface DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest {
1719
3397
  /**
1720
3398
  *
1721
3399
  * @type {string}
1722
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
3400
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
1723
3401
  */
1724
3402
  readonly orgName: string
1725
3403
 
1726
3404
  /**
1727
3405
  *
1728
3406
  * @type {string}
1729
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
3407
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
1730
3408
  */
1731
3409
  readonly clusterName: string
1732
3410
 
1733
3411
  /**
1734
3412
  *
1735
3413
  * @type {number}
1736
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSession
3414
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
1737
3415
  */
1738
- readonly pid: number
3416
+ readonly sessionId: number
3417
+
3418
+ /**
3419
+ *
3420
+ * @type {string}
3421
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
3422
+ */
3423
+ readonly startedAt: string
3424
+
3425
+ /**
3426
+ *
3427
+ * @type {number}
3428
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
3429
+ */
3430
+ readonly requestId: number
3431
+
3432
+ /**
3433
+ *
3434
+ * @type {string}
3435
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlan
3436
+ */
3437
+ readonly requestStart: string
1739
3438
  }
1740
3439
 
1741
3440
  /**
1742
- * Request parameters for getDiagnosticsKingbaseSessionLockAnalysis operation in DiagnosticsApi.
3441
+ * Request parameters for getDiagnosticsMssqlSessionLockAnalysis operation in DiagnosticsApi.
1743
3442
  * @export
1744
- * @interface DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest
3443
+ * @interface DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest
1745
3444
  */
1746
- export interface DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest {
3445
+ export interface DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest {
1747
3446
  /**
1748
3447
  *
1749
3448
  * @type {string}
1750
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
3449
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysis
1751
3450
  */
1752
3451
  readonly orgName: string
1753
3452
 
1754
3453
  /**
1755
3454
  *
1756
3455
  * @type {string}
1757
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
3456
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysis
1758
3457
  */
1759
3458
  readonly clusterName: string
1760
3459
 
1761
3460
  /**
1762
3461
  *
1763
3462
  * @type {number}
1764
- * @memberof DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysis
3463
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysis
1765
3464
  */
1766
- readonly pid: number
3465
+ readonly sessionId: number
3466
+
3467
+ /**
3468
+ *
3469
+ * @type {string}
3470
+ * @memberof DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysis
3471
+ */
3472
+ readonly startedAt: string
1767
3473
  }
1768
3474
 
1769
3475
  /**
@@ -2053,6 +3759,83 @@ export interface DiagnosticsApiListDiagnosticsDamengSessionsRequest {
2053
3759
  readonly state?: string
2054
3760
  }
2055
3761
 
3762
+ /**
3763
+ * Request parameters for listDiagnosticsElasticsearchRecoveries operation in DiagnosticsApi.
3764
+ * @export
3765
+ * @interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest
3766
+ */
3767
+ export interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest {
3768
+ /**
3769
+ *
3770
+ * @type {string}
3771
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
3772
+ */
3773
+ readonly orgName: string
3774
+
3775
+ /**
3776
+ *
3777
+ * @type {string}
3778
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
3779
+ */
3780
+ readonly clusterName: string
3781
+
3782
+ /**
3783
+ * Index name or pattern
3784
+ * @type {string}
3785
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
3786
+ */
3787
+ readonly index?: string
3788
+
3789
+ /**
3790
+ * Exact target node ID or name
3791
+ * @type {string}
3792
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
3793
+ */
3794
+ readonly node?: string
3795
+ }
3796
+
3797
+ /**
3798
+ * Request parameters for listDiagnosticsElasticsearchShards operation in DiagnosticsApi.
3799
+ * @export
3800
+ * @interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest
3801
+ */
3802
+ export interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest {
3803
+ /**
3804
+ *
3805
+ * @type {string}
3806
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
3807
+ */
3808
+ readonly orgName: string
3809
+
3810
+ /**
3811
+ *
3812
+ * @type {string}
3813
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
3814
+ */
3815
+ readonly clusterName: string
3816
+
3817
+ /**
3818
+ * Index name or pattern
3819
+ * @type {string}
3820
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
3821
+ */
3822
+ readonly index?: string
3823
+
3824
+ /**
3825
+ * Exact node ID or name
3826
+ * @type {string}
3827
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
3828
+ */
3829
+ readonly node?: string
3830
+
3831
+ /**
3832
+ *
3833
+ * @type {ElasticsearchShardState}
3834
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
3835
+ */
3836
+ readonly state?: ElasticsearchShardState
3837
+ }
3838
+
2056
3839
  /**
2057
3840
  * Request parameters for listDiagnosticsKingbaseSessions operation in DiagnosticsApi.
2058
3841
  * @export
@@ -2081,6 +3864,34 @@ export interface DiagnosticsApiListDiagnosticsKingbaseSessionsRequest {
2081
3864
  readonly limit?: number
2082
3865
  }
2083
3866
 
3867
+ /**
3868
+ * Request parameters for listDiagnosticsMssqlSessions operation in DiagnosticsApi.
3869
+ * @export
3870
+ * @interface DiagnosticsApiListDiagnosticsMssqlSessionsRequest
3871
+ */
3872
+ export interface DiagnosticsApiListDiagnosticsMssqlSessionsRequest {
3873
+ /**
3874
+ *
3875
+ * @type {string}
3876
+ * @memberof DiagnosticsApiListDiagnosticsMssqlSessions
3877
+ */
3878
+ readonly orgName: string
3879
+
3880
+ /**
3881
+ *
3882
+ * @type {string}
3883
+ * @memberof DiagnosticsApiListDiagnosticsMssqlSessions
3884
+ */
3885
+ readonly clusterName: string
3886
+
3887
+ /**
3888
+ *
3889
+ * @type {number}
3890
+ * @memberof DiagnosticsApiListDiagnosticsMssqlSessions
3891
+ */
3892
+ readonly limit?: number
3893
+ }
3894
+
2084
3895
  /**
2085
3896
  * Request parameters for listDiagnosticsPostgresqlSessions operation in DiagnosticsApi.
2086
3897
  * @export
@@ -2102,7 +3913,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
2102
3913
  readonly clusterName: string
2103
3914
 
2104
3915
  /**
2105
- * Maximum number of sessions to return. Defaults to the backend limit when omitted.
3916
+ * Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
2106
3917
  * @type {number}
2107
3918
  * @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
2108
3919
  */
@@ -2116,6 +3927,30 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
2116
3927
  * @extends {BaseAPI}
2117
3928
  */
2118
3929
  export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
3930
+ /**
3931
+ *
3932
+ * @summary Explain Elasticsearch shard allocation
3933
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
3934
+ * @param {*} [options] Override http request option.
3935
+ * @throws {RequiredError}
3936
+ * @memberof DiagnosticsApi
3937
+ */
3938
+ public explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig) {
3939
+ return DiagnosticsApiFp(this.configuration).explainDiagnosticsElasticsearchAllocation(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.shard, requestParameters.primary, requestParameters.currentNode, options).then((request) => request(this.axios, this.basePath));
3940
+ }
3941
+
3942
+ /**
3943
+ * Explicitly trigger a safe PostgreSQL EXPLAIN for one SQL fingerprint. The request does not accept raw SQL. DMS resolves the exact server-side parameterized SELECT statement identity independently of the ranking window, produces an estimated standard or generic plan without parameter sample values, rejects multiple statements, and never runs EXPLAIN ANALYZE or the original SQL. The plan uses current catalog statistics and the DMS connection context; it does not reconstruct the original role, search_path, session settings, parameter values, or historical actual plan.
3944
+ * @summary Explain PostgreSQL SQL fingerprint
3945
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
3946
+ * @param {*} [options] Override http request option.
3947
+ * @throws {RequiredError}
3948
+ * @memberof DiagnosticsApi
3949
+ */
3950
+ public explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig) {
3951
+ return DiagnosticsApiFp(this.configuration).explainDiagnosticsPostgresqlSQLFingerprint(requestParameters.orgName, requestParameters.clusterName, requestParameters.queryID, requestParameters.database, requestParameters.user, requestParameters.topLevel, requestParameters.fingerprint, options).then((request) => request(this.axios, this.basePath));
3952
+ }
3953
+
2119
3954
  /**
2120
3955
  * Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
2121
3956
  * @summary Get Dameng SQL analysis
@@ -2164,6 +3999,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2164
3999
  return DiagnosticsApiFp(this.configuration).getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(this.axios, this.basePath));
2165
4000
  }
2166
4001
 
4002
+ /**
4003
+ *
4004
+ * @summary Get Elasticsearch storage and index analysis
4005
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
4006
+ * @param {*} [options] Override http request option.
4007
+ * @throws {RequiredError}
4008
+ * @memberof DiagnosticsApi
4009
+ */
4010
+ public getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig) {
4011
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchStorageAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.node, requestParameters.index, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
4012
+ }
4013
+
4014
+ /**
4015
+ *
4016
+ * @summary Get Elasticsearch task and hot-thread analysis
4017
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
4018
+ * @param {*} [options] Override http request option.
4019
+ * @throws {RequiredError}
4020
+ * @memberof DiagnosticsApi
4021
+ */
4022
+ public getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig) {
4023
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(this.axios, this.basePath));
4024
+ }
4025
+
2167
4026
  /**
2168
4027
  *
2169
4028
  * @summary Get Kingbase session diagnostics
@@ -2188,6 +4047,78 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2188
4047
  return DiagnosticsApiFp(this.configuration).getDiagnosticsKingbaseSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
2189
4048
  }
2190
4049
 
4050
+ /**
4051
+ * Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
4052
+ * @summary Get MariaDB performance trends
4053
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
4054
+ * @param {*} [options] Override http request option.
4055
+ * @throws {RequiredError}
4056
+ * @memberof DiagnosticsApi
4057
+ */
4058
+ public getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig) {
4059
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(this.axios, this.basePath));
4060
+ }
4061
+
4062
+ /**
4063
+ * Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
4064
+ * @summary Get MariaDB SQL analysis
4065
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
4066
+ * @param {*} [options] Override http request option.
4067
+ * @throws {RequiredError}
4068
+ * @memberof DiagnosticsApi
4069
+ */
4070
+ public getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig) {
4071
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(this.axios, this.basePath));
4072
+ }
4073
+
4074
+ /**
4075
+ * Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
4076
+ * @summary Get MariaDB space analysis
4077
+ * @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
4078
+ * @param {*} [options] Override http request option.
4079
+ * @throws {RequiredError}
4080
+ * @memberof DiagnosticsApi
4081
+ */
4082
+ public getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig) {
4083
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
4084
+ }
4085
+
4086
+ /**
4087
+ *
4088
+ * @summary Get a SQL Server session
4089
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionRequest} requestParameters Request parameters.
4090
+ * @param {*} [options] Override http request option.
4091
+ * @throws {RequiredError}
4092
+ * @memberof DiagnosticsApi
4093
+ */
4094
+ public getDiagnosticsMssqlSession(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionRequest, options?: RawAxiosRequestConfig) {
4095
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMssqlSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, options).then((request) => request(this.axios, this.basePath));
4096
+ }
4097
+
4098
+ /**
4099
+ *
4100
+ * @summary Read the cached compiled plan of a live SQL Server request
4101
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest} requestParameters Request parameters.
4102
+ * @param {*} [options] Override http request option.
4103
+ * @throws {RequiredError}
4104
+ * @memberof DiagnosticsApi
4105
+ */
4106
+ public getDiagnosticsMssqlSessionCachedPlan(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionCachedPlanRequest, options?: RawAxiosRequestConfig) {
4107
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMssqlSessionCachedPlan(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, requestParameters.requestId, requestParameters.requestStart, options).then((request) => request(this.axios, this.basePath));
4108
+ }
4109
+
4110
+ /**
4111
+ *
4112
+ * @summary Get SQL Server blocking and locks
4113
+ * @param {DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest} requestParameters Request parameters.
4114
+ * @param {*} [options] Override http request option.
4115
+ * @throws {RequiredError}
4116
+ * @memberof DiagnosticsApi
4117
+ */
4118
+ public getDiagnosticsMssqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMssqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig) {
4119
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsMssqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.sessionId, requestParameters.startedAt, options).then((request) => request(this.axios, this.basePath));
4120
+ }
4121
+
2191
4122
  /**
2192
4123
  * Get read-only MySQL 5.7, 8.0, and 8.4 performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
2193
4124
  * @summary Get MySQL performance trends
@@ -2296,6 +4227,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2296
4227
  return DiagnosticsApiFp(this.configuration).listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
2297
4228
  }
2298
4229
 
4230
+ /**
4231
+ *
4232
+ * @summary List active Elasticsearch shard recoveries
4233
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
4234
+ * @param {*} [options] Override http request option.
4235
+ * @throws {RequiredError}
4236
+ * @memberof DiagnosticsApi
4237
+ */
4238
+ public listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig) {
4239
+ return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(this.axios, this.basePath));
4240
+ }
4241
+
4242
+ /**
4243
+ *
4244
+ * @summary List Elasticsearch shards
4245
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
4246
+ * @param {*} [options] Override http request option.
4247
+ * @throws {RequiredError}
4248
+ * @memberof DiagnosticsApi
4249
+ */
4250
+ public listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig) {
4251
+ return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
4252
+ }
4253
+
2299
4254
  /**
2300
4255
  *
2301
4256
  * @summary List Kingbase session diagnostics
@@ -2308,6 +4263,18 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2308
4263
  return DiagnosticsApiFp(this.configuration).listDiagnosticsKingbaseSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
2309
4264
  }
2310
4265
 
4266
+ /**
4267
+ *
4268
+ * @summary List SQL Server sessions
4269
+ * @param {DiagnosticsApiListDiagnosticsMssqlSessionsRequest} requestParameters Request parameters.
4270
+ * @param {*} [options] Override http request option.
4271
+ * @throws {RequiredError}
4272
+ * @memberof DiagnosticsApi
4273
+ */
4274
+ public listDiagnosticsMssqlSessions(requestParameters: DiagnosticsApiListDiagnosticsMssqlSessionsRequest, options?: RawAxiosRequestConfig) {
4275
+ return DiagnosticsApiFp(this.configuration).listDiagnosticsMssqlSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
4276
+ }
4277
+
2311
4278
  /**
2312
4279
  * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
2313
4280
  * @summary List PostgreSQL session basic diagnostics