kb-cloud-client-typescript 2.4.0-alpha.41 → 2.4.0-alpha.43

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 (283) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +564 -0
  2. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/diagnostics-api.js +566 -0
  4. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  5. package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
  6. package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
  7. package/dist/adminapi/models/dms-execution-plan-planning-mode.js +26 -0
  8. package/dist/adminapi/models/dms-execution-plan-planning-mode.js.map +1 -0
  9. package/dist/adminapi/models/dms-execution-plan-result.d.ts +19 -0
  10. package/dist/adminapi/models/dms-execution-plan-result.d.ts.map +1 -1
  11. package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts +37 -0
  12. package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
  13. package/dist/adminapi/models/elasticsearch-allocation-decider.js +16 -0
  14. package/dist/adminapi/models/elasticsearch-allocation-decider.js.map +1 -0
  15. package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
  16. package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
  17. package/dist/adminapi/models/elasticsearch-allocation-explanation.js +16 -0
  18. package/dist/adminapi/models/elasticsearch-allocation-explanation.js.map +1 -0
  19. package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
  20. package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
  21. package/dist/adminapi/models/elasticsearch-disk-watermarks.js +16 -0
  22. package/dist/adminapi/models/elasticsearch-disk-watermarks.js.map +1 -0
  23. package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
  24. package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
  25. package/dist/adminapi/models/elasticsearch-hot-threads-type.js +27 -0
  26. package/dist/adminapi/models/elasticsearch-hot-threads-type.js.map +1 -0
  27. package/dist/adminapi/models/elasticsearch-hot-threads.d.ts +43 -0
  28. package/dist/adminapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
  29. package/dist/adminapi/models/elasticsearch-hot-threads.js +16 -0
  30. package/dist/adminapi/models/elasticsearch-hot-threads.js.map +1 -0
  31. package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts +24 -0
  32. package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
  33. package/dist/adminapi/models/elasticsearch-index-sort-by.js +28 -0
  34. package/dist/adminapi/models/elasticsearch-index-sort-by.js.map +1 -0
  35. package/dist/adminapi/models/elasticsearch-index-storage.d.ts +85 -0
  36. package/dist/adminapi/models/elasticsearch-index-storage.d.ts.map +1 -0
  37. package/dist/adminapi/models/elasticsearch-index-storage.js +16 -0
  38. package/dist/adminapi/models/elasticsearch-index-storage.js.map +1 -0
  39. package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
  40. package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
  41. package/dist/adminapi/models/elasticsearch-node-allocation-decision.js +16 -0
  42. package/dist/adminapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
  43. package/dist/adminapi/models/elasticsearch-node-allocation.d.ts +73 -0
  44. package/dist/adminapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
  45. package/dist/adminapi/models/elasticsearch-node-allocation.js +16 -0
  46. package/dist/adminapi/models/elasticsearch-node-allocation.js.map +1 -0
  47. package/dist/adminapi/models/elasticsearch-recovery-list.d.ts +32 -0
  48. package/dist/adminapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
  49. package/dist/adminapi/models/elasticsearch-recovery-list.js +16 -0
  50. package/dist/adminapi/models/elasticsearch-recovery-list.js.map +1 -0
  51. package/dist/adminapi/models/elasticsearch-recovery-size.d.ts +43 -0
  52. package/dist/adminapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
  53. package/dist/adminapi/models/elasticsearch-recovery-size.js +16 -0
  54. package/dist/adminapi/models/elasticsearch-recovery-size.js.map +1 -0
  55. package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts +37 -0
  56. package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
  57. package/dist/adminapi/models/elasticsearch-recovery-translog.js +16 -0
  58. package/dist/adminapi/models/elasticsearch-recovery-translog.js.map +1 -0
  59. package/dist/adminapi/models/elasticsearch-shard-list.d.ts +32 -0
  60. package/dist/adminapi/models/elasticsearch-shard-list.d.ts.map +1 -0
  61. package/dist/adminapi/models/elasticsearch-shard-list.js +16 -0
  62. package/dist/adminapi/models/elasticsearch-shard-list.js.map +1 -0
  63. package/dist/adminapi/models/elasticsearch-shard-node.d.ts +31 -0
  64. package/dist/adminapi/models/elasticsearch-shard-node.d.ts.map +1 -0
  65. package/dist/adminapi/models/elasticsearch-shard-node.js +16 -0
  66. package/dist/adminapi/models/elasticsearch-shard-node.js.map +1 -0
  67. package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts +88 -0
  68. package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
  69. package/dist/adminapi/models/elasticsearch-shard-recovery.js +16 -0
  70. package/dist/adminapi/models/elasticsearch-shard-recovery.js.map +1 -0
  71. package/dist/adminapi/models/elasticsearch-shard-state.d.ts +24 -0
  72. package/dist/adminapi/models/elasticsearch-shard-state.d.ts.map +1 -0
  73. package/dist/adminapi/models/elasticsearch-shard-state.js +28 -0
  74. package/dist/adminapi/models/elasticsearch-shard-state.js.map +1 -0
  75. package/dist/adminapi/models/elasticsearch-shard.d.ts +73 -0
  76. package/dist/adminapi/models/elasticsearch-shard.d.ts.map +1 -0
  77. package/dist/adminapi/models/elasticsearch-shard.js +16 -0
  78. package/dist/adminapi/models/elasticsearch-shard.js.map +1 -0
  79. package/dist/adminapi/models/elasticsearch-sort-order.d.ts +22 -0
  80. package/dist/adminapi/models/elasticsearch-sort-order.d.ts.map +1 -0
  81. package/dist/adminapi/models/elasticsearch-sort-order.js +26 -0
  82. package/dist/adminapi/models/elasticsearch-sort-order.js.map +1 -0
  83. package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts +59 -0
  84. package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
  85. package/dist/adminapi/models/elasticsearch-storage-analysis.js +16 -0
  86. package/dist/adminapi/models/elasticsearch-storage-analysis.js.map +1 -0
  87. package/dist/adminapi/models/elasticsearch-task-analysis.d.ts +52 -0
  88. package/dist/adminapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
  89. package/dist/adminapi/models/elasticsearch-task-analysis.js +16 -0
  90. package/dist/adminapi/models/elasticsearch-task-analysis.js.map +1 -0
  91. package/dist/adminapi/models/elasticsearch-task.d.ts +79 -0
  92. package/dist/adminapi/models/elasticsearch-task.d.ts.map +1 -0
  93. package/dist/adminapi/models/elasticsearch-task.js +16 -0
  94. package/dist/adminapi/models/elasticsearch-task.js.map +1 -0
  95. package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts +43 -0
  96. package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
  97. package/dist/adminapi/models/elasticsearch-unassigned-info.js +16 -0
  98. package/dist/adminapi/models/elasticsearch-unassigned-info.js.map +1 -0
  99. package/dist/adminapi/models/environment-update.d.ts +6 -0
  100. package/dist/adminapi/models/environment-update.d.ts.map +1 -1
  101. package/dist/adminapi/models/index.d.ts +24 -0
  102. package/dist/adminapi/models/index.d.ts.map +1 -1
  103. package/dist/adminapi/models/index.js +24 -0
  104. package/dist/adminapi/models/index.js.map +1 -1
  105. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
  106. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
  107. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
  108. package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
  109. package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts +6 -0
  110. package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
  111. package/dist/adminapi/models/scheduling-config.d.ts +6 -0
  112. package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
  113. package/dist/openapi/apis/diagnostics-api.d.ts +564 -0
  114. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  115. package/dist/openapi/apis/diagnostics-api.js +566 -0
  116. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  117. package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
  118. package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
  119. package/dist/openapi/models/dms-execution-plan-planning-mode.js +26 -0
  120. package/dist/openapi/models/dms-execution-plan-planning-mode.js.map +1 -0
  121. package/dist/openapi/models/dms-execution-plan-result.d.ts +19 -0
  122. package/dist/openapi/models/dms-execution-plan-result.d.ts.map +1 -1
  123. package/dist/openapi/models/elasticsearch-allocation-decider.d.ts +37 -0
  124. package/dist/openapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
  125. package/dist/openapi/models/elasticsearch-allocation-decider.js +16 -0
  126. package/dist/openapi/models/elasticsearch-allocation-decider.js.map +1 -0
  127. package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
  128. package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
  129. package/dist/openapi/models/elasticsearch-allocation-explanation.js +16 -0
  130. package/dist/openapi/models/elasticsearch-allocation-explanation.js.map +1 -0
  131. package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
  132. package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
  133. package/dist/openapi/models/elasticsearch-disk-watermarks.js +16 -0
  134. package/dist/openapi/models/elasticsearch-disk-watermarks.js.map +1 -0
  135. package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
  136. package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
  137. package/dist/openapi/models/elasticsearch-hot-threads-type.js +27 -0
  138. package/dist/openapi/models/elasticsearch-hot-threads-type.js.map +1 -0
  139. package/dist/openapi/models/elasticsearch-hot-threads.d.ts +43 -0
  140. package/dist/openapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
  141. package/dist/openapi/models/elasticsearch-hot-threads.js +16 -0
  142. package/dist/openapi/models/elasticsearch-hot-threads.js.map +1 -0
  143. package/dist/openapi/models/elasticsearch-index-sort-by.d.ts +24 -0
  144. package/dist/openapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
  145. package/dist/openapi/models/elasticsearch-index-sort-by.js +28 -0
  146. package/dist/openapi/models/elasticsearch-index-sort-by.js.map +1 -0
  147. package/dist/openapi/models/elasticsearch-index-storage.d.ts +85 -0
  148. package/dist/openapi/models/elasticsearch-index-storage.d.ts.map +1 -0
  149. package/dist/openapi/models/elasticsearch-index-storage.js +16 -0
  150. package/dist/openapi/models/elasticsearch-index-storage.js.map +1 -0
  151. package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
  152. package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
  153. package/dist/openapi/models/elasticsearch-node-allocation-decision.js +16 -0
  154. package/dist/openapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
  155. package/dist/openapi/models/elasticsearch-node-allocation.d.ts +73 -0
  156. package/dist/openapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
  157. package/dist/openapi/models/elasticsearch-node-allocation.js +16 -0
  158. package/dist/openapi/models/elasticsearch-node-allocation.js.map +1 -0
  159. package/dist/openapi/models/elasticsearch-recovery-list.d.ts +32 -0
  160. package/dist/openapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
  161. package/dist/openapi/models/elasticsearch-recovery-list.js +16 -0
  162. package/dist/openapi/models/elasticsearch-recovery-list.js.map +1 -0
  163. package/dist/openapi/models/elasticsearch-recovery-size.d.ts +43 -0
  164. package/dist/openapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
  165. package/dist/openapi/models/elasticsearch-recovery-size.js +16 -0
  166. package/dist/openapi/models/elasticsearch-recovery-size.js.map +1 -0
  167. package/dist/openapi/models/elasticsearch-recovery-translog.d.ts +37 -0
  168. package/dist/openapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
  169. package/dist/openapi/models/elasticsearch-recovery-translog.js +16 -0
  170. package/dist/openapi/models/elasticsearch-recovery-translog.js.map +1 -0
  171. package/dist/openapi/models/elasticsearch-shard-list.d.ts +32 -0
  172. package/dist/openapi/models/elasticsearch-shard-list.d.ts.map +1 -0
  173. package/dist/openapi/models/elasticsearch-shard-list.js +16 -0
  174. package/dist/openapi/models/elasticsearch-shard-list.js.map +1 -0
  175. package/dist/openapi/models/elasticsearch-shard-node.d.ts +31 -0
  176. package/dist/openapi/models/elasticsearch-shard-node.d.ts.map +1 -0
  177. package/dist/openapi/models/elasticsearch-shard-node.js +16 -0
  178. package/dist/openapi/models/elasticsearch-shard-node.js.map +1 -0
  179. package/dist/openapi/models/elasticsearch-shard-recovery.d.ts +88 -0
  180. package/dist/openapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
  181. package/dist/openapi/models/elasticsearch-shard-recovery.js +16 -0
  182. package/dist/openapi/models/elasticsearch-shard-recovery.js.map +1 -0
  183. package/dist/openapi/models/elasticsearch-shard-state.d.ts +24 -0
  184. package/dist/openapi/models/elasticsearch-shard-state.d.ts.map +1 -0
  185. package/dist/openapi/models/elasticsearch-shard-state.js +28 -0
  186. package/dist/openapi/models/elasticsearch-shard-state.js.map +1 -0
  187. package/dist/openapi/models/elasticsearch-shard.d.ts +73 -0
  188. package/dist/openapi/models/elasticsearch-shard.d.ts.map +1 -0
  189. package/dist/openapi/models/elasticsearch-shard.js +16 -0
  190. package/dist/openapi/models/elasticsearch-shard.js.map +1 -0
  191. package/dist/openapi/models/elasticsearch-sort-order.d.ts +22 -0
  192. package/dist/openapi/models/elasticsearch-sort-order.d.ts.map +1 -0
  193. package/dist/openapi/models/elasticsearch-sort-order.js +26 -0
  194. package/dist/openapi/models/elasticsearch-sort-order.js.map +1 -0
  195. package/dist/openapi/models/elasticsearch-storage-analysis.d.ts +59 -0
  196. package/dist/openapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
  197. package/dist/openapi/models/elasticsearch-storage-analysis.js +16 -0
  198. package/dist/openapi/models/elasticsearch-storage-analysis.js.map +1 -0
  199. package/dist/openapi/models/elasticsearch-task-analysis.d.ts +52 -0
  200. package/dist/openapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
  201. package/dist/openapi/models/elasticsearch-task-analysis.js +16 -0
  202. package/dist/openapi/models/elasticsearch-task-analysis.js.map +1 -0
  203. package/dist/openapi/models/elasticsearch-task.d.ts +79 -0
  204. package/dist/openapi/models/elasticsearch-task.d.ts.map +1 -0
  205. package/dist/openapi/models/elasticsearch-task.js +16 -0
  206. package/dist/openapi/models/elasticsearch-task.js.map +1 -0
  207. package/dist/openapi/models/elasticsearch-unassigned-info.d.ts +43 -0
  208. package/dist/openapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
  209. package/dist/openapi/models/elasticsearch-unassigned-info.js +16 -0
  210. package/dist/openapi/models/elasticsearch-unassigned-info.js.map +1 -0
  211. package/dist/openapi/models/index.d.ts +24 -0
  212. package/dist/openapi/models/index.d.ts.map +1 -1
  213. package/dist/openapi/models/index.js +24 -0
  214. package/dist/openapi/models/index.js.map +1 -1
  215. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
  216. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
  217. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
  218. package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
  219. package/dist/openapi/models/postgresql-sqlfingerprint.d.ts +6 -0
  220. package/dist/openapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
  221. package/package.json +1 -1
  222. package/src/adminapi/.openapi-generator/FILES +24 -0
  223. package/src/adminapi/apis/diagnostics-api.ts +1029 -40
  224. package/src/adminapi/models/dms-execution-plan-planning-mode.ts +31 -0
  225. package/src/adminapi/models/dms-execution-plan-result.ts +21 -0
  226. package/src/adminapi/models/elasticsearch-allocation-decider.ts +42 -0
  227. package/src/adminapi/models/elasticsearch-allocation-explanation.ts +126 -0
  228. package/src/adminapi/models/elasticsearch-disk-watermarks.ts +42 -0
  229. package/src/adminapi/models/elasticsearch-hot-threads-type.ts +32 -0
  230. package/src/adminapi/models/elasticsearch-hot-threads.ts +48 -0
  231. package/src/adminapi/models/elasticsearch-index-sort-by.ts +33 -0
  232. package/src/adminapi/models/elasticsearch-index-storage.ts +90 -0
  233. package/src/adminapi/models/elasticsearch-node-allocation-decision.ts +51 -0
  234. package/src/adminapi/models/elasticsearch-node-allocation.ts +78 -0
  235. package/src/adminapi/models/elasticsearch-recovery-list.ts +39 -0
  236. package/src/adminapi/models/elasticsearch-recovery-size.ts +48 -0
  237. package/src/adminapi/models/elasticsearch-recovery-translog.ts +42 -0
  238. package/src/adminapi/models/elasticsearch-shard-list.ts +39 -0
  239. package/src/adminapi/models/elasticsearch-shard-node.ts +36 -0
  240. package/src/adminapi/models/elasticsearch-shard-recovery.ts +99 -0
  241. package/src/adminapi/models/elasticsearch-shard-state.ts +33 -0
  242. package/src/adminapi/models/elasticsearch-shard.ts +78 -0
  243. package/src/adminapi/models/elasticsearch-sort-order.ts +31 -0
  244. package/src/adminapi/models/elasticsearch-storage-analysis.ts +72 -0
  245. package/src/adminapi/models/elasticsearch-task-analysis.ts +63 -0
  246. package/src/adminapi/models/elasticsearch-task.ts +84 -0
  247. package/src/adminapi/models/elasticsearch-unassigned-info.ts +48 -0
  248. package/src/adminapi/models/environment-update.ts +6 -0
  249. package/src/adminapi/models/index.ts +24 -0
  250. package/src/adminapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
  251. package/src/adminapi/models/postgresql-sqlfingerprint.ts +6 -0
  252. package/src/adminapi/models/scheduling-config.ts +6 -0
  253. package/src/adminapi.yaml +1056 -117
  254. package/src/openapi/.openapi-generator/FILES +24 -0
  255. package/src/openapi/apis/diagnostics-api.ts +1029 -40
  256. package/src/openapi/models/dms-execution-plan-planning-mode.ts +31 -0
  257. package/src/openapi/models/dms-execution-plan-result.ts +21 -0
  258. package/src/openapi/models/elasticsearch-allocation-decider.ts +42 -0
  259. package/src/openapi/models/elasticsearch-allocation-explanation.ts +126 -0
  260. package/src/openapi/models/elasticsearch-disk-watermarks.ts +42 -0
  261. package/src/openapi/models/elasticsearch-hot-threads-type.ts +32 -0
  262. package/src/openapi/models/elasticsearch-hot-threads.ts +48 -0
  263. package/src/openapi/models/elasticsearch-index-sort-by.ts +33 -0
  264. package/src/openapi/models/elasticsearch-index-storage.ts +90 -0
  265. package/src/openapi/models/elasticsearch-node-allocation-decision.ts +51 -0
  266. package/src/openapi/models/elasticsearch-node-allocation.ts +78 -0
  267. package/src/openapi/models/elasticsearch-recovery-list.ts +39 -0
  268. package/src/openapi/models/elasticsearch-recovery-size.ts +48 -0
  269. package/src/openapi/models/elasticsearch-recovery-translog.ts +42 -0
  270. package/src/openapi/models/elasticsearch-shard-list.ts +39 -0
  271. package/src/openapi/models/elasticsearch-shard-node.ts +36 -0
  272. package/src/openapi/models/elasticsearch-shard-recovery.ts +99 -0
  273. package/src/openapi/models/elasticsearch-shard-state.ts +33 -0
  274. package/src/openapi/models/elasticsearch-shard.ts +78 -0
  275. package/src/openapi/models/elasticsearch-sort-order.ts +31 -0
  276. package/src/openapi/models/elasticsearch-storage-analysis.ts +72 -0
  277. package/src/openapi/models/elasticsearch-task-analysis.ts +63 -0
  278. package/src/openapi/models/elasticsearch-task.ts +84 -0
  279. package/src/openapi/models/elasticsearch-unassigned-info.ts +48 -0
  280. package/src/openapi/models/index.ts +24 -0
  281. package/src/openapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
  282. package/src/openapi/models/postgresql-sqlfingerprint.ts +6 -0
  283. package/src/openapi.yaml +1829 -903
@@ -34,6 +34,24 @@ 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';
@@ -50,6 +68,8 @@ import type { PostgresqlLockAnalysis } from '../models';
50
68
  // @ts-ignore
51
69
  import type { PostgresqlSQLAnalysis } from '../models';
52
70
  // @ts-ignore
71
+ import type { PostgresqlSQLFingerprintExplainResponse } from '../models';
72
+ // @ts-ignore
53
73
  import type { PostgresqlSession } from '../models';
54
74
  // @ts-ignore
55
75
  import type { PostgresqlSpaceAnalysis } from '../models';
@@ -59,6 +79,152 @@ import type { PostgresqlSpaceAnalysis } from '../models';
59
79
  */
60
80
  export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configuration) {
61
81
  return {
82
+ /**
83
+ *
84
+ * @summary Explain Elasticsearch shard allocation
85
+ * @param {string} orgName
86
+ * @param {string} clusterName
87
+ * @param {string} index
88
+ * @param {number} shard
89
+ * @param {boolean} primary
90
+ * @param {string} [currentNode]
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ explainDiagnosticsElasticsearchAllocation: async (orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
95
+ // verify required parameter 'orgName' is not null or undefined
96
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'orgName', orgName)
97
+ // verify required parameter 'clusterName' is not null or undefined
98
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'clusterName', clusterName)
99
+ // verify required parameter 'index' is not null or undefined
100
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'index', index)
101
+ // verify required parameter 'shard' is not null or undefined
102
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'shard', shard)
103
+ // verify required parameter 'primary' is not null or undefined
104
+ assertParamExists('explainDiagnosticsElasticsearchAllocation', 'primary', primary)
105
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/allocationExplain`
106
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
107
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
110
+ let baseOptions;
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ }
114
+
115
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
116
+ const localVarHeaderParameter = {} as any;
117
+ const localVarQueryParameter = {} as any;
118
+
119
+ // authentication BearerToken required
120
+ // http bearer authentication required
121
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
122
+
123
+ // authentication DigestAuth required
124
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
125
+
126
+ if (index !== undefined) {
127
+ localVarQueryParameter['index'] = index;
128
+ }
129
+
130
+ if (shard !== undefined) {
131
+ localVarQueryParameter['shard'] = shard;
132
+ }
133
+
134
+ if (primary !== undefined) {
135
+ localVarQueryParameter['primary'] = primary;
136
+ }
137
+
138
+ if (currentNode !== undefined) {
139
+ localVarQueryParameter['currentNode'] = currentNode;
140
+ }
141
+
142
+
143
+
144
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
145
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
146
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
147
+
148
+ return {
149
+ url: toPathString(localVarUrlObj),
150
+ options: localVarRequestOptions,
151
+ };
152
+ },
153
+ /**
154
+ * 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.
155
+ * @summary Explain PostgreSQL SQL fingerprint
156
+ * @param {string} orgName Organization name
157
+ * @param {string} clusterName Cluster name
158
+ * @param {string} queryID PostgreSQL pg_stat_statements queryid represented as a string.
159
+ * @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.
160
+ * @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.
161
+ * @param {boolean} topLevel Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
162
+ * @param {string} [fingerprint] Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ explainDiagnosticsPostgresqlSQLFingerprint: async (orgName: string, clusterName: string, queryID: string, database: string, user: string, topLevel: boolean, fingerprint?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
167
+ // verify required parameter 'orgName' is not null or undefined
168
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'orgName', orgName)
169
+ // verify required parameter 'clusterName' is not null or undefined
170
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'clusterName', clusterName)
171
+ // verify required parameter 'queryID' is not null or undefined
172
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'queryID', queryID)
173
+ // verify required parameter 'database' is not null or undefined
174
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'database', database)
175
+ // verify required parameter 'user' is not null or undefined
176
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'user', user)
177
+ // verify required parameter 'topLevel' is not null or undefined
178
+ assertParamExists('explainDiagnosticsPostgresqlSQLFingerprint', 'topLevel', topLevel)
179
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sqlAnalysis/queries/{queryID}/explain`
180
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
181
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
182
+ .replace(`{${"queryID"}}`, encodeURIComponent(String(queryID)));
183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
185
+ let baseOptions;
186
+ if (configuration) {
187
+ baseOptions = configuration.baseOptions;
188
+ }
189
+
190
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
191
+ const localVarHeaderParameter = {} as any;
192
+ const localVarQueryParameter = {} as any;
193
+
194
+ // authentication BearerToken required
195
+ // http bearer authentication required
196
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
197
+
198
+ // authentication DigestAuth required
199
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
200
+
201
+ if (database !== undefined) {
202
+ localVarQueryParameter['database'] = database;
203
+ }
204
+
205
+ if (user !== undefined) {
206
+ localVarQueryParameter['user'] = user;
207
+ }
208
+
209
+ if (topLevel !== undefined) {
210
+ localVarQueryParameter['topLevel'] = topLevel;
211
+ }
212
+
213
+ if (fingerprint !== undefined) {
214
+ localVarQueryParameter['fingerprint'] = fingerprint;
215
+ }
216
+
217
+
218
+
219
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
220
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
221
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
222
+
223
+ return {
224
+ url: toPathString(localVarUrlObj),
225
+ options: localVarRequestOptions,
226
+ };
227
+ },
62
228
  /**
63
229
  * 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
230
  * @summary Get Dameng SQL analysis
@@ -263,6 +429,136 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
263
429
 
264
430
 
265
431
 
432
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
433
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
434
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
435
+
436
+ return {
437
+ url: toPathString(localVarUrlObj),
438
+ options: localVarRequestOptions,
439
+ };
440
+ },
441
+ /**
442
+ *
443
+ * @summary Get Elasticsearch storage and index analysis
444
+ * @param {string} orgName
445
+ * @param {string} clusterName
446
+ * @param {string} [node]
447
+ * @param {string} [index]
448
+ * @param {ElasticsearchIndexSortBy} [sortBy]
449
+ * @param {ElasticsearchSortOrder} [sortOrder]
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ getDiagnosticsElasticsearchStorageAnalysis: async (orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
454
+ // verify required parameter 'orgName' is not null or undefined
455
+ assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'orgName', orgName)
456
+ // verify required parameter 'clusterName' is not null or undefined
457
+ assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'clusterName', clusterName)
458
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/storageAnalysis`
459
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
460
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
461
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
462
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
463
+ let baseOptions;
464
+ if (configuration) {
465
+ baseOptions = configuration.baseOptions;
466
+ }
467
+
468
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
469
+ const localVarHeaderParameter = {} as any;
470
+ const localVarQueryParameter = {} as any;
471
+
472
+ // authentication BearerToken required
473
+ // http bearer authentication required
474
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
475
+
476
+ // authentication DigestAuth required
477
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
478
+
479
+ if (node !== undefined) {
480
+ localVarQueryParameter['node'] = node;
481
+ }
482
+
483
+ if (index !== undefined) {
484
+ localVarQueryParameter['index'] = index;
485
+ }
486
+
487
+ if (sortBy !== undefined) {
488
+ localVarQueryParameter['sortBy'] = sortBy;
489
+ }
490
+
491
+ if (sortOrder !== undefined) {
492
+ localVarQueryParameter['sortOrder'] = sortOrder;
493
+ }
494
+
495
+
496
+
497
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
498
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
499
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
500
+
501
+ return {
502
+ url: toPathString(localVarUrlObj),
503
+ options: localVarRequestOptions,
504
+ };
505
+ },
506
+ /**
507
+ *
508
+ * @summary Get Elasticsearch task and hot-thread analysis
509
+ * @param {string} orgName
510
+ * @param {string} clusterName
511
+ * @param {ElasticsearchHotThreadsType} [type]
512
+ * @param {string} [node]
513
+ * @param {number} [taskLimit]
514
+ * @param {number} [threads]
515
+ * @param {*} [options] Override http request option.
516
+ * @throws {RequiredError}
517
+ */
518
+ getDiagnosticsElasticsearchTaskAnalysis: async (orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
519
+ // verify required parameter 'orgName' is not null or undefined
520
+ assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'orgName', orgName)
521
+ // verify required parameter 'clusterName' is not null or undefined
522
+ assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'clusterName', clusterName)
523
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/taskAnalysis`
524
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
525
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
526
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
527
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
528
+ let baseOptions;
529
+ if (configuration) {
530
+ baseOptions = configuration.baseOptions;
531
+ }
532
+
533
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
534
+ const localVarHeaderParameter = {} as any;
535
+ const localVarQueryParameter = {} as any;
536
+
537
+ // authentication BearerToken required
538
+ // http bearer authentication required
539
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
540
+
541
+ // authentication DigestAuth required
542
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
543
+
544
+ if (type !== undefined) {
545
+ localVarQueryParameter['type'] = type;
546
+ }
547
+
548
+ if (node !== undefined) {
549
+ localVarQueryParameter['node'] = node;
550
+ }
551
+
552
+ if (taskLimit !== undefined) {
553
+ localVarQueryParameter['taskLimit'] = taskLimit;
554
+ }
555
+
556
+ if (threads !== undefined) {
557
+ localVarQueryParameter['threads'] = threads;
558
+ }
559
+
560
+
561
+
266
562
  setSearchParams(localVarUrlObj, localVarQueryParameter);
267
563
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
268
564
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -845,19 +1141,20 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
845
1141
  },
846
1142
  /**
847
1143
  *
848
- * @summary List Kingbase session diagnostics
1144
+ * @summary List active Elasticsearch shard recoveries
849
1145
  * @param {string} orgName
850
1146
  * @param {string} clusterName
851
- * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
1147
+ * @param {string} [index] Index name or pattern
1148
+ * @param {string} [node] Exact target node ID or name
852
1149
  * @param {*} [options] Override http request option.
853
1150
  * @throws {RequiredError}
854
1151
  */
855
- listDiagnosticsKingbaseSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1152
+ listDiagnosticsElasticsearchRecoveries: async (orgName: string, clusterName: string, index?: string, node?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
856
1153
  // verify required parameter 'orgName' is not null or undefined
857
- assertParamExists('listDiagnosticsKingbaseSessions', 'orgName', orgName)
1154
+ assertParamExists('listDiagnosticsElasticsearchRecoveries', 'orgName', orgName)
858
1155
  // 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`
1156
+ assertParamExists('listDiagnosticsElasticsearchRecoveries', 'clusterName', clusterName)
1157
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/recoveries`
861
1158
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
862
1159
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
863
1160
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -878,8 +1175,12 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
878
1175
  // authentication DigestAuth required
879
1176
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
880
1177
 
881
- if (limit !== undefined) {
882
- localVarQueryParameter['limit'] = limit;
1178
+ if (index !== undefined) {
1179
+ localVarQueryParameter['index'] = index;
1180
+ }
1181
+
1182
+ if (node !== undefined) {
1183
+ localVarQueryParameter['node'] = node;
883
1184
  }
884
1185
 
885
1186
 
@@ -894,20 +1195,22 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
894
1195
  };
895
1196
  },
896
1197
  /**
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
899
- * @param {string} orgName Organization name
900
- * @param {string} clusterName Cluster name
901
- * @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.
1198
+ *
1199
+ * @summary List Elasticsearch shards
1200
+ * @param {string} orgName
1201
+ * @param {string} clusterName
1202
+ * @param {string} [index] Index name or pattern
1203
+ * @param {string} [node] Exact node ID or name
1204
+ * @param {ElasticsearchShardState} [state]
902
1205
  * @param {*} [options] Override http request option.
903
1206
  * @throws {RequiredError}
904
1207
  */
905
- listDiagnosticsPostgresqlSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1208
+ listDiagnosticsElasticsearchShards: async (orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
906
1209
  // verify required parameter 'orgName' is not null or undefined
907
- assertParamExists('listDiagnosticsPostgresqlSessions', 'orgName', orgName)
1210
+ assertParamExists('listDiagnosticsElasticsearchShards', 'orgName', orgName)
908
1211
  // 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`
1212
+ assertParamExists('listDiagnosticsElasticsearchShards', 'clusterName', clusterName)
1213
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/shards`
911
1214
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
912
1215
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
913
1216
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -928,8 +1231,16 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
928
1231
  // authentication DigestAuth required
929
1232
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
930
1233
 
931
- if (limit !== undefined) {
932
- localVarQueryParameter['limit'] = limit;
1234
+ if (index !== undefined) {
1235
+ localVarQueryParameter['index'] = index;
1236
+ }
1237
+
1238
+ if (node !== undefined) {
1239
+ localVarQueryParameter['node'] = node;
1240
+ }
1241
+
1242
+ if (state !== undefined) {
1243
+ localVarQueryParameter['state'] = state;
933
1244
  }
934
1245
 
935
1246
 
@@ -943,31 +1254,168 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
943
1254
  options: localVarRequestOptions,
944
1255
  };
945
1256
  },
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
1257
  /**
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.
1258
+ *
1259
+ * @summary List Kingbase session diagnostics
1260
+ * @param {string} orgName
1261
+ * @param {string} clusterName
1262
+ * @param {number} [limit] Maximum number of sessions to return. Defaults to 200.
962
1263
  * @param {*} [options] Override http request option.
963
1264
  * @throws {RequiredError}
964
1265
  */
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
- },
1266
+ listDiagnosticsKingbaseSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1267
+ // verify required parameter 'orgName' is not null or undefined
1268
+ assertParamExists('listDiagnosticsKingbaseSessions', 'orgName', orgName)
1269
+ // verify required parameter 'clusterName' is not null or undefined
1270
+ assertParamExists('listDiagnosticsKingbaseSessions', 'clusterName', clusterName)
1271
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/kingbase/sessions`
1272
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1273
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1274
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1275
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1276
+ let baseOptions;
1277
+ if (configuration) {
1278
+ baseOptions = configuration.baseOptions;
1279
+ }
1280
+
1281
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1282
+ const localVarHeaderParameter = {} as any;
1283
+ const localVarQueryParameter = {} as any;
1284
+
1285
+ // authentication BearerToken required
1286
+ // http bearer authentication required
1287
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1288
+
1289
+ // authentication DigestAuth required
1290
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1291
+
1292
+ if (limit !== undefined) {
1293
+ localVarQueryParameter['limit'] = limit;
1294
+ }
1295
+
1296
+
1297
+
1298
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1299
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1300
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1301
+
1302
+ return {
1303
+ url: toPathString(localVarUrlObj),
1304
+ options: localVarRequestOptions,
1305
+ };
1306
+ },
1307
+ /**
1308
+ * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
1309
+ * @summary List PostgreSQL session basic diagnostics
1310
+ * @param {string} orgName Organization name
1311
+ * @param {string} clusterName Cluster name
1312
+ * @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.
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ listDiagnosticsPostgresqlSessions: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1317
+ // verify required parameter 'orgName' is not null or undefined
1318
+ assertParamExists('listDiagnosticsPostgresqlSessions', 'orgName', orgName)
1319
+ // verify required parameter 'clusterName' is not null or undefined
1320
+ assertParamExists('listDiagnosticsPostgresqlSessions', 'clusterName', clusterName)
1321
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions`
1322
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1323
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1324
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1325
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1326
+ let baseOptions;
1327
+ if (configuration) {
1328
+ baseOptions = configuration.baseOptions;
1329
+ }
1330
+
1331
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1332
+ const localVarHeaderParameter = {} as any;
1333
+ const localVarQueryParameter = {} as any;
1334
+
1335
+ // authentication BearerToken required
1336
+ // http bearer authentication required
1337
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1338
+
1339
+ // authentication DigestAuth required
1340
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1341
+
1342
+ if (limit !== undefined) {
1343
+ localVarQueryParameter['limit'] = limit;
1344
+ }
1345
+
1346
+
1347
+
1348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1350
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1351
+
1352
+ return {
1353
+ url: toPathString(localVarUrlObj),
1354
+ options: localVarRequestOptions,
1355
+ };
1356
+ },
1357
+ }
1358
+ };
1359
+
1360
+ /**
1361
+ * DiagnosticsApi - functional programming interface
1362
+ * @export
1363
+ */
1364
+ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1365
+ const localVarAxiosParamCreator = DiagnosticsApiAxiosParamCreator(configuration)
1366
+ return {
1367
+ /**
1368
+ *
1369
+ * @summary Explain Elasticsearch shard allocation
1370
+ * @param {string} orgName
1371
+ * @param {string} clusterName
1372
+ * @param {string} index
1373
+ * @param {number} shard
1374
+ * @param {boolean} primary
1375
+ * @param {string} [currentNode]
1376
+ * @param {*} [options] Override http request option.
1377
+ * @throws {RequiredError}
1378
+ */
1379
+ async explainDiagnosticsElasticsearchAllocation(orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchAllocationExplanation>> {
1380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainDiagnosticsElasticsearchAllocation(orgName, clusterName, index, shard, primary, currentNode, options);
1381
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1382
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.explainDiagnosticsElasticsearchAllocation']?.[localVarOperationServerIndex]?.url;
1383
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1384
+ },
1385
+ /**
1386
+ * 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.
1387
+ * @summary Explain PostgreSQL SQL fingerprint
1388
+ * @param {string} orgName Organization name
1389
+ * @param {string} clusterName Cluster name
1390
+ * @param {string} queryID PostgreSQL pg_stat_statements queryid represented as a string.
1391
+ * @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.
1392
+ * @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.
1393
+ * @param {boolean} topLevel Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
1394
+ * @param {string} [fingerprint] Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
1395
+ * @param {*} [options] Override http request option.
1396
+ * @throws {RequiredError}
1397
+ */
1398
+ 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>> {
1399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainDiagnosticsPostgresqlSQLFingerprint(orgName, clusterName, queryID, database, user, topLevel, fingerprint, options);
1400
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1401
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.explainDiagnosticsPostgresqlSQLFingerprint']?.[localVarOperationServerIndex]?.url;
1402
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1403
+ },
1404
+ /**
1405
+ * 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.
1406
+ * @summary Get Dameng SQL analysis
1407
+ * @param {string} orgName Organization name
1408
+ * @param {string} clusterName Cluster name
1409
+ * @param {number} [limit] Maximum number of SQL entries per category. Defaults to 20.
1410
+ * @param {*} [options] Override http request option.
1411
+ * @throws {RequiredError}
1412
+ */
1413
+ async getDiagnosticsDamengSQLAnalysis(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DamengSQLAnalysis>> {
1414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsDamengSQLAnalysis(orgName, clusterName, limit, options);
1415
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1416
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSQLAnalysis']?.[localVarOperationServerIndex]?.url;
1417
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1418
+ },
971
1419
  /**
972
1420
  * Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
973
1421
  * @summary Get Dameng session detail
@@ -1016,6 +1464,42 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1016
1464
  const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
1017
1465
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1018
1466
  },
1467
+ /**
1468
+ *
1469
+ * @summary Get Elasticsearch storage and index analysis
1470
+ * @param {string} orgName
1471
+ * @param {string} clusterName
1472
+ * @param {string} [node]
1473
+ * @param {string} [index]
1474
+ * @param {ElasticsearchIndexSortBy} [sortBy]
1475
+ * @param {ElasticsearchSortOrder} [sortOrder]
1476
+ * @param {*} [options] Override http request option.
1477
+ * @throws {RequiredError}
1478
+ */
1479
+ async getDiagnosticsElasticsearchStorageAnalysis(orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchStorageAnalysis>> {
1480
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchStorageAnalysis(orgName, clusterName, node, index, sortBy, sortOrder, options);
1481
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1482
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchStorageAnalysis']?.[localVarOperationServerIndex]?.url;
1483
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1484
+ },
1485
+ /**
1486
+ *
1487
+ * @summary Get Elasticsearch task and hot-thread analysis
1488
+ * @param {string} orgName
1489
+ * @param {string} clusterName
1490
+ * @param {ElasticsearchHotThreadsType} [type]
1491
+ * @param {string} [node]
1492
+ * @param {number} [taskLimit]
1493
+ * @param {number} [threads]
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ async getDiagnosticsElasticsearchTaskAnalysis(orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchTaskAnalysis>> {
1498
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchTaskAnalysis(orgName, clusterName, type, node, taskLimit, threads, options);
1499
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1500
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchTaskAnalysis']?.[localVarOperationServerIndex]?.url;
1501
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1502
+ },
1019
1503
  /**
1020
1504
  *
1021
1505
  * @summary Get Kingbase session diagnostics
@@ -1186,6 +1670,39 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1186
1670
  const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsDamengSessions']?.[localVarOperationServerIndex]?.url;
1187
1671
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1188
1672
  },
1673
+ /**
1674
+ *
1675
+ * @summary List active Elasticsearch shard recoveries
1676
+ * @param {string} orgName
1677
+ * @param {string} clusterName
1678
+ * @param {string} [index] Index name or pattern
1679
+ * @param {string} [node] Exact target node ID or name
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ async listDiagnosticsElasticsearchRecoveries(orgName: string, clusterName: string, index?: string, node?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchRecoveryList>> {
1684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchRecoveries(orgName, clusterName, index, node, options);
1685
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1686
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchRecoveries']?.[localVarOperationServerIndex]?.url;
1687
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1688
+ },
1689
+ /**
1690
+ *
1691
+ * @summary List Elasticsearch shards
1692
+ * @param {string} orgName
1693
+ * @param {string} clusterName
1694
+ * @param {string} [index] Index name or pattern
1695
+ * @param {string} [node] Exact node ID or name
1696
+ * @param {ElasticsearchShardState} [state]
1697
+ * @param {*} [options] Override http request option.
1698
+ * @throws {RequiredError}
1699
+ */
1700
+ async listDiagnosticsElasticsearchShards(orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchShardList>> {
1701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchShards(orgName, clusterName, index, node, state, options);
1702
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1703
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchShards']?.[localVarOperationServerIndex]?.url;
1704
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1705
+ },
1189
1706
  /**
1190
1707
  *
1191
1708
  * @summary List Kingbase session diagnostics
@@ -1226,6 +1743,26 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
1226
1743
  export const DiagnosticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1227
1744
  const localVarFp = DiagnosticsApiFp(configuration)
1228
1745
  return {
1746
+ /**
1747
+ *
1748
+ * @summary Explain Elasticsearch shard allocation
1749
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
1750
+ * @param {*} [options] Override http request option.
1751
+ * @throws {RequiredError}
1752
+ */
1753
+ explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation> {
1754
+ return localVarFp.explainDiagnosticsElasticsearchAllocation(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.shard, requestParameters.primary, requestParameters.currentNode, options).then((request) => request(axios, basePath));
1755
+ },
1756
+ /**
1757
+ * 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.
1758
+ * @summary Explain PostgreSQL SQL fingerprint
1759
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLFingerprintExplainResponse> {
1764
+ return localVarFp.explainDiagnosticsPostgresqlSQLFingerprint(requestParameters.orgName, requestParameters.clusterName, requestParameters.queryID, requestParameters.database, requestParameters.user, requestParameters.topLevel, requestParameters.fingerprint, options).then((request) => request(axios, basePath));
1765
+ },
1229
1766
  /**
1230
1767
  * 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
1768
  * @summary Get Dameng SQL analysis
@@ -1266,6 +1803,26 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
1266
1803
  getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis> {
1267
1804
  return localVarFp.getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(axios, basePath));
1268
1805
  },
1806
+ /**
1807
+ *
1808
+ * @summary Get Elasticsearch storage and index analysis
1809
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
1810
+ * @param {*} [options] Override http request option.
1811
+ * @throws {RequiredError}
1812
+ */
1813
+ getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis> {
1814
+ return localVarFp.getDiagnosticsElasticsearchStorageAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.node, requestParameters.index, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
1815
+ },
1816
+ /**
1817
+ *
1818
+ * @summary Get Elasticsearch task and hot-thread analysis
1819
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
1820
+ * @param {*} [options] Override http request option.
1821
+ * @throws {RequiredError}
1822
+ */
1823
+ getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis> {
1824
+ return localVarFp.getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(axios, basePath));
1825
+ },
1269
1826
  /**
1270
1827
  *
1271
1828
  * @summary Get Kingbase session diagnostics
@@ -1376,6 +1933,26 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
1376
1933
  listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>> {
1377
1934
  return localVarFp.listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(axios, basePath));
1378
1935
  },
1936
+ /**
1937
+ *
1938
+ * @summary List active Elasticsearch shard recoveries
1939
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
1940
+ * @param {*} [options] Override http request option.
1941
+ * @throws {RequiredError}
1942
+ */
1943
+ listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList> {
1944
+ return localVarFp.listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(axios, basePath));
1945
+ },
1946
+ /**
1947
+ *
1948
+ * @summary List Elasticsearch shards
1949
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ */
1953
+ listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList> {
1954
+ return localVarFp.listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(axios, basePath));
1955
+ },
1379
1956
  /**
1380
1957
  *
1381
1958
  * @summary List Kingbase session diagnostics
@@ -1405,6 +1982,26 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
1405
1982
  * @interface DiagnosticsApi
1406
1983
  */
1407
1984
  export interface DiagnosticsApiInterface {
1985
+ /**
1986
+ *
1987
+ * @summary Explain Elasticsearch shard allocation
1988
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
1989
+ * @param {*} [options] Override http request option.
1990
+ * @throws {RequiredError}
1991
+ * @memberof DiagnosticsApiInterface
1992
+ */
1993
+ explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation>;
1994
+
1995
+ /**
1996
+ * 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.
1997
+ * @summary Explain PostgreSQL SQL fingerprint
1998
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ * @memberof DiagnosticsApiInterface
2002
+ */
2003
+ explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSQLFingerprintExplainResponse>;
2004
+
1408
2005
  /**
1409
2006
  * 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
2007
  * @summary Get Dameng SQL analysis
@@ -1445,6 +2042,26 @@ export interface DiagnosticsApiInterface {
1445
2042
  */
1446
2043
  getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis>;
1447
2044
 
2045
+ /**
2046
+ *
2047
+ * @summary Get Elasticsearch storage and index analysis
2048
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
2049
+ * @param {*} [options] Override http request option.
2050
+ * @throws {RequiredError}
2051
+ * @memberof DiagnosticsApiInterface
2052
+ */
2053
+ getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis>;
2054
+
2055
+ /**
2056
+ *
2057
+ * @summary Get Elasticsearch task and hot-thread analysis
2058
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
2059
+ * @param {*} [options] Override http request option.
2060
+ * @throws {RequiredError}
2061
+ * @memberof DiagnosticsApiInterface
2062
+ */
2063
+ getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis>;
2064
+
1448
2065
  /**
1449
2066
  *
1450
2067
  * @summary Get Kingbase session diagnostics
@@ -1555,6 +2172,26 @@ export interface DiagnosticsApiInterface {
1555
2172
  */
1556
2173
  listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>>;
1557
2174
 
2175
+ /**
2176
+ *
2177
+ * @summary List active Elasticsearch shard recoveries
2178
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
2179
+ * @param {*} [options] Override http request option.
2180
+ * @throws {RequiredError}
2181
+ * @memberof DiagnosticsApiInterface
2182
+ */
2183
+ listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList>;
2184
+
2185
+ /**
2186
+ *
2187
+ * @summary List Elasticsearch shards
2188
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ * @memberof DiagnosticsApiInterface
2192
+ */
2193
+ listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList>;
2194
+
1558
2195
  /**
1559
2196
  *
1560
2197
  * @summary List Kingbase session diagnostics
@@ -1577,6 +2214,111 @@ export interface DiagnosticsApiInterface {
1577
2214
 
1578
2215
  }
1579
2216
 
2217
+ /**
2218
+ * Request parameters for explainDiagnosticsElasticsearchAllocation operation in DiagnosticsApi.
2219
+ * @export
2220
+ * @interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest
2221
+ */
2222
+ export interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest {
2223
+ /**
2224
+ *
2225
+ * @type {string}
2226
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2227
+ */
2228
+ readonly orgName: string
2229
+
2230
+ /**
2231
+ *
2232
+ * @type {string}
2233
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2234
+ */
2235
+ readonly clusterName: string
2236
+
2237
+ /**
2238
+ *
2239
+ * @type {string}
2240
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2241
+ */
2242
+ readonly index: string
2243
+
2244
+ /**
2245
+ *
2246
+ * @type {number}
2247
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2248
+ */
2249
+ readonly shard: number
2250
+
2251
+ /**
2252
+ *
2253
+ * @type {boolean}
2254
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2255
+ */
2256
+ readonly primary: boolean
2257
+
2258
+ /**
2259
+ *
2260
+ * @type {string}
2261
+ * @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
2262
+ */
2263
+ readonly currentNode?: string
2264
+ }
2265
+
2266
+ /**
2267
+ * Request parameters for explainDiagnosticsPostgresqlSQLFingerprint operation in DiagnosticsApi.
2268
+ * @export
2269
+ * @interface DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest
2270
+ */
2271
+ export interface DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest {
2272
+ /**
2273
+ * Organization name
2274
+ * @type {string}
2275
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2276
+ */
2277
+ readonly orgName: string
2278
+
2279
+ /**
2280
+ * Cluster name
2281
+ * @type {string}
2282
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2283
+ */
2284
+ readonly clusterName: string
2285
+
2286
+ /**
2287
+ * PostgreSQL pg_stat_statements queryid represented as a string.
2288
+ * @type {string}
2289
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2290
+ */
2291
+ readonly queryID: string
2292
+
2293
+ /**
2294
+ * Database name from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
2295
+ * @type {string}
2296
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2297
+ */
2298
+ readonly database: string
2299
+
2300
+ /**
2301
+ * Database user from the ranking row. The key is required to disambiguate the queryID. An unresolved empty name returns 422 no_explainable_sql_statement.
2302
+ * @type {string}
2303
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2304
+ */
2305
+ readonly user: string
2306
+
2307
+ /**
2308
+ * Top-level identity from the ranking row. Required to disambiguate the queryID on PostgreSQL versions that expose pg_stat_statements.toplevel.
2309
+ * @type {boolean}
2310
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2311
+ */
2312
+ readonly topLevel: boolean
2313
+
2314
+ /**
2315
+ * Optional fingerprint consistency guard. Currently aligned with PostgreSQL pg_stat_statements queryid.
2316
+ * @type {string}
2317
+ * @memberof DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprint
2318
+ */
2319
+ readonly fingerprint?: string
2320
+ }
2321
+
1580
2322
  /**
1581
2323
  * Request parameters for getDiagnosticsDamengSQLAnalysis operation in DiagnosticsApi.
1582
2324
  * @export
@@ -1710,6 +2452,104 @@ export interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest {
1710
2452
  readonly skipBasic?: boolean
1711
2453
  }
1712
2454
 
2455
+ /**
2456
+ * Request parameters for getDiagnosticsElasticsearchStorageAnalysis operation in DiagnosticsApi.
2457
+ * @export
2458
+ * @interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest
2459
+ */
2460
+ export interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest {
2461
+ /**
2462
+ *
2463
+ * @type {string}
2464
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2465
+ */
2466
+ readonly orgName: string
2467
+
2468
+ /**
2469
+ *
2470
+ * @type {string}
2471
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2472
+ */
2473
+ readonly clusterName: string
2474
+
2475
+ /**
2476
+ *
2477
+ * @type {string}
2478
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2479
+ */
2480
+ readonly node?: string
2481
+
2482
+ /**
2483
+ *
2484
+ * @type {string}
2485
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2486
+ */
2487
+ readonly index?: string
2488
+
2489
+ /**
2490
+ *
2491
+ * @type {ElasticsearchIndexSortBy}
2492
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2493
+ */
2494
+ readonly sortBy?: ElasticsearchIndexSortBy
2495
+
2496
+ /**
2497
+ *
2498
+ * @type {ElasticsearchSortOrder}
2499
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
2500
+ */
2501
+ readonly sortOrder?: ElasticsearchSortOrder
2502
+ }
2503
+
2504
+ /**
2505
+ * Request parameters for getDiagnosticsElasticsearchTaskAnalysis operation in DiagnosticsApi.
2506
+ * @export
2507
+ * @interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest
2508
+ */
2509
+ export interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest {
2510
+ /**
2511
+ *
2512
+ * @type {string}
2513
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2514
+ */
2515
+ readonly orgName: string
2516
+
2517
+ /**
2518
+ *
2519
+ * @type {string}
2520
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2521
+ */
2522
+ readonly clusterName: string
2523
+
2524
+ /**
2525
+ *
2526
+ * @type {ElasticsearchHotThreadsType}
2527
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2528
+ */
2529
+ readonly type?: ElasticsearchHotThreadsType
2530
+
2531
+ /**
2532
+ *
2533
+ * @type {string}
2534
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2535
+ */
2536
+ readonly node?: string
2537
+
2538
+ /**
2539
+ *
2540
+ * @type {number}
2541
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2542
+ */
2543
+ readonly taskLimit?: number
2544
+
2545
+ /**
2546
+ *
2547
+ * @type {number}
2548
+ * @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
2549
+ */
2550
+ readonly threads?: number
2551
+ }
2552
+
1713
2553
  /**
1714
2554
  * Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
1715
2555
  * @export
@@ -2053,6 +2893,83 @@ export interface DiagnosticsApiListDiagnosticsDamengSessionsRequest {
2053
2893
  readonly state?: string
2054
2894
  }
2055
2895
 
2896
+ /**
2897
+ * Request parameters for listDiagnosticsElasticsearchRecoveries operation in DiagnosticsApi.
2898
+ * @export
2899
+ * @interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest
2900
+ */
2901
+ export interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest {
2902
+ /**
2903
+ *
2904
+ * @type {string}
2905
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
2906
+ */
2907
+ readonly orgName: string
2908
+
2909
+ /**
2910
+ *
2911
+ * @type {string}
2912
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
2913
+ */
2914
+ readonly clusterName: string
2915
+
2916
+ /**
2917
+ * Index name or pattern
2918
+ * @type {string}
2919
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
2920
+ */
2921
+ readonly index?: string
2922
+
2923
+ /**
2924
+ * Exact target node ID or name
2925
+ * @type {string}
2926
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
2927
+ */
2928
+ readonly node?: string
2929
+ }
2930
+
2931
+ /**
2932
+ * Request parameters for listDiagnosticsElasticsearchShards operation in DiagnosticsApi.
2933
+ * @export
2934
+ * @interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest
2935
+ */
2936
+ export interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest {
2937
+ /**
2938
+ *
2939
+ * @type {string}
2940
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
2941
+ */
2942
+ readonly orgName: string
2943
+
2944
+ /**
2945
+ *
2946
+ * @type {string}
2947
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
2948
+ */
2949
+ readonly clusterName: string
2950
+
2951
+ /**
2952
+ * Index name or pattern
2953
+ * @type {string}
2954
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
2955
+ */
2956
+ readonly index?: string
2957
+
2958
+ /**
2959
+ * Exact node ID or name
2960
+ * @type {string}
2961
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
2962
+ */
2963
+ readonly node?: string
2964
+
2965
+ /**
2966
+ *
2967
+ * @type {ElasticsearchShardState}
2968
+ * @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
2969
+ */
2970
+ readonly state?: ElasticsearchShardState
2971
+ }
2972
+
2056
2973
  /**
2057
2974
  * Request parameters for listDiagnosticsKingbaseSessions operation in DiagnosticsApi.
2058
2975
  * @export
@@ -2116,6 +3033,30 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
2116
3033
  * @extends {BaseAPI}
2117
3034
  */
2118
3035
  export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
3036
+ /**
3037
+ *
3038
+ * @summary Explain Elasticsearch shard allocation
3039
+ * @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
3040
+ * @param {*} [options] Override http request option.
3041
+ * @throws {RequiredError}
3042
+ * @memberof DiagnosticsApi
3043
+ */
3044
+ public explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig) {
3045
+ 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));
3046
+ }
3047
+
3048
+ /**
3049
+ * 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.
3050
+ * @summary Explain PostgreSQL SQL fingerprint
3051
+ * @param {DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest} requestParameters Request parameters.
3052
+ * @param {*} [options] Override http request option.
3053
+ * @throws {RequiredError}
3054
+ * @memberof DiagnosticsApi
3055
+ */
3056
+ public explainDiagnosticsPostgresqlSQLFingerprint(requestParameters: DiagnosticsApiExplainDiagnosticsPostgresqlSQLFingerprintRequest, options?: RawAxiosRequestConfig) {
3057
+ 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));
3058
+ }
3059
+
2119
3060
  /**
2120
3061
  * 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
3062
  * @summary Get Dameng SQL analysis
@@ -2164,6 +3105,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2164
3105
  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
3106
  }
2166
3107
 
3108
+ /**
3109
+ *
3110
+ * @summary Get Elasticsearch storage and index analysis
3111
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
3112
+ * @param {*} [options] Override http request option.
3113
+ * @throws {RequiredError}
3114
+ * @memberof DiagnosticsApi
3115
+ */
3116
+ public getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig) {
3117
+ 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));
3118
+ }
3119
+
3120
+ /**
3121
+ *
3122
+ * @summary Get Elasticsearch task and hot-thread analysis
3123
+ * @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
3124
+ * @param {*} [options] Override http request option.
3125
+ * @throws {RequiredError}
3126
+ * @memberof DiagnosticsApi
3127
+ */
3128
+ public getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig) {
3129
+ 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));
3130
+ }
3131
+
2167
3132
  /**
2168
3133
  *
2169
3134
  * @summary Get Kingbase session diagnostics
@@ -2296,6 +3261,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
2296
3261
  return DiagnosticsApiFp(this.configuration).listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
2297
3262
  }
2298
3263
 
3264
+ /**
3265
+ *
3266
+ * @summary List active Elasticsearch shard recoveries
3267
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
3268
+ * @param {*} [options] Override http request option.
3269
+ * @throws {RequiredError}
3270
+ * @memberof DiagnosticsApi
3271
+ */
3272
+ public listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig) {
3273
+ return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(this.axios, this.basePath));
3274
+ }
3275
+
3276
+ /**
3277
+ *
3278
+ * @summary List Elasticsearch shards
3279
+ * @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
3280
+ * @param {*} [options] Override http request option.
3281
+ * @throws {RequiredError}
3282
+ * @memberof DiagnosticsApi
3283
+ */
3284
+ public listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig) {
3285
+ return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
3286
+ }
3287
+
2299
3288
  /**
2300
3289
  *
2301
3290
  * @summary List Kingbase session diagnostics