kb-cloud-client-typescript 2.3.80 → 2.3.82

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 (292) hide show
  1. package/dist/adminapi/apis/cluster-api.d.ts +72 -0
  2. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-api.js +79 -0
  4. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  5. package/dist/adminapi/apis/postgresql-api.d.ts +10 -10
  6. package/dist/adminapi/apis/postgresql-api.js +8 -8
  7. package/dist/adminapi/apis/shared-api.d.ts +72 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +79 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/models/cluster-event-item.d.ts +91 -0
  12. package/dist/adminapi/models/cluster-event-item.d.ts.map +1 -0
  13. package/dist/adminapi/models/cluster-event-item.js +16 -0
  14. package/dist/adminapi/models/cluster-event-item.js.map +1 -0
  15. package/dist/adminapi/models/cluster-event-list.d.ts +32 -0
  16. package/dist/adminapi/models/cluster-event-list.d.ts.map +1 -0
  17. package/dist/adminapi/models/cluster-event-list.js +16 -0
  18. package/dist/adminapi/models/cluster-event-list.js.map +1 -0
  19. package/dist/adminapi/models/create-pg-extension-resp.d.ts +3 -3
  20. package/dist/adminapi/models/create-pg-extension-resp.d.ts.map +1 -1
  21. package/dist/adminapi/models/engine-option.d.ts +6 -0
  22. package/dist/adminapi/models/engine-option.d.ts.map +1 -1
  23. package/dist/adminapi/models/environment.d.ts +6 -0
  24. package/dist/adminapi/models/environment.d.ts.map +1 -1
  25. package/dist/adminapi/models/index.d.ts +4 -0
  26. package/dist/adminapi/models/index.d.ts.map +1 -1
  27. package/dist/adminapi/models/index.js +4 -0
  28. package/dist/adminapi/models/index.js.map +1 -1
  29. package/dist/adminapi/models/license.d.ts +6 -0
  30. package/dist/adminapi/models/license.d.ts.map +1 -1
  31. package/dist/adminapi/models/pg-create-extension-opt.d.ts +6 -6
  32. package/dist/adminapi/models/pg-create-extension-opt.d.ts.map +1 -1
  33. package/dist/adminapi/models/pg-create-extension-result.d.ts +44 -0
  34. package/dist/adminapi/models/pg-create-extension-result.d.ts.map +1 -0
  35. package/dist/adminapi/models/pg-create-extension-result.js +16 -0
  36. package/dist/adminapi/models/pg-create-extension-result.js.map +1 -0
  37. package/dist/adminapi/models/pg-create-extension-status.d.ts +24 -0
  38. package/dist/adminapi/models/pg-create-extension-status.d.ts.map +1 -0
  39. package/dist/adminapi/models/pg-create-extension-status.js +28 -0
  40. package/dist/adminapi/models/pg-create-extension-status.js.map +1 -0
  41. package/dist/internalapi/api.d.ts +2 -0
  42. package/dist/internalapi/api.d.ts.map +1 -1
  43. package/dist/internalapi/api.js +2 -0
  44. package/dist/internalapi/api.js.map +1 -1
  45. package/dist/internalapi/apis/environment-api.d.ts +112 -0
  46. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  47. package/dist/internalapi/apis/environment-api.js +135 -0
  48. package/dist/internalapi/apis/environment-api.js.map +1 -1
  49. package/dist/internalapi/apis/image-registry-api.d.ts +142 -0
  50. package/dist/internalapi/apis/image-registry-api.d.ts.map +1 -0
  51. package/dist/internalapi/apis/image-registry-api.js +192 -0
  52. package/dist/internalapi/apis/image-registry-api.js.map +1 -0
  53. package/dist/internalapi/apis/task-api.d.ts +256 -0
  54. package/dist/internalapi/apis/task-api.d.ts.map +1 -0
  55. package/dist/internalapi/apis/task-api.js +290 -0
  56. package/dist/internalapi/apis/task-api.js.map +1 -0
  57. package/dist/internalapi/models/autohealing-config.d.ts +55 -0
  58. package/dist/internalapi/models/autohealing-config.d.ts.map +1 -0
  59. package/dist/internalapi/models/autohealing-config.js +16 -0
  60. package/dist/internalapi/models/autohealing-config.js.map +1 -0
  61. package/dist/internalapi/models/cluster-info.d.ts +37 -0
  62. package/dist/internalapi/models/cluster-info.d.ts.map +1 -0
  63. package/dist/internalapi/models/cluster-info.js +16 -0
  64. package/dist/internalapi/models/cluster-info.js.map +1 -0
  65. package/dist/internalapi/models/cluster-scheduling-policy.d.ts +24 -0
  66. package/dist/internalapi/models/cluster-scheduling-policy.d.ts.map +1 -0
  67. package/dist/internalapi/models/cluster-scheduling-policy.js +28 -0
  68. package/dist/internalapi/models/cluster-scheduling-policy.js.map +1 -0
  69. package/dist/internalapi/models/cluster-validation-policy.d.ts +23 -0
  70. package/dist/internalapi/models/cluster-validation-policy.d.ts.map +1 -0
  71. package/dist/internalapi/models/cluster-validation-policy.js +27 -0
  72. package/dist/internalapi/models/cluster-validation-policy.js.map +1 -0
  73. package/dist/internalapi/models/component.d.ts +79 -0
  74. package/dist/internalapi/models/component.d.ts.map +1 -0
  75. package/dist/internalapi/models/component.js +16 -0
  76. package/dist/internalapi/models/component.js.map +1 -0
  77. package/dist/internalapi/models/dns.d.ts +31 -0
  78. package/dist/internalapi/models/dns.d.ts.map +1 -0
  79. package/dist/internalapi/models/dns.js +16 -0
  80. package/dist/internalapi/models/dns.js.map +1 -0
  81. package/dist/internalapi/models/environment-architecture.d.ts +23 -0
  82. package/dist/internalapi/models/environment-architecture.d.ts.map +1 -0
  83. package/dist/internalapi/models/environment-architecture.js +27 -0
  84. package/dist/internalapi/models/environment-architecture.js.map +1 -0
  85. package/dist/internalapi/models/environment-create.d.ts +133 -0
  86. package/dist/internalapi/models/environment-create.d.ts.map +1 -0
  87. package/dist/internalapi/models/environment-create.js +16 -0
  88. package/dist/internalapi/models/environment-create.js.map +1 -0
  89. package/dist/internalapi/models/environment-delete-policy.d.ts +22 -0
  90. package/dist/internalapi/models/environment-delete-policy.d.ts.map +1 -0
  91. package/dist/internalapi/models/environment-delete-policy.js +26 -0
  92. package/dist/internalapi/models/environment-delete-policy.js.map +1 -0
  93. package/dist/internalapi/models/environment-module-status.d.ts +34 -0
  94. package/dist/internalapi/models/environment-module-status.d.ts.map +1 -0
  95. package/dist/internalapi/models/environment-module-status.js +38 -0
  96. package/dist/internalapi/models/environment-module-status.js.map +1 -0
  97. package/dist/internalapi/models/environment-module.d.ts +106 -0
  98. package/dist/internalapi/models/environment-module.d.ts.map +1 -0
  99. package/dist/internalapi/models/environment-module.js +16 -0
  100. package/dist/internalapi/models/environment-module.js.map +1 -0
  101. package/dist/internalapi/models/environment-register-type.d.ts +21 -0
  102. package/dist/internalapi/models/environment-register-type.d.ts.map +1 -0
  103. package/dist/internalapi/models/environment-register-type.js +25 -0
  104. package/dist/internalapi/models/environment-register-type.js.map +1 -0
  105. package/dist/internalapi/models/environment-state.d.ts +30 -0
  106. package/dist/internalapi/models/environment-state.d.ts.map +1 -0
  107. package/dist/internalapi/models/environment-state.js +34 -0
  108. package/dist/internalapi/models/environment-state.js.map +1 -0
  109. package/dist/internalapi/models/environment.d.ts +193 -0
  110. package/dist/internalapi/models/environment.d.ts.map +1 -0
  111. package/dist/internalapi/models/environment.js +16 -0
  112. package/dist/internalapi/models/environment.js.map +1 -0
  113. package/dist/internalapi/models/index.d.ts +32 -0
  114. package/dist/internalapi/models/index.d.ts.map +1 -1
  115. package/dist/internalapi/models/index.js +32 -0
  116. package/dist/internalapi/models/index.js.map +1 -1
  117. package/dist/internalapi/models/internal-image-registry-list.d.ts +26 -0
  118. package/dist/internalapi/models/internal-image-registry-list.d.ts.map +1 -0
  119. package/dist/internalapi/models/internal-image-registry-list.js +16 -0
  120. package/dist/internalapi/models/internal-image-registry-list.js.map +1 -0
  121. package/dist/internalapi/models/internal-image-registry.d.ts +31 -0
  122. package/dist/internalapi/models/internal-image-registry.d.ts.map +1 -0
  123. package/dist/internalapi/models/internal-image-registry.js +16 -0
  124. package/dist/internalapi/models/internal-image-registry.js.map +1 -0
  125. package/dist/internalapi/models/internal-task-list.d.ts +33 -0
  126. package/dist/internalapi/models/internal-task-list.d.ts.map +1 -0
  127. package/dist/internalapi/models/internal-task-list.js +16 -0
  128. package/dist/internalapi/models/internal-task-list.js.map +1 -0
  129. package/dist/internalapi/models/internal-task-steps-inner.d.ts +32 -0
  130. package/dist/internalapi/models/internal-task-steps-inner.d.ts.map +1 -0
  131. package/dist/internalapi/models/internal-task-steps-inner.js +16 -0
  132. package/dist/internalapi/models/internal-task-steps-inner.js.map +1 -0
  133. package/dist/internalapi/models/internal-task.d.ts +57 -0
  134. package/dist/internalapi/models/internal-task.d.ts.map +1 -0
  135. package/dist/internalapi/models/internal-task.js +16 -0
  136. package/dist/internalapi/models/internal-task.js.map +1 -0
  137. package/dist/internalapi/models/log-backend-type.d.ts +22 -0
  138. package/dist/internalapi/models/log-backend-type.d.ts.map +1 -0
  139. package/dist/internalapi/models/log-backend-type.js +26 -0
  140. package/dist/internalapi/models/log-backend-type.js.map +1 -0
  141. package/dist/internalapi/models/network-config.d.ts +50 -0
  142. package/dist/internalapi/models/network-config.d.ts.map +1 -0
  143. package/dist/internalapi/models/network-config.js +16 -0
  144. package/dist/internalapi/models/network-config.js.map +1 -0
  145. package/dist/internalapi/models/node-pool-node.d.ts +49 -0
  146. package/dist/internalapi/models/node-pool-node.d.ts.map +1 -0
  147. package/dist/internalapi/models/node-pool-node.js +16 -0
  148. package/dist/internalapi/models/node-pool-node.js.map +1 -0
  149. package/dist/internalapi/models/pagination-result.d.ts +37 -0
  150. package/dist/internalapi/models/pagination-result.d.ts.map +1 -0
  151. package/dist/internalapi/models/pagination-result.js +16 -0
  152. package/dist/internalapi/models/pagination-result.js.map +1 -0
  153. package/dist/internalapi/models/provision-config.d.ts +67 -0
  154. package/dist/internalapi/models/provision-config.d.ts.map +1 -0
  155. package/dist/internalapi/models/provision-config.js +16 -0
  156. package/dist/internalapi/models/provision-config.js.map +1 -0
  157. package/dist/internalapi/models/register.d.ts +32 -0
  158. package/dist/internalapi/models/register.d.ts.map +1 -0
  159. package/dist/internalapi/models/register.js +16 -0
  160. package/dist/internalapi/models/register.js.map +1 -0
  161. package/dist/internalapi/models/scheduling-config.d.ts +53 -0
  162. package/dist/internalapi/models/scheduling-config.d.ts.map +1 -0
  163. package/dist/internalapi/models/scheduling-config.js +16 -0
  164. package/dist/internalapi/models/scheduling-config.js.map +1 -0
  165. package/dist/internalapi/models/storage-config-backup.d.ts +43 -0
  166. package/dist/internalapi/models/storage-config-backup.d.ts.map +1 -0
  167. package/dist/internalapi/models/storage-config-backup.js +16 -0
  168. package/dist/internalapi/models/storage-config-backup.js.map +1 -0
  169. package/dist/internalapi/models/storage-config.d.ts +33 -0
  170. package/dist/internalapi/models/storage-config.d.ts.map +1 -0
  171. package/dist/internalapi/models/storage-config.js +16 -0
  172. package/dist/internalapi/models/storage-config.js.map +1 -0
  173. package/dist/internalapi/models/system-component-scheduler-policy.d.ts +22 -0
  174. package/dist/internalapi/models/system-component-scheduler-policy.d.ts.map +1 -0
  175. package/dist/internalapi/models/system-component-scheduler-policy.js +26 -0
  176. package/dist/internalapi/models/system-component-scheduler-policy.js.map +1 -0
  177. package/dist/internalapi/models/task-retry-mode.d.ts +22 -0
  178. package/dist/internalapi/models/task-retry-mode.d.ts.map +1 -0
  179. package/dist/internalapi/models/task-retry-mode.js +26 -0
  180. package/dist/internalapi/models/task-retry-mode.js.map +1 -0
  181. package/dist/internalapi/models/task-status.d.ts +27 -0
  182. package/dist/internalapi/models/task-status.d.ts.map +1 -0
  183. package/dist/internalapi/models/task-status.js +31 -0
  184. package/dist/internalapi/models/task-status.js.map +1 -0
  185. package/dist/internalapi/models/tolerate-default-taints.d.ts +31 -0
  186. package/dist/internalapi/models/tolerate-default-taints.d.ts.map +1 -0
  187. package/dist/internalapi/models/tolerate-default-taints.js +16 -0
  188. package/dist/internalapi/models/tolerate-default-taints.js.map +1 -0
  189. package/dist/openapi/apis/cluster-api.d.ts +72 -0
  190. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  191. package/dist/openapi/apis/cluster-api.js +79 -0
  192. package/dist/openapi/apis/cluster-api.js.map +1 -1
  193. package/dist/openapi/apis/postgresql-api.d.ts +10 -10
  194. package/dist/openapi/apis/postgresql-api.js +8 -8
  195. package/dist/openapi/apis/shared-api.d.ts +72 -0
  196. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  197. package/dist/openapi/apis/shared-api.js +79 -0
  198. package/dist/openapi/apis/shared-api.js.map +1 -1
  199. package/dist/openapi/models/cluster-event-item.d.ts +91 -0
  200. package/dist/openapi/models/cluster-event-item.d.ts.map +1 -0
  201. package/dist/openapi/models/cluster-event-item.js +16 -0
  202. package/dist/openapi/models/cluster-event-item.js.map +1 -0
  203. package/dist/openapi/models/cluster-event-list.d.ts +32 -0
  204. package/dist/openapi/models/cluster-event-list.d.ts.map +1 -0
  205. package/dist/openapi/models/cluster-event-list.js +16 -0
  206. package/dist/openapi/models/cluster-event-list.js.map +1 -0
  207. package/dist/openapi/models/create-pg-extension-resp.d.ts +3 -3
  208. package/dist/openapi/models/create-pg-extension-resp.d.ts.map +1 -1
  209. package/dist/openapi/models/engine-option.d.ts +6 -0
  210. package/dist/openapi/models/engine-option.d.ts.map +1 -1
  211. package/dist/openapi/models/index.d.ts +4 -0
  212. package/dist/openapi/models/index.d.ts.map +1 -1
  213. package/dist/openapi/models/index.js +4 -0
  214. package/dist/openapi/models/index.js.map +1 -1
  215. package/dist/openapi/models/pg-create-extension-opt.d.ts +6 -6
  216. package/dist/openapi/models/pg-create-extension-opt.d.ts.map +1 -1
  217. package/dist/openapi/models/pg-create-extension-result.d.ts +44 -0
  218. package/dist/openapi/models/pg-create-extension-result.d.ts.map +1 -0
  219. package/dist/openapi/models/pg-create-extension-result.js +16 -0
  220. package/dist/openapi/models/pg-create-extension-result.js.map +1 -0
  221. package/dist/openapi/models/pg-create-extension-status.d.ts +24 -0
  222. package/dist/openapi/models/pg-create-extension-status.d.ts.map +1 -0
  223. package/dist/openapi/models/pg-create-extension-status.js +28 -0
  224. package/dist/openapi/models/pg-create-extension-status.js.map +1 -0
  225. package/package.json +1 -1
  226. package/src/adminapi/.openapi-generator/FILES +4 -0
  227. package/src/adminapi/apis/cluster-api.ts +127 -0
  228. package/src/adminapi/apis/postgresql-api.ts +10 -10
  229. package/src/adminapi/apis/shared-api.ts +127 -0
  230. package/src/adminapi/models/cluster-event-item.ts +96 -0
  231. package/src/adminapi/models/cluster-event-list.ts +39 -0
  232. package/src/adminapi/models/create-pg-extension-resp.ts +3 -3
  233. package/src/adminapi/models/engine-option.ts +6 -0
  234. package/src/adminapi/models/environment.ts +6 -0
  235. package/src/adminapi/models/index.ts +4 -0
  236. package/src/adminapi/models/license.ts +6 -0
  237. package/src/adminapi/models/pg-create-extension-opt.ts +6 -6
  238. package/src/adminapi/models/pg-create-extension-result.ts +53 -0
  239. package/src/adminapi/models/pg-create-extension-status.ts +33 -0
  240. package/src/adminapi.yaml +161 -15
  241. package/src/internalapi/.openapi-generator/FILES +34 -0
  242. package/src/internalapi/api.ts +2 -0
  243. package/src/internalapi/apis/environment-api.ts +200 -0
  244. package/src/internalapi/apis/image-registry-api.ts +246 -0
  245. package/src/internalapi/apis/task-api.ts +433 -0
  246. package/src/internalapi/models/autohealing-config.ts +60 -0
  247. package/src/internalapi/models/cluster-info.ts +42 -0
  248. package/src/internalapi/models/cluster-scheduling-policy.ts +33 -0
  249. package/src/internalapi/models/cluster-validation-policy.ts +32 -0
  250. package/src/internalapi/models/component.ts +84 -0
  251. package/src/internalapi/models/dns.ts +36 -0
  252. package/src/internalapi/models/environment-architecture.ts +32 -0
  253. package/src/internalapi/models/environment-create.ts +152 -0
  254. package/src/internalapi/models/environment-delete-policy.ts +31 -0
  255. package/src/internalapi/models/environment-module-status.ts +43 -0
  256. package/src/internalapi/models/environment-module.ts +119 -0
  257. package/src/internalapi/models/environment-register-type.ts +30 -0
  258. package/src/internalapi/models/environment-state.ts +39 -0
  259. package/src/internalapi/models/environment.ts +224 -0
  260. package/src/internalapi/models/index.ts +32 -0
  261. package/src/internalapi/models/internal-image-registry-list.ts +33 -0
  262. package/src/internalapi/models/internal-image-registry.ts +36 -0
  263. package/src/internalapi/models/internal-task-list.ts +42 -0
  264. package/src/internalapi/models/internal-task-steps-inner.ts +41 -0
  265. package/src/internalapi/models/internal-task.ts +68 -0
  266. package/src/internalapi/models/log-backend-type.ts +31 -0
  267. package/src/internalapi/models/network-config.ts +57 -0
  268. package/src/internalapi/models/node-pool-node.ts +54 -0
  269. package/src/internalapi/models/pagination-result.ts +42 -0
  270. package/src/internalapi/models/provision-config.ts +84 -0
  271. package/src/internalapi/models/register.ts +41 -0
  272. package/src/internalapi/models/scheduling-config.ts +68 -0
  273. package/src/internalapi/models/storage-config-backup.ts +48 -0
  274. package/src/internalapi/models/storage-config.ts +42 -0
  275. package/src/internalapi/models/system-component-scheduler-policy.ts +31 -0
  276. package/src/internalapi/models/task-retry-mode.ts +31 -0
  277. package/src/internalapi/models/task-status.ts +36 -0
  278. package/src/internalapi/models/tolerate-default-taints.ts +36 -0
  279. package/src/internalapi.yaml +1022 -177
  280. package/src/openapi/.openapi-generator/FILES +4 -0
  281. package/src/openapi/apis/cluster-api.ts +127 -0
  282. package/src/openapi/apis/postgresql-api.ts +10 -10
  283. package/src/openapi/apis/shared-api.ts +127 -0
  284. package/src/openapi/models/cluster-event-item.ts +96 -0
  285. package/src/openapi/models/cluster-event-list.ts +39 -0
  286. package/src/openapi/models/create-pg-extension-resp.ts +3 -3
  287. package/src/openapi/models/engine-option.ts +6 -0
  288. package/src/openapi/models/index.ts +4 -0
  289. package/src/openapi/models/pg-create-extension-opt.ts +6 -6
  290. package/src/openapi/models/pg-create-extension-result.ts +53 -0
  291. package/src/openapi/models/pg-create-extension-status.ts +33 -0
  292. package/src/openapi.yaml +154 -14
@@ -283,6 +283,8 @@ models/cluster-backup.ts
283
283
  models/cluster-batch-update-data.ts
284
284
  models/cluster-batch-update.ts
285
285
  models/cluster-create.ts
286
+ models/cluster-event-item.ts
287
+ models/cluster-event-list.ts
286
288
  models/cluster-execution-log-aggregate-item.ts
287
289
  models/cluster-execution-log-aggregate-response.ts
288
290
  models/cluster-execution-log-aggregate-summary.ts
@@ -982,6 +984,8 @@ models/permission.ts
982
984
  models/persistent-volume-claim-list.ts
983
985
  models/persistent-volume-claim.ts
984
986
  models/pg-create-extension-opt.ts
987
+ models/pg-create-extension-result.ts
988
+ models/pg-create-extension-status.ts
985
989
  models/pg-extension-available-database-schema.ts
986
990
  models/pg-extension.ts
987
991
  models/placement-scope.ts
@@ -30,6 +30,8 @@ import type { ClusterBatchUpdate } from '../models';
30
30
  // @ts-ignore
31
31
  import type { ClusterCreate } from '../models';
32
32
  // @ts-ignore
33
+ import type { ClusterEventList } from '../models';
34
+ // @ts-ignore
33
35
  import type { ClusterList } from '../models';
34
36
  // @ts-ignore
35
37
  import type { ClusterMetrics } from '../models';
@@ -800,6 +802,56 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
800
802
 
801
803
 
802
804
 
805
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
806
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
807
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
808
+
809
+ return {
810
+ url: toPathString(localVarUrlObj),
811
+ options: localVarRequestOptions,
812
+ };
813
+ },
814
+ /**
815
+ *
816
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
817
+ * @param {string} orgName
818
+ * @param {string} clusterName
819
+ * @param {number} [limit] Maximum number of recent events to return
820
+ * @param {*} [options] Override http request option.
821
+ * @throws {RequiredError}
822
+ */
823
+ listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
824
+ // verify required parameter 'orgName' is not null or undefined
825
+ assertParamExists('listClusterEvents', 'orgName', orgName)
826
+ // verify required parameter 'clusterName' is not null or undefined
827
+ assertParamExists('listClusterEvents', 'clusterName', clusterName)
828
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
829
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
830
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
831
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
832
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
833
+ let baseOptions;
834
+ if (configuration) {
835
+ baseOptions = configuration.baseOptions;
836
+ }
837
+
838
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
839
+ const localVarHeaderParameter = {} as any;
840
+ const localVarQueryParameter = {} as any;
841
+
842
+ // authentication BearerToken required
843
+ // http bearer authentication required
844
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
845
+
846
+ // authentication DigestAuth required
847
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
848
+
849
+ if (limit !== undefined) {
850
+ localVarQueryParameter['limit'] = limit;
851
+ }
852
+
853
+
854
+
803
855
  setSearchParams(localVarUrlObj, localVarQueryParameter);
804
856
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
805
857
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1657,6 +1709,21 @@ export const ClusterApiFp = function(configuration?: Configuration) {
1657
1709
  const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
1658
1710
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1659
1711
  },
1712
+ /**
1713
+ *
1714
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
1715
+ * @param {string} orgName
1716
+ * @param {string} clusterName
1717
+ * @param {number} [limit] Maximum number of recent events to return
1718
+ * @param {*} [options] Override http request option.
1719
+ * @throws {RequiredError}
1720
+ */
1721
+ async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
1722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
1723
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1724
+ const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
1725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1726
+ },
1660
1727
  /**
1661
1728
  * Get cluster list
1662
1729
  * @summary Get cluster list
@@ -1980,6 +2047,16 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
1980
2047
  listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
1981
2048
  return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
1982
2049
  },
2050
+ /**
2051
+ *
2052
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
2053
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ */
2057
+ listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
2058
+ return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
2059
+ },
1983
2060
  /**
1984
2061
  * Get cluster list
1985
2062
  * @summary Get cluster list
@@ -2239,6 +2316,16 @@ export interface ClusterApiInterface {
2239
2316
  */
2240
2317
  listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
2241
2318
 
2319
+ /**
2320
+ *
2321
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
2322
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
2323
+ * @param {*} [options] Override http request option.
2324
+ * @throws {RequiredError}
2325
+ * @memberof ClusterApiInterface
2326
+ */
2327
+ listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
2328
+
2242
2329
  /**
2243
2330
  * Get cluster list
2244
2331
  * @summary Get cluster list
@@ -2823,6 +2910,34 @@ export interface ClusterApiListClusterRequest {
2823
2910
  readonly includeEndpoints?: boolean
2824
2911
  }
2825
2912
 
2913
+ /**
2914
+ * Request parameters for listClusterEvents operation in ClusterApi.
2915
+ * @export
2916
+ * @interface ClusterApiListClusterEventsRequest
2917
+ */
2918
+ export interface ClusterApiListClusterEventsRequest {
2919
+ /**
2920
+ *
2921
+ * @type {string}
2922
+ * @memberof ClusterApiListClusterEvents
2923
+ */
2924
+ readonly orgName: string
2925
+
2926
+ /**
2927
+ *
2928
+ * @type {string}
2929
+ * @memberof ClusterApiListClusterEvents
2930
+ */
2931
+ readonly clusterName: string
2932
+
2933
+ /**
2934
+ * Maximum number of recent events to return
2935
+ * @type {number}
2936
+ * @memberof ClusterApiListClusterEvents
2937
+ */
2938
+ readonly limit?: number
2939
+ }
2940
+
2826
2941
  /**
2827
2942
  * Request parameters for listClusters operation in ClusterApi.
2828
2943
  * @export
@@ -3343,6 +3458,18 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
3343
3458
  return ClusterApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
3344
3459
  }
3345
3460
 
3461
+ /**
3462
+ *
3463
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
3464
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
3465
+ * @param {*} [options] Override http request option.
3466
+ * @throws {RequiredError}
3467
+ * @memberof ClusterApi
3468
+ */
3469
+ public listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
3470
+ return ClusterApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
3471
+ }
3472
+
3346
3473
  /**
3347
3474
  * Get cluster list
3348
3475
  * @summary Get cluster list
@@ -36,8 +36,8 @@ import type { PgExtension } from '../models';
36
36
  export const PostgresqlApiAxiosParamCreator = function (configuration?: Configuration) {
37
37
  return {
38
38
  /**
39
- * create PostgreSQL extension
40
- * @summary create PostgreSQL extension
39
+ * Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
40
+ * @summary Enable PostgreSQL extensions in selected databases
41
41
  * @param {string} orgName Organization name
42
42
  * @param {string} clusterName name of the cluster
43
43
  * @param {PgCreateExtensionOpt} pgCreateExtensionOpt
@@ -208,8 +208,8 @@ export const PostgresqlApiFp = function(configuration?: Configuration) {
208
208
  const localVarAxiosParamCreator = PostgresqlApiAxiosParamCreator(configuration)
209
209
  return {
210
210
  /**
211
- * create PostgreSQL extension
212
- * @summary create PostgreSQL extension
211
+ * Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
212
+ * @summary Enable PostgreSQL extensions in selected databases
213
213
  * @param {string} orgName Organization name
214
214
  * @param {string} clusterName name of the cluster
215
215
  * @param {PgCreateExtensionOpt} pgCreateExtensionOpt
@@ -265,8 +265,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
265
265
  const localVarFp = PostgresqlApiFp(configuration)
266
266
  return {
267
267
  /**
268
- * create PostgreSQL extension
269
- * @summary create PostgreSQL extension
268
+ * Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
269
+ * @summary Enable PostgreSQL extensions in selected databases
270
270
  * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
271
271
  * @param {*} [options] Override http request option.
272
272
  * @throws {RequiredError}
@@ -304,8 +304,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
304
304
  */
305
305
  export interface PostgresqlApiInterface {
306
306
  /**
307
- * create PostgreSQL extension
308
- * @summary create PostgreSQL extension
307
+ * Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
308
+ * @summary Enable PostgreSQL extensions in selected databases
309
309
  * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
310
310
  * @param {*} [options] Override http request option.
311
311
  * @throws {RequiredError}
@@ -441,8 +441,8 @@ export interface PostgresqlApiListPGExtensionsRequest {
441
441
  */
442
442
  export class PostgresqlApi extends BaseAPI implements PostgresqlApiInterface {
443
443
  /**
444
- * create PostgreSQL extension
445
- * @summary create PostgreSQL extension
444
+ * Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
445
+ * @summary Enable PostgreSQL extensions in selected databases
446
446
  * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
447
447
  * @param {*} [options] Override http request option.
448
448
  * @throws {RequiredError}
@@ -92,6 +92,8 @@ import type { ClusterBackupMethod } from '../models';
92
92
  // @ts-ignore
93
93
  import type { ClusterCreate } from '../models';
94
94
  // @ts-ignore
95
+ import type { ClusterEventList } from '../models';
96
+ // @ts-ignore
95
97
  import type { ClusterExecutionLog } from '../models';
96
98
  // @ts-ignore
97
99
  import type { ClusterExecutionLogAggregateResponse } from '../models';
@@ -10216,6 +10218,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10216
10218
 
10217
10219
 
10218
10220
 
10221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10223
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10224
+
10225
+ return {
10226
+ url: toPathString(localVarUrlObj),
10227
+ options: localVarRequestOptions,
10228
+ };
10229
+ },
10230
+ /**
10231
+ *
10232
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
10233
+ * @param {string} orgName
10234
+ * @param {string} clusterName
10235
+ * @param {number} [limit] Maximum number of recent events to return
10236
+ * @param {*} [options] Override http request option.
10237
+ * @throws {RequiredError}
10238
+ */
10239
+ listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10240
+ // verify required parameter 'orgName' is not null or undefined
10241
+ assertParamExists('listClusterEvents', 'orgName', orgName)
10242
+ // verify required parameter 'clusterName' is not null or undefined
10243
+ assertParamExists('listClusterEvents', 'clusterName', clusterName)
10244
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
10245
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10246
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10249
+ let baseOptions;
10250
+ if (configuration) {
10251
+ baseOptions = configuration.baseOptions;
10252
+ }
10253
+
10254
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10255
+ const localVarHeaderParameter = {} as any;
10256
+ const localVarQueryParameter = {} as any;
10257
+
10258
+ // authentication BearerToken required
10259
+ // http bearer authentication required
10260
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10261
+
10262
+ // authentication DigestAuth required
10263
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10264
+
10265
+ if (limit !== undefined) {
10266
+ localVarQueryParameter['limit'] = limit;
10267
+ }
10268
+
10269
+
10270
+
10219
10271
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10220
10272
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10221
10273
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -21793,6 +21845,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
21793
21845
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
21794
21846
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21795
21847
  },
21848
+ /**
21849
+ *
21850
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
21851
+ * @param {string} orgName
21852
+ * @param {string} clusterName
21853
+ * @param {number} [limit] Maximum number of recent events to return
21854
+ * @param {*} [options] Override http request option.
21855
+ * @throws {RequiredError}
21856
+ */
21857
+ async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
21858
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
21859
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21860
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
21861
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21862
+ },
21796
21863
  /**
21797
21864
  *
21798
21865
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -26130,6 +26197,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
26130
26197
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
26131
26198
  return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
26132
26199
  },
26200
+ /**
26201
+ *
26202
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
26203
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
26204
+ * @param {*} [options] Override http request option.
26205
+ * @throws {RequiredError}
26206
+ */
26207
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
26208
+ return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
26209
+ },
26133
26210
  /**
26134
26211
  *
26135
26212
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -29523,6 +29600,16 @@ export interface SharedApiInterface {
29523
29600
  */
29524
29601
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
29525
29602
 
29603
+ /**
29604
+ *
29605
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
29606
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
29607
+ * @param {*} [options] Override http request option.
29608
+ * @throws {RequiredError}
29609
+ * @memberof SharedApiInterface
29610
+ */
29611
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
29612
+
29526
29613
  /**
29527
29614
  *
29528
29615
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -36953,6 +37040,34 @@ export interface SharedApiListClusterAlertRulesRequest {
36953
37040
  readonly clusterName: string
36954
37041
  }
36955
37042
 
37043
+ /**
37044
+ * Request parameters for listClusterEvents operation in SharedApi.
37045
+ * @export
37046
+ * @interface SharedApiListClusterEventsRequest
37047
+ */
37048
+ export interface SharedApiListClusterEventsRequest {
37049
+ /**
37050
+ *
37051
+ * @type {string}
37052
+ * @memberof SharedApiListClusterEvents
37053
+ */
37054
+ readonly orgName: string
37055
+
37056
+ /**
37057
+ *
37058
+ * @type {string}
37059
+ * @memberof SharedApiListClusterEvents
37060
+ */
37061
+ readonly clusterName: string
37062
+
37063
+ /**
37064
+ * Maximum number of recent events to return
37065
+ * @type {number}
37066
+ * @memberof SharedApiListClusterEvents
37067
+ */
37068
+ readonly limit?: number
37069
+ }
37070
+
36956
37071
  /**
36957
37072
  * Request parameters for listClusterJars operation in SharedApi.
36958
37073
  * @export
@@ -44594,6 +44709,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
44594
44709
  return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
44595
44710
  }
44596
44711
 
44712
+ /**
44713
+ *
44714
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
44715
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
44716
+ * @param {*} [options] Override http request option.
44717
+ * @throws {RequiredError}
44718
+ * @memberof SharedApi
44719
+ */
44720
+ public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
44721
+ return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
44722
+ }
44723
+
44597
44724
  /**
44598
44725
  *
44599
44726
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -0,0 +1,96 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Kubernetes event for a cluster, component or InstanceSet
19
+ * @export
20
+ * @interface ClusterEventItem
21
+ */
22
+ export interface ClusterEventItem {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ClusterEventItem
27
+ */
28
+ 'clusterName': string;
29
+ /**
30
+ * Kubernetes kind of the involved object
31
+ * @type {string}
32
+ * @memberof ClusterEventItem
33
+ */
34
+ 'objectKind': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof ClusterEventItem
39
+ */
40
+ 'objectName': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof ClusterEventItem
45
+ */
46
+ 'objectUID': string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof ClusterEventItem
51
+ */
52
+ 'componentName'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof ClusterEventItem
57
+ */
58
+ 'name': string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof ClusterEventItem
63
+ */
64
+ 'type': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof ClusterEventItem
69
+ */
70
+ 'reason': string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof ClusterEventItem
75
+ */
76
+ 'message': string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof ClusterEventItem
81
+ */
82
+ 'source': string;
83
+ /**
84
+ *
85
+ * @type {number}
86
+ * @memberof ClusterEventItem
87
+ */
88
+ 'count': number;
89
+ /**
90
+ * Last observation time, falling back to the event creation time
91
+ * @type {string}
92
+ * @memberof ClusterEventItem
93
+ */
94
+ 'eventTime': string;
95
+ }
96
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { ClusterEventItem } from './cluster-event-item';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface ClusterEventList
24
+ */
25
+ export interface ClusterEventList {
26
+ /**
27
+ *
28
+ * @type {Array<ClusterEventItem>}
29
+ * @memberof ClusterEventList
30
+ */
31
+ 'items': Array<ClusterEventItem>;
32
+ /**
33
+ * Whether more matching events exist than the limit
34
+ * @type {boolean}
35
+ * @memberof ClusterEventList
36
+ */
37
+ 'truncated': boolean;
38
+ }
39
+
@@ -18,7 +18,7 @@
18
18
  import type { OpsRequestName } from './ops-request-name';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import type { PgExtension } from './pg-extension';
21
+ import type { PgCreateExtensionResult } from './pg-create-extension-result';
22
22
 
23
23
  /**
24
24
  *
@@ -34,9 +34,9 @@ export interface CreatePgExtensionResp {
34
34
  'opsRequestResult'?: OpsRequestName;
35
35
  /**
36
36
  *
37
- * @type {PgExtension}
37
+ * @type {Array<PgCreateExtensionResult>}
38
38
  * @memberof CreatePgExtensionResp
39
39
  */
40
- 'PgExtension'?: PgExtension;
40
+ 'items': Array<PgCreateExtensionResult>;
41
41
  }
42
42
 
@@ -224,6 +224,12 @@ export interface EngineOption {
224
224
  * @memberof EngineOption
225
225
  */
226
226
  'vscale': Array<ComponentOpsOption>;
227
+ /**
228
+ * Whether the cluster chart consumes the platform license through the standard addon-license.existingSecret name/key values.
229
+ * @type {boolean}
230
+ * @memberof EngineOption
231
+ */
232
+ 'needAddonlicense'?: boolean;
227
233
  /**
228
234
  *
229
235
  * @type {EngineOptionLicense}
@@ -56,6 +56,12 @@ import type { SchedulingConfig } from './scheduling-config';
56
56
  * @interface Environment
57
57
  */
58
58
  export interface Environment {
59
+ /**
60
+ * Installation task ID, returned when environment creation starts a task.
61
+ * @type {string}
62
+ * @memberof Environment
63
+ */
64
+ 'taskId'?: string;
59
65
  /**
60
66
  *
61
67
  * @type {LogBackendType}
@@ -177,6 +177,8 @@ export * from './cluster-backup-method';
177
177
  export * from './cluster-batch-update';
178
178
  export * from './cluster-batch-update-data';
179
179
  export * from './cluster-create';
180
+ export * from './cluster-event-item';
181
+ export * from './cluster-event-list';
180
182
  export * from './cluster-execution-log';
181
183
  export * from './cluster-execution-log-aggregate-item';
182
184
  export * from './cluster-execution-log-aggregate-response';
@@ -873,6 +875,8 @@ export * from './permission-list';
873
875
  export * from './persistent-volume-claim';
874
876
  export * from './persistent-volume-claim-list';
875
877
  export * from './pg-create-extension-opt';
878
+ export * from './pg-create-extension-result';
879
+ export * from './pg-create-extension-status';
876
880
  export * from './pg-extension';
877
881
  export * from './pg-extension-available-database-schema';
878
882
  export * from './placement-scope';
@@ -23,6 +23,12 @@ import type { EngineQuota } from './engine-quota';
23
23
  * @interface License
24
24
  */
25
25
  export interface License {
26
+ /**
27
+ * Asynchronous addon license synchronization task created after the platform license is saved. Only returned by the update operation.
28
+ * @type {string}
29
+ * @memberof License
30
+ */
31
+ 'taskId'?: string;
26
32
  /**
27
33
  * The kubernetes cluster ID
28
34
  * @type {string}
@@ -21,17 +21,17 @@
21
21
  */
22
22
  export interface PgCreateExtensionOpt {
23
23
  /**
24
- * The name of the PostgreSQL extension.
25
- * @type {string}
24
+ * Target databases. At most 100 database-extension pairs per request.
25
+ * @type {Array<string>}
26
26
  * @memberof PgCreateExtensionOpt
27
27
  */
28
- 'name': string;
28
+ 'databases': Array<string>;
29
29
  /**
30
- * The database where the extension is installed.
31
- * @type {string}
30
+ * Extensions to enable using their default versions and schemas.
31
+ * @type {Array<string>}
32
32
  * @memberof PgCreateExtensionOpt
33
33
  */
34
- 'database': string;
34
+ 'names': Array<string>;
35
35
  /**
36
36
  * The version of the extension to install.
37
37
  * @type {string}