kb-cloud-client-typescript 2.3.0-alpha.175 → 2.3.0-alpha.177

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 (331) hide show
  1. package/dist/adminapi/api.d.ts +2 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +2 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +568 -0
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +636 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/diagnostics-api.d.ts +392 -0
  10. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/diagnostics-api.js +415 -0
  12. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  13. package/dist/adminapi/apis/elasticsearch-api.d.ts +1221 -0
  14. package/dist/adminapi/apis/elasticsearch-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/elasticsearch-api.js +1332 -0
  16. package/dist/adminapi/apis/elasticsearch-api.js.map +1 -0
  17. package/dist/adminapi/apis/hive-api.d.ts +334 -0
  18. package/dist/adminapi/apis/hive-api.d.ts.map +1 -0
  19. package/dist/adminapi/apis/hive-api.js +382 -0
  20. package/dist/adminapi/apis/hive-api.js.map +1 -0
  21. package/dist/adminapi/apis/kafka-api.d.ts +286 -0
  22. package/dist/adminapi/apis/kafka-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/kafka-api.js +318 -0
  24. package/dist/adminapi/apis/kafka-api.js.map +1 -1
  25. package/dist/adminapi/apis/shared-api.d.ts +1787 -46
  26. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  27. package/dist/adminapi/apis/shared-api.js +2060 -156
  28. package/dist/adminapi/apis/shared-api.js.map +1 -1
  29. package/dist/adminapi/models/dameng-index-item.d.ts +55 -0
  30. package/dist/adminapi/models/dameng-index-item.d.ts.map +1 -0
  31. package/dist/adminapi/models/dameng-index-item.js +16 -0
  32. package/dist/adminapi/models/dameng-index-item.js.map +1 -0
  33. package/dist/adminapi/models/dameng-large-mem-sqlentry.d.ts +55 -0
  34. package/dist/adminapi/models/dameng-large-mem-sqlentry.d.ts.map +1 -0
  35. package/dist/adminapi/models/dameng-large-mem-sqlentry.js +16 -0
  36. package/dist/adminapi/models/dameng-large-mem-sqlentry.js.map +1 -0
  37. package/dist/adminapi/models/dameng-lock-analysis.d.ts +39 -0
  38. package/dist/adminapi/models/dameng-lock-analysis.d.ts.map +1 -0
  39. package/dist/adminapi/models/dameng-lock-analysis.js +16 -0
  40. package/dist/adminapi/models/dameng-lock-analysis.js.map +1 -0
  41. package/dist/adminapi/models/dameng-lock-row.d.ts +61 -0
  42. package/dist/adminapi/models/dameng-lock-row.d.ts.map +1 -0
  43. package/dist/adminapi/models/dameng-lock-row.js +16 -0
  44. package/dist/adminapi/models/dameng-lock-row.js.map +1 -0
  45. package/dist/adminapi/models/dameng-long-exec-sqlentry.d.ts +55 -0
  46. package/dist/adminapi/models/dameng-long-exec-sqlentry.d.ts.map +1 -0
  47. package/dist/adminapi/models/dameng-long-exec-sqlentry.js +16 -0
  48. package/dist/adminapi/models/dameng-long-exec-sqlentry.js.map +1 -0
  49. package/dist/adminapi/models/dameng-schema-item.d.ts +31 -0
  50. package/dist/adminapi/models/dameng-schema-item.d.ts.map +1 -0
  51. package/dist/adminapi/models/dameng-schema-item.js +16 -0
  52. package/dist/adminapi/models/dameng-schema-item.js.map +1 -0
  53. package/dist/adminapi/models/dameng-session-detail.d.ts +103 -0
  54. package/dist/adminapi/models/dameng-session-detail.d.ts.map +1 -0
  55. package/dist/adminapi/models/dameng-session-detail.js +16 -0
  56. package/dist/adminapi/models/dameng-session-detail.js.map +1 -0
  57. package/dist/adminapi/models/dameng-session-list-item.d.ts +91 -0
  58. package/dist/adminapi/models/dameng-session-list-item.d.ts.map +1 -0
  59. package/dist/adminapi/models/dameng-session-list-item.js +16 -0
  60. package/dist/adminapi/models/dameng-session-list-item.js.map +1 -0
  61. package/dist/adminapi/models/dameng-space-analysis.d.ts +47 -0
  62. package/dist/adminapi/models/dameng-space-analysis.d.ts.map +1 -0
  63. package/dist/adminapi/models/dameng-space-analysis.js +16 -0
  64. package/dist/adminapi/models/dameng-space-analysis.js.map +1 -0
  65. package/dist/adminapi/models/dameng-sqlanalysis.d.ts +33 -0
  66. package/dist/adminapi/models/dameng-sqlanalysis.d.ts.map +1 -0
  67. package/dist/adminapi/models/dameng-sqlanalysis.js +16 -0
  68. package/dist/adminapi/models/dameng-sqlanalysis.js.map +1 -0
  69. package/dist/adminapi/models/dameng-table-size-item.d.ts +43 -0
  70. package/dist/adminapi/models/dameng-table-size-item.d.ts.map +1 -0
  71. package/dist/adminapi/models/dameng-table-size-item.js +16 -0
  72. package/dist/adminapi/models/dameng-table-size-item.js.map +1 -0
  73. package/dist/adminapi/models/dameng-tablespace-item.d.ts +49 -0
  74. package/dist/adminapi/models/dameng-tablespace-item.d.ts.map +1 -0
  75. package/dist/adminapi/models/dameng-tablespace-item.js +16 -0
  76. package/dist/adminapi/models/dameng-tablespace-item.js.map +1 -0
  77. package/dist/adminapi/models/esput-security-user-request.d.ts +63 -0
  78. package/dist/adminapi/models/esput-security-user-request.d.ts.map +1 -0
  79. package/dist/adminapi/models/esput-security-user-request.js +16 -0
  80. package/dist/adminapi/models/esput-security-user-request.js.map +1 -0
  81. package/dist/adminapi/models/essecurity-application-privileges.d.ts +37 -0
  82. package/dist/adminapi/models/essecurity-application-privileges.d.ts.map +1 -0
  83. package/dist/adminapi/models/essecurity-application-privileges.js +16 -0
  84. package/dist/adminapi/models/essecurity-application-privileges.js.map +1 -0
  85. package/dist/adminapi/models/essecurity-field-security.d.ts +31 -0
  86. package/dist/adminapi/models/essecurity-field-security.d.ts.map +1 -0
  87. package/dist/adminapi/models/essecurity-field-security.js +16 -0
  88. package/dist/adminapi/models/essecurity-field-security.js.map +1 -0
  89. package/dist/adminapi/models/essecurity-index-privileges.d.ts +50 -0
  90. package/dist/adminapi/models/essecurity-index-privileges.d.ts.map +1 -0
  91. package/dist/adminapi/models/essecurity-index-privileges.js +16 -0
  92. package/dist/adminapi/models/essecurity-index-privileges.js.map +1 -0
  93. package/dist/adminapi/models/essecurity-password-request.d.ts +25 -0
  94. package/dist/adminapi/models/essecurity-password-request.d.ts.map +1 -0
  95. package/dist/adminapi/models/essecurity-password-request.js +16 -0
  96. package/dist/adminapi/models/essecurity-password-request.js.map +1 -0
  97. package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
  98. package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
  99. package/dist/adminapi/models/essecurity-remote-cluster-privileges.js +16 -0
  100. package/dist/adminapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
  101. package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts +56 -0
  102. package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
  103. package/dist/adminapi/models/essecurity-remote-index-privileges.js +16 -0
  104. package/dist/adminapi/models/essecurity-remote-index-privileges.js.map +1 -0
  105. package/dist/adminapi/models/essecurity-role-descriptor.d.ts +97 -0
  106. package/dist/adminapi/models/essecurity-role-descriptor.d.ts.map +1 -0
  107. package/dist/adminapi/models/essecurity-role-descriptor.js +16 -0
  108. package/dist/adminapi/models/essecurity-role-descriptor.js.map +1 -0
  109. package/dist/adminapi/models/essecurity-role-mapping.d.ts +54 -0
  110. package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -0
  111. package/dist/adminapi/models/essecurity-role-mapping.js +16 -0
  112. package/dist/adminapi/models/essecurity-role-mapping.js.map +1 -0
  113. package/dist/adminapi/models/essecurity-role-template-format.d.ts +22 -0
  114. package/dist/adminapi/models/essecurity-role-template-format.d.ts.map +1 -0
  115. package/dist/adminapi/models/essecurity-role-template-format.js +26 -0
  116. package/dist/adminapi/models/essecurity-role-template-format.js.map +1 -0
  117. package/dist/adminapi/models/essecurity-role-template.d.ts +34 -0
  118. package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -0
  119. package/dist/adminapi/models/essecurity-role-template.js +16 -0
  120. package/dist/adminapi/models/essecurity-role-template.js.map +1 -0
  121. package/dist/adminapi/models/essecurity-user.d.ts +51 -0
  122. package/dist/adminapi/models/essecurity-user.d.ts.map +1 -0
  123. package/dist/adminapi/models/essecurity-user.js +16 -0
  124. package/dist/adminapi/models/essecurity-user.js.map +1 -0
  125. package/dist/adminapi/models/index.d.ts +24 -0
  126. package/dist/adminapi/models/index.d.ts.map +1 -1
  127. package/dist/adminapi/models/index.js +24 -0
  128. package/dist/adminapi/models/index.js.map +1 -1
  129. package/dist/openapi/apis/diagnostics-api.d.ts +392 -0
  130. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  131. package/dist/openapi/apis/diagnostics-api.js +415 -0
  132. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  133. package/dist/openapi/apis/elasticsearch-api.d.ts +53 -53
  134. package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -1
  135. package/dist/openapi/apis/elasticsearch-api.js +8 -8
  136. package/dist/openapi/apis/elasticsearch-api.js.map +1 -1
  137. package/dist/openapi/apis/shared-api.d.ts +53 -53
  138. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  139. package/dist/openapi/apis/shared-api.js +8 -8
  140. package/dist/openapi/apis/shared-api.js.map +1 -1
  141. package/dist/openapi/models/dameng-index-item.d.ts +55 -0
  142. package/dist/openapi/models/dameng-index-item.d.ts.map +1 -0
  143. package/dist/openapi/models/{security-role-mapping.js → dameng-index-item.js} +1 -1
  144. package/dist/openapi/models/dameng-index-item.js.map +1 -0
  145. package/dist/openapi/models/dameng-large-mem-sqlentry.d.ts +55 -0
  146. package/dist/openapi/models/dameng-large-mem-sqlentry.d.ts.map +1 -0
  147. package/dist/openapi/models/{security-index-privileges.js → dameng-large-mem-sqlentry.js} +1 -1
  148. package/dist/openapi/models/dameng-large-mem-sqlentry.js.map +1 -0
  149. package/dist/openapi/models/dameng-lock-analysis.d.ts +39 -0
  150. package/dist/openapi/models/dameng-lock-analysis.d.ts.map +1 -0
  151. package/dist/openapi/models/{security-role-template.js → dameng-lock-analysis.js} +1 -1
  152. package/dist/openapi/models/dameng-lock-analysis.js.map +1 -0
  153. package/dist/openapi/models/dameng-lock-row.d.ts +61 -0
  154. package/dist/openapi/models/dameng-lock-row.d.ts.map +1 -0
  155. package/dist/openapi/models/{security-user.js → dameng-lock-row.js} +1 -1
  156. package/dist/openapi/models/dameng-lock-row.js.map +1 -0
  157. package/dist/openapi/models/dameng-long-exec-sqlentry.d.ts +55 -0
  158. package/dist/openapi/models/dameng-long-exec-sqlentry.d.ts.map +1 -0
  159. package/dist/openapi/models/{put-security-user-request.js → dameng-long-exec-sqlentry.js} +1 -1
  160. package/dist/openapi/models/dameng-long-exec-sqlentry.js.map +1 -0
  161. package/dist/openapi/models/dameng-schema-item.d.ts +31 -0
  162. package/dist/openapi/models/dameng-schema-item.d.ts.map +1 -0
  163. package/dist/openapi/models/{security-field-security.js → dameng-schema-item.js} +1 -1
  164. package/dist/openapi/models/dameng-schema-item.js.map +1 -0
  165. package/dist/openapi/models/dameng-session-detail.d.ts +103 -0
  166. package/dist/openapi/models/dameng-session-detail.d.ts.map +1 -0
  167. package/dist/openapi/models/dameng-session-detail.js +16 -0
  168. package/dist/openapi/models/dameng-session-detail.js.map +1 -0
  169. package/dist/openapi/models/dameng-session-list-item.d.ts +91 -0
  170. package/dist/openapi/models/dameng-session-list-item.d.ts.map +1 -0
  171. package/dist/openapi/models/{security-role-descriptor.js → dameng-session-list-item.js} +1 -1
  172. package/dist/openapi/models/dameng-session-list-item.js.map +1 -0
  173. package/dist/openapi/models/dameng-space-analysis.d.ts +47 -0
  174. package/dist/openapi/models/dameng-space-analysis.d.ts.map +1 -0
  175. package/dist/openapi/models/dameng-space-analysis.js +16 -0
  176. package/dist/openapi/models/dameng-space-analysis.js.map +1 -0
  177. package/dist/openapi/models/dameng-sqlanalysis.d.ts +33 -0
  178. package/dist/openapi/models/dameng-sqlanalysis.d.ts.map +1 -0
  179. package/dist/openapi/models/dameng-sqlanalysis.js +16 -0
  180. package/dist/openapi/models/dameng-sqlanalysis.js.map +1 -0
  181. package/dist/openapi/models/dameng-table-size-item.d.ts +43 -0
  182. package/dist/openapi/models/dameng-table-size-item.d.ts.map +1 -0
  183. package/dist/openapi/models/dameng-table-size-item.js +16 -0
  184. package/dist/openapi/models/dameng-table-size-item.js.map +1 -0
  185. package/dist/openapi/models/dameng-tablespace-item.d.ts +49 -0
  186. package/dist/openapi/models/dameng-tablespace-item.d.ts.map +1 -0
  187. package/dist/openapi/models/dameng-tablespace-item.js +16 -0
  188. package/dist/openapi/models/dameng-tablespace-item.js.map +1 -0
  189. package/dist/openapi/models/{put-security-user-request.d.ts → esput-security-user-request.d.ts} +14 -14
  190. package/dist/openapi/models/esput-security-user-request.d.ts.map +1 -0
  191. package/dist/openapi/models/esput-security-user-request.js +16 -0
  192. package/dist/openapi/models/esput-security-user-request.js.map +1 -0
  193. package/dist/openapi/models/{security-application-privileges.d.ts → essecurity-application-privileges.d.ts} +6 -6
  194. package/dist/openapi/models/essecurity-application-privileges.d.ts.map +1 -0
  195. package/dist/openapi/models/{security-application-privileges.js → essecurity-application-privileges.js} +1 -1
  196. package/dist/openapi/models/essecurity-application-privileges.js.map +1 -0
  197. package/dist/openapi/models/{security-field-security.d.ts → essecurity-field-security.d.ts} +5 -5
  198. package/dist/openapi/models/essecurity-field-security.d.ts.map +1 -0
  199. package/dist/openapi/models/{security-password-request.js → essecurity-field-security.js} +1 -1
  200. package/dist/openapi/models/essecurity-field-security.js.map +1 -0
  201. package/dist/openapi/models/{security-index-privileges.d.ts → essecurity-index-privileges.d.ts} +12 -12
  202. package/dist/openapi/models/essecurity-index-privileges.d.ts.map +1 -0
  203. package/dist/openapi/models/essecurity-index-privileges.js +16 -0
  204. package/dist/openapi/models/essecurity-index-privileges.js.map +1 -0
  205. package/dist/openapi/models/{security-password-request.d.ts → essecurity-password-request.d.ts} +4 -4
  206. package/dist/openapi/models/essecurity-password-request.d.ts.map +1 -0
  207. package/dist/openapi/models/essecurity-password-request.js +16 -0
  208. package/dist/openapi/models/essecurity-password-request.js.map +1 -0
  209. package/dist/openapi/models/{security-remote-cluster-privileges.d.ts → essecurity-remote-cluster-privileges.d.ts} +5 -5
  210. package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
  211. package/dist/openapi/models/essecurity-remote-cluster-privileges.js +16 -0
  212. package/dist/openapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
  213. package/dist/openapi/models/{security-remote-index-privileges.d.ts → essecurity-remote-index-privileges.d.ts} +13 -13
  214. package/dist/openapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
  215. package/dist/openapi/models/essecurity-remote-index-privileges.js +16 -0
  216. package/dist/openapi/models/essecurity-remote-index-privileges.js.map +1 -0
  217. package/dist/openapi/models/{security-role-descriptor.d.ts → essecurity-role-descriptor.d.ts} +27 -27
  218. package/dist/openapi/models/essecurity-role-descriptor.d.ts.map +1 -0
  219. package/dist/openapi/models/essecurity-role-descriptor.js +16 -0
  220. package/dist/openapi/models/essecurity-role-descriptor.js.map +1 -0
  221. package/dist/openapi/models/{security-role-mapping.d.ts → essecurity-role-mapping.d.ts} +11 -11
  222. package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -0
  223. package/dist/openapi/models/essecurity-role-mapping.js +16 -0
  224. package/dist/openapi/models/essecurity-role-mapping.js.map +1 -0
  225. package/dist/openapi/models/{security-role-template-format.d.ts → essecurity-role-template-format.d.ts} +3 -3
  226. package/dist/openapi/models/essecurity-role-template-format.d.ts.map +1 -0
  227. package/dist/openapi/models/{security-role-template-format.js → essecurity-role-template-format.js} +3 -3
  228. package/dist/openapi/models/essecurity-role-template-format.js.map +1 -0
  229. package/dist/openapi/models/{security-role-template.d.ts → essecurity-role-template.d.ts} +8 -8
  230. package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -0
  231. package/dist/openapi/models/essecurity-role-template.js +16 -0
  232. package/dist/openapi/models/essecurity-role-template.js.map +1 -0
  233. package/dist/openapi/models/{security-user.d.ts → essecurity-user.d.ts} +10 -10
  234. package/dist/openapi/models/essecurity-user.d.ts.map +1 -0
  235. package/dist/openapi/models/essecurity-user.js +16 -0
  236. package/dist/openapi/models/essecurity-user.js.map +1 -0
  237. package/dist/openapi/models/index.d.ts +24 -12
  238. package/dist/openapi/models/index.d.ts.map +1 -1
  239. package/dist/openapi/models/index.js +24 -12
  240. package/dist/openapi/models/index.js.map +1 -1
  241. package/package.json +1 -1
  242. package/src/adminapi/.openapi-generator/FILES +26 -0
  243. package/src/adminapi/api.ts +2 -0
  244. package/src/adminapi/apis/account-api.ts +1046 -46
  245. package/src/adminapi/apis/diagnostics-api.ts +685 -0
  246. package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
  247. package/src/adminapi/apis/hive-api.ts +574 -0
  248. package/src/adminapi/apis/kafka-api.ts +504 -0
  249. package/src/adminapi/apis/shared-api.ts +3171 -169
  250. package/src/adminapi/models/dameng-index-item.ts +60 -0
  251. package/src/adminapi/models/dameng-large-mem-sqlentry.ts +60 -0
  252. package/src/adminapi/models/dameng-lock-analysis.ts +48 -0
  253. package/src/adminapi/models/dameng-lock-row.ts +66 -0
  254. package/src/adminapi/models/dameng-long-exec-sqlentry.ts +60 -0
  255. package/src/adminapi/models/dameng-schema-item.ts +36 -0
  256. package/src/adminapi/models/dameng-session-detail.ts +108 -0
  257. package/src/adminapi/models/dameng-session-list-item.ts +96 -0
  258. package/src/adminapi/models/dameng-space-analysis.ts +60 -0
  259. package/src/adminapi/models/dameng-sqlanalysis.ts +42 -0
  260. package/src/adminapi/models/dameng-table-size-item.ts +48 -0
  261. package/src/adminapi/models/dameng-tablespace-item.ts +54 -0
  262. package/src/adminapi/models/esput-security-user-request.ts +66 -0
  263. package/src/adminapi/models/essecurity-application-privileges.ts +42 -0
  264. package/src/adminapi/models/essecurity-field-security.ts +36 -0
  265. package/src/adminapi/models/essecurity-index-privileges.ts +57 -0
  266. package/src/adminapi/models/essecurity-password-request.ts +30 -0
  267. package/src/adminapi/models/essecurity-remote-cluster-privileges.ts +36 -0
  268. package/src/adminapi/models/essecurity-remote-index-privileges.ts +63 -0
  269. package/src/adminapi/models/essecurity-role-descriptor.ts +102 -0
  270. package/src/adminapi/models/essecurity-role-mapping.ts +57 -0
  271. package/src/adminapi/models/essecurity-role-template-format.ts +31 -0
  272. package/src/adminapi/models/essecurity-role-template.ts +41 -0
  273. package/src/adminapi/models/essecurity-user.ts +54 -0
  274. package/src/adminapi/models/index.ts +24 -0
  275. package/src/adminapi.yaml +2066 -280
  276. package/src/openapi/.openapi-generator/FILES +24 -12
  277. package/src/openapi/apis/diagnostics-api.ts +685 -0
  278. package/src/openapi/apis/elasticsearch-api.ts +47 -47
  279. package/src/openapi/apis/shared-api.ts +52 -52
  280. package/src/openapi/models/dameng-index-item.ts +60 -0
  281. package/src/openapi/models/dameng-large-mem-sqlentry.ts +60 -0
  282. package/src/openapi/models/dameng-lock-analysis.ts +48 -0
  283. package/src/openapi/models/dameng-lock-row.ts +66 -0
  284. package/src/openapi/models/dameng-long-exec-sqlentry.ts +60 -0
  285. package/src/openapi/models/dameng-schema-item.ts +36 -0
  286. package/src/openapi/models/dameng-session-detail.ts +108 -0
  287. package/src/openapi/models/dameng-session-list-item.ts +96 -0
  288. package/src/openapi/models/dameng-space-analysis.ts +60 -0
  289. package/src/openapi/models/dameng-sqlanalysis.ts +42 -0
  290. package/src/openapi/models/dameng-table-size-item.ts +48 -0
  291. package/src/openapi/models/dameng-tablespace-item.ts +54 -0
  292. package/src/openapi/models/{put-security-user-request.ts → esput-security-user-request.ts} +13 -13
  293. package/src/openapi/models/{security-application-privileges.ts → essecurity-application-privileges.ts} +5 -5
  294. package/src/openapi/models/{security-field-security.ts → essecurity-field-security.ts} +4 -4
  295. package/src/openapi/models/{security-index-privileges.ts → essecurity-index-privileges.ts} +11 -11
  296. package/src/openapi/models/{security-password-request.ts → essecurity-password-request.ts} +3 -3
  297. package/src/openapi/models/{security-remote-cluster-privileges.ts → essecurity-remote-cluster-privileges.ts} +4 -4
  298. package/src/openapi/models/{security-remote-index-privileges.ts → essecurity-remote-index-privileges.ts} +12 -12
  299. package/src/openapi/models/{security-role-descriptor.ts → essecurity-role-descriptor.ts} +26 -26
  300. package/src/openapi/models/{security-role-mapping.ts → essecurity-role-mapping.ts} +10 -10
  301. package/src/openapi/models/{security-role-template-format.ts → essecurity-role-template-format.ts} +2 -2
  302. package/src/openapi/models/{security-role-template.ts → essecurity-role-template.ts} +7 -7
  303. package/src/openapi/models/{security-user.ts → essecurity-user.ts} +9 -9
  304. package/src/openapi/models/index.ts +24 -12
  305. package/src/openapi.yaml +636 -38
  306. package/dist/openapi/models/put-security-user-request.d.ts.map +0 -1
  307. package/dist/openapi/models/put-security-user-request.js.map +0 -1
  308. package/dist/openapi/models/security-application-privileges.d.ts.map +0 -1
  309. package/dist/openapi/models/security-application-privileges.js.map +0 -1
  310. package/dist/openapi/models/security-field-security.d.ts.map +0 -1
  311. package/dist/openapi/models/security-field-security.js.map +0 -1
  312. package/dist/openapi/models/security-index-privileges.d.ts.map +0 -1
  313. package/dist/openapi/models/security-index-privileges.js.map +0 -1
  314. package/dist/openapi/models/security-password-request.d.ts.map +0 -1
  315. package/dist/openapi/models/security-password-request.js.map +0 -1
  316. package/dist/openapi/models/security-remote-cluster-privileges.d.ts.map +0 -1
  317. package/dist/openapi/models/security-remote-cluster-privileges.js +0 -16
  318. package/dist/openapi/models/security-remote-cluster-privileges.js.map +0 -1
  319. package/dist/openapi/models/security-remote-index-privileges.d.ts.map +0 -1
  320. package/dist/openapi/models/security-remote-index-privileges.js +0 -16
  321. package/dist/openapi/models/security-remote-index-privileges.js.map +0 -1
  322. package/dist/openapi/models/security-role-descriptor.d.ts.map +0 -1
  323. package/dist/openapi/models/security-role-descriptor.js.map +0 -1
  324. package/dist/openapi/models/security-role-mapping.d.ts.map +0 -1
  325. package/dist/openapi/models/security-role-mapping.js.map +0 -1
  326. package/dist/openapi/models/security-role-template-format.d.ts.map +0 -1
  327. package/dist/openapi/models/security-role-template-format.js.map +0 -1
  328. package/dist/openapi/models/security-role-template.d.ts.map +0 -1
  329. package/dist/openapi/models/security-role-template.js.map +0 -1
  330. package/dist/openapi/models/security-user.d.ts.map +0 -1
  331. package/dist/openapi/models/security-user.js.map +0 -1
@@ -174,6 +174,16 @@ import type { DmsTaskInfo } from '../models';
174
174
  // @ts-ignore
175
175
  import type { DmsTaskList } from '../models';
176
176
  // @ts-ignore
177
+ import type { ESPutSecurityUserRequest } from '../models';
178
+ // @ts-ignore
179
+ import type { ESSecurityPasswordRequest } from '../models';
180
+ // @ts-ignore
181
+ import type { ESSecurityRoleDescriptor } from '../models';
182
+ // @ts-ignore
183
+ import type { ESSecurityRoleMapping } from '../models';
184
+ // @ts-ignore
185
+ import type { ESSecurityUser } from '../models';
186
+ // @ts-ignore
177
187
  import type { EndpointList } from '../models';
178
188
  // @ts-ignore
179
189
  import type { Engine } from '../models';
@@ -991,6 +1001,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
991
1001
 
992
1002
 
993
1003
 
1004
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1005
+
1006
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1007
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1008
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1009
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1010
+
1011
+ return {
1012
+ url: toPathString(localVarUrlObj),
1013
+ options: localVarRequestOptions,
1014
+ };
1015
+ },
1016
+ /**
1017
+ *
1018
+ * @summary Change Elasticsearch account password
1019
+ * @param {string} orgName
1020
+ * @param {string} clusterName
1021
+ * @param {string} username
1022
+ * @param {ESSecurityPasswordRequest} body
1023
+ * @param {*} [options] Override http request option.
1024
+ * @throws {RequiredError}
1025
+ */
1026
+ changeElasticsearchSecurityUserPassword: async (orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1027
+ // verify required parameter 'orgName' is not null or undefined
1028
+ assertParamExists('changeElasticsearchSecurityUserPassword', 'orgName', orgName)
1029
+ // verify required parameter 'clusterName' is not null or undefined
1030
+ assertParamExists('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName)
1031
+ // verify required parameter 'username' is not null or undefined
1032
+ assertParamExists('changeElasticsearchSecurityUserPassword', 'username', username)
1033
+ // verify required parameter 'body' is not null or undefined
1034
+ assertParamExists('changeElasticsearchSecurityUserPassword', 'body', body)
1035
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
1036
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1037
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1038
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
1039
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1040
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1041
+ let baseOptions;
1042
+ if (configuration) {
1043
+ baseOptions = configuration.baseOptions;
1044
+ }
1045
+
1046
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1047
+ const localVarHeaderParameter = {} as any;
1048
+ const localVarQueryParameter = {} as any;
1049
+
1050
+ // authentication BearerToken required
1051
+ // http bearer authentication required
1052
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1053
+
1054
+ // authentication DigestAuth required
1055
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1056
+
1057
+
1058
+
994
1059
  localVarHeaderParameter['Content-Type'] = 'application/json';
995
1060
 
996
1061
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1455,6 +1520,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
1455
1520
 
1456
1521
 
1457
1522
 
1523
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1524
+
1525
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1526
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1527
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1528
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1529
+
1530
+ return {
1531
+ url: toPathString(localVarUrlObj),
1532
+ options: localVarRequestOptions,
1533
+ };
1534
+ },
1535
+ /**
1536
+ * create an hive account
1537
+ * @summary Create Hive account
1538
+ * @param {string} orgName name of the Org
1539
+ * @param {string} clusterName name of the Cluster
1540
+ * @param {Account} body
1541
+ * @param {*} [options] Override http request option.
1542
+ * @throws {RequiredError}
1543
+ */
1544
+ createHiveAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1545
+ // verify required parameter 'orgName' is not null or undefined
1546
+ assertParamExists('createHiveAccount', 'orgName', orgName)
1547
+ // verify required parameter 'clusterName' is not null or undefined
1548
+ assertParamExists('createHiveAccount', 'clusterName', clusterName)
1549
+ // verify required parameter 'body' is not null or undefined
1550
+ assertParamExists('createHiveAccount', 'body', body)
1551
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
1552
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1553
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1554
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1555
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1556
+ let baseOptions;
1557
+ if (configuration) {
1558
+ baseOptions = configuration.baseOptions;
1559
+ }
1560
+
1561
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1562
+ const localVarHeaderParameter = {} as any;
1563
+ const localVarQueryParameter = {} as any;
1564
+
1565
+ // authentication BearerToken required
1566
+ // http bearer authentication required
1567
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1568
+
1569
+ // authentication DigestAuth required
1570
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1571
+
1572
+
1573
+
1458
1574
  localVarHeaderParameter['Content-Type'] = 'application/json';
1459
1575
 
1460
1576
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1569,6 +1685,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
1569
1685
  options: localVarRequestOptions,
1570
1686
  };
1571
1687
  },
1688
+ /**
1689
+ * create an account in cluster
1690
+ * @summary Create cluster account
1691
+ * @param {string} orgName name of the Org
1692
+ * @param {string} clusterName name of the Cluster
1693
+ * @param {Account} body
1694
+ * @param {*} [options] Override http request option.
1695
+ * @throws {RequiredError}
1696
+ */
1697
+ createKafkaAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1698
+ // verify required parameter 'orgName' is not null or undefined
1699
+ assertParamExists('createKafkaAccount', 'orgName', orgName)
1700
+ // verify required parameter 'clusterName' is not null or undefined
1701
+ assertParamExists('createKafkaAccount', 'clusterName', clusterName)
1702
+ // verify required parameter 'body' is not null or undefined
1703
+ assertParamExists('createKafkaAccount', 'body', body)
1704
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
1705
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1706
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1707
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1708
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1709
+ let baseOptions;
1710
+ if (configuration) {
1711
+ baseOptions = configuration.baseOptions;
1712
+ }
1713
+
1714
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1715
+ const localVarHeaderParameter = {} as any;
1716
+ const localVarQueryParameter = {} as any;
1717
+
1718
+ // authentication BearerToken required
1719
+ // http bearer authentication required
1720
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1721
+
1722
+ // authentication DigestAuth required
1723
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1724
+
1725
+
1726
+
1727
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1728
+
1729
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1730
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1731
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1732
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1733
+
1734
+ return {
1735
+ url: toPathString(localVarUrlObj),
1736
+ options: localVarRequestOptions,
1737
+ };
1738
+ },
1572
1739
  /**
1573
1740
  *
1574
1741
  * @summary Create new topic
@@ -2523,24 +2690,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2523
2690
  },
2524
2691
  /**
2525
2692
  *
2526
- * @summary Delete IP whitelist
2527
- * @param {string} orgName name of the Org
2528
- * @param {string} clusterName name of the Cluster
2529
- * @param {string} ipWhitelistId ID of the IP whitelist
2693
+ * @summary Delete Elasticsearch security role
2694
+ * @param {string} orgName
2695
+ * @param {string} clusterName
2696
+ * @param {string} roleName
2530
2697
  * @param {*} [options] Override http request option.
2531
2698
  * @throws {RequiredError}
2532
2699
  */
2533
- deleteIPWhiteList: async (orgName: string, clusterName: string, ipWhitelistId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2700
+ deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2534
2701
  // verify required parameter 'orgName' is not null or undefined
2535
- assertParamExists('deleteIPWhiteList', 'orgName', orgName)
2702
+ assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
2536
2703
  // verify required parameter 'clusterName' is not null or undefined
2537
- assertParamExists('deleteIPWhiteList', 'clusterName', clusterName)
2538
- // verify required parameter 'ipWhitelistId' is not null or undefined
2539
- assertParamExists('deleteIPWhiteList', 'ipWhitelistId', ipWhitelistId)
2540
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/ipWhitelist/{ipWhitelistId}`
2704
+ assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
2705
+ // verify required parameter 'roleName' is not null or undefined
2706
+ assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
2707
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
2541
2708
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2542
2709
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2543
- .replace(`{${"ipWhitelistId"}}`, encodeURIComponent(String(ipWhitelistId)));
2710
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
2544
2711
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2545
2712
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2546
2713
  let baseOptions;
@@ -2571,25 +2738,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2571
2738
  };
2572
2739
  },
2573
2740
  /**
2574
- * Stops and deletes specified import task, will clean up related Kubernetes resources
2575
- * @summary Delete import task
2576
- * @param {string} orgName Organization name
2577
- * @param {string} clusterName Cluster name
2578
- * @param {string} id Import task ID
2741
+ *
2742
+ * @summary Delete Elasticsearch security role mapping
2743
+ * @param {string} orgName
2744
+ * @param {string} clusterName
2745
+ * @param {string} mappingName
2579
2746
  * @param {*} [options] Override http request option.
2580
2747
  * @throws {RequiredError}
2581
2748
  */
2582
- deleteImportTask: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2749
+ deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2583
2750
  // verify required parameter 'orgName' is not null or undefined
2584
- assertParamExists('deleteImportTask', 'orgName', orgName)
2751
+ assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
2585
2752
  // verify required parameter 'clusterName' is not null or undefined
2586
- assertParamExists('deleteImportTask', 'clusterName', clusterName)
2587
- // verify required parameter 'id' is not null or undefined
2588
- assertParamExists('deleteImportTask', 'id', id)
2589
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/import/{id}`
2753
+ assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
2754
+ // verify required parameter 'mappingName' is not null or undefined
2755
+ assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
2756
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
2590
2757
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2591
2758
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2592
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2759
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
2593
2760
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2594
2761
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2595
2762
  let baseOptions;
@@ -2621,24 +2788,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2621
2788
  },
2622
2789
  /**
2623
2790
  *
2624
- * @summary Delete consumer group
2625
- * @param {string} orgName The name of organization
2626
- * @param {string} clusterName The name of cluster
2627
- * @param {string} groupId The id of consumer group
2791
+ * @summary Delete Elasticsearch security user
2792
+ * @param {string} orgName
2793
+ * @param {string} clusterName
2794
+ * @param {string} username
2628
2795
  * @param {*} [options] Override http request option.
2629
2796
  * @throws {RequiredError}
2630
2797
  */
2631
- deleteKafkaConsumerGroup: async (orgName: string, clusterName: string, groupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2798
+ deleteElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2632
2799
  // verify required parameter 'orgName' is not null or undefined
2633
- assertParamExists('deleteKafkaConsumerGroup', 'orgName', orgName)
2800
+ assertParamExists('deleteElasticsearchSecurityUser', 'orgName', orgName)
2634
2801
  // verify required parameter 'clusterName' is not null or undefined
2635
- assertParamExists('deleteKafkaConsumerGroup', 'clusterName', clusterName)
2636
- // verify required parameter 'groupId' is not null or undefined
2637
- assertParamExists('deleteKafkaConsumerGroup', 'groupId', groupId)
2638
- const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/consumer-groups/{groupId}`
2802
+ assertParamExists('deleteElasticsearchSecurityUser', 'clusterName', clusterName)
2803
+ // verify required parameter 'username' is not null or undefined
2804
+ assertParamExists('deleteElasticsearchSecurityUser', 'username', username)
2805
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
2639
2806
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2640
2807
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2641
- .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
2808
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
2642
2809
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2643
2810
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2644
2811
  let baseOptions;
@@ -2669,25 +2836,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2669
2836
  };
2670
2837
  },
2671
2838
  /**
2672
- *
2673
- * @summary Delete topic
2674
- * @param {string} orgName The name of organization
2675
- * @param {string} clusterName The name of cluster
2676
- * @param {string} topic
2839
+ * delete an hive account in cluster
2840
+ * @summary Delete hive account
2841
+ * @param {string} orgName name of the organization
2842
+ * @param {string} clusterName name of the cluster
2843
+ * @param {string} accountName name of the account
2677
2844
  * @param {*} [options] Override http request option.
2678
2845
  * @throws {RequiredError}
2679
2846
  */
2680
- deleteKafkaTopic: async (orgName: string, clusterName: string, topic: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2847
+ deleteHiveAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2681
2848
  // verify required parameter 'orgName' is not null or undefined
2682
- assertParamExists('deleteKafkaTopic', 'orgName', orgName)
2849
+ assertParamExists('deleteHiveAccount', 'orgName', orgName)
2683
2850
  // verify required parameter 'clusterName' is not null or undefined
2684
- assertParamExists('deleteKafkaTopic', 'clusterName', clusterName)
2685
- // verify required parameter 'topic' is not null or undefined
2686
- assertParamExists('deleteKafkaTopic', 'topic', topic)
2687
- const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}`
2851
+ assertParamExists('deleteHiveAccount', 'clusterName', clusterName)
2852
+ // verify required parameter 'accountName' is not null or undefined
2853
+ assertParamExists('deleteHiveAccount', 'accountName', accountName)
2854
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
2688
2855
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2689
2856
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2690
- .replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
2857
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2691
2858
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2692
2859
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2693
2860
  let baseOptions;
@@ -2718,25 +2885,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2718
2885
  };
2719
2886
  },
2720
2887
  /**
2721
- * delete an account in mongodb
2722
- * @summary Delete mongodb account
2888
+ *
2889
+ * @summary Delete IP whitelist
2723
2890
  * @param {string} orgName name of the Org
2724
2891
  * @param {string} clusterName name of the Cluster
2725
- * @param {string} accountName name of the Cluster
2892
+ * @param {string} ipWhitelistId ID of the IP whitelist
2726
2893
  * @param {*} [options] Override http request option.
2727
2894
  * @throws {RequiredError}
2728
2895
  */
2729
- deleteMongoDBAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2896
+ deleteIPWhiteList: async (orgName: string, clusterName: string, ipWhitelistId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2730
2897
  // verify required parameter 'orgName' is not null or undefined
2731
- assertParamExists('deleteMongoDBAccount', 'orgName', orgName)
2898
+ assertParamExists('deleteIPWhiteList', 'orgName', orgName)
2732
2899
  // verify required parameter 'clusterName' is not null or undefined
2733
- assertParamExists('deleteMongoDBAccount', 'clusterName', clusterName)
2734
- // verify required parameter 'accountName' is not null or undefined
2735
- assertParamExists('deleteMongoDBAccount', 'accountName', accountName)
2736
- const localVarPath = `/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
2900
+ assertParamExists('deleteIPWhiteList', 'clusterName', clusterName)
2901
+ // verify required parameter 'ipWhitelistId' is not null or undefined
2902
+ assertParamExists('deleteIPWhiteList', 'ipWhitelistId', ipWhitelistId)
2903
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/ipWhitelist/{ipWhitelistId}`
2737
2904
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2738
2905
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2739
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2906
+ .replace(`{${"ipWhitelistId"}}`, encodeURIComponent(String(ipWhitelistId)));
2740
2907
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2741
2908
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2742
2909
  let baseOptions;
@@ -2767,24 +2934,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2767
2934
  };
2768
2935
  },
2769
2936
  /**
2770
- *
2771
- * @summary delete mssql account compatible with windows account
2772
- * @param {string} orgName name of the organization
2773
- * @param {string} clusterName name of the cluster
2774
- * @param {string} account name of the account
2937
+ * Stops and deletes specified import task, will clean up related Kubernetes resources
2938
+ * @summary Delete import task
2939
+ * @param {string} orgName Organization name
2940
+ * @param {string} clusterName Cluster name
2941
+ * @param {string} id Import task ID
2775
2942
  * @param {*} [options] Override http request option.
2776
2943
  * @throws {RequiredError}
2777
2944
  */
2778
- deleteMssqlAccount: async (orgName: string, clusterName: string, account: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2945
+ deleteImportTask: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2779
2946
  // verify required parameter 'orgName' is not null or undefined
2780
- assertParamExists('deleteMssqlAccount', 'orgName', orgName)
2947
+ assertParamExists('deleteImportTask', 'orgName', orgName)
2781
2948
  // verify required parameter 'clusterName' is not null or undefined
2782
- assertParamExists('deleteMssqlAccount', 'clusterName', clusterName)
2783
- // verify required parameter 'account' is not null or undefined
2784
- assertParamExists('deleteMssqlAccount', 'account', account)
2785
- const localVarPath = `/admin/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts`
2949
+ assertParamExists('deleteImportTask', 'clusterName', clusterName)
2950
+ // verify required parameter 'id' is not null or undefined
2951
+ assertParamExists('deleteImportTask', 'id', id)
2952
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/import/{id}`
2786
2953
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2787
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2954
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2955
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2788
2956
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2789
2957
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2790
2958
  let baseOptions;
@@ -2803,10 +2971,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2803
2971
  // authentication DigestAuth required
2804
2972
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2805
2973
 
2806
- if (account !== undefined) {
2807
- localVarQueryParameter['account'] = account;
2808
- }
2809
-
2810
2974
 
2811
2975
 
2812
2976
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2819,17 +2983,265 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2819
2983
  };
2820
2984
  },
2821
2985
  /**
2822
- * partially delete the specified org
2823
- * @summary Delete organization
2986
+ * delete an account in cluster
2987
+ * @summary Delete cluster account
2824
2988
  * @param {string} orgName name of the Org
2989
+ * @param {string} clusterName name of the Cluster
2990
+ * @param {string} accountName name of the Cluster
2825
2991
  * @param {*} [options] Override http request option.
2826
2992
  * @throws {RequiredError}
2827
2993
  */
2828
- deleteOrg: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2994
+ deleteKafkaAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2829
2995
  // verify required parameter 'orgName' is not null or undefined
2830
- assertParamExists('deleteOrg', 'orgName', orgName)
2831
- const localVarPath = `/admin/v1/organizations/{orgName}`
2832
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
2996
+ assertParamExists('deleteKafkaAccount', 'orgName', orgName)
2997
+ // verify required parameter 'clusterName' is not null or undefined
2998
+ assertParamExists('deleteKafkaAccount', 'clusterName', clusterName)
2999
+ // verify required parameter 'accountName' is not null or undefined
3000
+ assertParamExists('deleteKafkaAccount', 'accountName', accountName)
3001
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
3002
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3003
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3004
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
3005
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3006
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3007
+ let baseOptions;
3008
+ if (configuration) {
3009
+ baseOptions = configuration.baseOptions;
3010
+ }
3011
+
3012
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3013
+ const localVarHeaderParameter = {} as any;
3014
+ const localVarQueryParameter = {} as any;
3015
+
3016
+ // authentication BearerToken required
3017
+ // http bearer authentication required
3018
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3019
+
3020
+ // authentication DigestAuth required
3021
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3022
+
3023
+
3024
+
3025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3027
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3028
+
3029
+ return {
3030
+ url: toPathString(localVarUrlObj),
3031
+ options: localVarRequestOptions,
3032
+ };
3033
+ },
3034
+ /**
3035
+ *
3036
+ * @summary Delete consumer group
3037
+ * @param {string} orgName The name of organization
3038
+ * @param {string} clusterName The name of cluster
3039
+ * @param {string} groupId The id of consumer group
3040
+ * @param {*} [options] Override http request option.
3041
+ * @throws {RequiredError}
3042
+ */
3043
+ deleteKafkaConsumerGroup: async (orgName: string, clusterName: string, groupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3044
+ // verify required parameter 'orgName' is not null or undefined
3045
+ assertParamExists('deleteKafkaConsumerGroup', 'orgName', orgName)
3046
+ // verify required parameter 'clusterName' is not null or undefined
3047
+ assertParamExists('deleteKafkaConsumerGroup', 'clusterName', clusterName)
3048
+ // verify required parameter 'groupId' is not null or undefined
3049
+ assertParamExists('deleteKafkaConsumerGroup', 'groupId', groupId)
3050
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/consumer-groups/{groupId}`
3051
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3052
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3053
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
3054
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3055
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3056
+ let baseOptions;
3057
+ if (configuration) {
3058
+ baseOptions = configuration.baseOptions;
3059
+ }
3060
+
3061
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3062
+ const localVarHeaderParameter = {} as any;
3063
+ const localVarQueryParameter = {} as any;
3064
+
3065
+ // authentication BearerToken required
3066
+ // http bearer authentication required
3067
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3068
+
3069
+ // authentication DigestAuth required
3070
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3071
+
3072
+
3073
+
3074
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3076
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3077
+
3078
+ return {
3079
+ url: toPathString(localVarUrlObj),
3080
+ options: localVarRequestOptions,
3081
+ };
3082
+ },
3083
+ /**
3084
+ *
3085
+ * @summary Delete topic
3086
+ * @param {string} orgName The name of organization
3087
+ * @param {string} clusterName The name of cluster
3088
+ * @param {string} topic
3089
+ * @param {*} [options] Override http request option.
3090
+ * @throws {RequiredError}
3091
+ */
3092
+ deleteKafkaTopic: async (orgName: string, clusterName: string, topic: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3093
+ // verify required parameter 'orgName' is not null or undefined
3094
+ assertParamExists('deleteKafkaTopic', 'orgName', orgName)
3095
+ // verify required parameter 'clusterName' is not null or undefined
3096
+ assertParamExists('deleteKafkaTopic', 'clusterName', clusterName)
3097
+ // verify required parameter 'topic' is not null or undefined
3098
+ assertParamExists('deleteKafkaTopic', 'topic', topic)
3099
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}`
3100
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3101
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3102
+ .replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
3103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3104
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3105
+ let baseOptions;
3106
+ if (configuration) {
3107
+ baseOptions = configuration.baseOptions;
3108
+ }
3109
+
3110
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3111
+ const localVarHeaderParameter = {} as any;
3112
+ const localVarQueryParameter = {} as any;
3113
+
3114
+ // authentication BearerToken required
3115
+ // http bearer authentication required
3116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3117
+
3118
+ // authentication DigestAuth required
3119
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3120
+
3121
+
3122
+
3123
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3125
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3126
+
3127
+ return {
3128
+ url: toPathString(localVarUrlObj),
3129
+ options: localVarRequestOptions,
3130
+ };
3131
+ },
3132
+ /**
3133
+ * delete an account in mongodb
3134
+ * @summary Delete mongodb account
3135
+ * @param {string} orgName name of the Org
3136
+ * @param {string} clusterName name of the Cluster
3137
+ * @param {string} accountName name of the Cluster
3138
+ * @param {*} [options] Override http request option.
3139
+ * @throws {RequiredError}
3140
+ */
3141
+ deleteMongoDBAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3142
+ // verify required parameter 'orgName' is not null or undefined
3143
+ assertParamExists('deleteMongoDBAccount', 'orgName', orgName)
3144
+ // verify required parameter 'clusterName' is not null or undefined
3145
+ assertParamExists('deleteMongoDBAccount', 'clusterName', clusterName)
3146
+ // verify required parameter 'accountName' is not null or undefined
3147
+ assertParamExists('deleteMongoDBAccount', 'accountName', accountName)
3148
+ const localVarPath = `/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
3149
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3150
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3151
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
3152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3154
+ let baseOptions;
3155
+ if (configuration) {
3156
+ baseOptions = configuration.baseOptions;
3157
+ }
3158
+
3159
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3160
+ const localVarHeaderParameter = {} as any;
3161
+ const localVarQueryParameter = {} as any;
3162
+
3163
+ // authentication BearerToken required
3164
+ // http bearer authentication required
3165
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3166
+
3167
+ // authentication DigestAuth required
3168
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3169
+
3170
+
3171
+
3172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3174
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3175
+
3176
+ return {
3177
+ url: toPathString(localVarUrlObj),
3178
+ options: localVarRequestOptions,
3179
+ };
3180
+ },
3181
+ /**
3182
+ *
3183
+ * @summary delete mssql account compatible with windows account
3184
+ * @param {string} orgName name of the organization
3185
+ * @param {string} clusterName name of the cluster
3186
+ * @param {string} account name of the account
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ deleteMssqlAccount: async (orgName: string, clusterName: string, account: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3191
+ // verify required parameter 'orgName' is not null or undefined
3192
+ assertParamExists('deleteMssqlAccount', 'orgName', orgName)
3193
+ // verify required parameter 'clusterName' is not null or undefined
3194
+ assertParamExists('deleteMssqlAccount', 'clusterName', clusterName)
3195
+ // verify required parameter 'account' is not null or undefined
3196
+ assertParamExists('deleteMssqlAccount', 'account', account)
3197
+ const localVarPath = `/admin/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts`
3198
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3199
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3202
+ let baseOptions;
3203
+ if (configuration) {
3204
+ baseOptions = configuration.baseOptions;
3205
+ }
3206
+
3207
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3208
+ const localVarHeaderParameter = {} as any;
3209
+ const localVarQueryParameter = {} as any;
3210
+
3211
+ // authentication BearerToken required
3212
+ // http bearer authentication required
3213
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3214
+
3215
+ // authentication DigestAuth required
3216
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3217
+
3218
+ if (account !== undefined) {
3219
+ localVarQueryParameter['account'] = account;
3220
+ }
3221
+
3222
+
3223
+
3224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3226
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3227
+
3228
+ return {
3229
+ url: toPathString(localVarUrlObj),
3230
+ options: localVarRequestOptions,
3231
+ };
3232
+ },
3233
+ /**
3234
+ * partially delete the specified org
3235
+ * @summary Delete organization
3236
+ * @param {string} orgName name of the Org
3237
+ * @param {*} [options] Override http request option.
3238
+ * @throws {RequiredError}
3239
+ */
3240
+ deleteOrg: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3241
+ // verify required parameter 'orgName' is not null or undefined
3242
+ assertParamExists('deleteOrg', 'orgName', orgName)
3243
+ const localVarPath = `/admin/v1/organizations/{orgName}`
3244
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
2833
3245
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2834
3246
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2835
3247
  let baseOptions;
@@ -4801,28 +5213,286 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4801
5213
  };
4802
5214
  },
4803
5215
  /**
4804
- * get a database info in cluster
4805
- * @param {string} engineName name of the engine
4806
- * @param {string} orgName name of the Org
4807
- * @param {string} clusterName name of the Cluster
4808
- * @param {string} databaseName name of database
5216
+ * get a database info in cluster
5217
+ * @param {string} engineName name of the engine
5218
+ * @param {string} orgName name of the Org
5219
+ * @param {string} clusterName name of the Cluster
5220
+ * @param {string} databaseName name of database
5221
+ * @param {*} [options] Override http request option.
5222
+ * @throws {RequiredError}
5223
+ */
5224
+ getDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5225
+ // verify required parameter 'engineName' is not null or undefined
5226
+ assertParamExists('getDatabase', 'engineName', engineName)
5227
+ // verify required parameter 'orgName' is not null or undefined
5228
+ assertParamExists('getDatabase', 'orgName', orgName)
5229
+ // verify required parameter 'clusterName' is not null or undefined
5230
+ assertParamExists('getDatabase', 'clusterName', clusterName)
5231
+ // verify required parameter 'databaseName' is not null or undefined
5232
+ assertParamExists('getDatabase', 'databaseName', databaseName)
5233
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
5234
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5235
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5236
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
5237
+ .replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
5238
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5239
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5240
+ let baseOptions;
5241
+ if (configuration) {
5242
+ baseOptions = configuration.baseOptions;
5243
+ }
5244
+
5245
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5246
+ const localVarHeaderParameter = {} as any;
5247
+ const localVarQueryParameter = {} as any;
5248
+
5249
+ // authentication BearerToken required
5250
+ // http bearer authentication required
5251
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5252
+
5253
+ // authentication DigestAuth required
5254
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5255
+
5256
+
5257
+
5258
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5260
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5261
+
5262
+ return {
5263
+ url: toPathString(localVarUrlObj),
5264
+ options: localVarRequestOptions,
5265
+ };
5266
+ },
5267
+ /**
5268
+ * get available options for creating database
5269
+ * @summary get database options
5270
+ * @param {string} engineName name of the engine
5271
+ * @param {string} orgName name of the Org
5272
+ * @param {string} clusterName name of the Cluster
5273
+ * @param {string} type option type
5274
+ * @param {string} [charset] specified charset
5275
+ * @param {string} [filter] filter keyword
5276
+ * @param {*} [options] Override http request option.
5277
+ * @throws {RequiredError}
5278
+ */
5279
+ getDatabaseOptions: async (engineName: string, orgName: string, clusterName: string, type: string, charset?: string, filter?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5280
+ // verify required parameter 'engineName' is not null or undefined
5281
+ assertParamExists('getDatabaseOptions', 'engineName', engineName)
5282
+ // verify required parameter 'orgName' is not null or undefined
5283
+ assertParamExists('getDatabaseOptions', 'orgName', orgName)
5284
+ // verify required parameter 'clusterName' is not null or undefined
5285
+ assertParamExists('getDatabaseOptions', 'clusterName', clusterName)
5286
+ // verify required parameter 'type' is not null or undefined
5287
+ assertParamExists('getDatabaseOptions', 'type', type)
5288
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/dboptions`
5289
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5290
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5291
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5294
+ let baseOptions;
5295
+ if (configuration) {
5296
+ baseOptions = configuration.baseOptions;
5297
+ }
5298
+
5299
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5300
+ const localVarHeaderParameter = {} as any;
5301
+ const localVarQueryParameter = {} as any;
5302
+
5303
+ // authentication BearerToken required
5304
+ // http bearer authentication required
5305
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5306
+
5307
+ // authentication DigestAuth required
5308
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5309
+
5310
+ if (type !== undefined) {
5311
+ localVarQueryParameter['type'] = type;
5312
+ }
5313
+
5314
+ if (charset !== undefined) {
5315
+ localVarQueryParameter['charset'] = charset;
5316
+ }
5317
+
5318
+ if (filter !== undefined) {
5319
+ localVarQueryParameter['filter'] = filter;
5320
+ }
5321
+
5322
+
5323
+
5324
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5325
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5326
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5327
+
5328
+ return {
5329
+ url: toPathString(localVarUrlObj),
5330
+ options: localVarRequestOptions,
5331
+ };
5332
+ },
5333
+ /**
5334
+ *
5335
+ * @summary Get Elasticsearch builtin privileges
5336
+ * @param {string} orgName
5337
+ * @param {string} clusterName
5338
+ * @param {*} [options] Override http request option.
5339
+ * @throws {RequiredError}
5340
+ */
5341
+ getElasticsearchBuiltinPrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5342
+ // verify required parameter 'orgName' is not null or undefined
5343
+ assertParamExists('getElasticsearchBuiltinPrivileges', 'orgName', orgName)
5344
+ // verify required parameter 'clusterName' is not null or undefined
5345
+ assertParamExists('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName)
5346
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
5347
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5348
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5351
+ let baseOptions;
5352
+ if (configuration) {
5353
+ baseOptions = configuration.baseOptions;
5354
+ }
5355
+
5356
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5357
+ const localVarHeaderParameter = {} as any;
5358
+ const localVarQueryParameter = {} as any;
5359
+
5360
+ // authentication BearerToken required
5361
+ // http bearer authentication required
5362
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5363
+
5364
+ // authentication DigestAuth required
5365
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5366
+
5367
+
5368
+
5369
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5370
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5371
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5372
+
5373
+ return {
5374
+ url: toPathString(localVarUrlObj),
5375
+ options: localVarRequestOptions,
5376
+ };
5377
+ },
5378
+ /**
5379
+ *
5380
+ * @summary Get Elasticsearch security role
5381
+ * @param {string} orgName
5382
+ * @param {string} clusterName
5383
+ * @param {string} roleName
5384
+ * @param {*} [options] Override http request option.
5385
+ * @throws {RequiredError}
5386
+ */
5387
+ getElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5388
+ // verify required parameter 'orgName' is not null or undefined
5389
+ assertParamExists('getElasticsearchSecurityRole', 'orgName', orgName)
5390
+ // verify required parameter 'clusterName' is not null or undefined
5391
+ assertParamExists('getElasticsearchSecurityRole', 'clusterName', clusterName)
5392
+ // verify required parameter 'roleName' is not null or undefined
5393
+ assertParamExists('getElasticsearchSecurityRole', 'roleName', roleName)
5394
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
5395
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5396
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
5397
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
5398
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5399
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5400
+ let baseOptions;
5401
+ if (configuration) {
5402
+ baseOptions = configuration.baseOptions;
5403
+ }
5404
+
5405
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5406
+ const localVarHeaderParameter = {} as any;
5407
+ const localVarQueryParameter = {} as any;
5408
+
5409
+ // authentication BearerToken required
5410
+ // http bearer authentication required
5411
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5412
+
5413
+ // authentication DigestAuth required
5414
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5415
+
5416
+
5417
+
5418
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5419
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5420
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5421
+
5422
+ return {
5423
+ url: toPathString(localVarUrlObj),
5424
+ options: localVarRequestOptions,
5425
+ };
5426
+ },
5427
+ /**
5428
+ *
5429
+ * @summary Get Elasticsearch security role mapping
5430
+ * @param {string} orgName
5431
+ * @param {string} clusterName
5432
+ * @param {string} mappingName
5433
+ * @param {*} [options] Override http request option.
5434
+ * @throws {RequiredError}
5435
+ */
5436
+ getElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5437
+ // verify required parameter 'orgName' is not null or undefined
5438
+ assertParamExists('getElasticsearchSecurityRoleMapping', 'orgName', orgName)
5439
+ // verify required parameter 'clusterName' is not null or undefined
5440
+ assertParamExists('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
5441
+ // verify required parameter 'mappingName' is not null or undefined
5442
+ assertParamExists('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
5443
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
5444
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5445
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
5446
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
5447
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5448
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5449
+ let baseOptions;
5450
+ if (configuration) {
5451
+ baseOptions = configuration.baseOptions;
5452
+ }
5453
+
5454
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5455
+ const localVarHeaderParameter = {} as any;
5456
+ const localVarQueryParameter = {} as any;
5457
+
5458
+ // authentication BearerToken required
5459
+ // http bearer authentication required
5460
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5461
+
5462
+ // authentication DigestAuth required
5463
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5464
+
5465
+
5466
+
5467
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5468
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5469
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5470
+
5471
+ return {
5472
+ url: toPathString(localVarUrlObj),
5473
+ options: localVarRequestOptions,
5474
+ };
5475
+ },
5476
+ /**
5477
+ *
5478
+ * @summary Get Elasticsearch security user
5479
+ * @param {string} orgName
5480
+ * @param {string} clusterName
5481
+ * @param {string} username
4809
5482
  * @param {*} [options] Override http request option.
4810
5483
  * @throws {RequiredError}
4811
5484
  */
4812
- getDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4813
- // verify required parameter 'engineName' is not null or undefined
4814
- assertParamExists('getDatabase', 'engineName', engineName)
5485
+ getElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4815
5486
  // verify required parameter 'orgName' is not null or undefined
4816
- assertParamExists('getDatabase', 'orgName', orgName)
5487
+ assertParamExists('getElasticsearchSecurityUser', 'orgName', orgName)
4817
5488
  // verify required parameter 'clusterName' is not null or undefined
4818
- assertParamExists('getDatabase', 'clusterName', clusterName)
4819
- // verify required parameter 'databaseName' is not null or undefined
4820
- assertParamExists('getDatabase', 'databaseName', databaseName)
4821
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
4822
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5489
+ assertParamExists('getElasticsearchSecurityUser', 'clusterName', clusterName)
5490
+ // verify required parameter 'username' is not null or undefined
5491
+ assertParamExists('getElasticsearchSecurityUser', 'username', username)
5492
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
4823
5493
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4824
5494
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4825
- .replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
5495
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
4826
5496
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4827
5497
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4828
5498
  let baseOptions;
@@ -4853,27 +5523,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4853
5523
  };
4854
5524
  },
4855
5525
  /**
4856
- * get available options for creating database
4857
- * @summary get database options
5526
+ * get engine available console
5527
+ * @summary get engine available console
4858
5528
  * @param {string} engineName name of the engine
4859
5529
  * @param {string} orgName name of the Org
4860
- * @param {string} clusterName name of the Cluster
4861
- * @param {string} type option type
4862
- * @param {string} [charset] specified charset
4863
- * @param {string} [filter] filter keyword
5530
+ * @param {string} clusterName name of the cluster
4864
5531
  * @param {*} [options] Override http request option.
4865
5532
  * @throws {RequiredError}
4866
5533
  */
4867
- getDatabaseOptions: async (engineName: string, orgName: string, clusterName: string, type: string, charset?: string, filter?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5534
+ getEngineAvailableConsole: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4868
5535
  // verify required parameter 'engineName' is not null or undefined
4869
- assertParamExists('getDatabaseOptions', 'engineName', engineName)
5536
+ assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
4870
5537
  // verify required parameter 'orgName' is not null or undefined
4871
- assertParamExists('getDatabaseOptions', 'orgName', orgName)
5538
+ assertParamExists('getEngineAvailableConsole', 'orgName', orgName)
4872
5539
  // verify required parameter 'clusterName' is not null or undefined
4873
- assertParamExists('getDatabaseOptions', 'clusterName', clusterName)
4874
- // verify required parameter 'type' is not null or undefined
4875
- assertParamExists('getDatabaseOptions', 'type', type)
4876
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/dboptions`
5540
+ assertParamExists('getEngineAvailableConsole', 'clusterName', clusterName)
5541
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
4877
5542
  .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4878
5543
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4879
5544
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
@@ -4895,18 +5560,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4895
5560
  // authentication DigestAuth required
4896
5561
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4897
5562
 
4898
- if (type !== undefined) {
4899
- localVarQueryParameter['type'] = type;
4900
- }
4901
-
4902
- if (charset !== undefined) {
4903
- localVarQueryParameter['charset'] = charset;
4904
- }
4905
-
4906
- if (filter !== undefined) {
4907
- localVarQueryParameter['filter'] = filter;
4908
- }
4909
-
4910
5563
 
4911
5564
 
4912
5565
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4919,25 +5572,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4919
5572
  };
4920
5573
  },
4921
5574
  /**
4922
- * get engine available console
4923
- * @summary get engine available console
4924
- * @param {string} engineName name of the engine
4925
- * @param {string} orgName name of the Org
4926
- * @param {string} clusterName name of the cluster
5575
+ * Get a engineOption detail
5576
+ * @summary Get engineOption
5577
+ * @param {string} engineName Name of the engine
5578
+ * @param {EngineOptionVersion} [version] The version of the engineOption to query, &#x60;current&#x60; from potentially modified data, &#x60;original&#x60; from the json files of the apiserver
4927
5579
  * @param {*} [options] Override http request option.
4928
5580
  * @throws {RequiredError}
4929
5581
  */
4930
- getEngineAvailableConsole: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5582
+ getEngineOption: async (engineName: string, version?: EngineOptionVersion, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4931
5583
  // verify required parameter 'engineName' is not null or undefined
4932
- assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
4933
- // verify required parameter 'orgName' is not null or undefined
4934
- assertParamExists('getEngineAvailableConsole', 'orgName', orgName)
4935
- // verify required parameter 'clusterName' is not null or undefined
4936
- assertParamExists('getEngineAvailableConsole', 'clusterName', clusterName)
4937
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
4938
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4939
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4940
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5584
+ assertParamExists('getEngineOption', 'engineName', engineName)
5585
+ const localVarPath = `/admin/v1/engineOptions/{engineName}`
5586
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
4941
5587
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4942
5588
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4943
5589
  let baseOptions;
@@ -4956,6 +5602,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4956
5602
  // authentication DigestAuth required
4957
5603
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4958
5604
 
5605
+ if (version !== undefined) {
5606
+ localVarQueryParameter['version'] = version;
5607
+ }
5608
+
4959
5609
 
4960
5610
 
4961
5611
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4968,18 +5618,21 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4968
5618
  };
4969
5619
  },
4970
5620
  /**
4971
- * Get a engineOption detail
4972
- * @summary Get engineOption
4973
- * @param {string} engineName Name of the engine
4974
- * @param {EngineOptionVersion} [version] The version of the engineOption to query, &#x60;current&#x60; from potentially modified data, &#x60;original&#x60; from the json files of the apiserver
5621
+ * Get Hive accounts
5622
+ * @summary Get Hive accounts
5623
+ * @param {string} orgName The name of organization
5624
+ * @param {string} clusterName The name of cluster
4975
5625
  * @param {*} [options] Override http request option.
4976
5626
  * @throws {RequiredError}
4977
5627
  */
4978
- getEngineOption: async (engineName: string, version?: EngineOptionVersion, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4979
- // verify required parameter 'engineName' is not null or undefined
4980
- assertParamExists('getEngineOption', 'engineName', engineName)
4981
- const localVarPath = `/admin/v1/engineOptions/{engineName}`
4982
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
5628
+ getHiveAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5629
+ // verify required parameter 'orgName' is not null or undefined
5630
+ assertParamExists('getHiveAccounts', 'orgName', orgName)
5631
+ // verify required parameter 'clusterName' is not null or undefined
5632
+ assertParamExists('getHiveAccounts', 'clusterName', clusterName)
5633
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
5634
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5635
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4983
5636
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4984
5637
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4985
5638
  let baseOptions;
@@ -4998,10 +5651,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4998
5651
  // authentication DigestAuth required
4999
5652
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5000
5653
 
5001
- if (version !== undefined) {
5002
- localVarQueryParameter['version'] = version;
5003
- }
5004
-
5005
5654
 
5006
5655
 
5007
5656
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7513,6 +8162,141 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7513
8162
 
7514
8163
 
7515
8164
 
8165
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8166
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8167
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8168
+
8169
+ return {
8170
+ url: toPathString(localVarUrlObj),
8171
+ options: localVarRequestOptions,
8172
+ };
8173
+ },
8174
+ /**
8175
+ *
8176
+ * @summary List Elasticsearch security role mappings
8177
+ * @param {string} orgName
8178
+ * @param {string} clusterName
8179
+ * @param {*} [options] Override http request option.
8180
+ * @throws {RequiredError}
8181
+ */
8182
+ listElasticsearchSecurityRoleMappings: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8183
+ // verify required parameter 'orgName' is not null or undefined
8184
+ assertParamExists('listElasticsearchSecurityRoleMappings', 'orgName', orgName)
8185
+ // verify required parameter 'clusterName' is not null or undefined
8186
+ assertParamExists('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName)
8187
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
8188
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8189
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8190
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8191
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8192
+ let baseOptions;
8193
+ if (configuration) {
8194
+ baseOptions = configuration.baseOptions;
8195
+ }
8196
+
8197
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8198
+ const localVarHeaderParameter = {} as any;
8199
+ const localVarQueryParameter = {} as any;
8200
+
8201
+ // authentication BearerToken required
8202
+ // http bearer authentication required
8203
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8204
+
8205
+ // authentication DigestAuth required
8206
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8207
+
8208
+
8209
+
8210
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8211
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8212
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8213
+
8214
+ return {
8215
+ url: toPathString(localVarUrlObj),
8216
+ options: localVarRequestOptions,
8217
+ };
8218
+ },
8219
+ /**
8220
+ *
8221
+ * @summary List Elasticsearch security roles
8222
+ * @param {string} orgName
8223
+ * @param {string} clusterName
8224
+ * @param {*} [options] Override http request option.
8225
+ * @throws {RequiredError}
8226
+ */
8227
+ listElasticsearchSecurityRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8228
+ // verify required parameter 'orgName' is not null or undefined
8229
+ assertParamExists('listElasticsearchSecurityRoles', 'orgName', orgName)
8230
+ // verify required parameter 'clusterName' is not null or undefined
8231
+ assertParamExists('listElasticsearchSecurityRoles', 'clusterName', clusterName)
8232
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
8233
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8234
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8235
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8236
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8237
+ let baseOptions;
8238
+ if (configuration) {
8239
+ baseOptions = configuration.baseOptions;
8240
+ }
8241
+
8242
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8243
+ const localVarHeaderParameter = {} as any;
8244
+ const localVarQueryParameter = {} as any;
8245
+
8246
+ // authentication BearerToken required
8247
+ // http bearer authentication required
8248
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8249
+
8250
+ // authentication DigestAuth required
8251
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8252
+
8253
+
8254
+
8255
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8256
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8257
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8258
+
8259
+ return {
8260
+ url: toPathString(localVarUrlObj),
8261
+ options: localVarRequestOptions,
8262
+ };
8263
+ },
8264
+ /**
8265
+ *
8266
+ * @summary List Elasticsearch security users
8267
+ * @param {string} orgName
8268
+ * @param {string} clusterName
8269
+ * @param {*} [options] Override http request option.
8270
+ * @throws {RequiredError}
8271
+ */
8272
+ listElasticsearchSecurityUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8273
+ // verify required parameter 'orgName' is not null or undefined
8274
+ assertParamExists('listElasticsearchSecurityUsers', 'orgName', orgName)
8275
+ // verify required parameter 'clusterName' is not null or undefined
8276
+ assertParamExists('listElasticsearchSecurityUsers', 'clusterName', clusterName)
8277
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
8278
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8279
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8282
+ let baseOptions;
8283
+ if (configuration) {
8284
+ baseOptions = configuration.baseOptions;
8285
+ }
8286
+
8287
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8288
+ const localVarHeaderParameter = {} as any;
8289
+ const localVarQueryParameter = {} as any;
8290
+
8291
+ // authentication BearerToken required
8292
+ // http bearer authentication required
8293
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8294
+
8295
+ // authentication DigestAuth required
8296
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8297
+
8298
+
8299
+
7516
8300
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7517
8301
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7518
8302
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7950,20 +8734,70 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7950
8734
  },
7951
8735
  /**
7952
8736
  *
7953
- * @summary List cluster instances
8737
+ * @summary List cluster instances
8738
+ * @param {string} orgName name of the Org
8739
+ * @param {string} clusterName name of the KubeBlocks cluster
8740
+ * @param {*} [options] Override http request option.
8741
+ * @throws {RequiredError}
8742
+ */
8743
+ listInstance: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8744
+ // verify required parameter 'orgName' is not null or undefined
8745
+ assertParamExists('listInstance', 'orgName', orgName)
8746
+ // verify required parameter 'clusterName' is not null or undefined
8747
+ assertParamExists('listInstance', 'clusterName', clusterName)
8748
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances`
8749
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8750
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8751
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8752
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8753
+ let baseOptions;
8754
+ if (configuration) {
8755
+ baseOptions = configuration.baseOptions;
8756
+ }
8757
+
8758
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8759
+ const localVarHeaderParameter = {} as any;
8760
+ const localVarQueryParameter = {} as any;
8761
+
8762
+ // authentication BearerToken required
8763
+ // http bearer authentication required
8764
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8765
+
8766
+ // authentication DigestAuth required
8767
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8768
+
8769
+
8770
+
8771
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8772
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8773
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8774
+
8775
+ return {
8776
+ url: toPathString(localVarUrlObj),
8777
+ options: localVarRequestOptions,
8778
+ };
8779
+ },
8780
+ /**
8781
+ *
8782
+ * @summary List instance events
7954
8783
  * @param {string} orgName name of the Org
7955
8784
  * @param {string} clusterName name of the KubeBlocks cluster
8785
+ * @param {string} instanceName name of the instance
8786
+ * @param {number} [returnNumber] return number of events
7956
8787
  * @param {*} [options] Override http request option.
7957
8788
  * @throws {RequiredError}
7958
8789
  */
7959
- listInstance: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8790
+ listInstanceEvents: async (orgName: string, clusterName: string, instanceName: string, returnNumber?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7960
8791
  // verify required parameter 'orgName' is not null or undefined
7961
- assertParamExists('listInstance', 'orgName', orgName)
8792
+ assertParamExists('listInstanceEvents', 'orgName', orgName)
7962
8793
  // verify required parameter 'clusterName' is not null or undefined
7963
- assertParamExists('listInstance', 'clusterName', clusterName)
7964
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances`
8794
+ assertParamExists('listInstanceEvents', 'clusterName', clusterName)
8795
+ // verify required parameter 'instanceName' is not null or undefined
8796
+ assertParamExists('listInstanceEvents', 'instanceName', instanceName)
8797
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/events`
7965
8798
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7966
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8799
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8800
+ .replace(`{${"instanceName"}}`, encodeURIComponent(String(instanceName)));
7967
8801
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7968
8802
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7969
8803
  let baseOptions;
@@ -7982,6 +8816,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7982
8816
  // authentication DigestAuth required
7983
8817
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
7984
8818
 
8819
+ if (returnNumber !== undefined) {
8820
+ localVarQueryParameter['returnNumber'] = returnNumber;
8821
+ }
8822
+
7985
8823
 
7986
8824
 
7987
8825
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7994,26 +8832,21 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7994
8832
  };
7995
8833
  },
7996
8834
  /**
7997
- *
7998
- * @summary List instance events
8835
+ * list accounts in cluster
8836
+ * @summary List cluster accounts
7999
8837
  * @param {string} orgName name of the Org
8000
- * @param {string} clusterName name of the KubeBlocks cluster
8001
- * @param {string} instanceName name of the instance
8002
- * @param {number} [returnNumber] return number of events
8838
+ * @param {string} clusterName name of the Cluster
8003
8839
  * @param {*} [options] Override http request option.
8004
8840
  * @throws {RequiredError}
8005
8841
  */
8006
- listInstanceEvents: async (orgName: string, clusterName: string, instanceName: string, returnNumber?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8842
+ listKafkaAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8007
8843
  // verify required parameter 'orgName' is not null or undefined
8008
- assertParamExists('listInstanceEvents', 'orgName', orgName)
8844
+ assertParamExists('listKafkaAccounts', 'orgName', orgName)
8009
8845
  // verify required parameter 'clusterName' is not null or undefined
8010
- assertParamExists('listInstanceEvents', 'clusterName', clusterName)
8011
- // verify required parameter 'instanceName' is not null or undefined
8012
- assertParamExists('listInstanceEvents', 'instanceName', instanceName)
8013
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/events`
8846
+ assertParamExists('listKafkaAccounts', 'clusterName', clusterName)
8847
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
8014
8848
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8015
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8016
- .replace(`{${"instanceName"}}`, encodeURIComponent(String(instanceName)));
8849
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8017
8850
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8018
8851
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8019
8852
  let baseOptions;
@@ -8032,10 +8865,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8032
8865
  // authentication DigestAuth required
8033
8866
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8034
8867
 
8035
- if (returnNumber !== undefined) {
8036
- localVarQueryParameter['returnNumber'] = returnNumber;
8037
- }
8038
-
8039
8868
 
8040
8869
 
8041
8870
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9850,6 +10679,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9850
10679
 
9851
10680
 
9852
10681
 
10682
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10683
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10684
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10685
+
10686
+ return {
10687
+ url: toPathString(localVarUrlObj),
10688
+ options: localVarRequestOptions,
10689
+ };
10690
+ },
10691
+ /**
10692
+ *
10693
+ * @summary Lock Elasticsearch account
10694
+ * @param {string} orgName
10695
+ * @param {string} clusterName
10696
+ * @param {string} username
10697
+ * @param {*} [options] Override http request option.
10698
+ * @throws {RequiredError}
10699
+ */
10700
+ lockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10701
+ // verify required parameter 'orgName' is not null or undefined
10702
+ assertParamExists('lockElasticsearchSecurityUser', 'orgName', orgName)
10703
+ // verify required parameter 'clusterName' is not null or undefined
10704
+ assertParamExists('lockElasticsearchSecurityUser', 'clusterName', clusterName)
10705
+ // verify required parameter 'username' is not null or undefined
10706
+ assertParamExists('lockElasticsearchSecurityUser', 'username', username)
10707
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
10708
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10709
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10710
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
10711
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10712
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10713
+ let baseOptions;
10714
+ if (configuration) {
10715
+ baseOptions = configuration.baseOptions;
10716
+ }
10717
+
10718
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
10719
+ const localVarHeaderParameter = {} as any;
10720
+ const localVarQueryParameter = {} as any;
10721
+
10722
+ // authentication BearerToken required
10723
+ // http bearer authentication required
10724
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10725
+
10726
+ // authentication DigestAuth required
10727
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10728
+
10729
+
10730
+
9853
10731
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9854
10732
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9855
10733
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10294,6 +11172,171 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10294
11172
 
10295
11173
 
10296
11174
 
11175
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11176
+
11177
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11178
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11179
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11180
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
11181
+
11182
+ return {
11183
+ url: toPathString(localVarUrlObj),
11184
+ options: localVarRequestOptions,
11185
+ };
11186
+ },
11187
+ /**
11188
+ *
11189
+ * @summary Create or update Elasticsearch security role
11190
+ * @param {string} orgName
11191
+ * @param {string} clusterName
11192
+ * @param {string} roleName
11193
+ * @param {ESSecurityRoleDescriptor} body
11194
+ * @param {*} [options] Override http request option.
11195
+ * @throws {RequiredError}
11196
+ */
11197
+ putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11198
+ // verify required parameter 'orgName' is not null or undefined
11199
+ assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
11200
+ // verify required parameter 'clusterName' is not null or undefined
11201
+ assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
11202
+ // verify required parameter 'roleName' is not null or undefined
11203
+ assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
11204
+ // verify required parameter 'body' is not null or undefined
11205
+ assertParamExists('putElasticsearchSecurityRole', 'body', body)
11206
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
11207
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11208
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11209
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
11210
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11211
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11212
+ let baseOptions;
11213
+ if (configuration) {
11214
+ baseOptions = configuration.baseOptions;
11215
+ }
11216
+
11217
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11218
+ const localVarHeaderParameter = {} as any;
11219
+ const localVarQueryParameter = {} as any;
11220
+
11221
+ // authentication BearerToken required
11222
+ // http bearer authentication required
11223
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11224
+
11225
+ // authentication DigestAuth required
11226
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11227
+
11228
+
11229
+
11230
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11231
+
11232
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11233
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11234
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11235
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
11236
+
11237
+ return {
11238
+ url: toPathString(localVarUrlObj),
11239
+ options: localVarRequestOptions,
11240
+ };
11241
+ },
11242
+ /**
11243
+ *
11244
+ * @summary Create or update Elasticsearch security role mapping
11245
+ * @param {string} orgName
11246
+ * @param {string} clusterName
11247
+ * @param {string} mappingName
11248
+ * @param {ESSecurityRoleMapping} body
11249
+ * @param {*} [options] Override http request option.
11250
+ * @throws {RequiredError}
11251
+ */
11252
+ putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11253
+ // verify required parameter 'orgName' is not null or undefined
11254
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
11255
+ // verify required parameter 'clusterName' is not null or undefined
11256
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
11257
+ // verify required parameter 'mappingName' is not null or undefined
11258
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
11259
+ // verify required parameter 'body' is not null or undefined
11260
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
11261
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
11262
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11263
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11264
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
11265
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11266
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11267
+ let baseOptions;
11268
+ if (configuration) {
11269
+ baseOptions = configuration.baseOptions;
11270
+ }
11271
+
11272
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11273
+ const localVarHeaderParameter = {} as any;
11274
+ const localVarQueryParameter = {} as any;
11275
+
11276
+ // authentication BearerToken required
11277
+ // http bearer authentication required
11278
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11279
+
11280
+ // authentication DigestAuth required
11281
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11282
+
11283
+
11284
+
11285
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11286
+
11287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11289
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11290
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
11291
+
11292
+ return {
11293
+ url: toPathString(localVarUrlObj),
11294
+ options: localVarRequestOptions,
11295
+ };
11296
+ },
11297
+ /**
11298
+ *
11299
+ * @summary Create or update Elasticsearch security user
11300
+ * @param {string} orgName
11301
+ * @param {string} clusterName
11302
+ * @param {string} username
11303
+ * @param {ESPutSecurityUserRequest} body
11304
+ * @param {*} [options] Override http request option.
11305
+ * @throws {RequiredError}
11306
+ */
11307
+ putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11308
+ // verify required parameter 'orgName' is not null or undefined
11309
+ assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
11310
+ // verify required parameter 'clusterName' is not null or undefined
11311
+ assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
11312
+ // verify required parameter 'username' is not null or undefined
11313
+ assertParamExists('putElasticsearchSecurityUser', 'username', username)
11314
+ // verify required parameter 'body' is not null or undefined
11315
+ assertParamExists('putElasticsearchSecurityUser', 'body', body)
11316
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
11317
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11318
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11319
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
11320
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11321
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11322
+ let baseOptions;
11323
+ if (configuration) {
11324
+ baseOptions = configuration.baseOptions;
11325
+ }
11326
+
11327
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11328
+ const localVarHeaderParameter = {} as any;
11329
+ const localVarQueryParameter = {} as any;
11330
+
11331
+ // authentication BearerToken required
11332
+ // http bearer authentication required
11333
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11334
+
11335
+ // authentication DigestAuth required
11336
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11337
+
11338
+
11339
+
10297
11340
  localVarHeaderParameter['Content-Type'] = 'application/json';
10298
11341
 
10299
11342
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -12569,6 +13612,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12569
13612
 
12570
13613
 
12571
13614
 
13615
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13616
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13617
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13618
+
13619
+ return {
13620
+ url: toPathString(localVarUrlObj),
13621
+ options: localVarRequestOptions,
13622
+ };
13623
+ },
13624
+ /**
13625
+ *
13626
+ * @summary Unlock Elasticsearch account
13627
+ * @param {string} orgName
13628
+ * @param {string} clusterName
13629
+ * @param {string} username
13630
+ * @param {*} [options] Override http request option.
13631
+ * @throws {RequiredError}
13632
+ */
13633
+ unlockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13634
+ // verify required parameter 'orgName' is not null or undefined
13635
+ assertParamExists('unlockElasticsearchSecurityUser', 'orgName', orgName)
13636
+ // verify required parameter 'clusterName' is not null or undefined
13637
+ assertParamExists('unlockElasticsearchSecurityUser', 'clusterName', clusterName)
13638
+ // verify required parameter 'username' is not null or undefined
13639
+ assertParamExists('unlockElasticsearchSecurityUser', 'username', username)
13640
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
13641
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13642
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13643
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
13644
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13645
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13646
+ let baseOptions;
13647
+ if (configuration) {
13648
+ baseOptions = configuration.baseOptions;
13649
+ }
13650
+
13651
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
13652
+ const localVarHeaderParameter = {} as any;
13653
+ const localVarQueryParameter = {} as any;
13654
+
13655
+ // authentication BearerToken required
13656
+ // http bearer authentication required
13657
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13658
+
13659
+ // authentication DigestAuth required
13660
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13661
+
13662
+
13663
+
12572
13664
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12573
13665
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12574
13666
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -13017,6 +14109,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13017
14109
  options: localVarRequestOptions,
13018
14110
  };
13019
14111
  },
14112
+ /**
14113
+ * update an hive account in cluster
14114
+ * @summary update hive account
14115
+ * @param {string} orgName name of the organization
14116
+ * @param {string} clusterName name of the cluster
14117
+ * @param {string} accountName name of the account
14118
+ * @param {Account} body
14119
+ * @param {*} [options] Override http request option.
14120
+ * @throws {RequiredError}
14121
+ */
14122
+ updateHiveAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14123
+ // verify required parameter 'orgName' is not null or undefined
14124
+ assertParamExists('updateHiveAccount', 'orgName', orgName)
14125
+ // verify required parameter 'clusterName' is not null or undefined
14126
+ assertParamExists('updateHiveAccount', 'clusterName', clusterName)
14127
+ // verify required parameter 'accountName' is not null or undefined
14128
+ assertParamExists('updateHiveAccount', 'accountName', accountName)
14129
+ // verify required parameter 'body' is not null or undefined
14130
+ assertParamExists('updateHiveAccount', 'body', body)
14131
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
14132
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14133
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14134
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14137
+ let baseOptions;
14138
+ if (configuration) {
14139
+ baseOptions = configuration.baseOptions;
14140
+ }
14141
+
14142
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
14143
+ const localVarHeaderParameter = {} as any;
14144
+ const localVarQueryParameter = {} as any;
14145
+
14146
+ // authentication BearerToken required
14147
+ // http bearer authentication required
14148
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14149
+
14150
+ // authentication DigestAuth required
14151
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14152
+
14153
+
14154
+
14155
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14156
+
14157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14159
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14160
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14161
+
14162
+ return {
14163
+ url: toPathString(localVarUrlObj),
14164
+ options: localVarRequestOptions,
14165
+ };
14166
+ },
13020
14167
  /**
13021
14168
  *
13022
14169
  * @summary Update IP whitelist
@@ -13125,6 +14272,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13125
14272
  options: localVarRequestOptions,
13126
14273
  };
13127
14274
  },
14275
+ /**
14276
+ * update an account in cluster
14277
+ * @summary update cluster account
14278
+ * @param {string} orgName name of the Org
14279
+ * @param {string} clusterName name of the Cluster
14280
+ * @param {string} accountName name of the account
14281
+ * @param {Account} body
14282
+ * @param {*} [options] Override http request option.
14283
+ * @throws {RequiredError}
14284
+ */
14285
+ updateKafkaAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14286
+ // verify required parameter 'orgName' is not null or undefined
14287
+ assertParamExists('updateKafkaAccount', 'orgName', orgName)
14288
+ // verify required parameter 'clusterName' is not null or undefined
14289
+ assertParamExists('updateKafkaAccount', 'clusterName', clusterName)
14290
+ // verify required parameter 'accountName' is not null or undefined
14291
+ assertParamExists('updateKafkaAccount', 'accountName', accountName)
14292
+ // verify required parameter 'body' is not null or undefined
14293
+ assertParamExists('updateKafkaAccount', 'body', body)
14294
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
14295
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14296
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14297
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14298
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14299
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14300
+ let baseOptions;
14301
+ if (configuration) {
14302
+ baseOptions = configuration.baseOptions;
14303
+ }
14304
+
14305
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
14306
+ const localVarHeaderParameter = {} as any;
14307
+ const localVarQueryParameter = {} as any;
14308
+
14309
+ // authentication BearerToken required
14310
+ // http bearer authentication required
14311
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14312
+
14313
+ // authentication DigestAuth required
14314
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14315
+
14316
+
14317
+
14318
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14319
+
14320
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14322
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14323
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14324
+
14325
+ return {
14326
+ url: toPathString(localVarUrlObj),
14327
+ options: localVarRequestOptions,
14328
+ };
14329
+ },
13128
14330
  /**
13129
14331
  *
13130
14332
  * @summary Update broker config
@@ -14036,6 +15238,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
14036
15238
  const localVarOperationServerBasePath = operationServerMap['SharedApi.buildBackupObj']?.[localVarOperationServerIndex]?.url;
14037
15239
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14038
15240
  },
15241
+ /**
15242
+ *
15243
+ * @summary Change Elasticsearch account password
15244
+ * @param {string} orgName
15245
+ * @param {string} clusterName
15246
+ * @param {string} username
15247
+ * @param {ESSecurityPasswordRequest} body
15248
+ * @param {*} [options] Override http request option.
15249
+ * @throws {RequiredError}
15250
+ */
15251
+ async changeElasticsearchSecurityUserPassword(orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
15253
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15254
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']?.[localVarOperationServerIndex]?.url;
15255
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15256
+ },
14039
15257
  /**
14040
15258
  * check apikey available
14041
15259
  * @summary check apikey available
@@ -14173,6 +15391,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
14173
15391
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createDatabase']?.[localVarOperationServerIndex]?.url;
14174
15392
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14175
15393
  },
15394
+ /**
15395
+ * create an hive account
15396
+ * @summary Create Hive account
15397
+ * @param {string} orgName name of the Org
15398
+ * @param {string} clusterName name of the Cluster
15399
+ * @param {Account} body
15400
+ * @param {*} [options] Override http request option.
15401
+ * @throws {RequiredError}
15402
+ */
15403
+ async createHiveAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
15404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHiveAccount(orgName, clusterName, body, options);
15405
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15406
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createHiveAccount']?.[localVarOperationServerIndex]?.url;
15407
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15408
+ },
14176
15409
  /**
14177
15410
  *
14178
15411
  * @summary Create IP whitelist
@@ -14203,6 +15436,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
14203
15436
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createImportTask']?.[localVarOperationServerIndex]?.url;
14204
15437
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14205
15438
  },
15439
+ /**
15440
+ * create an account in cluster
15441
+ * @summary Create cluster account
15442
+ * @param {string} orgName name of the Org
15443
+ * @param {string} clusterName name of the Cluster
15444
+ * @param {Account} body
15445
+ * @param {*} [options] Override http request option.
15446
+ * @throws {RequiredError}
15447
+ */
15448
+ async createKafkaAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
15449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createKafkaAccount(orgName, clusterName, body, options);
15450
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15451
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaAccount']?.[localVarOperationServerIndex]?.url;
15452
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15453
+ },
14206
15454
  /**
14207
15455
  *
14208
15456
  * @summary Create new topic
@@ -14487,6 +15735,66 @@ export const SharedApiFp = function(configuration?: Configuration) {
14487
15735
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
14488
15736
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14489
15737
  },
15738
+ /**
15739
+ *
15740
+ * @summary Delete Elasticsearch security role
15741
+ * @param {string} orgName
15742
+ * @param {string} clusterName
15743
+ * @param {string} roleName
15744
+ * @param {*} [options] Override http request option.
15745
+ * @throws {RequiredError}
15746
+ */
15747
+ async deleteElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15748
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
15749
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15750
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
15751
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15752
+ },
15753
+ /**
15754
+ *
15755
+ * @summary Delete Elasticsearch security role mapping
15756
+ * @param {string} orgName
15757
+ * @param {string} clusterName
15758
+ * @param {string} mappingName
15759
+ * @param {*} [options] Override http request option.
15760
+ * @throws {RequiredError}
15761
+ */
15762
+ async deleteElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15763
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
15764
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15765
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
15766
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15767
+ },
15768
+ /**
15769
+ *
15770
+ * @summary Delete Elasticsearch security user
15771
+ * @param {string} orgName
15772
+ * @param {string} clusterName
15773
+ * @param {string} username
15774
+ * @param {*} [options] Override http request option.
15775
+ * @throws {RequiredError}
15776
+ */
15777
+ async deleteElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
15779
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15780
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
15781
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15782
+ },
15783
+ /**
15784
+ * delete an hive account in cluster
15785
+ * @summary Delete hive account
15786
+ * @param {string} orgName name of the organization
15787
+ * @param {string} clusterName name of the cluster
15788
+ * @param {string} accountName name of the account
15789
+ * @param {*} [options] Override http request option.
15790
+ * @throws {RequiredError}
15791
+ */
15792
+ async deleteHiveAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15793
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHiveAccount(orgName, clusterName, accountName, options);
15794
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15795
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteHiveAccount']?.[localVarOperationServerIndex]?.url;
15796
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15797
+ },
14490
15798
  /**
14491
15799
  *
14492
15800
  * @summary Delete IP whitelist
@@ -14517,6 +15825,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
14517
15825
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteImportTask']?.[localVarOperationServerIndex]?.url;
14518
15826
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14519
15827
  },
15828
+ /**
15829
+ * delete an account in cluster
15830
+ * @summary Delete cluster account
15831
+ * @param {string} orgName name of the Org
15832
+ * @param {string} clusterName name of the Cluster
15833
+ * @param {string} accountName name of the Cluster
15834
+ * @param {*} [options] Override http request option.
15835
+ * @throws {RequiredError}
15836
+ */
15837
+ async deleteKafkaAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKafkaAccount(orgName, clusterName, accountName, options);
15839
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15840
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaAccount']?.[localVarOperationServerIndex]?.url;
15841
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15842
+ },
14520
15843
  /**
14521
15844
  *
14522
15845
  * @summary Delete consumer group
@@ -15191,6 +16514,65 @@ export const SharedApiFp = function(configuration?: Configuration) {
15191
16514
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
15192
16515
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15193
16516
  },
16517
+ /**
16518
+ *
16519
+ * @summary Get Elasticsearch builtin privileges
16520
+ * @param {string} orgName
16521
+ * @param {string} clusterName
16522
+ * @param {*} [options] Override http request option.
16523
+ * @throws {RequiredError}
16524
+ */
16525
+ async getElasticsearchBuiltinPrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<string>; }>> {
16526
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
16527
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16528
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']?.[localVarOperationServerIndex]?.url;
16529
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16530
+ },
16531
+ /**
16532
+ *
16533
+ * @summary Get Elasticsearch security role
16534
+ * @param {string} orgName
16535
+ * @param {string} clusterName
16536
+ * @param {string} roleName
16537
+ * @param {*} [options] Override http request option.
16538
+ * @throws {RequiredError}
16539
+ */
16540
+ async getElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleDescriptor>> {
16541
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
16542
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16543
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
16544
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16545
+ },
16546
+ /**
16547
+ *
16548
+ * @summary Get Elasticsearch security role mapping
16549
+ * @param {string} orgName
16550
+ * @param {string} clusterName
16551
+ * @param {string} mappingName
16552
+ * @param {*} [options] Override http request option.
16553
+ * @throws {RequiredError}
16554
+ */
16555
+ async getElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleMapping>> {
16556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
16557
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16558
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
16559
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16560
+ },
16561
+ /**
16562
+ *
16563
+ * @summary Get Elasticsearch security user
16564
+ * @param {string} orgName
16565
+ * @param {string} clusterName
16566
+ * @param {string} username
16567
+ * @param {*} [options] Override http request option.
16568
+ * @throws {RequiredError}
16569
+ */
16570
+ async getElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityUser>> {
16571
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
16572
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16573
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
16574
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16575
+ },
15194
16576
  /**
15195
16577
  * get engine available console
15196
16578
  * @summary get engine available console
@@ -15220,6 +16602,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
15220
16602
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getEngineOption']?.[localVarOperationServerIndex]?.url;
15221
16603
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15222
16604
  },
16605
+ /**
16606
+ * Get Hive accounts
16607
+ * @summary Get Hive accounts
16608
+ * @param {string} orgName The name of organization
16609
+ * @param {string} clusterName The name of cluster
16610
+ * @param {*} [options] Override http request option.
16611
+ * @throws {RequiredError}
16612
+ */
16613
+ async getHiveAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
16614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHiveAccounts(orgName, clusterName, options);
16615
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16616
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getHiveAccounts']?.[localVarOperationServerIndex]?.url;
16617
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16618
+ },
15223
16619
  /**
15224
16620
  * Retrieves detailed information about a specific data import preflight task by its ID
15225
16621
  * @summary Get preflight task details
@@ -15950,6 +17346,48 @@ export const SharedApiFp = function(configuration?: Configuration) {
15950
17346
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listDmsDatabases']?.[localVarOperationServerIndex]?.url;
15951
17347
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15952
17348
  },
17349
+ /**
17350
+ *
17351
+ * @summary List Elasticsearch security role mappings
17352
+ * @param {string} orgName
17353
+ * @param {string} clusterName
17354
+ * @param {*} [options] Override http request option.
17355
+ * @throws {RequiredError}
17356
+ */
17357
+ async listElasticsearchSecurityRoleMappings(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>> {
17358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
17359
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17360
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']?.[localVarOperationServerIndex]?.url;
17361
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17362
+ },
17363
+ /**
17364
+ *
17365
+ * @summary List Elasticsearch security roles
17366
+ * @param {string} orgName
17367
+ * @param {string} clusterName
17368
+ * @param {*} [options] Override http request option.
17369
+ * @throws {RequiredError}
17370
+ */
17371
+ async listElasticsearchSecurityRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>> {
17372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
17373
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17374
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoles']?.[localVarOperationServerIndex]?.url;
17375
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17376
+ },
17377
+ /**
17378
+ *
17379
+ * @summary List Elasticsearch security users
17380
+ * @param {string} orgName
17381
+ * @param {string} clusterName
17382
+ * @param {*} [options] Override http request option.
17383
+ * @throws {RequiredError}
17384
+ */
17385
+ async listElasticsearchSecurityUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityUser; }>> {
17386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
17387
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17388
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityUsers']?.[localVarOperationServerIndex]?.url;
17389
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17390
+ },
15953
17391
  /**
15954
17392
  *
15955
17393
  * @summary List cluster endpoints
@@ -16108,6 +17546,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
16108
17546
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listInstanceEvents']?.[localVarOperationServerIndex]?.url;
16109
17547
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16110
17548
  },
17549
+ /**
17550
+ * list accounts in cluster
17551
+ * @summary List cluster accounts
17552
+ * @param {string} orgName name of the Org
17553
+ * @param {string} clusterName name of the Cluster
17554
+ * @param {*} [options] Override http request option.
17555
+ * @throws {RequiredError}
17556
+ */
17557
+ async listKafkaAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
17558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listKafkaAccounts(orgName, clusterName, options);
17559
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17560
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listKafkaAccounts']?.[localVarOperationServerIndex]?.url;
17561
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17562
+ },
16111
17563
  /**
16112
17564
  *
16113
17565
  * @summary List all consumer groups
@@ -16648,6 +18100,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
16648
18100
  const localVarOperationServerBasePath = operationServerMap['SharedApi.lockAccount']?.[localVarOperationServerIndex]?.url;
16649
18101
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16650
18102
  },
18103
+ /**
18104
+ *
18105
+ * @summary Lock Elasticsearch account
18106
+ * @param {string} orgName
18107
+ * @param {string} clusterName
18108
+ * @param {string} username
18109
+ * @param {*} [options] Override http request option.
18110
+ * @throws {RequiredError}
18111
+ */
18112
+ async lockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18113
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
18114
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18115
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.lockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
18116
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18117
+ },
16651
18118
  /**
16652
18119
  *
16653
18120
  * @summary batch modify database tde status
@@ -16781,6 +18248,54 @@ export const SharedApiFp = function(configuration?: Configuration) {
16781
18248
  const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
16782
18249
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16783
18250
  },
18251
+ /**
18252
+ *
18253
+ * @summary Create or update Elasticsearch security role
18254
+ * @param {string} orgName
18255
+ * @param {string} clusterName
18256
+ * @param {string} roleName
18257
+ * @param {ESSecurityRoleDescriptor} body
18258
+ * @param {*} [options] Override http request option.
18259
+ * @throws {RequiredError}
18260
+ */
18261
+ async putElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18262
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
18263
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18264
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
18265
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18266
+ },
18267
+ /**
18268
+ *
18269
+ * @summary Create or update Elasticsearch security role mapping
18270
+ * @param {string} orgName
18271
+ * @param {string} clusterName
18272
+ * @param {string} mappingName
18273
+ * @param {ESSecurityRoleMapping} body
18274
+ * @param {*} [options] Override http request option.
18275
+ * @throws {RequiredError}
18276
+ */
18277
+ async putElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18278
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
18279
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18280
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
18281
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18282
+ },
18283
+ /**
18284
+ *
18285
+ * @summary Create or update Elasticsearch security user
18286
+ * @param {string} orgName
18287
+ * @param {string} clusterName
18288
+ * @param {string} username
18289
+ * @param {ESPutSecurityUserRequest} body
18290
+ * @param {*} [options] Override http request option.
18291
+ * @throws {RequiredError}
18292
+ */
18293
+ async putElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
18295
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18296
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
18297
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18298
+ },
16784
18299
  /**
16785
18300
  *
16786
18301
  * @summary create a SQL query
@@ -17396,6 +18911,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
17396
18911
  const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
17397
18912
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17398
18913
  },
18914
+ /**
18915
+ *
18916
+ * @summary Unlock Elasticsearch account
18917
+ * @param {string} orgName
18918
+ * @param {string} clusterName
18919
+ * @param {string} username
18920
+ * @param {*} [options] Override http request option.
18921
+ * @throws {RequiredError}
18922
+ */
18923
+ async unlockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
18925
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18926
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
18927
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18928
+ },
17399
18929
  /**
17400
18930
  * update an account in cluster
17401
18931
  * @summary update cluster account
@@ -17524,6 +19054,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17524
19054
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateDatabaseConfig']?.[localVarOperationServerIndex]?.url;
17525
19055
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17526
19056
  },
19057
+ /**
19058
+ * update an hive account in cluster
19059
+ * @summary update hive account
19060
+ * @param {string} orgName name of the organization
19061
+ * @param {string} clusterName name of the cluster
19062
+ * @param {string} accountName name of the account
19063
+ * @param {Account} body
19064
+ * @param {*} [options] Override http request option.
19065
+ * @throws {RequiredError}
19066
+ */
19067
+ async updateHiveAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19068
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateHiveAccount(orgName, clusterName, accountName, body, options);
19069
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19070
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateHiveAccount']?.[localVarOperationServerIndex]?.url;
19071
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19072
+ },
17527
19073
  /**
17528
19074
  *
17529
19075
  * @summary Update IP whitelist
@@ -17556,6 +19102,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17556
19102
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateImportTaskOps']?.[localVarOperationServerIndex]?.url;
17557
19103
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17558
19104
  },
19105
+ /**
19106
+ * update an account in cluster
19107
+ * @summary update cluster account
19108
+ * @param {string} orgName name of the Org
19109
+ * @param {string} clusterName name of the Cluster
19110
+ * @param {string} accountName name of the account
19111
+ * @param {Account} body
19112
+ * @param {*} [options] Override http request option.
19113
+ * @throws {RequiredError}
19114
+ */
19115
+ async updateKafkaAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
19116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateKafkaAccount(orgName, clusterName, accountName, body, options);
19117
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19118
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateKafkaAccount']?.[localVarOperationServerIndex]?.url;
19119
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19120
+ },
17559
19121
  /**
17560
19122
  *
17561
19123
  * @summary Update broker config
@@ -17880,6 +19442,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17880
19442
  buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup> {
17881
19443
  return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
17882
19444
  },
19445
+ /**
19446
+ *
19447
+ * @summary Change Elasticsearch account password
19448
+ * @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
19449
+ * @param {*} [options] Override http request option.
19450
+ * @throws {RequiredError}
19451
+ */
19452
+ changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19453
+ return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
19454
+ },
17883
19455
  /**
17884
19456
  * check apikey available
17885
19457
  * @summary check apikey available
@@ -17971,6 +19543,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17971
19543
  createDatabase(requestParameters: SharedApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
17972
19544
  return localVarFp.createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17973
19545
  },
19546
+ /**
19547
+ * create an hive account
19548
+ * @summary Create Hive account
19549
+ * @param {SharedApiCreateHiveAccountRequest} requestParameters Request parameters.
19550
+ * @param {*} [options] Override http request option.
19551
+ * @throws {RequiredError}
19552
+ */
19553
+ createHiveAccount(requestParameters: SharedApiCreateHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
19554
+ return localVarFp.createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19555
+ },
17974
19556
  /**
17975
19557
  *
17976
19558
  * @summary Create IP whitelist
@@ -17991,6 +19573,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17991
19573
  createImportTask(requestParameters: SharedApiCreateImportTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportTaskResponse> {
17992
19574
  return localVarFp.createImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.importTaskCreateRequest, options).then((request) => request(axios, basePath));
17993
19575
  },
19576
+ /**
19577
+ * create an account in cluster
19578
+ * @summary Create cluster account
19579
+ * @param {SharedApiCreateKafkaAccountRequest} requestParameters Request parameters.
19580
+ * @param {*} [options] Override http request option.
19581
+ * @throws {RequiredError}
19582
+ */
19583
+ createKafkaAccount(requestParameters: SharedApiCreateKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
19584
+ return localVarFp.createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19585
+ },
17994
19586
  /**
17995
19587
  *
17996
19588
  * @summary Create new topic
@@ -18181,6 +19773,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18181
19773
  deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18182
19774
  return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
18183
19775
  },
19776
+ /**
19777
+ *
19778
+ * @summary Delete Elasticsearch security role
19779
+ * @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
19780
+ * @param {*} [options] Override http request option.
19781
+ * @throws {RequiredError}
19782
+ */
19783
+ deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19784
+ return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
19785
+ },
19786
+ /**
19787
+ *
19788
+ * @summary Delete Elasticsearch security role mapping
19789
+ * @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
19790
+ * @param {*} [options] Override http request option.
19791
+ * @throws {RequiredError}
19792
+ */
19793
+ deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19794
+ return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
19795
+ },
19796
+ /**
19797
+ *
19798
+ * @summary Delete Elasticsearch security user
19799
+ * @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
19800
+ * @param {*} [options] Override http request option.
19801
+ * @throws {RequiredError}
19802
+ */
19803
+ deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19804
+ return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
19805
+ },
19806
+ /**
19807
+ * delete an hive account in cluster
19808
+ * @summary Delete hive account
19809
+ * @param {SharedApiDeleteHiveAccountRequest} requestParameters Request parameters.
19810
+ * @param {*} [options] Override http request option.
19811
+ * @throws {RequiredError}
19812
+ */
19813
+ deleteHiveAccount(requestParameters: SharedApiDeleteHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19814
+ return localVarFp.deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
19815
+ },
18184
19816
  /**
18185
19817
  *
18186
19818
  * @summary Delete IP whitelist
@@ -18201,6 +19833,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18201
19833
  deleteImportTask(requestParameters: SharedApiDeleteImportTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18202
19834
  return localVarFp.deleteImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
18203
19835
  },
19836
+ /**
19837
+ * delete an account in cluster
19838
+ * @summary Delete cluster account
19839
+ * @param {SharedApiDeleteKafkaAccountRequest} requestParameters Request parameters.
19840
+ * @param {*} [options] Override http request option.
19841
+ * @throws {RequiredError}
19842
+ */
19843
+ deleteKafkaAccount(requestParameters: SharedApiDeleteKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19844
+ return localVarFp.deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
19845
+ },
18204
19846
  /**
18205
19847
  *
18206
19848
  * @summary Delete consumer group
@@ -18631,6 +20273,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18631
20273
  getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
18632
20274
  return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
18633
20275
  },
20276
+ /**
20277
+ *
20278
+ * @summary Get Elasticsearch builtin privileges
20279
+ * @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
20280
+ * @param {*} [options] Override http request option.
20281
+ * @throws {RequiredError}
20282
+ */
20283
+ getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }> {
20284
+ return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20285
+ },
20286
+ /**
20287
+ *
20288
+ * @summary Get Elasticsearch security role
20289
+ * @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
20290
+ * @param {*} [options] Override http request option.
20291
+ * @throws {RequiredError}
20292
+ */
20293
+ getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor> {
20294
+ return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
20295
+ },
20296
+ /**
20297
+ *
20298
+ * @summary Get Elasticsearch security role mapping
20299
+ * @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
20300
+ * @param {*} [options] Override http request option.
20301
+ * @throws {RequiredError}
20302
+ */
20303
+ getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping> {
20304
+ return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
20305
+ },
20306
+ /**
20307
+ *
20308
+ * @summary Get Elasticsearch security user
20309
+ * @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
20310
+ * @param {*} [options] Override http request option.
20311
+ * @throws {RequiredError}
20312
+ */
20313
+ getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser> {
20314
+ return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
20315
+ },
18634
20316
  /**
18635
20317
  * get engine available console
18636
20318
  * @summary get engine available console
@@ -18651,6 +20333,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18651
20333
  getEngineOption(requestParameters: SharedApiGetEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineOption> {
18652
20334
  return localVarFp.getEngineOption(requestParameters.engineName, requestParameters.version, options).then((request) => request(axios, basePath));
18653
20335
  },
20336
+ /**
20337
+ * Get Hive accounts
20338
+ * @summary Get Hive accounts
20339
+ * @param {SharedApiGetHiveAccountsRequest} requestParameters Request parameters.
20340
+ * @param {*} [options] Override http request option.
20341
+ * @throws {RequiredError}
20342
+ */
20343
+ getHiveAccounts(requestParameters: SharedApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
20344
+ return localVarFp.getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20345
+ },
18654
20346
  /**
18655
20347
  * Retrieves detailed information about a specific data import preflight task by its ID
18656
20348
  * @summary Get preflight task details
@@ -19110,6 +20802,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19110
20802
  listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
19111
20803
  return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
19112
20804
  },
20805
+ /**
20806
+ *
20807
+ * @summary List Elasticsearch security role mappings
20808
+ * @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
20809
+ * @param {*} [options] Override http request option.
20810
+ * @throws {RequiredError}
20811
+ */
20812
+ listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }> {
20813
+ return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20814
+ },
20815
+ /**
20816
+ *
20817
+ * @summary List Elasticsearch security roles
20818
+ * @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
20819
+ * @param {*} [options] Override http request option.
20820
+ * @throws {RequiredError}
20821
+ */
20822
+ listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }> {
20823
+ return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20824
+ },
20825
+ /**
20826
+ *
20827
+ * @summary List Elasticsearch security users
20828
+ * @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
20829
+ * @param {*} [options] Override http request option.
20830
+ * @throws {RequiredError}
20831
+ */
20832
+ listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }> {
20833
+ return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20834
+ },
19113
20835
  /**
19114
20836
  *
19115
20837
  * @summary List cluster endpoints
@@ -19219,6 +20941,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19219
20941
  listInstanceEvents(requestParameters: SharedApiListInstanceEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstanceEventList> {
19220
20942
  return localVarFp.listInstanceEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, requestParameters.returnNumber, options).then((request) => request(axios, basePath));
19221
20943
  },
20944
+ /**
20945
+ * list accounts in cluster
20946
+ * @summary List cluster accounts
20947
+ * @param {SharedApiListKafkaAccountsRequest} requestParameters Request parameters.
20948
+ * @param {*} [options] Override http request option.
20949
+ * @throws {RequiredError}
20950
+ */
20951
+ listKafkaAccounts(requestParameters: SharedApiListKafkaAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
20952
+ return localVarFp.listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20953
+ },
19222
20954
  /**
19223
20955
  *
19224
20956
  * @summary List all consumer groups
@@ -19577,6 +21309,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19577
21309
  lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19578
21310
  return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
19579
21311
  },
21312
+ /**
21313
+ *
21314
+ * @summary Lock Elasticsearch account
21315
+ * @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
21316
+ * @param {*} [options] Override http request option.
21317
+ * @throws {RequiredError}
21318
+ */
21319
+ lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21320
+ return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
21321
+ },
19580
21322
  /**
19581
21323
  *
19582
21324
  * @summary batch modify database tde status
@@ -19667,6 +21409,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19667
21409
  promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
19668
21410
  return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19669
21411
  },
21412
+ /**
21413
+ *
21414
+ * @summary Create or update Elasticsearch security role
21415
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
21416
+ * @param {*} [options] Override http request option.
21417
+ * @throws {RequiredError}
21418
+ */
21419
+ putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21420
+ return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
21421
+ },
21422
+ /**
21423
+ *
21424
+ * @summary Create or update Elasticsearch security role mapping
21425
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
21426
+ * @param {*} [options] Override http request option.
21427
+ * @throws {RequiredError}
21428
+ */
21429
+ putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21430
+ return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
21431
+ },
21432
+ /**
21433
+ *
21434
+ * @summary Create or update Elasticsearch security user
21435
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
21436
+ * @param {*} [options] Override http request option.
21437
+ * @throws {RequiredError}
21438
+ */
21439
+ putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21440
+ return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
21441
+ },
19670
21442
  /**
19671
21443
  *
19672
21444
  * @summary create a SQL query
@@ -20006,6 +21778,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
20006
21778
  unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20007
21779
  return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
20008
21780
  },
21781
+ /**
21782
+ *
21783
+ * @summary Unlock Elasticsearch account
21784
+ * @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
21785
+ * @param {*} [options] Override http request option.
21786
+ * @throws {RequiredError}
21787
+ */
21788
+ unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21789
+ return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
21790
+ },
20009
21791
  /**
20010
21792
  * update an account in cluster
20011
21793
  * @summary update cluster account
@@ -20086,6 +21868,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
20086
21868
  updateDatabaseConfig(requestParameters: SharedApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20087
21869
  return localVarFp.updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
20088
21870
  },
21871
+ /**
21872
+ * update an hive account in cluster
21873
+ * @summary update hive account
21874
+ * @param {SharedApiUpdateHiveAccountRequest} requestParameters Request parameters.
21875
+ * @param {*} [options] Override http request option.
21876
+ * @throws {RequiredError}
21877
+ */
21878
+ updateHiveAccount(requestParameters: SharedApiUpdateHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
21879
+ return localVarFp.updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
21880
+ },
20089
21881
  /**
20090
21882
  *
20091
21883
  * @summary Update IP whitelist
@@ -20106,6 +21898,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
20106
21898
  updateImportTaskOps(requestParameters: SharedApiUpdateImportTaskOpsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportTaskResponse> {
20107
21899
  return localVarFp.updateImportTaskOps(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.opsType, options).then((request) => request(axios, basePath));
20108
21900
  },
21901
+ /**
21902
+ * update an account in cluster
21903
+ * @summary update cluster account
21904
+ * @param {SharedApiUpdateKafkaAccountRequest} requestParameters Request parameters.
21905
+ * @param {*} [options] Override http request option.
21906
+ * @throws {RequiredError}
21907
+ */
21908
+ updateKafkaAccount(requestParameters: SharedApiUpdateKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
21909
+ return localVarFp.updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
21910
+ },
20109
21911
  /**
20110
21912
  *
20111
21913
  * @summary Update broker config
@@ -20353,6 +22155,16 @@ export interface SharedApiInterface {
20353
22155
  */
20354
22156
  buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup>;
20355
22157
 
22158
+ /**
22159
+ *
22160
+ * @summary Change Elasticsearch account password
22161
+ * @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
22162
+ * @param {*} [options] Override http request option.
22163
+ * @throws {RequiredError}
22164
+ * @memberof SharedApiInterface
22165
+ */
22166
+ changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22167
+
20356
22168
  /**
20357
22169
  * check apikey available
20358
22170
  * @summary check apikey available
@@ -20444,6 +22256,16 @@ export interface SharedApiInterface {
20444
22256
  */
20445
22257
  createDatabase(requestParameters: SharedApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20446
22258
 
22259
+ /**
22260
+ * create an hive account
22261
+ * @summary Create Hive account
22262
+ * @param {SharedApiCreateHiveAccountRequest} requestParameters Request parameters.
22263
+ * @param {*} [options] Override http request option.
22264
+ * @throws {RequiredError}
22265
+ * @memberof SharedApiInterface
22266
+ */
22267
+ createHiveAccount(requestParameters: SharedApiCreateHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
22268
+
20447
22269
  /**
20448
22270
  *
20449
22271
  * @summary Create IP whitelist
@@ -20464,6 +22286,16 @@ export interface SharedApiInterface {
20464
22286
  */
20465
22287
  createImportTask(requestParameters: SharedApiCreateImportTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportTaskResponse>;
20466
22288
 
22289
+ /**
22290
+ * create an account in cluster
22291
+ * @summary Create cluster account
22292
+ * @param {SharedApiCreateKafkaAccountRequest} requestParameters Request parameters.
22293
+ * @param {*} [options] Override http request option.
22294
+ * @throws {RequiredError}
22295
+ * @memberof SharedApiInterface
22296
+ */
22297
+ createKafkaAccount(requestParameters: SharedApiCreateKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
22298
+
20467
22299
  /**
20468
22300
  *
20469
22301
  * @summary Create new topic
@@ -20654,6 +22486,46 @@ export interface SharedApiInterface {
20654
22486
  */
20655
22487
  deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20656
22488
 
22489
+ /**
22490
+ *
22491
+ * @summary Delete Elasticsearch security role
22492
+ * @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
22493
+ * @param {*} [options] Override http request option.
22494
+ * @throws {RequiredError}
22495
+ * @memberof SharedApiInterface
22496
+ */
22497
+ deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22498
+
22499
+ /**
22500
+ *
22501
+ * @summary Delete Elasticsearch security role mapping
22502
+ * @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
22503
+ * @param {*} [options] Override http request option.
22504
+ * @throws {RequiredError}
22505
+ * @memberof SharedApiInterface
22506
+ */
22507
+ deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22508
+
22509
+ /**
22510
+ *
22511
+ * @summary Delete Elasticsearch security user
22512
+ * @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
22513
+ * @param {*} [options] Override http request option.
22514
+ * @throws {RequiredError}
22515
+ * @memberof SharedApiInterface
22516
+ */
22517
+ deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22518
+
22519
+ /**
22520
+ * delete an hive account in cluster
22521
+ * @summary Delete hive account
22522
+ * @param {SharedApiDeleteHiveAccountRequest} requestParameters Request parameters.
22523
+ * @param {*} [options] Override http request option.
22524
+ * @throws {RequiredError}
22525
+ * @memberof SharedApiInterface
22526
+ */
22527
+ deleteHiveAccount(requestParameters: SharedApiDeleteHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22528
+
20657
22529
  /**
20658
22530
  *
20659
22531
  * @summary Delete IP whitelist
@@ -20674,6 +22546,16 @@ export interface SharedApiInterface {
20674
22546
  */
20675
22547
  deleteImportTask(requestParameters: SharedApiDeleteImportTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20676
22548
 
22549
+ /**
22550
+ * delete an account in cluster
22551
+ * @summary Delete cluster account
22552
+ * @param {SharedApiDeleteKafkaAccountRequest} requestParameters Request parameters.
22553
+ * @param {*} [options] Override http request option.
22554
+ * @throws {RequiredError}
22555
+ * @memberof SharedApiInterface
22556
+ */
22557
+ deleteKafkaAccount(requestParameters: SharedApiDeleteKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22558
+
20677
22559
  /**
20678
22560
  *
20679
22561
  * @summary Delete consumer group
@@ -21104,6 +22986,46 @@ export interface SharedApiInterface {
21104
22986
  */
21105
22987
  getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
21106
22988
 
22989
+ /**
22990
+ *
22991
+ * @summary Get Elasticsearch builtin privileges
22992
+ * @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
22993
+ * @param {*} [options] Override http request option.
22994
+ * @throws {RequiredError}
22995
+ * @memberof SharedApiInterface
22996
+ */
22997
+ getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }>;
22998
+
22999
+ /**
23000
+ *
23001
+ * @summary Get Elasticsearch security role
23002
+ * @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
23003
+ * @param {*} [options] Override http request option.
23004
+ * @throws {RequiredError}
23005
+ * @memberof SharedApiInterface
23006
+ */
23007
+ getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor>;
23008
+
23009
+ /**
23010
+ *
23011
+ * @summary Get Elasticsearch security role mapping
23012
+ * @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
23013
+ * @param {*} [options] Override http request option.
23014
+ * @throws {RequiredError}
23015
+ * @memberof SharedApiInterface
23016
+ */
23017
+ getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping>;
23018
+
23019
+ /**
23020
+ *
23021
+ * @summary Get Elasticsearch security user
23022
+ * @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
23023
+ * @param {*} [options] Override http request option.
23024
+ * @throws {RequiredError}
23025
+ * @memberof SharedApiInterface
23026
+ */
23027
+ getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser>;
23028
+
21107
23029
  /**
21108
23030
  * get engine available console
21109
23031
  * @summary get engine available console
@@ -21124,6 +23046,16 @@ export interface SharedApiInterface {
21124
23046
  */
21125
23047
  getEngineOption(requestParameters: SharedApiGetEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineOption>;
21126
23048
 
23049
+ /**
23050
+ * Get Hive accounts
23051
+ * @summary Get Hive accounts
23052
+ * @param {SharedApiGetHiveAccountsRequest} requestParameters Request parameters.
23053
+ * @param {*} [options] Override http request option.
23054
+ * @throws {RequiredError}
23055
+ * @memberof SharedApiInterface
23056
+ */
23057
+ getHiveAccounts(requestParameters: SharedApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
23058
+
21127
23059
  /**
21128
23060
  * Retrieves detailed information about a specific data import preflight task by its ID
21129
23061
  * @summary Get preflight task details
@@ -21583,6 +23515,36 @@ export interface SharedApiInterface {
21583
23515
  */
21584
23516
  listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
21585
23517
 
23518
+ /**
23519
+ *
23520
+ * @summary List Elasticsearch security role mappings
23521
+ * @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
23522
+ * @param {*} [options] Override http request option.
23523
+ * @throws {RequiredError}
23524
+ * @memberof SharedApiInterface
23525
+ */
23526
+ listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>;
23527
+
23528
+ /**
23529
+ *
23530
+ * @summary List Elasticsearch security roles
23531
+ * @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
23532
+ * @param {*} [options] Override http request option.
23533
+ * @throws {RequiredError}
23534
+ * @memberof SharedApiInterface
23535
+ */
23536
+ listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>;
23537
+
23538
+ /**
23539
+ *
23540
+ * @summary List Elasticsearch security users
23541
+ * @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
23542
+ * @param {*} [options] Override http request option.
23543
+ * @throws {RequiredError}
23544
+ * @memberof SharedApiInterface
23545
+ */
23546
+ listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }>;
23547
+
21586
23548
  /**
21587
23549
  *
21588
23550
  * @summary List cluster endpoints
@@ -21692,6 +23654,16 @@ export interface SharedApiInterface {
21692
23654
  */
21693
23655
  listInstanceEvents(requestParameters: SharedApiListInstanceEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstanceEventList>;
21694
23656
 
23657
+ /**
23658
+ * list accounts in cluster
23659
+ * @summary List cluster accounts
23660
+ * @param {SharedApiListKafkaAccountsRequest} requestParameters Request parameters.
23661
+ * @param {*} [options] Override http request option.
23662
+ * @throws {RequiredError}
23663
+ * @memberof SharedApiInterface
23664
+ */
23665
+ listKafkaAccounts(requestParameters: SharedApiListKafkaAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
23666
+
21695
23667
  /**
21696
23668
  *
21697
23669
  * @summary List all consumer groups
@@ -22050,6 +24022,16 @@ export interface SharedApiInterface {
22050
24022
  */
22051
24023
  lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22052
24024
 
24025
+ /**
24026
+ *
24027
+ * @summary Lock Elasticsearch account
24028
+ * @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
24029
+ * @param {*} [options] Override http request option.
24030
+ * @throws {RequiredError}
24031
+ * @memberof SharedApiInterface
24032
+ */
24033
+ lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24034
+
22053
24035
  /**
22054
24036
  *
22055
24037
  * @summary batch modify database tde status
@@ -22140,6 +24122,36 @@ export interface SharedApiInterface {
22140
24122
  */
22141
24123
  promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
22142
24124
 
24125
+ /**
24126
+ *
24127
+ * @summary Create or update Elasticsearch security role
24128
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
24129
+ * @param {*} [options] Override http request option.
24130
+ * @throws {RequiredError}
24131
+ * @memberof SharedApiInterface
24132
+ */
24133
+ putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24134
+
24135
+ /**
24136
+ *
24137
+ * @summary Create or update Elasticsearch security role mapping
24138
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
24139
+ * @param {*} [options] Override http request option.
24140
+ * @throws {RequiredError}
24141
+ * @memberof SharedApiInterface
24142
+ */
24143
+ putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24144
+
24145
+ /**
24146
+ *
24147
+ * @summary Create or update Elasticsearch security user
24148
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
24149
+ * @param {*} [options] Override http request option.
24150
+ * @throws {RequiredError}
24151
+ * @memberof SharedApiInterface
24152
+ */
24153
+ putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24154
+
22143
24155
  /**
22144
24156
  *
22145
24157
  * @summary create a SQL query
@@ -22479,6 +24491,16 @@ export interface SharedApiInterface {
22479
24491
  */
22480
24492
  unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22481
24493
 
24494
+ /**
24495
+ *
24496
+ * @summary Unlock Elasticsearch account
24497
+ * @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
24498
+ * @param {*} [options] Override http request option.
24499
+ * @throws {RequiredError}
24500
+ * @memberof SharedApiInterface
24501
+ */
24502
+ unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24503
+
22482
24504
  /**
22483
24505
  * update an account in cluster
22484
24506
  * @summary update cluster account
@@ -22559,6 +24581,16 @@ export interface SharedApiInterface {
22559
24581
  */
22560
24582
  updateDatabaseConfig(requestParameters: SharedApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22561
24583
 
24584
+ /**
24585
+ * update an hive account in cluster
24586
+ * @summary update hive account
24587
+ * @param {SharedApiUpdateHiveAccountRequest} requestParameters Request parameters.
24588
+ * @param {*} [options] Override http request option.
24589
+ * @throws {RequiredError}
24590
+ * @memberof SharedApiInterface
24591
+ */
24592
+ updateHiveAccount(requestParameters: SharedApiUpdateHiveAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24593
+
22562
24594
  /**
22563
24595
  *
22564
24596
  * @summary Update IP whitelist
@@ -22579,6 +24611,16 @@ export interface SharedApiInterface {
22579
24611
  */
22580
24612
  updateImportTaskOps(requestParameters: SharedApiUpdateImportTaskOpsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportTaskResponse>;
22581
24613
 
24614
+ /**
24615
+ * update an account in cluster
24616
+ * @summary update cluster account
24617
+ * @param {SharedApiUpdateKafkaAccountRequest} requestParameters Request parameters.
24618
+ * @param {*} [options] Override http request option.
24619
+ * @throws {RequiredError}
24620
+ * @memberof SharedApiInterface
24621
+ */
24622
+ updateKafkaAccount(requestParameters: SharedApiUpdateKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
24623
+
22582
24624
  /**
22583
24625
  *
22584
24626
  * @summary Update broker config
@@ -23112,6 +25154,41 @@ export interface SharedApiBuildBackupObjRequest {
23112
25154
  readonly body: BuildBackupObjRequest
23113
25155
  }
23114
25156
 
25157
+ /**
25158
+ * Request parameters for changeElasticsearchSecurityUserPassword operation in SharedApi.
25159
+ * @export
25160
+ * @interface SharedApiChangeElasticsearchSecurityUserPasswordRequest
25161
+ */
25162
+ export interface SharedApiChangeElasticsearchSecurityUserPasswordRequest {
25163
+ /**
25164
+ *
25165
+ * @type {string}
25166
+ * @memberof SharedApiChangeElasticsearchSecurityUserPassword
25167
+ */
25168
+ readonly orgName: string
25169
+
25170
+ /**
25171
+ *
25172
+ * @type {string}
25173
+ * @memberof SharedApiChangeElasticsearchSecurityUserPassword
25174
+ */
25175
+ readonly clusterName: string
25176
+
25177
+ /**
25178
+ *
25179
+ * @type {string}
25180
+ * @memberof SharedApiChangeElasticsearchSecurityUserPassword
25181
+ */
25182
+ readonly username: string
25183
+
25184
+ /**
25185
+ *
25186
+ * @type {ESSecurityPasswordRequest}
25187
+ * @memberof SharedApiChangeElasticsearchSecurityUserPassword
25188
+ */
25189
+ readonly body: ESSecurityPasswordRequest
25190
+ }
25191
+
23115
25192
  /**
23116
25193
  * Request parameters for checkAPIKey operation in SharedApi.
23117
25194
  * @export
@@ -23371,6 +25448,34 @@ export interface SharedApiCreateDatabaseRequest {
23371
25448
  readonly body: Database
23372
25449
  }
23373
25450
 
25451
+ /**
25452
+ * Request parameters for createHiveAccount operation in SharedApi.
25453
+ * @export
25454
+ * @interface SharedApiCreateHiveAccountRequest
25455
+ */
25456
+ export interface SharedApiCreateHiveAccountRequest {
25457
+ /**
25458
+ * name of the Org
25459
+ * @type {string}
25460
+ * @memberof SharedApiCreateHiveAccount
25461
+ */
25462
+ readonly orgName: string
25463
+
25464
+ /**
25465
+ * name of the Cluster
25466
+ * @type {string}
25467
+ * @memberof SharedApiCreateHiveAccount
25468
+ */
25469
+ readonly clusterName: string
25470
+
25471
+ /**
25472
+ *
25473
+ * @type {Account}
25474
+ * @memberof SharedApiCreateHiveAccount
25475
+ */
25476
+ readonly body: Account
25477
+ }
25478
+
23374
25479
  /**
23375
25480
  * Request parameters for createIPWhitelist operation in SharedApi.
23376
25481
  * @export
@@ -23427,6 +25532,34 @@ export interface SharedApiCreateImportTaskRequest {
23427
25532
  readonly importTaskCreateRequest: ImportTaskCreateRequest
23428
25533
  }
23429
25534
 
25535
+ /**
25536
+ * Request parameters for createKafkaAccount operation in SharedApi.
25537
+ * @export
25538
+ * @interface SharedApiCreateKafkaAccountRequest
25539
+ */
25540
+ export interface SharedApiCreateKafkaAccountRequest {
25541
+ /**
25542
+ * name of the Org
25543
+ * @type {string}
25544
+ * @memberof SharedApiCreateKafkaAccount
25545
+ */
25546
+ readonly orgName: string
25547
+
25548
+ /**
25549
+ * name of the Cluster
25550
+ * @type {string}
25551
+ * @memberof SharedApiCreateKafkaAccount
25552
+ */
25553
+ readonly clusterName: string
25554
+
25555
+ /**
25556
+ *
25557
+ * @type {Account}
25558
+ * @memberof SharedApiCreateKafkaAccount
25559
+ */
25560
+ readonly body: Account
25561
+ }
25562
+
23430
25563
  /**
23431
25564
  * Request parameters for createKafkaTopic operation in SharedApi.
23432
25565
  * @export
@@ -23952,6 +26085,118 @@ export interface SharedApiDeleteDatabaseRequest {
23952
26085
  readonly databaseName: string
23953
26086
  }
23954
26087
 
26088
+ /**
26089
+ * Request parameters for deleteElasticsearchSecurityRole operation in SharedApi.
26090
+ * @export
26091
+ * @interface SharedApiDeleteElasticsearchSecurityRoleRequest
26092
+ */
26093
+ export interface SharedApiDeleteElasticsearchSecurityRoleRequest {
26094
+ /**
26095
+ *
26096
+ * @type {string}
26097
+ * @memberof SharedApiDeleteElasticsearchSecurityRole
26098
+ */
26099
+ readonly orgName: string
26100
+
26101
+ /**
26102
+ *
26103
+ * @type {string}
26104
+ * @memberof SharedApiDeleteElasticsearchSecurityRole
26105
+ */
26106
+ readonly clusterName: string
26107
+
26108
+ /**
26109
+ *
26110
+ * @type {string}
26111
+ * @memberof SharedApiDeleteElasticsearchSecurityRole
26112
+ */
26113
+ readonly roleName: string
26114
+ }
26115
+
26116
+ /**
26117
+ * Request parameters for deleteElasticsearchSecurityRoleMapping operation in SharedApi.
26118
+ * @export
26119
+ * @interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest
26120
+ */
26121
+ export interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest {
26122
+ /**
26123
+ *
26124
+ * @type {string}
26125
+ * @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
26126
+ */
26127
+ readonly orgName: string
26128
+
26129
+ /**
26130
+ *
26131
+ * @type {string}
26132
+ * @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
26133
+ */
26134
+ readonly clusterName: string
26135
+
26136
+ /**
26137
+ *
26138
+ * @type {string}
26139
+ * @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
26140
+ */
26141
+ readonly mappingName: string
26142
+ }
26143
+
26144
+ /**
26145
+ * Request parameters for deleteElasticsearchSecurityUser operation in SharedApi.
26146
+ * @export
26147
+ * @interface SharedApiDeleteElasticsearchSecurityUserRequest
26148
+ */
26149
+ export interface SharedApiDeleteElasticsearchSecurityUserRequest {
26150
+ /**
26151
+ *
26152
+ * @type {string}
26153
+ * @memberof SharedApiDeleteElasticsearchSecurityUser
26154
+ */
26155
+ readonly orgName: string
26156
+
26157
+ /**
26158
+ *
26159
+ * @type {string}
26160
+ * @memberof SharedApiDeleteElasticsearchSecurityUser
26161
+ */
26162
+ readonly clusterName: string
26163
+
26164
+ /**
26165
+ *
26166
+ * @type {string}
26167
+ * @memberof SharedApiDeleteElasticsearchSecurityUser
26168
+ */
26169
+ readonly username: string
26170
+ }
26171
+
26172
+ /**
26173
+ * Request parameters for deleteHiveAccount operation in SharedApi.
26174
+ * @export
26175
+ * @interface SharedApiDeleteHiveAccountRequest
26176
+ */
26177
+ export interface SharedApiDeleteHiveAccountRequest {
26178
+ /**
26179
+ * name of the organization
26180
+ * @type {string}
26181
+ * @memberof SharedApiDeleteHiveAccount
26182
+ */
26183
+ readonly orgName: string
26184
+
26185
+ /**
26186
+ * name of the cluster
26187
+ * @type {string}
26188
+ * @memberof SharedApiDeleteHiveAccount
26189
+ */
26190
+ readonly clusterName: string
26191
+
26192
+ /**
26193
+ * name of the account
26194
+ * @type {string}
26195
+ * @memberof SharedApiDeleteHiveAccount
26196
+ */
26197
+ readonly accountName: string
26198
+ }
26199
+
23955
26200
  /**
23956
26201
  * Request parameters for deleteIPWhiteList operation in SharedApi.
23957
26202
  * @export
@@ -24008,6 +26253,34 @@ export interface SharedApiDeleteImportTaskRequest {
24008
26253
  readonly id: string
24009
26254
  }
24010
26255
 
26256
+ /**
26257
+ * Request parameters for deleteKafkaAccount operation in SharedApi.
26258
+ * @export
26259
+ * @interface SharedApiDeleteKafkaAccountRequest
26260
+ */
26261
+ export interface SharedApiDeleteKafkaAccountRequest {
26262
+ /**
26263
+ * name of the Org
26264
+ * @type {string}
26265
+ * @memberof SharedApiDeleteKafkaAccount
26266
+ */
26267
+ readonly orgName: string
26268
+
26269
+ /**
26270
+ * name of the Cluster
26271
+ * @type {string}
26272
+ * @memberof SharedApiDeleteKafkaAccount
26273
+ */
26274
+ readonly clusterName: string
26275
+
26276
+ /**
26277
+ * name of the Cluster
26278
+ * @type {string}
26279
+ * @memberof SharedApiDeleteKafkaAccount
26280
+ */
26281
+ readonly accountName: string
26282
+ }
26283
+
24011
26284
  /**
24012
26285
  * Request parameters for deleteKafkaConsumerGroup operation in SharedApi.
24013
26286
  * @export
@@ -25415,6 +27688,111 @@ export interface SharedApiGetDatabaseOptionsRequest {
25415
27688
  readonly filter?: string
25416
27689
  }
25417
27690
 
27691
+ /**
27692
+ * Request parameters for getElasticsearchBuiltinPrivileges operation in SharedApi.
27693
+ * @export
27694
+ * @interface SharedApiGetElasticsearchBuiltinPrivilegesRequest
27695
+ */
27696
+ export interface SharedApiGetElasticsearchBuiltinPrivilegesRequest {
27697
+ /**
27698
+ *
27699
+ * @type {string}
27700
+ * @memberof SharedApiGetElasticsearchBuiltinPrivileges
27701
+ */
27702
+ readonly orgName: string
27703
+
27704
+ /**
27705
+ *
27706
+ * @type {string}
27707
+ * @memberof SharedApiGetElasticsearchBuiltinPrivileges
27708
+ */
27709
+ readonly clusterName: string
27710
+ }
27711
+
27712
+ /**
27713
+ * Request parameters for getElasticsearchSecurityRole operation in SharedApi.
27714
+ * @export
27715
+ * @interface SharedApiGetElasticsearchSecurityRoleRequest
27716
+ */
27717
+ export interface SharedApiGetElasticsearchSecurityRoleRequest {
27718
+ /**
27719
+ *
27720
+ * @type {string}
27721
+ * @memberof SharedApiGetElasticsearchSecurityRole
27722
+ */
27723
+ readonly orgName: string
27724
+
27725
+ /**
27726
+ *
27727
+ * @type {string}
27728
+ * @memberof SharedApiGetElasticsearchSecurityRole
27729
+ */
27730
+ readonly clusterName: string
27731
+
27732
+ /**
27733
+ *
27734
+ * @type {string}
27735
+ * @memberof SharedApiGetElasticsearchSecurityRole
27736
+ */
27737
+ readonly roleName: string
27738
+ }
27739
+
27740
+ /**
27741
+ * Request parameters for getElasticsearchSecurityRoleMapping operation in SharedApi.
27742
+ * @export
27743
+ * @interface SharedApiGetElasticsearchSecurityRoleMappingRequest
27744
+ */
27745
+ export interface SharedApiGetElasticsearchSecurityRoleMappingRequest {
27746
+ /**
27747
+ *
27748
+ * @type {string}
27749
+ * @memberof SharedApiGetElasticsearchSecurityRoleMapping
27750
+ */
27751
+ readonly orgName: string
27752
+
27753
+ /**
27754
+ *
27755
+ * @type {string}
27756
+ * @memberof SharedApiGetElasticsearchSecurityRoleMapping
27757
+ */
27758
+ readonly clusterName: string
27759
+
27760
+ /**
27761
+ *
27762
+ * @type {string}
27763
+ * @memberof SharedApiGetElasticsearchSecurityRoleMapping
27764
+ */
27765
+ readonly mappingName: string
27766
+ }
27767
+
27768
+ /**
27769
+ * Request parameters for getElasticsearchSecurityUser operation in SharedApi.
27770
+ * @export
27771
+ * @interface SharedApiGetElasticsearchSecurityUserRequest
27772
+ */
27773
+ export interface SharedApiGetElasticsearchSecurityUserRequest {
27774
+ /**
27775
+ *
27776
+ * @type {string}
27777
+ * @memberof SharedApiGetElasticsearchSecurityUser
27778
+ */
27779
+ readonly orgName: string
27780
+
27781
+ /**
27782
+ *
27783
+ * @type {string}
27784
+ * @memberof SharedApiGetElasticsearchSecurityUser
27785
+ */
27786
+ readonly clusterName: string
27787
+
27788
+ /**
27789
+ *
27790
+ * @type {string}
27791
+ * @memberof SharedApiGetElasticsearchSecurityUser
27792
+ */
27793
+ readonly username: string
27794
+ }
27795
+
25418
27796
  /**
25419
27797
  * Request parameters for getEngineAvailableConsole operation in SharedApi.
25420
27798
  * @export
@@ -25464,6 +27842,27 @@ export interface SharedApiGetEngineOptionRequest {
25464
27842
  readonly version?: EngineOptionVersion
25465
27843
  }
25466
27844
 
27845
+ /**
27846
+ * Request parameters for getHiveAccounts operation in SharedApi.
27847
+ * @export
27848
+ * @interface SharedApiGetHiveAccountsRequest
27849
+ */
27850
+ export interface SharedApiGetHiveAccountsRequest {
27851
+ /**
27852
+ * The name of organization
27853
+ * @type {string}
27854
+ * @memberof SharedApiGetHiveAccounts
27855
+ */
27856
+ readonly orgName: string
27857
+
27858
+ /**
27859
+ * The name of cluster
27860
+ * @type {string}
27861
+ * @memberof SharedApiGetHiveAccounts
27862
+ */
27863
+ readonly clusterName: string
27864
+ }
27865
+
25467
27866
  /**
25468
27867
  * Request parameters for getImportPreflightTask operation in SharedApi.
25469
27868
  * @export
@@ -27025,6 +29424,69 @@ export interface SharedApiListDmsDatabasesRequest {
27025
29424
  readonly id: string
27026
29425
  }
27027
29426
 
29427
+ /**
29428
+ * Request parameters for listElasticsearchSecurityRoleMappings operation in SharedApi.
29429
+ * @export
29430
+ * @interface SharedApiListElasticsearchSecurityRoleMappingsRequest
29431
+ */
29432
+ export interface SharedApiListElasticsearchSecurityRoleMappingsRequest {
29433
+ /**
29434
+ *
29435
+ * @type {string}
29436
+ * @memberof SharedApiListElasticsearchSecurityRoleMappings
29437
+ */
29438
+ readonly orgName: string
29439
+
29440
+ /**
29441
+ *
29442
+ * @type {string}
29443
+ * @memberof SharedApiListElasticsearchSecurityRoleMappings
29444
+ */
29445
+ readonly clusterName: string
29446
+ }
29447
+
29448
+ /**
29449
+ * Request parameters for listElasticsearchSecurityRoles operation in SharedApi.
29450
+ * @export
29451
+ * @interface SharedApiListElasticsearchSecurityRolesRequest
29452
+ */
29453
+ export interface SharedApiListElasticsearchSecurityRolesRequest {
29454
+ /**
29455
+ *
29456
+ * @type {string}
29457
+ * @memberof SharedApiListElasticsearchSecurityRoles
29458
+ */
29459
+ readonly orgName: string
29460
+
29461
+ /**
29462
+ *
29463
+ * @type {string}
29464
+ * @memberof SharedApiListElasticsearchSecurityRoles
29465
+ */
29466
+ readonly clusterName: string
29467
+ }
29468
+
29469
+ /**
29470
+ * Request parameters for listElasticsearchSecurityUsers operation in SharedApi.
29471
+ * @export
29472
+ * @interface SharedApiListElasticsearchSecurityUsersRequest
29473
+ */
29474
+ export interface SharedApiListElasticsearchSecurityUsersRequest {
29475
+ /**
29476
+ *
29477
+ * @type {string}
29478
+ * @memberof SharedApiListElasticsearchSecurityUsers
29479
+ */
29480
+ readonly orgName: string
29481
+
29482
+ /**
29483
+ *
29484
+ * @type {string}
29485
+ * @memberof SharedApiListElasticsearchSecurityUsers
29486
+ */
29487
+ readonly clusterName: string
29488
+ }
29489
+
27028
29490
  /**
27029
29491
  * Request parameters for listEndpoints operation in SharedApi.
27030
29492
  * @export
@@ -27277,6 +29739,27 @@ export interface SharedApiListInstanceEventsRequest {
27277
29739
  readonly returnNumber?: number
27278
29740
  }
27279
29741
 
29742
+ /**
29743
+ * Request parameters for listKafkaAccounts operation in SharedApi.
29744
+ * @export
29745
+ * @interface SharedApiListKafkaAccountsRequest
29746
+ */
29747
+ export interface SharedApiListKafkaAccountsRequest {
29748
+ /**
29749
+ * name of the Org
29750
+ * @type {string}
29751
+ * @memberof SharedApiListKafkaAccounts
29752
+ */
29753
+ readonly orgName: string
29754
+
29755
+ /**
29756
+ * name of the Cluster
29757
+ * @type {string}
29758
+ * @memberof SharedApiListKafkaAccounts
29759
+ */
29760
+ readonly clusterName: string
29761
+ }
29762
+
27280
29763
  /**
27281
29764
  * Request parameters for listKafkaConsumerGroups operation in SharedApi.
27282
29765
  * @export
@@ -28257,6 +30740,34 @@ export interface SharedApiLockAccountRequest {
28257
30740
  readonly accountName: string
28258
30741
  }
28259
30742
 
30743
+ /**
30744
+ * Request parameters for lockElasticsearchSecurityUser operation in SharedApi.
30745
+ * @export
30746
+ * @interface SharedApiLockElasticsearchSecurityUserRequest
30747
+ */
30748
+ export interface SharedApiLockElasticsearchSecurityUserRequest {
30749
+ /**
30750
+ *
30751
+ * @type {string}
30752
+ * @memberof SharedApiLockElasticsearchSecurityUser
30753
+ */
30754
+ readonly orgName: string
30755
+
30756
+ /**
30757
+ *
30758
+ * @type {string}
30759
+ * @memberof SharedApiLockElasticsearchSecurityUser
30760
+ */
30761
+ readonly clusterName: string
30762
+
30763
+ /**
30764
+ *
30765
+ * @type {string}
30766
+ * @memberof SharedApiLockElasticsearchSecurityUser
30767
+ */
30768
+ readonly username: string
30769
+ }
30770
+
28260
30771
  /**
28261
30772
  * Request parameters for manageMssqlTDEDatabase operation in SharedApi.
28262
30773
  * @export
@@ -28495,6 +31006,111 @@ export interface SharedApiPromoteClusterRequest {
28495
31006
  readonly body: OpsPromote
28496
31007
  }
28497
31008
 
31009
+ /**
31010
+ * Request parameters for putElasticsearchSecurityRole operation in SharedApi.
31011
+ * @export
31012
+ * @interface SharedApiPutElasticsearchSecurityRoleRequest
31013
+ */
31014
+ export interface SharedApiPutElasticsearchSecurityRoleRequest {
31015
+ /**
31016
+ *
31017
+ * @type {string}
31018
+ * @memberof SharedApiPutElasticsearchSecurityRole
31019
+ */
31020
+ readonly orgName: string
31021
+
31022
+ /**
31023
+ *
31024
+ * @type {string}
31025
+ * @memberof SharedApiPutElasticsearchSecurityRole
31026
+ */
31027
+ readonly clusterName: string
31028
+
31029
+ /**
31030
+ *
31031
+ * @type {string}
31032
+ * @memberof SharedApiPutElasticsearchSecurityRole
31033
+ */
31034
+ readonly roleName: string
31035
+
31036
+ /**
31037
+ *
31038
+ * @type {ESSecurityRoleDescriptor}
31039
+ * @memberof SharedApiPutElasticsearchSecurityRole
31040
+ */
31041
+ readonly body: ESSecurityRoleDescriptor
31042
+ }
31043
+
31044
+ /**
31045
+ * Request parameters for putElasticsearchSecurityRoleMapping operation in SharedApi.
31046
+ * @export
31047
+ * @interface SharedApiPutElasticsearchSecurityRoleMappingRequest
31048
+ */
31049
+ export interface SharedApiPutElasticsearchSecurityRoleMappingRequest {
31050
+ /**
31051
+ *
31052
+ * @type {string}
31053
+ * @memberof SharedApiPutElasticsearchSecurityRoleMapping
31054
+ */
31055
+ readonly orgName: string
31056
+
31057
+ /**
31058
+ *
31059
+ * @type {string}
31060
+ * @memberof SharedApiPutElasticsearchSecurityRoleMapping
31061
+ */
31062
+ readonly clusterName: string
31063
+
31064
+ /**
31065
+ *
31066
+ * @type {string}
31067
+ * @memberof SharedApiPutElasticsearchSecurityRoleMapping
31068
+ */
31069
+ readonly mappingName: string
31070
+
31071
+ /**
31072
+ *
31073
+ * @type {ESSecurityRoleMapping}
31074
+ * @memberof SharedApiPutElasticsearchSecurityRoleMapping
31075
+ */
31076
+ readonly body: ESSecurityRoleMapping
31077
+ }
31078
+
31079
+ /**
31080
+ * Request parameters for putElasticsearchSecurityUser operation in SharedApi.
31081
+ * @export
31082
+ * @interface SharedApiPutElasticsearchSecurityUserRequest
31083
+ */
31084
+ export interface SharedApiPutElasticsearchSecurityUserRequest {
31085
+ /**
31086
+ *
31087
+ * @type {string}
31088
+ * @memberof SharedApiPutElasticsearchSecurityUser
31089
+ */
31090
+ readonly orgName: string
31091
+
31092
+ /**
31093
+ *
31094
+ * @type {string}
31095
+ * @memberof SharedApiPutElasticsearchSecurityUser
31096
+ */
31097
+ readonly clusterName: string
31098
+
31099
+ /**
31100
+ *
31101
+ * @type {string}
31102
+ * @memberof SharedApiPutElasticsearchSecurityUser
31103
+ */
31104
+ readonly username: string
31105
+
31106
+ /**
31107
+ *
31108
+ * @type {ESPutSecurityUserRequest}
31109
+ * @memberof SharedApiPutElasticsearchSecurityUser
31110
+ */
31111
+ readonly body: ESPutSecurityUserRequest
31112
+ }
31113
+
28498
31114
  /**
28499
31115
  * Request parameters for query operation in SharedApi.
28500
31116
  * @export
@@ -30175,6 +32791,34 @@ export interface SharedApiUnlockAccountRequest {
30175
32791
  readonly accountName: string
30176
32792
  }
30177
32793
 
32794
+ /**
32795
+ * Request parameters for unlockElasticsearchSecurityUser operation in SharedApi.
32796
+ * @export
32797
+ * @interface SharedApiUnlockElasticsearchSecurityUserRequest
32798
+ */
32799
+ export interface SharedApiUnlockElasticsearchSecurityUserRequest {
32800
+ /**
32801
+ *
32802
+ * @type {string}
32803
+ * @memberof SharedApiUnlockElasticsearchSecurityUser
32804
+ */
32805
+ readonly orgName: string
32806
+
32807
+ /**
32808
+ *
32809
+ * @type {string}
32810
+ * @memberof SharedApiUnlockElasticsearchSecurityUser
32811
+ */
32812
+ readonly clusterName: string
32813
+
32814
+ /**
32815
+ *
32816
+ * @type {string}
32817
+ * @memberof SharedApiUnlockElasticsearchSecurityUser
32818
+ */
32819
+ readonly username: string
32820
+ }
32821
+
30178
32822
  /**
30179
32823
  * Request parameters for updateAccount operation in SharedApi.
30180
32824
  * @export
@@ -30455,6 +33099,41 @@ export interface SharedApiUpdateDatabaseConfigRequest {
30455
33099
  readonly requestBody?: { [key: string]: string; }
30456
33100
  }
30457
33101
 
33102
+ /**
33103
+ * Request parameters for updateHiveAccount operation in SharedApi.
33104
+ * @export
33105
+ * @interface SharedApiUpdateHiveAccountRequest
33106
+ */
33107
+ export interface SharedApiUpdateHiveAccountRequest {
33108
+ /**
33109
+ * name of the organization
33110
+ * @type {string}
33111
+ * @memberof SharedApiUpdateHiveAccount
33112
+ */
33113
+ readonly orgName: string
33114
+
33115
+ /**
33116
+ * name of the cluster
33117
+ * @type {string}
33118
+ * @memberof SharedApiUpdateHiveAccount
33119
+ */
33120
+ readonly clusterName: string
33121
+
33122
+ /**
33123
+ * name of the account
33124
+ * @type {string}
33125
+ * @memberof SharedApiUpdateHiveAccount
33126
+ */
33127
+ readonly accountName: string
33128
+
33129
+ /**
33130
+ *
33131
+ * @type {Account}
33132
+ * @memberof SharedApiUpdateHiveAccount
33133
+ */
33134
+ readonly body: Account
33135
+ }
33136
+
30458
33137
  /**
30459
33138
  * Request parameters for updateIPWhitelist operation in SharedApi.
30460
33139
  * @export
@@ -30525,6 +33204,41 @@ export interface SharedApiUpdateImportTaskOpsRequest {
30525
33204
  readonly opsType: ImportOpsType
30526
33205
  }
30527
33206
 
33207
+ /**
33208
+ * Request parameters for updateKafkaAccount operation in SharedApi.
33209
+ * @export
33210
+ * @interface SharedApiUpdateKafkaAccountRequest
33211
+ */
33212
+ export interface SharedApiUpdateKafkaAccountRequest {
33213
+ /**
33214
+ * name of the Org
33215
+ * @type {string}
33216
+ * @memberof SharedApiUpdateKafkaAccount
33217
+ */
33218
+ readonly orgName: string
33219
+
33220
+ /**
33221
+ * name of the Cluster
33222
+ * @type {string}
33223
+ * @memberof SharedApiUpdateKafkaAccount
33224
+ */
33225
+ readonly clusterName: string
33226
+
33227
+ /**
33228
+ * name of the account
33229
+ * @type {string}
33230
+ * @memberof SharedApiUpdateKafkaAccount
33231
+ */
33232
+ readonly accountName: string
33233
+
33234
+ /**
33235
+ *
33236
+ * @type {Account}
33237
+ * @memberof SharedApiUpdateKafkaAccount
33238
+ */
33239
+ readonly body: Account
33240
+ }
33241
+
30528
33242
  /**
30529
33243
  * Request parameters for updateKafkaBrokerConfig operation in SharedApi.
30530
33244
  * @export
@@ -31085,6 +33799,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31085
33799
  return SharedApiFp(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
31086
33800
  }
31087
33801
 
33802
+ /**
33803
+ *
33804
+ * @summary Change Elasticsearch account password
33805
+ * @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
33806
+ * @param {*} [options] Override http request option.
33807
+ * @throws {RequiredError}
33808
+ * @memberof SharedApi
33809
+ */
33810
+ public changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig) {
33811
+ return SharedApiFp(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
33812
+ }
33813
+
31088
33814
  /**
31089
33815
  * check apikey available
31090
33816
  * @summary check apikey available
@@ -31194,6 +33920,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31194
33920
  return SharedApiFp(this.configuration).createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
31195
33921
  }
31196
33922
 
33923
+ /**
33924
+ * create an hive account
33925
+ * @summary Create Hive account
33926
+ * @param {SharedApiCreateHiveAccountRequest} requestParameters Request parameters.
33927
+ * @param {*} [options] Override http request option.
33928
+ * @throws {RequiredError}
33929
+ * @memberof SharedApi
33930
+ */
33931
+ public createHiveAccount(requestParameters: SharedApiCreateHiveAccountRequest, options?: RawAxiosRequestConfig) {
33932
+ return SharedApiFp(this.configuration).createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
33933
+ }
33934
+
31197
33935
  /**
31198
33936
  *
31199
33937
  * @summary Create IP whitelist
@@ -31218,6 +33956,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31218
33956
  return SharedApiFp(this.configuration).createImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.importTaskCreateRequest, options).then((request) => request(this.axios, this.basePath));
31219
33957
  }
31220
33958
 
33959
+ /**
33960
+ * create an account in cluster
33961
+ * @summary Create cluster account
33962
+ * @param {SharedApiCreateKafkaAccountRequest} requestParameters Request parameters.
33963
+ * @param {*} [options] Override http request option.
33964
+ * @throws {RequiredError}
33965
+ * @memberof SharedApi
33966
+ */
33967
+ public createKafkaAccount(requestParameters: SharedApiCreateKafkaAccountRequest, options?: RawAxiosRequestConfig) {
33968
+ return SharedApiFp(this.configuration).createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
33969
+ }
33970
+
31221
33971
  /**
31222
33972
  *
31223
33973
  * @summary Create new topic
@@ -31446,6 +34196,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31446
34196
  return SharedApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
31447
34197
  }
31448
34198
 
34199
+ /**
34200
+ *
34201
+ * @summary Delete Elasticsearch security role
34202
+ * @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
34203
+ * @param {*} [options] Override http request option.
34204
+ * @throws {RequiredError}
34205
+ * @memberof SharedApi
34206
+ */
34207
+ public deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
34208
+ return SharedApiFp(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
34209
+ }
34210
+
34211
+ /**
34212
+ *
34213
+ * @summary Delete Elasticsearch security role mapping
34214
+ * @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
34215
+ * @param {*} [options] Override http request option.
34216
+ * @throws {RequiredError}
34217
+ * @memberof SharedApi
34218
+ */
34219
+ public deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
34220
+ return SharedApiFp(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
34221
+ }
34222
+
34223
+ /**
34224
+ *
34225
+ * @summary Delete Elasticsearch security user
34226
+ * @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
34227
+ * @param {*} [options] Override http request option.
34228
+ * @throws {RequiredError}
34229
+ * @memberof SharedApi
34230
+ */
34231
+ public deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
34232
+ return SharedApiFp(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
34233
+ }
34234
+
34235
+ /**
34236
+ * delete an hive account in cluster
34237
+ * @summary Delete hive account
34238
+ * @param {SharedApiDeleteHiveAccountRequest} requestParameters Request parameters.
34239
+ * @param {*} [options] Override http request option.
34240
+ * @throws {RequiredError}
34241
+ * @memberof SharedApi
34242
+ */
34243
+ public deleteHiveAccount(requestParameters: SharedApiDeleteHiveAccountRequest, options?: RawAxiosRequestConfig) {
34244
+ return SharedApiFp(this.configuration).deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
34245
+ }
34246
+
31449
34247
  /**
31450
34248
  *
31451
34249
  * @summary Delete IP whitelist
@@ -31470,6 +34268,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31470
34268
  return SharedApiFp(this.configuration).deleteImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
31471
34269
  }
31472
34270
 
34271
+ /**
34272
+ * delete an account in cluster
34273
+ * @summary Delete cluster account
34274
+ * @param {SharedApiDeleteKafkaAccountRequest} requestParameters Request parameters.
34275
+ * @param {*} [options] Override http request option.
34276
+ * @throws {RequiredError}
34277
+ * @memberof SharedApi
34278
+ */
34279
+ public deleteKafkaAccount(requestParameters: SharedApiDeleteKafkaAccountRequest, options?: RawAxiosRequestConfig) {
34280
+ return SharedApiFp(this.configuration).deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
34281
+ }
34282
+
31473
34283
  /**
31474
34284
  *
31475
34285
  * @summary Delete consumer group
@@ -31986,6 +34796,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31986
34796
  return SharedApiFp(this.configuration).getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
31987
34797
  }
31988
34798
 
34799
+ /**
34800
+ *
34801
+ * @summary Get Elasticsearch builtin privileges
34802
+ * @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
34803
+ * @param {*} [options] Override http request option.
34804
+ * @throws {RequiredError}
34805
+ * @memberof SharedApi
34806
+ */
34807
+ public getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig) {
34808
+ return SharedApiFp(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
34809
+ }
34810
+
34811
+ /**
34812
+ *
34813
+ * @summary Get Elasticsearch security role
34814
+ * @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
34815
+ * @param {*} [options] Override http request option.
34816
+ * @throws {RequiredError}
34817
+ * @memberof SharedApi
34818
+ */
34819
+ public getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
34820
+ return SharedApiFp(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
34821
+ }
34822
+
34823
+ /**
34824
+ *
34825
+ * @summary Get Elasticsearch security role mapping
34826
+ * @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
34827
+ * @param {*} [options] Override http request option.
34828
+ * @throws {RequiredError}
34829
+ * @memberof SharedApi
34830
+ */
34831
+ public getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
34832
+ return SharedApiFp(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
34833
+ }
34834
+
34835
+ /**
34836
+ *
34837
+ * @summary Get Elasticsearch security user
34838
+ * @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
34839
+ * @param {*} [options] Override http request option.
34840
+ * @throws {RequiredError}
34841
+ * @memberof SharedApi
34842
+ */
34843
+ public getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
34844
+ return SharedApiFp(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
34845
+ }
34846
+
31989
34847
  /**
31990
34848
  * get engine available console
31991
34849
  * @summary get engine available console
@@ -32010,6 +34868,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32010
34868
  return SharedApiFp(this.configuration).getEngineOption(requestParameters.engineName, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
32011
34869
  }
32012
34870
 
34871
+ /**
34872
+ * Get Hive accounts
34873
+ * @summary Get Hive accounts
34874
+ * @param {SharedApiGetHiveAccountsRequest} requestParameters Request parameters.
34875
+ * @param {*} [options] Override http request option.
34876
+ * @throws {RequiredError}
34877
+ * @memberof SharedApi
34878
+ */
34879
+ public getHiveAccounts(requestParameters: SharedApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig) {
34880
+ return SharedApiFp(this.configuration).getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
34881
+ }
34882
+
32013
34883
  /**
32014
34884
  * Retrieves detailed information about a specific data import preflight task by its ID
32015
34885
  * @summary Get preflight task details
@@ -32561,6 +35431,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32561
35431
  return SharedApiFp(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
32562
35432
  }
32563
35433
 
35434
+ /**
35435
+ *
35436
+ * @summary List Elasticsearch security role mappings
35437
+ * @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
35438
+ * @param {*} [options] Override http request option.
35439
+ * @throws {RequiredError}
35440
+ * @memberof SharedApi
35441
+ */
35442
+ public listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig) {
35443
+ return SharedApiFp(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
35444
+ }
35445
+
35446
+ /**
35447
+ *
35448
+ * @summary List Elasticsearch security roles
35449
+ * @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
35450
+ * @param {*} [options] Override http request option.
35451
+ * @throws {RequiredError}
35452
+ * @memberof SharedApi
35453
+ */
35454
+ public listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig) {
35455
+ return SharedApiFp(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
35456
+ }
35457
+
35458
+ /**
35459
+ *
35460
+ * @summary List Elasticsearch security users
35461
+ * @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
35462
+ * @param {*} [options] Override http request option.
35463
+ * @throws {RequiredError}
35464
+ * @memberof SharedApi
35465
+ */
35466
+ public listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig) {
35467
+ return SharedApiFp(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
35468
+ }
35469
+
32564
35470
  /**
32565
35471
  *
32566
35472
  * @summary List cluster endpoints
@@ -32692,6 +35598,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32692
35598
  return SharedApiFp(this.configuration).listInstanceEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, requestParameters.returnNumber, options).then((request) => request(this.axios, this.basePath));
32693
35599
  }
32694
35600
 
35601
+ /**
35602
+ * list accounts in cluster
35603
+ * @summary List cluster accounts
35604
+ * @param {SharedApiListKafkaAccountsRequest} requestParameters Request parameters.
35605
+ * @param {*} [options] Override http request option.
35606
+ * @throws {RequiredError}
35607
+ * @memberof SharedApi
35608
+ */
35609
+ public listKafkaAccounts(requestParameters: SharedApiListKafkaAccountsRequest, options?: RawAxiosRequestConfig) {
35610
+ return SharedApiFp(this.configuration).listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
35611
+ }
35612
+
32695
35613
  /**
32696
35614
  *
32697
35615
  * @summary List all consumer groups
@@ -33122,6 +36040,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33122
36040
  return SharedApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
33123
36041
  }
33124
36042
 
36043
+ /**
36044
+ *
36045
+ * @summary Lock Elasticsearch account
36046
+ * @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
36047
+ * @param {*} [options] Override http request option.
36048
+ * @throws {RequiredError}
36049
+ * @memberof SharedApi
36050
+ */
36051
+ public lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
36052
+ return SharedApiFp(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
36053
+ }
36054
+
33125
36055
  /**
33126
36056
  *
33127
36057
  * @summary batch modify database tde status
@@ -33230,6 +36160,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33230
36160
  return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
33231
36161
  }
33232
36162
 
36163
+ /**
36164
+ *
36165
+ * @summary Create or update Elasticsearch security role
36166
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
36167
+ * @param {*} [options] Override http request option.
36168
+ * @throws {RequiredError}
36169
+ * @memberof SharedApi
36170
+ */
36171
+ public putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
36172
+ return SharedApiFp(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
36173
+ }
36174
+
36175
+ /**
36176
+ *
36177
+ * @summary Create or update Elasticsearch security role mapping
36178
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
36179
+ * @param {*} [options] Override http request option.
36180
+ * @throws {RequiredError}
36181
+ * @memberof SharedApi
36182
+ */
36183
+ public putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
36184
+ return SharedApiFp(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
36185
+ }
36186
+
36187
+ /**
36188
+ *
36189
+ * @summary Create or update Elasticsearch security user
36190
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
36191
+ * @param {*} [options] Override http request option.
36192
+ * @throws {RequiredError}
36193
+ * @memberof SharedApi
36194
+ */
36195
+ public putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
36196
+ return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
36197
+ }
36198
+
33233
36199
  /**
33234
36200
  *
33235
36201
  * @summary create a SQL query
@@ -33637,6 +36603,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33637
36603
  return SharedApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
33638
36604
  }
33639
36605
 
36606
+ /**
36607
+ *
36608
+ * @summary Unlock Elasticsearch account
36609
+ * @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
36610
+ * @param {*} [options] Override http request option.
36611
+ * @throws {RequiredError}
36612
+ * @memberof SharedApi
36613
+ */
36614
+ public unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
36615
+ return SharedApiFp(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
36616
+ }
36617
+
33640
36618
  /**
33641
36619
  * update an account in cluster
33642
36620
  * @summary update cluster account
@@ -33733,6 +36711,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33733
36711
  return SharedApiFp(this.configuration).updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
33734
36712
  }
33735
36713
 
36714
+ /**
36715
+ * update an hive account in cluster
36716
+ * @summary update hive account
36717
+ * @param {SharedApiUpdateHiveAccountRequest} requestParameters Request parameters.
36718
+ * @param {*} [options] Override http request option.
36719
+ * @throws {RequiredError}
36720
+ * @memberof SharedApi
36721
+ */
36722
+ public updateHiveAccount(requestParameters: SharedApiUpdateHiveAccountRequest, options?: RawAxiosRequestConfig) {
36723
+ return SharedApiFp(this.configuration).updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
36724
+ }
36725
+
33736
36726
  /**
33737
36727
  *
33738
36728
  * @summary Update IP whitelist
@@ -33757,6 +36747,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33757
36747
  return SharedApiFp(this.configuration).updateImportTaskOps(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.opsType, options).then((request) => request(this.axios, this.basePath));
33758
36748
  }
33759
36749
 
36750
+ /**
36751
+ * update an account in cluster
36752
+ * @summary update cluster account
36753
+ * @param {SharedApiUpdateKafkaAccountRequest} requestParameters Request parameters.
36754
+ * @param {*} [options] Override http request option.
36755
+ * @throws {RequiredError}
36756
+ * @memberof SharedApi
36757
+ */
36758
+ public updateKafkaAccount(requestParameters: SharedApiUpdateKafkaAccountRequest, options?: RawAxiosRequestConfig) {
36759
+ return SharedApiFp(this.configuration).updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
36760
+ }
36761
+
33760
36762
  /**
33761
36763
  *
33762
36764
  * @summary Update broker config