kb-cloud-client-typescript 2.4.0-alpha.102 → 2.4.0-alpha.105

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 (273) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/aiagent-api.d.ts +6 -6
  6. package/dist/adminapi/apis/aiagent-api.js +4 -4
  7. package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
  8. package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/alert-rule-api.js +241 -0
  10. package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
  11. package/dist/adminapi/apis/node-alert-api.d.ts +247 -0
  12. package/dist/adminapi/apis/node-alert-api.d.ts.map +1 -0
  13. package/dist/adminapi/apis/node-alert-api.js +292 -0
  14. package/dist/adminapi/apis/node-alert-api.js.map +1 -0
  15. package/dist/adminapi/apis/opsrequest-api.d.ts +5 -5
  16. package/dist/adminapi/apis/opsrequest-api.js +4 -4
  17. package/dist/adminapi/apis/organization-api.d.ts +211 -2
  18. package/dist/adminapi/apis/organization-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/organization-api.js +245 -5
  20. package/dist/adminapi/apis/organization-api.js.map +1 -1
  21. package/dist/adminapi/apis/shared-api.d.ts +438 -7
  22. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/shared-api.js +490 -9
  24. package/dist/adminapi/apis/shared-api.js.map +1 -1
  25. package/dist/adminapi/apis/task-api.d.ts +55 -0
  26. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  27. package/dist/adminapi/apis/task-api.js +69 -0
  28. package/dist/adminapi/apis/task-api.js.map +1 -1
  29. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
  30. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  31. package/dist/adminapi/models/alert-cluster-silence.d.ts +1 -1
  32. package/dist/adminapi/models/alert-cluster.d.ts +3 -3
  33. package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
  34. package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
  35. package/dist/adminapi/models/alert-resource-type.js +26 -0
  36. package/dist/adminapi/models/alert-resource-type.js.map +1 -0
  37. package/dist/adminapi/models/component-item-create.d.ts +8 -0
  38. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  39. package/dist/adminapi/models/component-item.d.ts +8 -0
  40. package/dist/adminapi/models/component-item.d.ts.map +1 -1
  41. package/dist/adminapi/models/component-option.d.ts +6 -0
  42. package/dist/adminapi/models/component-option.d.ts.map +1 -1
  43. package/dist/adminapi/models/engine-option-license.d.ts +13 -0
  44. package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
  45. package/dist/adminapi/models/index.d.ts +10 -0
  46. package/dist/adminapi/models/index.d.ts.map +1 -1
  47. package/dist/adminapi/models/index.js +10 -0
  48. package/dist/adminapi/models/index.js.map +1 -1
  49. package/dist/adminapi/models/inspection-task.d.ts +2 -2
  50. package/dist/adminapi/models/ops-expose-type.d.ts +2 -1
  51. package/dist/adminapi/models/ops-expose-type.d.ts.map +1 -1
  52. package/dist/adminapi/models/ops-expose-type.js +3 -2
  53. package/dist/adminapi/models/ops-expose-type.js.map +1 -1
  54. package/dist/adminapi/models/ops-expose.d.ts +1 -1
  55. package/dist/adminapi/models/org-configuration-item.d.ts +31 -0
  56. package/dist/adminapi/models/org-configuration-item.d.ts.map +1 -0
  57. package/dist/adminapi/models/org-configuration-item.js +16 -0
  58. package/dist/adminapi/models/org-configuration-item.js.map +1 -0
  59. package/dist/adminapi/models/org-configuration-summary.d.ts +56 -0
  60. package/dist/adminapi/models/org-configuration-summary.d.ts.map +1 -0
  61. package/dist/adminapi/models/org-configuration-summary.js +16 -0
  62. package/dist/adminapi/models/org-configuration-summary.js.map +1 -0
  63. package/dist/adminapi/models/org-deletion-action.d.ts +22 -0
  64. package/dist/adminapi/models/org-deletion-action.d.ts.map +1 -0
  65. package/dist/adminapi/models/org-deletion-action.js +26 -0
  66. package/dist/adminapi/models/org-deletion-action.js.map +1 -0
  67. package/dist/adminapi/models/org-deletion-blocker.d.ts +37 -0
  68. package/dist/adminapi/models/org-deletion-blocker.d.ts.map +1 -0
  69. package/dist/adminapi/models/org-deletion-blocker.js +16 -0
  70. package/dist/adminapi/models/org-deletion-blocker.js.map +1 -0
  71. package/dist/adminapi/models/org-deletion-preview.d.ts +82 -0
  72. package/dist/adminapi/models/org-deletion-preview.d.ts.map +1 -0
  73. package/dist/adminapi/models/org-deletion-preview.js +16 -0
  74. package/dist/adminapi/models/org-deletion-preview.js.map +1 -0
  75. package/dist/adminapi/models/org-lifecycle-request.d.ts +31 -0
  76. package/dist/adminapi/models/org-lifecycle-request.d.ts.map +1 -0
  77. package/dist/adminapi/models/org-lifecycle-request.js +16 -0
  78. package/dist/adminapi/models/org-lifecycle-request.js.map +1 -0
  79. package/dist/adminapi/models/org-purge-result.d.ts +37 -0
  80. package/dist/adminapi/models/org-purge-result.d.ts.map +1 -0
  81. package/dist/adminapi/models/org-purge-result.js +16 -0
  82. package/dist/adminapi/models/org-purge-result.js.map +1 -0
  83. package/dist/adminapi/models/org-retained-resource.d.ts +37 -0
  84. package/dist/adminapi/models/org-retained-resource.d.ts.map +1 -0
  85. package/dist/adminapi/models/org-retained-resource.js +16 -0
  86. package/dist/adminapi/models/org-retained-resource.js.map +1 -0
  87. package/dist/adminapi/models/org-status.d.ts +25 -0
  88. package/dist/adminapi/models/org-status.d.ts.map +1 -0
  89. package/dist/adminapi/models/org-status.js +29 -0
  90. package/dist/adminapi/models/org-status.js.map +1 -0
  91. package/dist/adminapi/models/org.d.ts +25 -0
  92. package/dist/adminapi/models/org.d.ts.map +1 -1
  93. package/dist/adminapi/models/organization-item.d.ts +31 -0
  94. package/dist/adminapi/models/organization-item.d.ts.map +1 -1
  95. package/dist/adminapi/models/restore-create.d.ts +1 -1
  96. package/dist/adminapi/models/task-status.d.ts +1 -0
  97. package/dist/adminapi/models/task-status.d.ts.map +1 -1
  98. package/dist/adminapi/models/task-status.js +2 -1
  99. package/dist/adminapi/models/task-status.js.map +1 -1
  100. package/dist/internalapi/apis/environment-api.d.ts +63 -0
  101. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  102. package/dist/internalapi/apis/environment-api.js +72 -0
  103. package/dist/internalapi/apis/environment-api.js.map +1 -1
  104. package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts +15 -7
  105. package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts.map +1 -1
  106. package/dist/internalapi/apis/recycle-bin-cluster-api.js +18 -11
  107. package/dist/internalapi/apis/recycle-bin-cluster-api.js.map +1 -1
  108. package/dist/internalapi/models/component-item.d.ts +8 -0
  109. package/dist/internalapi/models/component-item.d.ts.map +1 -1
  110. package/dist/openapi/apis/aiagent-api.d.ts +6 -6
  111. package/dist/openapi/apis/aiagent-api.js +4 -4
  112. package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
  113. package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
  114. package/dist/openapi/apis/alert-rule-api.js +241 -0
  115. package/dist/openapi/apis/alert-rule-api.js.map +1 -1
  116. package/dist/openapi/apis/opsrequest-api.d.ts +5 -5
  117. package/dist/openapi/apis/opsrequest-api.js +4 -4
  118. package/dist/openapi/apis/organization-api.d.ts +211 -2
  119. package/dist/openapi/apis/organization-api.d.ts.map +1 -1
  120. package/dist/openapi/apis/organization-api.js +245 -5
  121. package/dist/openapi/apis/organization-api.js.map +1 -1
  122. package/dist/openapi/apis/shared-api.d.ts +438 -7
  123. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  124. package/dist/openapi/apis/shared-api.js +490 -9
  125. package/dist/openapi/apis/shared-api.js.map +1 -1
  126. package/dist/openapi/apis/task-api.d.ts +63 -0
  127. package/dist/openapi/apis/task-api.d.ts.map +1 -1
  128. package/dist/openapi/apis/task-api.js +74 -0
  129. package/dist/openapi/apis/task-api.js.map +1 -1
  130. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
  131. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  132. package/dist/openapi/models/alert-cluster-silence.d.ts +1 -1
  133. package/dist/openapi/models/alert-cluster.d.ts +3 -3
  134. package/dist/openapi/models/alert-resource-type.d.ts +22 -0
  135. package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
  136. package/dist/openapi/models/alert-resource-type.js +26 -0
  137. package/dist/openapi/models/alert-resource-type.js.map +1 -0
  138. package/dist/openapi/models/component-item-create.d.ts +8 -0
  139. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  140. package/dist/openapi/models/component-item.d.ts +8 -0
  141. package/dist/openapi/models/component-item.d.ts.map +1 -1
  142. package/dist/openapi/models/component-option.d.ts +6 -0
  143. package/dist/openapi/models/component-option.d.ts.map +1 -1
  144. package/dist/openapi/models/engine-option-license.d.ts +13 -0
  145. package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
  146. package/dist/openapi/models/index.d.ts +10 -0
  147. package/dist/openapi/models/index.d.ts.map +1 -1
  148. package/dist/openapi/models/index.js +10 -0
  149. package/dist/openapi/models/index.js.map +1 -1
  150. package/dist/openapi/models/inspection-task.d.ts +2 -2
  151. package/dist/openapi/models/ops-expose-type.d.ts +2 -1
  152. package/dist/openapi/models/ops-expose-type.d.ts.map +1 -1
  153. package/dist/openapi/models/ops-expose-type.js +3 -2
  154. package/dist/openapi/models/ops-expose-type.js.map +1 -1
  155. package/dist/openapi/models/ops-expose.d.ts +1 -1
  156. package/dist/openapi/models/org-configuration-item.d.ts +31 -0
  157. package/dist/openapi/models/org-configuration-item.d.ts.map +1 -0
  158. package/dist/openapi/models/org-configuration-item.js +16 -0
  159. package/dist/openapi/models/org-configuration-item.js.map +1 -0
  160. package/dist/openapi/models/org-configuration-summary.d.ts +56 -0
  161. package/dist/openapi/models/org-configuration-summary.d.ts.map +1 -0
  162. package/dist/openapi/models/org-configuration-summary.js +16 -0
  163. package/dist/openapi/models/org-configuration-summary.js.map +1 -0
  164. package/dist/openapi/models/org-deletion-action.d.ts +22 -0
  165. package/dist/openapi/models/org-deletion-action.d.ts.map +1 -0
  166. package/dist/openapi/models/org-deletion-action.js +26 -0
  167. package/dist/openapi/models/org-deletion-action.js.map +1 -0
  168. package/dist/openapi/models/org-deletion-blocker.d.ts +37 -0
  169. package/dist/openapi/models/org-deletion-blocker.d.ts.map +1 -0
  170. package/dist/openapi/models/org-deletion-blocker.js +16 -0
  171. package/dist/openapi/models/org-deletion-blocker.js.map +1 -0
  172. package/dist/openapi/models/org-deletion-preview.d.ts +82 -0
  173. package/dist/openapi/models/org-deletion-preview.d.ts.map +1 -0
  174. package/dist/openapi/models/org-deletion-preview.js +16 -0
  175. package/dist/openapi/models/org-deletion-preview.js.map +1 -0
  176. package/dist/openapi/models/org-lifecycle-request.d.ts +31 -0
  177. package/dist/openapi/models/org-lifecycle-request.d.ts.map +1 -0
  178. package/dist/openapi/models/org-lifecycle-request.js +16 -0
  179. package/dist/openapi/models/org-lifecycle-request.js.map +1 -0
  180. package/dist/openapi/models/org-purge-result.d.ts +37 -0
  181. package/dist/openapi/models/org-purge-result.d.ts.map +1 -0
  182. package/dist/openapi/models/org-purge-result.js +16 -0
  183. package/dist/openapi/models/org-purge-result.js.map +1 -0
  184. package/dist/openapi/models/org-retained-resource.d.ts +37 -0
  185. package/dist/openapi/models/org-retained-resource.d.ts.map +1 -0
  186. package/dist/openapi/models/org-retained-resource.js +16 -0
  187. package/dist/openapi/models/org-retained-resource.js.map +1 -0
  188. package/dist/openapi/models/org-status.d.ts +25 -0
  189. package/dist/openapi/models/org-status.d.ts.map +1 -0
  190. package/dist/openapi/models/org-status.js +29 -0
  191. package/dist/openapi/models/org-status.js.map +1 -0
  192. package/dist/openapi/models/org.d.ts +25 -0
  193. package/dist/openapi/models/org.d.ts.map +1 -1
  194. package/dist/openapi/models/restore-create.d.ts +1 -1
  195. package/dist/openapi/models/task-status.d.ts +1 -0
  196. package/dist/openapi/models/task-status.d.ts.map +1 -1
  197. package/dist/openapi/models/task-status.js +2 -1
  198. package/dist/openapi/models/task-status.js.map +1 -1
  199. package/dist/openapi/models/user-org.d.ts +25 -0
  200. package/dist/openapi/models/user-org.d.ts.map +1 -1
  201. package/package.json +1 -1
  202. package/src/adminapi/.openapi-generator/FILES +11 -0
  203. package/src/adminapi/api.ts +1 -0
  204. package/src/adminapi/apis/aiagent-api.ts +6 -6
  205. package/src/adminapi/apis/alert-rule-api.ts +388 -0
  206. package/src/adminapi/apis/node-alert-api.ts +424 -0
  207. package/src/adminapi/apis/opsrequest-api.ts +5 -5
  208. package/src/adminapi/apis/organization-api.ts +386 -5
  209. package/src/adminapi/apis/shared-api.ts +908 -141
  210. package/src/adminapi/apis/task-api.ts +100 -0
  211. package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
  212. package/src/adminapi/models/alert-cluster-silence.ts +1 -1
  213. package/src/adminapi/models/alert-cluster.ts +3 -3
  214. package/src/adminapi/models/alert-resource-type.ts +31 -0
  215. package/src/adminapi/models/component-item-create.ts +6 -0
  216. package/src/adminapi/models/component-item.ts +6 -0
  217. package/src/adminapi/models/component-option.ts +6 -0
  218. package/src/adminapi/models/engine-option-license.ts +15 -0
  219. package/src/adminapi/models/index.ts +10 -0
  220. package/src/adminapi/models/inspection-task.ts +2 -2
  221. package/src/adminapi/models/ops-expose-type.ts +3 -2
  222. package/src/adminapi/models/ops-expose.ts +1 -1
  223. package/src/adminapi/models/org-configuration-item.ts +36 -0
  224. package/src/adminapi/models/org-configuration-summary.ts +63 -0
  225. package/src/adminapi/models/org-deletion-action.ts +31 -0
  226. package/src/adminapi/models/org-deletion-blocker.ts +42 -0
  227. package/src/adminapi/models/org-deletion-preview.ts +93 -0
  228. package/src/adminapi/models/org-lifecycle-request.ts +36 -0
  229. package/src/adminapi/models/org-purge-result.ts +42 -0
  230. package/src/adminapi/models/org-retained-resource.ts +42 -0
  231. package/src/adminapi/models/org-status.ts +34 -0
  232. package/src/adminapi/models/org.ts +29 -0
  233. package/src/adminapi/models/organization-item.ts +35 -0
  234. package/src/adminapi/models/restore-create.ts +1 -1
  235. package/src/adminapi/models/task-status.ts +2 -1
  236. package/src/adminapi.yaml +732 -139
  237. package/src/internalapi/apis/environment-api.ts +110 -0
  238. package/src/internalapi/apis/recycle-bin-cluster-api.ts +29 -14
  239. package/src/internalapi/models/component-item.ts +6 -0
  240. package/src/internalapi.yaml +38 -3
  241. package/src/openapi/.openapi-generator/FILES +10 -0
  242. package/src/openapi/apis/aiagent-api.ts +6 -6
  243. package/src/openapi/apis/alert-rule-api.ts +388 -0
  244. package/src/openapi/apis/opsrequest-api.ts +5 -5
  245. package/src/openapi/apis/organization-api.ts +386 -5
  246. package/src/openapi/apis/shared-api.ts +908 -141
  247. package/src/openapi/apis/task-api.ts +112 -0
  248. package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
  249. package/src/openapi/models/alert-cluster-silence.ts +1 -1
  250. package/src/openapi/models/alert-cluster.ts +3 -3
  251. package/src/openapi/models/alert-resource-type.ts +31 -0
  252. package/src/openapi/models/component-item-create.ts +6 -0
  253. package/src/openapi/models/component-item.ts +6 -0
  254. package/src/openapi/models/component-option.ts +6 -0
  255. package/src/openapi/models/engine-option-license.ts +15 -0
  256. package/src/openapi/models/index.ts +10 -0
  257. package/src/openapi/models/inspection-task.ts +2 -2
  258. package/src/openapi/models/ops-expose-type.ts +3 -2
  259. package/src/openapi/models/ops-expose.ts +1 -1
  260. package/src/openapi/models/org-configuration-item.ts +36 -0
  261. package/src/openapi/models/org-configuration-summary.ts +63 -0
  262. package/src/openapi/models/org-deletion-action.ts +31 -0
  263. package/src/openapi/models/org-deletion-blocker.ts +42 -0
  264. package/src/openapi/models/org-deletion-preview.ts +93 -0
  265. package/src/openapi/models/org-lifecycle-request.ts +36 -0
  266. package/src/openapi/models/org-purge-result.ts +42 -0
  267. package/src/openapi/models/org-retained-resource.ts +42 -0
  268. package/src/openapi/models/org-status.ts +34 -0
  269. package/src/openapi/models/org.ts +29 -0
  270. package/src/openapi/models/restore-create.ts +1 -1
  271. package/src/openapi/models/task-status.ts +2 -1
  272. package/src/openapi/models/user-org.ts +29 -0
  273. package/src/openapi.yaml +503 -9
@@ -34,6 +34,8 @@ import type { AccountListItem } from '../models';
34
34
  // @ts-ignore
35
35
  import type { AlertCluster } from '../models';
36
36
  // @ts-ignore
37
+ import type { AlertResourceType } from '../models';
38
+ // @ts-ignore
37
39
  import type { AlertRuleList } from '../models';
38
40
  // @ts-ignore
39
41
  import type { AlertStatistic } from '../models';
@@ -350,6 +352,12 @@ import type { OpsVolumeExpand } from '../models';
350
352
  // @ts-ignore
351
353
  import type { Org } from '../models';
352
354
  // @ts-ignore
355
+ import type { OrgDeletionAction } from '../models';
356
+ // @ts-ignore
357
+ import type { OrgDeletionPreview } from '../models';
358
+ // @ts-ignore
359
+ import type { OrgLifecycleRequest } from '../models';
360
+ // @ts-ignore
353
361
  import type { OrgMember } from '../models';
354
362
  // @ts-ignore
355
363
  import type { OrgMemberAdd } from '../models';
@@ -360,6 +368,8 @@ import type { OrgMemberUpdate } from '../models';
360
368
  // @ts-ignore
361
369
  import type { OrgParameter } from '../models';
362
370
  // @ts-ignore
371
+ import type { OrgPurgeResult } from '../models';
372
+ // @ts-ignore
363
373
  import type { OrgTagsList } from '../models';
364
374
  // @ts-ignore
365
375
  import type { OrgUpdate } from '../models';
@@ -3896,12 +3906,15 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3896
3906
  * partially delete the specified org
3897
3907
  * @summary Delete organization
3898
3908
  * @param {string} orgName name of the Org
3909
+ * @param {string} orgID
3899
3910
  * @param {*} [options] Override http request option.
3900
3911
  * @throws {RequiredError}
3901
3912
  */
3902
- deleteOrg: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3913
+ deleteOrg: async (orgName: string, orgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3903
3914
  // verify required parameter 'orgName' is not null or undefined
3904
3915
  assertParamExists('deleteOrg', 'orgName', orgName)
3916
+ // verify required parameter 'orgID' is not null or undefined
3917
+ assertParamExists('deleteOrg', 'orgID', orgID)
3905
3918
  const localVarPath = `/admin/v1/organizations/{orgName}`
3906
3919
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
3907
3920
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -3922,6 +3935,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3922
3935
  // authentication DigestAuth required
3923
3936
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3924
3937
 
3938
+ if (orgID !== undefined) {
3939
+ localVarQueryParameter['orgID'] = orgID;
3940
+ }
3941
+
3925
3942
 
3926
3943
 
3927
3944
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5342,7 +5359,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5342
5359
  },
5343
5360
  /**
5344
5361
  *
5345
- * @summary Expose cluster loadbalancer endpoint
5362
+ * @summary Expose cluster endpoint
5346
5363
  * @param {string} orgName name of the Org
5347
5364
  * @param {string} clusterName name of the KubeBlocks cluster
5348
5365
  * @param {OpsExpose} body
@@ -7864,6 +7881,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7864
7881
 
7865
7882
 
7866
7883
 
7884
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7885
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7886
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7887
+
7888
+ return {
7889
+ url: toPathString(localVarUrlObj),
7890
+ options: localVarRequestOptions,
7891
+ };
7892
+ },
7893
+ /**
7894
+ *
7895
+ * @summary Get resource alert settings
7896
+ * @param {string} orgName name of the Org
7897
+ * @param {AlertResourceType} resourceType resourceType
7898
+ * @param {string} resourceID
7899
+ * @param {*} [options] Override http request option.
7900
+ * @throws {RequiredError}
7901
+ */
7902
+ getResourceAlertDisabled: async (orgName: string, resourceType: AlertResourceType, resourceID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7903
+ // verify required parameter 'orgName' is not null or undefined
7904
+ assertParamExists('getResourceAlertDisabled', 'orgName', orgName)
7905
+ // verify required parameter 'resourceType' is not null or undefined
7906
+ assertParamExists('getResourceAlertDisabled', 'resourceType', resourceType)
7907
+ // verify required parameter 'resourceID' is not null or undefined
7908
+ assertParamExists('getResourceAlertDisabled', 'resourceID', resourceID)
7909
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
7910
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7911
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
7912
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
7913
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7914
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7915
+ let baseOptions;
7916
+ if (configuration) {
7917
+ baseOptions = configuration.baseOptions;
7918
+ }
7919
+
7920
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7921
+ const localVarHeaderParameter = {} as any;
7922
+ const localVarQueryParameter = {} as any;
7923
+
7924
+ // authentication BearerToken required
7925
+ // http bearer authentication required
7926
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7927
+
7928
+ // authentication DigestAuth required
7929
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
7930
+
7931
+
7932
+
7867
7933
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7868
7934
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7869
7935
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12115,6 +12181,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12115
12181
 
12116
12182
 
12117
12183
 
12184
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12185
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12186
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12187
+
12188
+ return {
12189
+ url: toPathString(localVarUrlObj),
12190
+ options: localVarRequestOptions,
12191
+ };
12192
+ },
12193
+ /**
12194
+ *
12195
+ * @summary List applicable alert rules for a resource
12196
+ * @param {string} orgName name of the Org
12197
+ * @param {AlertResourceType} resourceType resourceType
12198
+ * @param {string} resourceID
12199
+ * @param {*} [options] Override http request option.
12200
+ * @throws {RequiredError}
12201
+ */
12202
+ listResourceAlertRules: async (orgName: string, resourceType: AlertResourceType, resourceID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12203
+ // verify required parameter 'orgName' is not null or undefined
12204
+ assertParamExists('listResourceAlertRules', 'orgName', orgName)
12205
+ // verify required parameter 'resourceType' is not null or undefined
12206
+ assertParamExists('listResourceAlertRules', 'resourceType', resourceType)
12207
+ // verify required parameter 'resourceID' is not null or undefined
12208
+ assertParamExists('listResourceAlertRules', 'resourceID', resourceID)
12209
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules`
12210
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12211
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
12212
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
12213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12214
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12215
+ let baseOptions;
12216
+ if (configuration) {
12217
+ baseOptions = configuration.baseOptions;
12218
+ }
12219
+
12220
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12221
+ const localVarHeaderParameter = {} as any;
12222
+ const localVarQueryParameter = {} as any;
12223
+
12224
+ // authentication BearerToken required
12225
+ // http bearer authentication required
12226
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12227
+
12228
+ // authentication DigestAuth required
12229
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12230
+
12231
+
12232
+
12118
12233
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12119
12234
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12120
12235
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -13922,27 +14037,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13922
14037
  },
13923
14038
  /**
13924
14039
  *
13925
- * @summary Produce message to topic
13926
- * @param {string} orgName The name of organization
13927
- * @param {string} clusterName The name of cluster
13928
- * @param {string} topic
13929
- * @param {TopicMessageRequest} topicMessageRequest
14040
+ * @summary Preview organization deletion or purge
14041
+ * @param {string} orgName
14042
+ * @param {string} orgID
14043
+ * @param {OrgDeletionAction} action
13930
14044
  * @param {*} [options] Override http request option.
13931
14045
  * @throws {RequiredError}
13932
14046
  */
13933
- produceKafkaTopicMessage: async (orgName: string, clusterName: string, topic: string, topicMessageRequest: TopicMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14047
+ previewOrgDeletion: async (orgName: string, orgID: string, action: OrgDeletionAction, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13934
14048
  // verify required parameter 'orgName' is not null or undefined
13935
- assertParamExists('produceKafkaTopicMessage', 'orgName', orgName)
13936
- // verify required parameter 'clusterName' is not null or undefined
13937
- assertParamExists('produceKafkaTopicMessage', 'clusterName', clusterName)
13938
- // verify required parameter 'topic' is not null or undefined
13939
- assertParamExists('produceKafkaTopicMessage', 'topic', topic)
13940
- // verify required parameter 'topicMessageRequest' is not null or undefined
13941
- assertParamExists('produceKafkaTopicMessage', 'topicMessageRequest', topicMessageRequest)
13942
- const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}/messages`
13943
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13944
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13945
- .replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
14049
+ assertParamExists('previewOrgDeletion', 'orgName', orgName)
14050
+ // verify required parameter 'orgID' is not null or undefined
14051
+ assertParamExists('previewOrgDeletion', 'orgID', orgID)
14052
+ // verify required parameter 'action' is not null or undefined
14053
+ assertParamExists('previewOrgDeletion', 'action', action)
14054
+ const localVarPath = `/admin/v1/organizations/{orgName}/deletionPreview`
14055
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
13946
14056
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13947
14057
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13948
14058
  let baseOptions;
@@ -13950,7 +14060,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13950
14060
  baseOptions = configuration.baseOptions;
13951
14061
  }
13952
14062
 
13953
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14063
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13954
14064
  const localVarHeaderParameter = {} as any;
13955
14065
  const localVarQueryParameter = {} as any;
13956
14066
 
@@ -13961,65 +14071,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13961
14071
  // authentication DigestAuth required
13962
14072
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13963
14073
 
13964
-
13965
-
13966
- localVarHeaderParameter['Content-Type'] = 'application/json';
13967
-
13968
- setSearchParams(localVarUrlObj, localVarQueryParameter);
13969
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13970
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13971
- localVarRequestOptions.data = serializeDataIfNeeded(topicMessageRequest, localVarRequestOptions, configuration)
13972
-
13973
- return {
13974
- url: toPathString(localVarUrlObj),
13975
- options: localVarRequestOptions,
13976
- };
13977
- },
13978
- /**
13979
- *
13980
- * @summary Promote cluster intance to primary
13981
- * @param {string} orgName name of the Org
13982
- * @param {string} clusterName name of the KubeBlocks cluster
13983
- * @param {OpsPromote} body
13984
- * @param {*} [options] Override http request option.
13985
- * @throws {RequiredError}
13986
- */
13987
- promoteCluster: async (orgName: string, clusterName: string, body: OpsPromote, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13988
- // verify required parameter 'orgName' is not null or undefined
13989
- assertParamExists('promoteCluster', 'orgName', orgName)
13990
- // verify required parameter 'clusterName' is not null or undefined
13991
- assertParamExists('promoteCluster', 'clusterName', clusterName)
13992
- // verify required parameter 'body' is not null or undefined
13993
- assertParamExists('promoteCluster', 'body', body)
13994
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/promote`
13995
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13996
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
13997
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
13998
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13999
- let baseOptions;
14000
- if (configuration) {
14001
- baseOptions = configuration.baseOptions;
14074
+ if (orgID !== undefined) {
14075
+ localVarQueryParameter['orgID'] = orgID;
14002
14076
  }
14003
14077
 
14004
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14005
- const localVarHeaderParameter = {} as any;
14006
- const localVarQueryParameter = {} as any;
14007
-
14008
- // authentication BearerToken required
14009
- // http bearer authentication required
14010
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
14011
-
14012
- // authentication DigestAuth required
14013
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14078
+ if (action !== undefined) {
14079
+ localVarQueryParameter['action'] = action;
14080
+ }
14014
14081
 
14015
14082
 
14016
14083
 
14017
- localVarHeaderParameter['Content-Type'] = 'application/json';
14018
-
14019
14084
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14020
14085
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14021
14086
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14022
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14023
14087
 
14024
14088
  return {
14025
14089
  url: toPathString(localVarUrlObj),
@@ -14028,27 +14092,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14028
14092
  },
14029
14093
  /**
14030
14094
  *
14031
- * @summary Create or update Elasticsearch security role
14032
- * @param {string} orgName
14033
- * @param {string} clusterName
14034
- * @param {string} roleName
14035
- * @param {ESSecurityRoleDescriptor} body
14095
+ * @summary Produce message to topic
14096
+ * @param {string} orgName The name of organization
14097
+ * @param {string} clusterName The name of cluster
14098
+ * @param {string} topic
14099
+ * @param {TopicMessageRequest} topicMessageRequest
14036
14100
  * @param {*} [options] Override http request option.
14037
14101
  * @throws {RequiredError}
14038
14102
  */
14039
- putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14103
+ produceKafkaTopicMessage: async (orgName: string, clusterName: string, topic: string, topicMessageRequest: TopicMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14040
14104
  // verify required parameter 'orgName' is not null or undefined
14041
- assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
14105
+ assertParamExists('produceKafkaTopicMessage', 'orgName', orgName)
14042
14106
  // verify required parameter 'clusterName' is not null or undefined
14043
- assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
14044
- // verify required parameter 'roleName' is not null or undefined
14045
- assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
14046
- // verify required parameter 'body' is not null or undefined
14047
- assertParamExists('putElasticsearchSecurityRole', 'body', body)
14048
- const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
14107
+ assertParamExists('produceKafkaTopicMessage', 'clusterName', clusterName)
14108
+ // verify required parameter 'topic' is not null or undefined
14109
+ assertParamExists('produceKafkaTopicMessage', 'topic', topic)
14110
+ // verify required parameter 'topicMessageRequest' is not null or undefined
14111
+ assertParamExists('produceKafkaTopicMessage', 'topicMessageRequest', topicMessageRequest)
14112
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}/messages`
14049
14113
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14050
14114
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14051
- .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
14115
+ .replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
14052
14116
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14053
14117
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14054
14118
  let baseOptions;
@@ -14056,7 +14120,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14056
14120
  baseOptions = configuration.baseOptions;
14057
14121
  }
14058
14122
 
14059
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14123
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14060
14124
  const localVarHeaderParameter = {} as any;
14061
14125
  const localVarQueryParameter = {} as any;
14062
14126
 
@@ -14074,7 +14138,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14074
14138
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14075
14139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14076
14140
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14077
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14141
+ localVarRequestOptions.data = serializeDataIfNeeded(topicMessageRequest, localVarRequestOptions, configuration)
14078
14142
 
14079
14143
  return {
14080
14144
  url: toPathString(localVarUrlObj),
@@ -14083,27 +14147,23 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14083
14147
  },
14084
14148
  /**
14085
14149
  *
14086
- * @summary Create or update Elasticsearch security role mapping
14087
- * @param {string} orgName
14088
- * @param {string} clusterName
14089
- * @param {string} mappingName
14090
- * @param {ESSecurityRoleMapping} body
14150
+ * @summary Promote cluster intance to primary
14151
+ * @param {string} orgName name of the Org
14152
+ * @param {string} clusterName name of the KubeBlocks cluster
14153
+ * @param {OpsPromote} body
14091
14154
  * @param {*} [options] Override http request option.
14092
14155
  * @throws {RequiredError}
14093
14156
  */
14094
- putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14157
+ promoteCluster: async (orgName: string, clusterName: string, body: OpsPromote, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14095
14158
  // verify required parameter 'orgName' is not null or undefined
14096
- assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
14159
+ assertParamExists('promoteCluster', 'orgName', orgName)
14097
14160
  // verify required parameter 'clusterName' is not null or undefined
14098
- assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
14099
- // verify required parameter 'mappingName' is not null or undefined
14100
- assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
14161
+ assertParamExists('promoteCluster', 'clusterName', clusterName)
14101
14162
  // verify required parameter 'body' is not null or undefined
14102
- assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
14103
- const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
14163
+ assertParamExists('promoteCluster', 'body', body)
14164
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/promote`
14104
14165
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14105
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14106
- .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
14166
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
14107
14167
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14108
14168
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14109
14169
  let baseOptions;
@@ -14111,7 +14171,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14111
14171
  baseOptions = configuration.baseOptions;
14112
14172
  }
14113
14173
 
14114
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14174
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14115
14175
  const localVarHeaderParameter = {} as any;
14116
14176
  const localVarQueryParameter = {} as any;
14117
14177
 
@@ -14138,27 +14198,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14138
14198
  },
14139
14199
  /**
14140
14200
  *
14141
- * @summary Create or update Elasticsearch security user
14201
+ * @summary Purge organization
14142
14202
  * @param {string} orgName
14143
- * @param {string} clusterName
14144
- * @param {string} username
14145
- * @param {ESPutSecurityUserRequest} body
14203
+ * @param {OrgLifecycleRequest} orgLifecycleRequest
14146
14204
  * @param {*} [options] Override http request option.
14147
14205
  * @throws {RequiredError}
14148
14206
  */
14149
- putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14207
+ purgeOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14150
14208
  // verify required parameter 'orgName' is not null or undefined
14151
- assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
14152
- // verify required parameter 'clusterName' is not null or undefined
14153
- assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
14154
- // verify required parameter 'username' is not null or undefined
14155
- assertParamExists('putElasticsearchSecurityUser', 'username', username)
14156
- // verify required parameter 'body' is not null or undefined
14157
- assertParamExists('putElasticsearchSecurityUser', 'body', body)
14158
- const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
14159
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14160
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14161
- .replace(`{${"username"}}`, encodeURIComponent(String(username)));
14209
+ assertParamExists('purgeOrg', 'orgName', orgName)
14210
+ // verify required parameter 'orgLifecycleRequest' is not null or undefined
14211
+ assertParamExists('purgeOrg', 'orgLifecycleRequest', orgLifecycleRequest)
14212
+ const localVarPath = `/admin/v1/organizations/{orgName}/purge`
14213
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
14162
14214
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14163
14215
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14164
14216
  let baseOptions;
@@ -14166,7 +14218,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14166
14218
  baseOptions = configuration.baseOptions;
14167
14219
  }
14168
14220
 
14169
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14221
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14170
14222
  const localVarHeaderParameter = {} as any;
14171
14223
  const localVarQueryParameter = {} as any;
14172
14224
 
@@ -14184,7 +14236,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14184
14236
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14185
14237
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14186
14238
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14187
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14239
+ localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
14188
14240
 
14189
14241
  return {
14190
14242
  url: toPathString(localVarUrlObj),
@@ -14192,28 +14244,193 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14192
14244
  };
14193
14245
  },
14194
14246
  /**
14195
- * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
14196
- * @summary putSeaweedFSPolicy
14247
+ *
14248
+ * @summary Create or update Elasticsearch security role
14197
14249
  * @param {string} orgName
14198
14250
  * @param {string} clusterName
14199
- * @param {string} policyName
14200
- * @param {{ [key: string]: any; }} requestBody
14251
+ * @param {string} roleName
14252
+ * @param {ESSecurityRoleDescriptor} body
14201
14253
  * @param {*} [options] Override http request option.
14202
14254
  * @throws {RequiredError}
14203
14255
  */
14204
- putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14256
+ putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14205
14257
  // verify required parameter 'orgName' is not null or undefined
14206
- assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
14258
+ assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
14207
14259
  // verify required parameter 'clusterName' is not null or undefined
14208
- assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
14209
- // verify required parameter 'policyName' is not null or undefined
14210
- assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
14211
- // verify required parameter 'requestBody' is not null or undefined
14212
- assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
14213
- const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
14260
+ assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
14261
+ // verify required parameter 'roleName' is not null or undefined
14262
+ assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
14263
+ // verify required parameter 'body' is not null or undefined
14264
+ assertParamExists('putElasticsearchSecurityRole', 'body', body)
14265
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
14214
14266
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14215
14267
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14216
- .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
14268
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
14269
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14270
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14271
+ let baseOptions;
14272
+ if (configuration) {
14273
+ baseOptions = configuration.baseOptions;
14274
+ }
14275
+
14276
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14277
+ const localVarHeaderParameter = {} as any;
14278
+ const localVarQueryParameter = {} as any;
14279
+
14280
+ // authentication BearerToken required
14281
+ // http bearer authentication required
14282
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14283
+
14284
+ // authentication DigestAuth required
14285
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14286
+
14287
+
14288
+
14289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14290
+
14291
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14292
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14293
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14294
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14295
+
14296
+ return {
14297
+ url: toPathString(localVarUrlObj),
14298
+ options: localVarRequestOptions,
14299
+ };
14300
+ },
14301
+ /**
14302
+ *
14303
+ * @summary Create or update Elasticsearch security role mapping
14304
+ * @param {string} orgName
14305
+ * @param {string} clusterName
14306
+ * @param {string} mappingName
14307
+ * @param {ESSecurityRoleMapping} body
14308
+ * @param {*} [options] Override http request option.
14309
+ * @throws {RequiredError}
14310
+ */
14311
+ putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14312
+ // verify required parameter 'orgName' is not null or undefined
14313
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
14314
+ // verify required parameter 'clusterName' is not null or undefined
14315
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
14316
+ // verify required parameter 'mappingName' is not null or undefined
14317
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
14318
+ // verify required parameter 'body' is not null or undefined
14319
+ assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
14320
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
14321
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14322
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14323
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
14324
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14325
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14326
+ let baseOptions;
14327
+ if (configuration) {
14328
+ baseOptions = configuration.baseOptions;
14329
+ }
14330
+
14331
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14332
+ const localVarHeaderParameter = {} as any;
14333
+ const localVarQueryParameter = {} as any;
14334
+
14335
+ // authentication BearerToken required
14336
+ // http bearer authentication required
14337
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14338
+
14339
+ // authentication DigestAuth required
14340
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14341
+
14342
+
14343
+
14344
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14345
+
14346
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14347
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14348
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14349
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14350
+
14351
+ return {
14352
+ url: toPathString(localVarUrlObj),
14353
+ options: localVarRequestOptions,
14354
+ };
14355
+ },
14356
+ /**
14357
+ *
14358
+ * @summary Create or update Elasticsearch security user
14359
+ * @param {string} orgName
14360
+ * @param {string} clusterName
14361
+ * @param {string} username
14362
+ * @param {ESPutSecurityUserRequest} body
14363
+ * @param {*} [options] Override http request option.
14364
+ * @throws {RequiredError}
14365
+ */
14366
+ putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14367
+ // verify required parameter 'orgName' is not null or undefined
14368
+ assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
14369
+ // verify required parameter 'clusterName' is not null or undefined
14370
+ assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
14371
+ // verify required parameter 'username' is not null or undefined
14372
+ assertParamExists('putElasticsearchSecurityUser', 'username', username)
14373
+ // verify required parameter 'body' is not null or undefined
14374
+ assertParamExists('putElasticsearchSecurityUser', 'body', body)
14375
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
14376
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14377
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14378
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
14379
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14380
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14381
+ let baseOptions;
14382
+ if (configuration) {
14383
+ baseOptions = configuration.baseOptions;
14384
+ }
14385
+
14386
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14387
+ const localVarHeaderParameter = {} as any;
14388
+ const localVarQueryParameter = {} as any;
14389
+
14390
+ // authentication BearerToken required
14391
+ // http bearer authentication required
14392
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14393
+
14394
+ // authentication DigestAuth required
14395
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
14396
+
14397
+
14398
+
14399
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14400
+
14401
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14402
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14403
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14404
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
14405
+
14406
+ return {
14407
+ url: toPathString(localVarUrlObj),
14408
+ options: localVarRequestOptions,
14409
+ };
14410
+ },
14411
+ /**
14412
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
14413
+ * @summary putSeaweedFSPolicy
14414
+ * @param {string} orgName
14415
+ * @param {string} clusterName
14416
+ * @param {string} policyName
14417
+ * @param {{ [key: string]: any; }} requestBody
14418
+ * @param {*} [options] Override http request option.
14419
+ * @throws {RequiredError}
14420
+ */
14421
+ putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14422
+ // verify required parameter 'orgName' is not null or undefined
14423
+ assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
14424
+ // verify required parameter 'clusterName' is not null or undefined
14425
+ assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
14426
+ // verify required parameter 'policyName' is not null or undefined
14427
+ assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
14428
+ // verify required parameter 'requestBody' is not null or undefined
14429
+ assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
14430
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
14431
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14432
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14433
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
14217
14434
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14218
14435
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14219
14436
  let baseOptions;
@@ -16328,6 +16545,53 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16328
16545
  options: localVarRequestOptions,
16329
16546
  };
16330
16547
  },
16548
+ /**
16549
+ *
16550
+ * @summary Restore organization
16551
+ * @param {string} orgName
16552
+ * @param {OrgLifecycleRequest} orgLifecycleRequest
16553
+ * @param {*} [options] Override http request option.
16554
+ * @throws {RequiredError}
16555
+ */
16556
+ restoreOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16557
+ // verify required parameter 'orgName' is not null or undefined
16558
+ assertParamExists('restoreOrg', 'orgName', orgName)
16559
+ // verify required parameter 'orgLifecycleRequest' is not null or undefined
16560
+ assertParamExists('restoreOrg', 'orgLifecycleRequest', orgLifecycleRequest)
16561
+ const localVarPath = `/admin/v1/organizations/{orgName}/restoreOrganization`
16562
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
16563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16565
+ let baseOptions;
16566
+ if (configuration) {
16567
+ baseOptions = configuration.baseOptions;
16568
+ }
16569
+
16570
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16571
+ const localVarHeaderParameter = {} as any;
16572
+ const localVarQueryParameter = {} as any;
16573
+
16574
+ // authentication BearerToken required
16575
+ // http bearer authentication required
16576
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16577
+
16578
+ // authentication DigestAuth required
16579
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
16580
+
16581
+
16582
+
16583
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16584
+
16585
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16586
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16587
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16588
+ localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
16589
+
16590
+ return {
16591
+ url: toPathString(localVarUrlObj),
16592
+ options: localVarRequestOptions,
16593
+ };
16594
+ },
16331
16595
  /**
16332
16596
  *
16333
16597
  * @summary Restore cluster from the Recycle Bin of the Org
@@ -16585,6 +16849,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16585
16849
  options: localVarRequestOptions,
16586
16850
  };
16587
16851
  },
16852
+ /**
16853
+ *
16854
+ * @summary Update resource alert settings
16855
+ * @param {string} orgName name of the Org
16856
+ * @param {AlertResourceType} resourceType resourceType
16857
+ * @param {string} resourceID
16858
+ * @param {AlertCluster} [alertCluster]
16859
+ * @param {*} [options] Override http request option.
16860
+ * @throws {RequiredError}
16861
+ */
16862
+ setResourceAlertDisabled: async (orgName: string, resourceType: AlertResourceType, resourceID: string, alertCluster?: AlertCluster, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16863
+ // verify required parameter 'orgName' is not null or undefined
16864
+ assertParamExists('setResourceAlertDisabled', 'orgName', orgName)
16865
+ // verify required parameter 'resourceType' is not null or undefined
16866
+ assertParamExists('setResourceAlertDisabled', 'resourceType', resourceType)
16867
+ // verify required parameter 'resourceID' is not null or undefined
16868
+ assertParamExists('setResourceAlertDisabled', 'resourceID', resourceID)
16869
+ const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
16870
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
16871
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
16872
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
16873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16875
+ let baseOptions;
16876
+ if (configuration) {
16877
+ baseOptions = configuration.baseOptions;
16878
+ }
16879
+
16880
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
16881
+ const localVarHeaderParameter = {} as any;
16882
+ const localVarQueryParameter = {} as any;
16883
+
16884
+ // authentication BearerToken required
16885
+ // http bearer authentication required
16886
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16887
+
16888
+ // authentication DigestAuth required
16889
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
16890
+
16891
+
16892
+
16893
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16894
+
16895
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16897
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16898
+ localVarRequestOptions.data = serializeDataIfNeeded(alertCluster, localVarRequestOptions, configuration)
16899
+
16900
+ return {
16901
+ url: toPathString(localVarUrlObj),
16902
+ options: localVarRequestOptions,
16903
+ };
16904
+ },
16588
16905
  /**
16589
16906
  *
16590
16907
  * @summary read data of table or view
@@ -20125,11 +20442,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
20125
20442
  * partially delete the specified org
20126
20443
  * @summary Delete organization
20127
20444
  * @param {string} orgName name of the Org
20445
+ * @param {string} orgID
20128
20446
  * @param {*} [options] Override http request option.
20129
20447
  * @throws {RequiredError}
20130
20448
  */
20131
- async deleteOrg(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
20132
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, options);
20449
+ async deleteOrg(orgName: string, orgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
20450
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, orgID, options);
20133
20451
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20134
20452
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteOrg']?.[localVarOperationServerIndex]?.url;
20135
20453
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -20542,7 +20860,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
20542
20860
  },
20543
20861
  /**
20544
20862
  *
20545
- * @summary Expose cluster loadbalancer endpoint
20863
+ * @summary Expose cluster endpoint
20546
20864
  * @param {string} orgName name of the Org
20547
20865
  * @param {string} clusterName name of the KubeBlocks cluster
20548
20866
  * @param {OpsExpose} body
@@ -21290,6 +21608,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
21290
21608
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
21291
21609
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21292
21610
  },
21611
+ /**
21612
+ *
21613
+ * @summary Get resource alert settings
21614
+ * @param {string} orgName name of the Org
21615
+ * @param {AlertResourceType} resourceType resourceType
21616
+ * @param {string} resourceID
21617
+ * @param {*} [options] Override http request option.
21618
+ * @throws {RequiredError}
21619
+ */
21620
+ async getResourceAlertDisabled(orgName: string, resourceType: AlertResourceType, resourceID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertCluster>> {
21621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getResourceAlertDisabled(orgName, resourceType, resourceID, options);
21622
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21623
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getResourceAlertDisabled']?.[localVarOperationServerIndex]?.url;
21624
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21625
+ },
21293
21626
  /**
21294
21627
  *
21295
21628
  * @summary get restore workload logs of the cluster
@@ -22531,6 +22864,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
22531
22864
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRelatedClusters']?.[localVarOperationServerIndex]?.url;
22532
22865
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22533
22866
  },
22867
+ /**
22868
+ *
22869
+ * @summary List applicable alert rules for a resource
22870
+ * @param {string} orgName name of the Org
22871
+ * @param {AlertResourceType} resourceType resourceType
22872
+ * @param {string} resourceID
22873
+ * @param {*} [options] Override http request option.
22874
+ * @throws {RequiredError}
22875
+ */
22876
+ async listResourceAlertRules(orgName: string, resourceType: AlertResourceType, resourceID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>> {
22877
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listResourceAlertRules(orgName, resourceType, resourceID, options);
22878
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22879
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listResourceAlertRules']?.[localVarOperationServerIndex]?.url;
22880
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22881
+ },
22534
22882
  /**
22535
22883
  * List permissions of a role
22536
22884
  * @summary List permissions of a role
@@ -23066,6 +23414,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
23066
23414
  const localVarOperationServerBasePath = operationServerMap['SharedApi.previewAccountPrivilegeReset']?.[localVarOperationServerIndex]?.url;
23067
23415
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23068
23416
  },
23417
+ /**
23418
+ *
23419
+ * @summary Preview organization deletion or purge
23420
+ * @param {string} orgName
23421
+ * @param {string} orgID
23422
+ * @param {OrgDeletionAction} action
23423
+ * @param {*} [options] Override http request option.
23424
+ * @throws {RequiredError}
23425
+ */
23426
+ async previewOrgDeletion(orgName: string, orgID: string, action: OrgDeletionAction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgDeletionPreview>> {
23427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewOrgDeletion(orgName, orgID, action, options);
23428
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23429
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.previewOrgDeletion']?.[localVarOperationServerIndex]?.url;
23430
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23431
+ },
23069
23432
  /**
23070
23433
  *
23071
23434
  * @summary Produce message to topic
@@ -23097,6 +23460,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
23097
23460
  const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
23098
23461
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23099
23462
  },
23463
+ /**
23464
+ *
23465
+ * @summary Purge organization
23466
+ * @param {string} orgName
23467
+ * @param {OrgLifecycleRequest} orgLifecycleRequest
23468
+ * @param {*} [options] Override http request option.
23469
+ * @throws {RequiredError}
23470
+ */
23471
+ async purgeOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgPurgeResult>> {
23472
+ const localVarAxiosArgs = await localVarAxiosParamCreator.purgeOrg(orgName, orgLifecycleRequest, options);
23473
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23474
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.purgeOrg']?.[localVarOperationServerIndex]?.url;
23475
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23476
+ },
23100
23477
  /**
23101
23478
  *
23102
23479
  * @summary Create or update Elasticsearch security role
@@ -23694,6 +24071,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
23694
24071
  const localVarOperationServerBasePath = operationServerMap['SharedApi.restartInstance']?.[localVarOperationServerIndex]?.url;
23695
24072
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23696
24073
  },
24074
+ /**
24075
+ *
24076
+ * @summary Restore organization
24077
+ * @param {string} orgName
24078
+ * @param {OrgLifecycleRequest} orgLifecycleRequest
24079
+ * @param {*} [options] Override http request option.
24080
+ * @throws {RequiredError}
24081
+ */
24082
+ async restoreOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Org>> {
24083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restoreOrg(orgName, orgLifecycleRequest, options);
24084
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24085
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreOrg']?.[localVarOperationServerIndex]?.url;
24086
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24087
+ },
23697
24088
  /**
23698
24089
  *
23699
24090
  * @summary Restore cluster from the Recycle Bin of the Org
@@ -23771,6 +24162,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
23771
24162
  const localVarOperationServerBasePath = operationServerMap['SharedApi.setKafkaTopicConfig']?.[localVarOperationServerIndex]?.url;
23772
24163
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23773
24164
  },
24165
+ /**
24166
+ *
24167
+ * @summary Update resource alert settings
24168
+ * @param {string} orgName name of the Org
24169
+ * @param {AlertResourceType} resourceType resourceType
24170
+ * @param {string} resourceID
24171
+ * @param {AlertCluster} [alertCluster]
24172
+ * @param {*} [options] Override http request option.
24173
+ * @throws {RequiredError}
24174
+ */
24175
+ async setResourceAlertDisabled(orgName: string, resourceType: AlertResourceType, resourceID: string, alertCluster?: AlertCluster, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertCluster>> {
24176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options);
24177
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24178
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.setResourceAlertDisabled']?.[localVarOperationServerIndex]?.url;
24179
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24180
+ },
23774
24181
  /**
23775
24182
  *
23776
24183
  * @summary read data of table or view
@@ -25176,7 +25583,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25176
25583
  * @throws {RequiredError}
25177
25584
  */
25178
25585
  deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
25179
- return localVarFp.deleteOrg(requestParameters.orgName, options).then((request) => request(axios, basePath));
25586
+ return localVarFp.deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(axios, basePath));
25180
25587
  },
25181
25588
  /**
25182
25589
  * delete a Org Member
@@ -25430,7 +25837,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25430
25837
  },
25431
25838
  /**
25432
25839
  *
25433
- * @summary Expose cluster loadbalancer endpoint
25840
+ * @summary Expose cluster endpoint
25434
25841
  * @param {SharedApiExposeClusterRequest} requestParameters Request parameters.
25435
25842
  * @param {*} [options] Override http request option.
25436
25843
  * @throws {RequiredError}
@@ -25907,6 +26314,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25907
26314
  getRecycleBinCluster(requestParameters: SharedApiGetRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<RecycleBinCluster> {
25908
26315
  return localVarFp.getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25909
26316
  },
26317
+ /**
26318
+ *
26319
+ * @summary Get resource alert settings
26320
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
26321
+ * @param {*} [options] Override http request option.
26322
+ * @throws {RequiredError}
26323
+ */
26324
+ getResourceAlertDisabled(requestParameters: SharedApiGetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertCluster> {
26325
+ return localVarFp.getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
26326
+ },
25910
26327
  /**
25911
26328
  *
25912
26329
  * @summary get restore workload logs of the cluster
@@ -26703,6 +27120,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
26703
27120
  listRelatedClusters(requestParameters: SharedApiListRelatedClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RelatedClusterListItem>> {
26704
27121
  return localVarFp.listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
26705
27122
  },
27123
+ /**
27124
+ *
27125
+ * @summary List applicable alert rules for a resource
27126
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
27127
+ * @param {*} [options] Override http request option.
27128
+ * @throws {RequiredError}
27129
+ */
27130
+ listResourceAlertRules(requestParameters: SharedApiListResourceAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
27131
+ return localVarFp.listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
27132
+ },
26706
27133
  /**
26707
27134
  * List permissions of a role
26708
27135
  * @summary List permissions of a role
@@ -27053,6 +27480,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
27053
27480
  previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>> {
27054
27481
  return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(axios, basePath));
27055
27482
  },
27483
+ /**
27484
+ *
27485
+ * @summary Preview organization deletion or purge
27486
+ * @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
27487
+ * @param {*} [options] Override http request option.
27488
+ * @throws {RequiredError}
27489
+ */
27490
+ previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview> {
27491
+ return localVarFp.previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(axios, basePath));
27492
+ },
27056
27493
  /**
27057
27494
  *
27058
27495
  * @summary Produce message to topic
@@ -27073,6 +27510,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
27073
27510
  promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
27074
27511
  return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
27075
27512
  },
27513
+ /**
27514
+ *
27515
+ * @summary Purge organization
27516
+ * @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
27517
+ * @param {*} [options] Override http request option.
27518
+ * @throws {RequiredError}
27519
+ */
27520
+ purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult> {
27521
+ return localVarFp.purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
27522
+ },
27076
27523
  /**
27077
27524
  *
27078
27525
  * @summary Create or update Elasticsearch security role
@@ -27372,6 +27819,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
27372
27819
  restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27373
27820
  return localVarFp.restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
27374
27821
  },
27822
+ /**
27823
+ *
27824
+ * @summary Restore organization
27825
+ * @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
27826
+ * @param {*} [options] Override http request option.
27827
+ * @throws {RequiredError}
27828
+ */
27829
+ restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org> {
27830
+ return localVarFp.restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
27831
+ },
27375
27832
  /**
27376
27833
  *
27377
27834
  * @summary Restore cluster from the Recycle Bin of the Org
@@ -27422,6 +27879,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
27422
27879
  setKafkaTopicConfig(requestParameters: SharedApiSetKafkaTopicConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27423
27880
  return localVarFp.setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(axios, basePath));
27424
27881
  },
27882
+ /**
27883
+ *
27884
+ * @summary Update resource alert settings
27885
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
27886
+ * @param {*} [options] Override http request option.
27887
+ * @throws {RequiredError}
27888
+ */
27889
+ setResourceAlertDisabled(requestParameters: SharedApiSetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertCluster> {
27890
+ return localVarFp.setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(axios, basePath));
27891
+ },
27425
27892
  /**
27426
27893
  *
27427
27894
  * @summary read data of table or view
@@ -28812,7 +29279,7 @@ export interface SharedApiInterface {
28812
29279
 
28813
29280
  /**
28814
29281
  *
28815
- * @summary Expose cluster loadbalancer endpoint
29282
+ * @summary Expose cluster endpoint
28816
29283
  * @param {SharedApiExposeClusterRequest} requestParameters Request parameters.
28817
29284
  * @param {*} [options] Override http request option.
28818
29285
  * @throws {RequiredError}
@@ -29289,6 +29756,16 @@ export interface SharedApiInterface {
29289
29756
  */
29290
29757
  getRecycleBinCluster(requestParameters: SharedApiGetRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<RecycleBinCluster>;
29291
29758
 
29759
+ /**
29760
+ *
29761
+ * @summary Get resource alert settings
29762
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
29763
+ * @param {*} [options] Override http request option.
29764
+ * @throws {RequiredError}
29765
+ * @memberof SharedApiInterface
29766
+ */
29767
+ getResourceAlertDisabled(requestParameters: SharedApiGetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertCluster>;
29768
+
29292
29769
  /**
29293
29770
  *
29294
29771
  * @summary get restore workload logs of the cluster
@@ -30085,6 +30562,16 @@ export interface SharedApiInterface {
30085
30562
  */
30086
30563
  listRelatedClusters(requestParameters: SharedApiListRelatedClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RelatedClusterListItem>>;
30087
30564
 
30565
+ /**
30566
+ *
30567
+ * @summary List applicable alert rules for a resource
30568
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
30569
+ * @param {*} [options] Override http request option.
30570
+ * @throws {RequiredError}
30571
+ * @memberof SharedApiInterface
30572
+ */
30573
+ listResourceAlertRules(requestParameters: SharedApiListResourceAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
30574
+
30088
30575
  /**
30089
30576
  * List permissions of a role
30090
30577
  * @summary List permissions of a role
@@ -30435,6 +30922,16 @@ export interface SharedApiInterface {
30435
30922
  */
30436
30923
  previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
30437
30924
 
30925
+ /**
30926
+ *
30927
+ * @summary Preview organization deletion or purge
30928
+ * @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
30929
+ * @param {*} [options] Override http request option.
30930
+ * @throws {RequiredError}
30931
+ * @memberof SharedApiInterface
30932
+ */
30933
+ previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview>;
30934
+
30438
30935
  /**
30439
30936
  *
30440
30937
  * @summary Produce message to topic
@@ -30455,6 +30952,16 @@ export interface SharedApiInterface {
30455
30952
  */
30456
30953
  promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
30457
30954
 
30955
+ /**
30956
+ *
30957
+ * @summary Purge organization
30958
+ * @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
30959
+ * @param {*} [options] Override http request option.
30960
+ * @throws {RequiredError}
30961
+ * @memberof SharedApiInterface
30962
+ */
30963
+ purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult>;
30964
+
30458
30965
  /**
30459
30966
  *
30460
30967
  * @summary Create or update Elasticsearch security role
@@ -30754,6 +31261,16 @@ export interface SharedApiInterface {
30754
31261
  */
30755
31262
  restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30756
31263
 
31264
+ /**
31265
+ *
31266
+ * @summary Restore organization
31267
+ * @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
31268
+ * @param {*} [options] Override http request option.
31269
+ * @throws {RequiredError}
31270
+ * @memberof SharedApiInterface
31271
+ */
31272
+ restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
31273
+
30757
31274
  /**
30758
31275
  *
30759
31276
  * @summary Restore cluster from the Recycle Bin of the Org
@@ -30804,6 +31321,16 @@ export interface SharedApiInterface {
30804
31321
  */
30805
31322
  setKafkaTopicConfig(requestParameters: SharedApiSetKafkaTopicConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30806
31323
 
31324
+ /**
31325
+ *
31326
+ * @summary Update resource alert settings
31327
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
31328
+ * @param {*} [options] Override http request option.
31329
+ * @throws {RequiredError}
31330
+ * @memberof SharedApiInterface
31331
+ */
31332
+ setResourceAlertDisabled(requestParameters: SharedApiSetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertCluster>;
31333
+
30807
31334
  /**
30808
31335
  *
30809
31336
  * @summary read data of table or view
@@ -33282,6 +33809,13 @@ export interface SharedApiDeleteOrgRequest {
33282
33809
  * @memberof SharedApiDeleteOrg
33283
33810
  */
33284
33811
  readonly orgName: string
33812
+
33813
+ /**
33814
+ *
33815
+ * @type {string}
33816
+ * @memberof SharedApiDeleteOrg
33817
+ */
33818
+ readonly orgID: string
33285
33819
  }
33286
33820
 
33287
33821
  /**
@@ -35762,6 +36296,34 @@ export interface SharedApiGetRecycleBinClusterRequest {
35762
36296
  readonly clusterName: string
35763
36297
  }
35764
36298
 
36299
+ /**
36300
+ * Request parameters for getResourceAlertDisabled operation in SharedApi.
36301
+ * @export
36302
+ * @interface SharedApiGetResourceAlertDisabledRequest
36303
+ */
36304
+ export interface SharedApiGetResourceAlertDisabledRequest {
36305
+ /**
36306
+ * name of the Org
36307
+ * @type {string}
36308
+ * @memberof SharedApiGetResourceAlertDisabled
36309
+ */
36310
+ readonly orgName: string
36311
+
36312
+ /**
36313
+ * resourceType
36314
+ * @type {AlertResourceType}
36315
+ * @memberof SharedApiGetResourceAlertDisabled
36316
+ */
36317
+ readonly resourceType: AlertResourceType
36318
+
36319
+ /**
36320
+ *
36321
+ * @type {string}
36322
+ * @memberof SharedApiGetResourceAlertDisabled
36323
+ */
36324
+ readonly resourceID: string
36325
+ }
36326
+
35765
36327
  /**
35766
36328
  * Request parameters for getRestoreLog operation in SharedApi.
35767
36329
  * @export
@@ -38261,6 +38823,34 @@ export interface SharedApiListRelatedClustersRequest {
38261
38823
  readonly clusterName: string
38262
38824
  }
38263
38825
 
38826
+ /**
38827
+ * Request parameters for listResourceAlertRules operation in SharedApi.
38828
+ * @export
38829
+ * @interface SharedApiListResourceAlertRulesRequest
38830
+ */
38831
+ export interface SharedApiListResourceAlertRulesRequest {
38832
+ /**
38833
+ * name of the Org
38834
+ * @type {string}
38835
+ * @memberof SharedApiListResourceAlertRules
38836
+ */
38837
+ readonly orgName: string
38838
+
38839
+ /**
38840
+ * resourceType
38841
+ * @type {AlertResourceType}
38842
+ * @memberof SharedApiListResourceAlertRules
38843
+ */
38844
+ readonly resourceType: AlertResourceType
38845
+
38846
+ /**
38847
+ *
38848
+ * @type {string}
38849
+ * @memberof SharedApiListResourceAlertRules
38850
+ */
38851
+ readonly resourceID: string
38852
+ }
38853
+
38264
38854
  /**
38265
38855
  * Request parameters for listRolePermissions operation in SharedApi.
38266
38856
  * @export
@@ -39297,6 +39887,34 @@ export interface SharedApiPreviewAccountPrivilegeResetRequest {
39297
39887
  readonly allDatabases?: boolean
39298
39888
  }
39299
39889
 
39890
+ /**
39891
+ * Request parameters for previewOrgDeletion operation in SharedApi.
39892
+ * @export
39893
+ * @interface SharedApiPreviewOrgDeletionRequest
39894
+ */
39895
+ export interface SharedApiPreviewOrgDeletionRequest {
39896
+ /**
39897
+ *
39898
+ * @type {string}
39899
+ * @memberof SharedApiPreviewOrgDeletion
39900
+ */
39901
+ readonly orgName: string
39902
+
39903
+ /**
39904
+ *
39905
+ * @type {string}
39906
+ * @memberof SharedApiPreviewOrgDeletion
39907
+ */
39908
+ readonly orgID: string
39909
+
39910
+ /**
39911
+ *
39912
+ * @type {OrgDeletionAction}
39913
+ * @memberof SharedApiPreviewOrgDeletion
39914
+ */
39915
+ readonly action: OrgDeletionAction
39916
+ }
39917
+
39300
39918
  /**
39301
39919
  * Request parameters for produceKafkaTopicMessage operation in SharedApi.
39302
39920
  * @export
@@ -39360,6 +39978,27 @@ export interface SharedApiPromoteClusterRequest {
39360
39978
  readonly body: OpsPromote
39361
39979
  }
39362
39980
 
39981
+ /**
39982
+ * Request parameters for purgeOrg operation in SharedApi.
39983
+ * @export
39984
+ * @interface SharedApiPurgeOrgRequest
39985
+ */
39986
+ export interface SharedApiPurgeOrgRequest {
39987
+ /**
39988
+ *
39989
+ * @type {string}
39990
+ * @memberof SharedApiPurgeOrg
39991
+ */
39992
+ readonly orgName: string
39993
+
39994
+ /**
39995
+ *
39996
+ * @type {OrgLifecycleRequest}
39997
+ * @memberof SharedApiPurgeOrg
39998
+ */
39999
+ readonly orgLifecycleRequest: OrgLifecycleRequest
40000
+ }
40001
+
39363
40002
  /**
39364
40003
  * Request parameters for putElasticsearchSecurityRole operation in SharedApi.
39365
40004
  * @export
@@ -41222,6 +41861,27 @@ export interface SharedApiRestartInstanceRequest {
41222
41861
  readonly instanceName: string
41223
41862
  }
41224
41863
 
41864
+ /**
41865
+ * Request parameters for restoreOrg operation in SharedApi.
41866
+ * @export
41867
+ * @interface SharedApiRestoreOrgRequest
41868
+ */
41869
+ export interface SharedApiRestoreOrgRequest {
41870
+ /**
41871
+ *
41872
+ * @type {string}
41873
+ * @memberof SharedApiRestoreOrg
41874
+ */
41875
+ readonly orgName: string
41876
+
41877
+ /**
41878
+ *
41879
+ * @type {OrgLifecycleRequest}
41880
+ * @memberof SharedApiRestoreOrg
41881
+ */
41882
+ readonly orgLifecycleRequest: OrgLifecycleRequest
41883
+ }
41884
+
41225
41885
  /**
41226
41886
  * Request parameters for restoreRecycleBinCluster operation in SharedApi.
41227
41887
  * @export
@@ -41376,6 +42036,41 @@ export interface SharedApiSetKafkaTopicConfigRequest {
41376
42036
  readonly updateTopicConfigRequest: UpdateTopicConfigRequest
41377
42037
  }
41378
42038
 
42039
+ /**
42040
+ * Request parameters for setResourceAlertDisabled operation in SharedApi.
42041
+ * @export
42042
+ * @interface SharedApiSetResourceAlertDisabledRequest
42043
+ */
42044
+ export interface SharedApiSetResourceAlertDisabledRequest {
42045
+ /**
42046
+ * name of the Org
42047
+ * @type {string}
42048
+ * @memberof SharedApiSetResourceAlertDisabled
42049
+ */
42050
+ readonly orgName: string
42051
+
42052
+ /**
42053
+ * resourceType
42054
+ * @type {AlertResourceType}
42055
+ * @memberof SharedApiSetResourceAlertDisabled
42056
+ */
42057
+ readonly resourceType: AlertResourceType
42058
+
42059
+ /**
42060
+ *
42061
+ * @type {string}
42062
+ * @memberof SharedApiSetResourceAlertDisabled
42063
+ */
42064
+ readonly resourceID: string
42065
+
42066
+ /**
42067
+ *
42068
+ * @type {AlertCluster}
42069
+ * @memberof SharedApiSetResourceAlertDisabled
42070
+ */
42071
+ readonly alertCluster?: AlertCluster
42072
+ }
42073
+
41379
42074
  /**
41380
42075
  * Request parameters for showData operation in SharedApi.
41381
42076
  * @export
@@ -43719,7 +44414,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43719
44414
  * @memberof SharedApi
43720
44415
  */
43721
44416
  public deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig) {
43722
- return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
44417
+ return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(this.axios, this.basePath));
43723
44418
  }
43724
44419
 
43725
44420
  /**
@@ -44024,7 +44719,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
44024
44719
 
44025
44720
  /**
44026
44721
  *
44027
- * @summary Expose cluster loadbalancer endpoint
44722
+ * @summary Expose cluster endpoint
44028
44723
  * @param {SharedApiExposeClusterRequest} requestParameters Request parameters.
44029
44724
  * @param {*} [options] Override http request option.
44030
44725
  * @throws {RequiredError}
@@ -44597,6 +45292,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
44597
45292
  return SharedApiFp(this.configuration).getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
44598
45293
  }
44599
45294
 
45295
+ /**
45296
+ *
45297
+ * @summary Get resource alert settings
45298
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
45299
+ * @param {*} [options] Override http request option.
45300
+ * @throws {RequiredError}
45301
+ * @memberof SharedApi
45302
+ */
45303
+ public getResourceAlertDisabled(requestParameters: SharedApiGetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig) {
45304
+ return SharedApiFp(this.configuration).getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
45305
+ }
45306
+
44600
45307
  /**
44601
45308
  *
44602
45309
  * @summary get restore workload logs of the cluster
@@ -45553,6 +46260,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
45553
46260
  return SharedApiFp(this.configuration).listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
45554
46261
  }
45555
46262
 
46263
+ /**
46264
+ *
46265
+ * @summary List applicable alert rules for a resource
46266
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
46267
+ * @param {*} [options] Override http request option.
46268
+ * @throws {RequiredError}
46269
+ * @memberof SharedApi
46270
+ */
46271
+ public listResourceAlertRules(requestParameters: SharedApiListResourceAlertRulesRequest, options?: RawAxiosRequestConfig) {
46272
+ return SharedApiFp(this.configuration).listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
46273
+ }
46274
+
45556
46275
  /**
45557
46276
  * List permissions of a role
45558
46277
  * @summary List permissions of a role
@@ -45973,6 +46692,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
45973
46692
  return SharedApiFp(this.configuration).previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(this.axios, this.basePath));
45974
46693
  }
45975
46694
 
46695
+ /**
46696
+ *
46697
+ * @summary Preview organization deletion or purge
46698
+ * @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
46699
+ * @param {*} [options] Override http request option.
46700
+ * @throws {RequiredError}
46701
+ * @memberof SharedApi
46702
+ */
46703
+ public previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig) {
46704
+ return SharedApiFp(this.configuration).previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
46705
+ }
46706
+
45976
46707
  /**
45977
46708
  *
45978
46709
  * @summary Produce message to topic
@@ -45997,6 +46728,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
45997
46728
  return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
45998
46729
  }
45999
46730
 
46731
+ /**
46732
+ *
46733
+ * @summary Purge organization
46734
+ * @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
46735
+ * @param {*} [options] Override http request option.
46736
+ * @throws {RequiredError}
46737
+ * @memberof SharedApi
46738
+ */
46739
+ public purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig) {
46740
+ return SharedApiFp(this.configuration).purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
46741
+ }
46742
+
46000
46743
  /**
46001
46744
  *
46002
46745
  * @summary Create or update Elasticsearch security role
@@ -46356,6 +47099,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
46356
47099
  return SharedApiFp(this.configuration).restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(this.axios, this.basePath));
46357
47100
  }
46358
47101
 
47102
+ /**
47103
+ *
47104
+ * @summary Restore organization
47105
+ * @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
47106
+ * @param {*} [options] Override http request option.
47107
+ * @throws {RequiredError}
47108
+ * @memberof SharedApi
47109
+ */
47110
+ public restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig) {
47111
+ return SharedApiFp(this.configuration).restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
47112
+ }
47113
+
46359
47114
  /**
46360
47115
  *
46361
47116
  * @summary Restore cluster from the Recycle Bin of the Org
@@ -46416,6 +47171,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
46416
47171
  return SharedApiFp(this.configuration).setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(this.axios, this.basePath));
46417
47172
  }
46418
47173
 
47174
+ /**
47175
+ *
47176
+ * @summary Update resource alert settings
47177
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
47178
+ * @param {*} [options] Override http request option.
47179
+ * @throws {RequiredError}
47180
+ * @memberof SharedApi
47181
+ */
47182
+ public setResourceAlertDisabled(requestParameters: SharedApiSetResourceAlertDisabledRequest, options?: RawAxiosRequestConfig) {
47183
+ return SharedApiFp(this.configuration).setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(this.axios, this.basePath));
47184
+ }
47185
+
46419
47186
  /**
46420
47187
  *
46421
47188
  * @summary read data of table or view