kb-cloud-client-typescript 2.4.0-alpha.154 → 2.4.0-alpha.156

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 (284) 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/platform-component-api.d.ts +38 -0
  6. package/dist/adminapi/apis/platform-component-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/platform-component-api.js +62 -0
  8. package/dist/adminapi/apis/platform-component-api.js.map +1 -1
  9. package/dist/adminapi/apis/rdbms-api.d.ts +3 -3
  10. package/dist/adminapi/apis/rdbms-api.js +2 -2
  11. package/dist/adminapi/apis/session-api.d.ts +3 -3
  12. package/dist/adminapi/apis/session-api.js +2 -2
  13. package/dist/adminapi/apis/shared-api.d.ts +75 -3
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +81 -2
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/cluster-event-item.d.ts +91 -0
  18. package/dist/adminapi/models/cluster-event-item.d.ts.map +1 -0
  19. package/dist/adminapi/models/cluster-event-item.js +16 -0
  20. package/dist/adminapi/models/cluster-event-item.js.map +1 -0
  21. package/dist/adminapi/models/cluster-event-list.d.ts +32 -0
  22. package/dist/adminapi/models/cluster-event-list.d.ts.map +1 -0
  23. package/dist/adminapi/models/cluster-event-list.js +16 -0
  24. package/dist/adminapi/models/cluster-event-list.js.map +1 -0
  25. package/dist/adminapi/models/dms-session.d.ts +2 -2
  26. package/dist/adminapi/models/environment.d.ts +6 -0
  27. package/dist/adminapi/models/environment.d.ts.map +1 -1
  28. package/dist/adminapi/models/index.d.ts +5 -0
  29. package/dist/adminapi/models/index.d.ts.map +1 -1
  30. package/dist/adminapi/models/index.js +5 -0
  31. package/dist/adminapi/models/index.js.map +1 -1
  32. package/dist/adminapi/models/platform-component-node.d.ts +68 -0
  33. package/dist/adminapi/models/platform-component-node.d.ts.map +1 -0
  34. package/dist/adminapi/models/platform-component-node.js +16 -0
  35. package/dist/adminapi/models/platform-component-node.js.map +1 -0
  36. package/dist/adminapi/models/platform-component-overview.d.ts +53 -0
  37. package/dist/adminapi/models/platform-component-overview.d.ts.map +1 -0
  38. package/dist/adminapi/models/platform-component-overview.js +16 -0
  39. package/dist/adminapi/models/platform-component-overview.js.map +1 -0
  40. package/dist/adminapi/models/platform-component-pod-stats.d.ts +37 -0
  41. package/dist/adminapi/models/platform-component-pod-stats.d.ts.map +1 -0
  42. package/dist/adminapi/models/platform-component-pod-stats.js +16 -0
  43. package/dist/adminapi/models/platform-component-pod-stats.js.map +1 -0
  44. package/dist/adminapi/models/storage-provider-schema-props.d.ts +3 -3
  45. package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
  46. package/dist/internalapi/api.d.ts +2 -0
  47. package/dist/internalapi/api.d.ts.map +1 -1
  48. package/dist/internalapi/api.js +2 -0
  49. package/dist/internalapi/api.js.map +1 -1
  50. package/dist/internalapi/apis/environment-api.d.ts +112 -0
  51. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  52. package/dist/internalapi/apis/environment-api.js +135 -0
  53. package/dist/internalapi/apis/environment-api.js.map +1 -1
  54. package/dist/internalapi/apis/image-registry-api.d.ts +142 -0
  55. package/dist/internalapi/apis/image-registry-api.d.ts.map +1 -0
  56. package/dist/internalapi/apis/image-registry-api.js +192 -0
  57. package/dist/internalapi/apis/image-registry-api.js.map +1 -0
  58. package/dist/internalapi/apis/task-api.d.ts +256 -0
  59. package/dist/internalapi/apis/task-api.d.ts.map +1 -0
  60. package/dist/internalapi/apis/task-api.js +290 -0
  61. package/dist/internalapi/apis/task-api.js.map +1 -0
  62. package/dist/internalapi/models/autohealing-config.d.ts +55 -0
  63. package/dist/internalapi/models/autohealing-config.d.ts.map +1 -0
  64. package/dist/internalapi/models/autohealing-config.js +16 -0
  65. package/dist/internalapi/models/autohealing-config.js.map +1 -0
  66. package/dist/internalapi/models/cluster-info.d.ts +37 -0
  67. package/dist/internalapi/models/cluster-info.d.ts.map +1 -0
  68. package/dist/internalapi/models/cluster-info.js +16 -0
  69. package/dist/internalapi/models/cluster-info.js.map +1 -0
  70. package/dist/internalapi/models/cluster-scheduling-policy.d.ts +24 -0
  71. package/dist/internalapi/models/cluster-scheduling-policy.d.ts.map +1 -0
  72. package/dist/internalapi/models/cluster-scheduling-policy.js +28 -0
  73. package/dist/internalapi/models/cluster-scheduling-policy.js.map +1 -0
  74. package/dist/internalapi/models/cluster-validation-policy.d.ts +23 -0
  75. package/dist/internalapi/models/cluster-validation-policy.d.ts.map +1 -0
  76. package/dist/internalapi/models/cluster-validation-policy.js +27 -0
  77. package/dist/internalapi/models/cluster-validation-policy.js.map +1 -0
  78. package/dist/internalapi/models/component.d.ts +79 -0
  79. package/dist/internalapi/models/component.d.ts.map +1 -0
  80. package/dist/internalapi/models/component.js +16 -0
  81. package/dist/internalapi/models/component.js.map +1 -0
  82. package/dist/internalapi/models/dns.d.ts +31 -0
  83. package/dist/internalapi/models/dns.d.ts.map +1 -0
  84. package/dist/internalapi/models/dns.js +16 -0
  85. package/dist/internalapi/models/dns.js.map +1 -0
  86. package/dist/internalapi/models/environment-architecture.d.ts +23 -0
  87. package/dist/internalapi/models/environment-architecture.d.ts.map +1 -0
  88. package/dist/internalapi/models/environment-architecture.js +27 -0
  89. package/dist/internalapi/models/environment-architecture.js.map +1 -0
  90. package/dist/internalapi/models/environment-create.d.ts +133 -0
  91. package/dist/internalapi/models/environment-create.d.ts.map +1 -0
  92. package/dist/internalapi/models/environment-create.js +16 -0
  93. package/dist/internalapi/models/environment-create.js.map +1 -0
  94. package/dist/internalapi/models/environment-delete-policy.d.ts +22 -0
  95. package/dist/internalapi/models/environment-delete-policy.d.ts.map +1 -0
  96. package/dist/internalapi/models/environment-delete-policy.js +26 -0
  97. package/dist/internalapi/models/environment-delete-policy.js.map +1 -0
  98. package/dist/internalapi/models/environment-module-status.d.ts +34 -0
  99. package/dist/internalapi/models/environment-module-status.d.ts.map +1 -0
  100. package/dist/internalapi/models/environment-module-status.js +38 -0
  101. package/dist/internalapi/models/environment-module-status.js.map +1 -0
  102. package/dist/internalapi/models/environment-module.d.ts +106 -0
  103. package/dist/internalapi/models/environment-module.d.ts.map +1 -0
  104. package/dist/internalapi/models/environment-module.js +16 -0
  105. package/dist/internalapi/models/environment-module.js.map +1 -0
  106. package/dist/internalapi/models/environment-register-type.d.ts +21 -0
  107. package/dist/internalapi/models/environment-register-type.d.ts.map +1 -0
  108. package/dist/internalapi/models/environment-register-type.js +25 -0
  109. package/dist/internalapi/models/environment-register-type.js.map +1 -0
  110. package/dist/internalapi/models/environment-state.d.ts +30 -0
  111. package/dist/internalapi/models/environment-state.d.ts.map +1 -0
  112. package/dist/internalapi/models/environment-state.js +34 -0
  113. package/dist/internalapi/models/environment-state.js.map +1 -0
  114. package/dist/internalapi/models/environment.d.ts +193 -0
  115. package/dist/internalapi/models/environment.d.ts.map +1 -0
  116. package/dist/internalapi/models/environment.js +16 -0
  117. package/dist/internalapi/models/environment.js.map +1 -0
  118. package/dist/internalapi/models/index.d.ts +32 -0
  119. package/dist/internalapi/models/index.d.ts.map +1 -1
  120. package/dist/internalapi/models/index.js +32 -0
  121. package/dist/internalapi/models/index.js.map +1 -1
  122. package/dist/internalapi/models/internal-image-registry-list.d.ts +26 -0
  123. package/dist/internalapi/models/internal-image-registry-list.d.ts.map +1 -0
  124. package/dist/internalapi/models/internal-image-registry-list.js +16 -0
  125. package/dist/internalapi/models/internal-image-registry-list.js.map +1 -0
  126. package/dist/internalapi/models/internal-image-registry.d.ts +31 -0
  127. package/dist/internalapi/models/internal-image-registry.d.ts.map +1 -0
  128. package/dist/internalapi/models/internal-image-registry.js +16 -0
  129. package/dist/internalapi/models/internal-image-registry.js.map +1 -0
  130. package/dist/internalapi/models/internal-task-list.d.ts +33 -0
  131. package/dist/internalapi/models/internal-task-list.d.ts.map +1 -0
  132. package/dist/internalapi/models/internal-task-list.js +16 -0
  133. package/dist/internalapi/models/internal-task-list.js.map +1 -0
  134. package/dist/internalapi/models/internal-task-steps-inner.d.ts +32 -0
  135. package/dist/internalapi/models/internal-task-steps-inner.d.ts.map +1 -0
  136. package/dist/internalapi/models/internal-task-steps-inner.js +16 -0
  137. package/dist/internalapi/models/internal-task-steps-inner.js.map +1 -0
  138. package/dist/internalapi/models/internal-task.d.ts +57 -0
  139. package/dist/internalapi/models/internal-task.d.ts.map +1 -0
  140. package/dist/internalapi/models/internal-task.js +16 -0
  141. package/dist/internalapi/models/internal-task.js.map +1 -0
  142. package/dist/internalapi/models/log-backend-type.d.ts +22 -0
  143. package/dist/internalapi/models/log-backend-type.d.ts.map +1 -0
  144. package/dist/internalapi/models/log-backend-type.js +26 -0
  145. package/dist/internalapi/models/log-backend-type.js.map +1 -0
  146. package/dist/internalapi/models/network-config.d.ts +50 -0
  147. package/dist/internalapi/models/network-config.d.ts.map +1 -0
  148. package/dist/internalapi/models/network-config.js +16 -0
  149. package/dist/internalapi/models/network-config.js.map +1 -0
  150. package/dist/internalapi/models/node-pool-node.d.ts +49 -0
  151. package/dist/internalapi/models/node-pool-node.d.ts.map +1 -0
  152. package/dist/internalapi/models/node-pool-node.js +16 -0
  153. package/dist/internalapi/models/node-pool-node.js.map +1 -0
  154. package/dist/internalapi/models/pagination-result.d.ts +37 -0
  155. package/dist/internalapi/models/pagination-result.d.ts.map +1 -0
  156. package/dist/internalapi/models/pagination-result.js +16 -0
  157. package/dist/internalapi/models/pagination-result.js.map +1 -0
  158. package/dist/internalapi/models/provision-config.d.ts +68 -0
  159. package/dist/internalapi/models/provision-config.d.ts.map +1 -0
  160. package/dist/internalapi/models/provision-config.js +16 -0
  161. package/dist/internalapi/models/provision-config.js.map +1 -0
  162. package/dist/internalapi/models/register.d.ts +32 -0
  163. package/dist/internalapi/models/register.d.ts.map +1 -0
  164. package/dist/internalapi/models/register.js +16 -0
  165. package/dist/internalapi/models/register.js.map +1 -0
  166. package/dist/internalapi/models/scheduling-config.d.ts +53 -0
  167. package/dist/internalapi/models/scheduling-config.d.ts.map +1 -0
  168. package/dist/internalapi/models/scheduling-config.js +16 -0
  169. package/dist/internalapi/models/scheduling-config.js.map +1 -0
  170. package/dist/internalapi/models/storage-config-backup.d.ts +43 -0
  171. package/dist/internalapi/models/storage-config-backup.d.ts.map +1 -0
  172. package/dist/internalapi/models/storage-config-backup.js +16 -0
  173. package/dist/internalapi/models/storage-config-backup.js.map +1 -0
  174. package/dist/internalapi/models/storage-config.d.ts +33 -0
  175. package/dist/internalapi/models/storage-config.d.ts.map +1 -0
  176. package/dist/internalapi/models/storage-config.js +16 -0
  177. package/dist/internalapi/models/storage-config.js.map +1 -0
  178. package/dist/internalapi/models/system-component-scheduler-policy.d.ts +22 -0
  179. package/dist/internalapi/models/system-component-scheduler-policy.d.ts.map +1 -0
  180. package/dist/internalapi/models/system-component-scheduler-policy.js +26 -0
  181. package/dist/internalapi/models/system-component-scheduler-policy.js.map +1 -0
  182. package/dist/internalapi/models/task-retry-mode.d.ts +22 -0
  183. package/dist/internalapi/models/task-retry-mode.d.ts.map +1 -0
  184. package/dist/internalapi/models/task-retry-mode.js +26 -0
  185. package/dist/internalapi/models/task-retry-mode.js.map +1 -0
  186. package/dist/internalapi/models/task-status.d.ts +28 -0
  187. package/dist/internalapi/models/task-status.d.ts.map +1 -0
  188. package/dist/internalapi/models/task-status.js +32 -0
  189. package/dist/internalapi/models/task-status.js.map +1 -0
  190. package/dist/internalapi/models/tolerate-default-taints.d.ts +31 -0
  191. package/dist/internalapi/models/tolerate-default-taints.d.ts.map +1 -0
  192. package/dist/internalapi/models/tolerate-default-taints.js +16 -0
  193. package/dist/internalapi/models/tolerate-default-taints.js.map +1 -0
  194. package/dist/openapi/apis/cluster-api.d.ts +72 -0
  195. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  196. package/dist/openapi/apis/cluster-api.js +79 -0
  197. package/dist/openapi/apis/cluster-api.js.map +1 -1
  198. package/dist/openapi/apis/rdbms-api.d.ts +3 -3
  199. package/dist/openapi/apis/rdbms-api.js +2 -2
  200. package/dist/openapi/apis/session-api.d.ts +3 -3
  201. package/dist/openapi/apis/session-api.js +2 -2
  202. package/dist/openapi/apis/shared-api.d.ts +75 -3
  203. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  204. package/dist/openapi/apis/shared-api.js +81 -2
  205. package/dist/openapi/apis/shared-api.js.map +1 -1
  206. package/dist/openapi/models/cluster-event-item.d.ts +91 -0
  207. package/dist/openapi/models/cluster-event-item.d.ts.map +1 -0
  208. package/dist/openapi/models/cluster-event-item.js +16 -0
  209. package/dist/openapi/models/cluster-event-item.js.map +1 -0
  210. package/dist/openapi/models/cluster-event-list.d.ts +32 -0
  211. package/dist/openapi/models/cluster-event-list.d.ts.map +1 -0
  212. package/dist/openapi/models/cluster-event-list.js +16 -0
  213. package/dist/openapi/models/cluster-event-list.js.map +1 -0
  214. package/dist/openapi/models/dms-session.d.ts +2 -2
  215. package/dist/openapi/models/index.d.ts +2 -0
  216. package/dist/openapi/models/index.d.ts.map +1 -1
  217. package/dist/openapi/models/index.js +2 -0
  218. package/dist/openapi/models/index.js.map +1 -1
  219. package/package.json +1 -1
  220. package/src/adminapi/.openapi-generator/FILES +5 -0
  221. package/src/adminapi/apis/cluster-api.ts +127 -0
  222. package/src/adminapi/apis/platform-component-api.ts +80 -0
  223. package/src/adminapi/apis/rdbms-api.ts +3 -3
  224. package/src/adminapi/apis/session-api.ts +3 -3
  225. package/src/adminapi/apis/shared-api.ts +130 -3
  226. package/src/adminapi/models/cluster-event-item.ts +96 -0
  227. package/src/adminapi/models/cluster-event-list.ts +39 -0
  228. package/src/adminapi/models/dms-session.ts +2 -2
  229. package/src/adminapi/models/environment.ts +6 -0
  230. package/src/adminapi/models/index.ts +5 -0
  231. package/src/adminapi/models/platform-component-node.ts +75 -0
  232. package/src/adminapi/models/platform-component-overview.ts +66 -0
  233. package/src/adminapi/models/platform-component-pod-stats.ts +42 -0
  234. package/src/adminapi/models/storage-provider-schema-props.ts +3 -3
  235. package/src/adminapi.yaml +191 -6
  236. package/src/internalapi/.openapi-generator/FILES +34 -0
  237. package/src/internalapi/api.ts +2 -0
  238. package/src/internalapi/apis/environment-api.ts +200 -0
  239. package/src/internalapi/apis/image-registry-api.ts +246 -0
  240. package/src/internalapi/apis/task-api.ts +433 -0
  241. package/src/internalapi/models/autohealing-config.ts +60 -0
  242. package/src/internalapi/models/cluster-info.ts +42 -0
  243. package/src/internalapi/models/cluster-scheduling-policy.ts +33 -0
  244. package/src/internalapi/models/cluster-validation-policy.ts +32 -0
  245. package/src/internalapi/models/component.ts +84 -0
  246. package/src/internalapi/models/dns.ts +36 -0
  247. package/src/internalapi/models/environment-architecture.ts +32 -0
  248. package/src/internalapi/models/environment-create.ts +152 -0
  249. package/src/internalapi/models/environment-delete-policy.ts +31 -0
  250. package/src/internalapi/models/environment-module-status.ts +43 -0
  251. package/src/internalapi/models/environment-module.ts +119 -0
  252. package/src/internalapi/models/environment-register-type.ts +30 -0
  253. package/src/internalapi/models/environment-state.ts +39 -0
  254. package/src/internalapi/models/environment.ts +224 -0
  255. package/src/internalapi/models/index.ts +32 -0
  256. package/src/internalapi/models/internal-image-registry-list.ts +33 -0
  257. package/src/internalapi/models/internal-image-registry.ts +36 -0
  258. package/src/internalapi/models/internal-task-list.ts +42 -0
  259. package/src/internalapi/models/internal-task-steps-inner.ts +41 -0
  260. package/src/internalapi/models/internal-task.ts +68 -0
  261. package/src/internalapi/models/log-backend-type.ts +31 -0
  262. package/src/internalapi/models/network-config.ts +57 -0
  263. package/src/internalapi/models/node-pool-node.ts +54 -0
  264. package/src/internalapi/models/pagination-result.ts +42 -0
  265. package/src/internalapi/models/provision-config.ts +87 -0
  266. package/src/internalapi/models/register.ts +41 -0
  267. package/src/internalapi/models/scheduling-config.ts +68 -0
  268. package/src/internalapi/models/storage-config-backup.ts +48 -0
  269. package/src/internalapi/models/storage-config.ts +42 -0
  270. package/src/internalapi/models/system-component-scheduler-policy.ts +31 -0
  271. package/src/internalapi/models/task-retry-mode.ts +31 -0
  272. package/src/internalapi/models/task-status.ts +37 -0
  273. package/src/internalapi/models/tolerate-default-taints.ts +36 -0
  274. package/src/internalapi.yaml +1039 -193
  275. package/src/openapi/.openapi-generator/FILES +2 -0
  276. package/src/openapi/apis/cluster-api.ts +127 -0
  277. package/src/openapi/apis/rdbms-api.ts +3 -3
  278. package/src/openapi/apis/session-api.ts +3 -3
  279. package/src/openapi/apis/shared-api.ts +130 -3
  280. package/src/openapi/models/cluster-event-item.ts +96 -0
  281. package/src/openapi/models/cluster-event-list.ts +39 -0
  282. package/src/openapi/models/dms-session.ts +2 -2
  283. package/src/openapi/models/index.ts +2 -0
  284. package/src/openapi.yaml +104 -3
@@ -273,6 +273,8 @@ models/cluster-backup.ts
273
273
  models/cluster-batch-update-data.ts
274
274
  models/cluster-batch-update.ts
275
275
  models/cluster-create.ts
276
+ models/cluster-event-item.ts
277
+ models/cluster-event-list.ts
276
278
  models/cluster-execution-log-aggregate-item.ts
277
279
  models/cluster-execution-log-aggregate-response.ts
278
280
  models/cluster-execution-log-aggregate-summary.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';
@@ -804,6 +806,56 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
804
806
 
805
807
 
806
808
 
809
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
810
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
811
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
812
+
813
+ return {
814
+ url: toPathString(localVarUrlObj),
815
+ options: localVarRequestOptions,
816
+ };
817
+ },
818
+ /**
819
+ *
820
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
821
+ * @param {string} orgName
822
+ * @param {string} clusterName
823
+ * @param {number} [limit] Maximum number of recent events to return
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ */
827
+ listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
828
+ // verify required parameter 'orgName' is not null or undefined
829
+ assertParamExists('listClusterEvents', 'orgName', orgName)
830
+ // verify required parameter 'clusterName' is not null or undefined
831
+ assertParamExists('listClusterEvents', 'clusterName', clusterName)
832
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
833
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
834
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
835
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
836
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
837
+ let baseOptions;
838
+ if (configuration) {
839
+ baseOptions = configuration.baseOptions;
840
+ }
841
+
842
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
843
+ const localVarHeaderParameter = {} as any;
844
+ const localVarQueryParameter = {} as any;
845
+
846
+ // authentication BearerToken required
847
+ // http bearer authentication required
848
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
849
+
850
+ // authentication DigestAuth required
851
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
852
+
853
+ if (limit !== undefined) {
854
+ localVarQueryParameter['limit'] = limit;
855
+ }
856
+
857
+
858
+
807
859
  setSearchParams(localVarUrlObj, localVarQueryParameter);
808
860
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
809
861
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1600,6 +1652,21 @@ export const ClusterApiFp = function(configuration?: Configuration) {
1600
1652
  const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
1601
1653
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1602
1654
  },
1655
+ /**
1656
+ *
1657
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
1658
+ * @param {string} orgName
1659
+ * @param {string} clusterName
1660
+ * @param {number} [limit] Maximum number of recent events to return
1661
+ * @param {*} [options] Override http request option.
1662
+ * @throws {RequiredError}
1663
+ */
1664
+ async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
1665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
1666
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1667
+ const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
1668
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1669
+ },
1603
1670
  /**
1604
1671
  *
1605
1672
  * @summary List cluster endpoints
@@ -1906,6 +1973,16 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
1906
1973
  listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
1907
1974
  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));
1908
1975
  },
1976
+ /**
1977
+ *
1978
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
1979
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
1984
+ return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
1985
+ },
1909
1986
  /**
1910
1987
  *
1911
1988
  * @summary List cluster endpoints
@@ -2155,6 +2232,16 @@ export interface ClusterApiInterface {
2155
2232
  */
2156
2233
  listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
2157
2234
 
2235
+ /**
2236
+ *
2237
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
2238
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
2239
+ * @param {*} [options] Override http request option.
2240
+ * @throws {RequiredError}
2241
+ * @memberof ClusterApiInterface
2242
+ */
2243
+ listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
2244
+
2158
2245
  /**
2159
2246
  *
2160
2247
  * @summary List cluster endpoints
@@ -2736,6 +2823,34 @@ export interface ClusterApiListClusterRequest {
2736
2823
  readonly includeEndpoints?: boolean
2737
2824
  }
2738
2825
 
2826
+ /**
2827
+ * Request parameters for listClusterEvents operation in ClusterApi.
2828
+ * @export
2829
+ * @interface ClusterApiListClusterEventsRequest
2830
+ */
2831
+ export interface ClusterApiListClusterEventsRequest {
2832
+ /**
2833
+ *
2834
+ * @type {string}
2835
+ * @memberof ClusterApiListClusterEvents
2836
+ */
2837
+ readonly orgName: string
2838
+
2839
+ /**
2840
+ *
2841
+ * @type {string}
2842
+ * @memberof ClusterApiListClusterEvents
2843
+ */
2844
+ readonly clusterName: string
2845
+
2846
+ /**
2847
+ * Maximum number of recent events to return
2848
+ * @type {number}
2849
+ * @memberof ClusterApiListClusterEvents
2850
+ */
2851
+ readonly limit?: number
2852
+ }
2853
+
2739
2854
  /**
2740
2855
  * Request parameters for listEndpoints operation in ClusterApi.
2741
2856
  * @export
@@ -3214,6 +3329,18 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
3214
3329
  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));
3215
3330
  }
3216
3331
 
3332
+ /**
3333
+ *
3334
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
3335
+ * @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ * @memberof ClusterApi
3339
+ */
3340
+ public listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
3341
+ return ClusterApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
3342
+ }
3343
+
3217
3344
  /**
3218
3345
  *
3219
3346
  * @summary List cluster endpoints
@@ -918,7 +918,7 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
918
918
  * @param {string} engineName name of the engine
919
919
  * @param {string} orgName name of the Org
920
920
  * @param {string} clusterName name of the Cluster
921
- * @param {string} session session id
921
+ * @param {string} session session id; for Redis, use the connection address in host:port form
922
922
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
923
923
  * @param {*} [options] Override http request option.
924
924
  * @throws {RequiredError}
@@ -2094,7 +2094,7 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
2094
2094
  * @param {string} engineName name of the engine
2095
2095
  * @param {string} orgName name of the Org
2096
2096
  * @param {string} clusterName name of the Cluster
2097
- * @param {string} session session id
2097
+ * @param {string} session session id; for Redis, use the connection address in host:port form
2098
2098
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
2099
2099
  * @param {*} [options] Override http request option.
2100
2100
  * @throws {RequiredError}
@@ -3601,7 +3601,7 @@ export interface RdbmsApiKillSessionRequest {
3601
3601
  readonly clusterName: string
3602
3602
 
3603
3603
  /**
3604
- * session id
3604
+ * session id; for Redis, use the connection address in host:port form
3605
3605
  * @type {string}
3606
3606
  * @memberof RdbmsApiKillSession
3607
3607
  */
@@ -37,7 +37,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
37
37
  * @param {string} engineName name of the engine
38
38
  * @param {string} orgName name of the Org
39
39
  * @param {string} clusterName name of the Cluster
40
- * @param {string} session session id
40
+ * @param {string} session session id; for Redis, use the connection address in host:port form
41
41
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
@@ -159,7 +159,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
159
159
  * @param {string} engineName name of the engine
160
160
  * @param {string} orgName name of the Org
161
161
  * @param {string} clusterName name of the Cluster
162
- * @param {string} session session id
162
+ * @param {string} session session id; for Redis, use the connection address in host:port form
163
163
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
164
164
  * @param {*} [options] Override http request option.
165
165
  * @throws {RequiredError}
@@ -275,7 +275,7 @@ export interface SessionApiKillSessionRequest {
275
275
  readonly clusterName: string
276
276
 
277
277
  /**
278
- * session id
278
+ * session id; for Redis, use the connection address in host:port form
279
279
  * @type {string}
280
280
  * @memberof SessionApiKillSession
281
281
  */
@@ -90,6 +90,8 @@ import type { ClusterBackupMethod } from '../models';
90
90
  // @ts-ignore
91
91
  import type { ClusterCreate } from '../models';
92
92
  // @ts-ignore
93
+ import type { ClusterEventList } from '../models';
94
+ // @ts-ignore
93
95
  import type { ClusterExecutionLog } from '../models';
94
96
  // @ts-ignore
95
97
  import type { ClusterExecutionLogAggregateResponse } from '../models';
@@ -10801,7 +10803,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10801
10803
  * @param {string} engineName name of the engine
10802
10804
  * @param {string} orgName name of the Org
10803
10805
  * @param {string} clusterName name of the Cluster
10804
- * @param {string} session session id
10806
+ * @param {string} session session id; for Redis, use the connection address in host:port form
10805
10807
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
10806
10808
  * @param {*} [options] Override http request option.
10807
10809
  * @throws {RequiredError}
@@ -11541,6 +11543,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11541
11543
 
11542
11544
 
11543
11545
 
11546
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11547
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11548
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11549
+
11550
+ return {
11551
+ url: toPathString(localVarUrlObj),
11552
+ options: localVarRequestOptions,
11553
+ };
11554
+ },
11555
+ /**
11556
+ *
11557
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
11558
+ * @param {string} orgName
11559
+ * @param {string} clusterName
11560
+ * @param {number} [limit] Maximum number of recent events to return
11561
+ * @param {*} [options] Override http request option.
11562
+ * @throws {RequiredError}
11563
+ */
11564
+ listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11565
+ // verify required parameter 'orgName' is not null or undefined
11566
+ assertParamExists('listClusterEvents', 'orgName', orgName)
11567
+ // verify required parameter 'clusterName' is not null or undefined
11568
+ assertParamExists('listClusterEvents', 'clusterName', clusterName)
11569
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
11570
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11571
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11572
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11573
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11574
+ let baseOptions;
11575
+ if (configuration) {
11576
+ baseOptions = configuration.baseOptions;
11577
+ }
11578
+
11579
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11580
+ const localVarHeaderParameter = {} as any;
11581
+ const localVarQueryParameter = {} as any;
11582
+
11583
+ // authentication BearerToken required
11584
+ // http bearer authentication required
11585
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11586
+
11587
+ // authentication DigestAuth required
11588
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11589
+
11590
+ if (limit !== undefined) {
11591
+ localVarQueryParameter['limit'] = limit;
11592
+ }
11593
+
11594
+
11595
+
11544
11596
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11545
11597
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11546
11598
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24165,7 +24217,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
24165
24217
  * @param {string} engineName name of the engine
24166
24218
  * @param {string} orgName name of the Org
24167
24219
  * @param {string} clusterName name of the Cluster
24168
- * @param {string} session session id
24220
+ * @param {string} session session id; for Redis, use the connection address in host:port form
24169
24221
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
24170
24222
  * @param {*} [options] Override http request option.
24171
24223
  * @throws {RequiredError}
@@ -24374,6 +24426,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
24374
24426
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
24375
24427
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24376
24428
  },
24429
+ /**
24430
+ *
24431
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
24432
+ * @param {string} orgName
24433
+ * @param {string} clusterName
24434
+ * @param {number} [limit] Maximum number of recent events to return
24435
+ * @param {*} [options] Override http request option.
24436
+ * @throws {RequiredError}
24437
+ */
24438
+ async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
24439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
24440
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24441
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
24442
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24443
+ },
24377
24444
  /**
24378
24445
  *
24379
24446
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -29151,6 +29218,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
29151
29218
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
29152
29219
  return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
29153
29220
  },
29221
+ /**
29222
+ *
29223
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
29224
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
29225
+ * @param {*} [options] Override http request option.
29226
+ * @throws {RequiredError}
29227
+ */
29228
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
29229
+ return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
29230
+ },
29154
29231
  /**
29155
29232
  *
29156
29233
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -32875,6 +32952,16 @@ export interface SharedApiInterface {
32875
32952
  */
32876
32953
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
32877
32954
 
32955
+ /**
32956
+ *
32957
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
32958
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
32959
+ * @param {*} [options] Override http request option.
32960
+ * @throws {RequiredError}
32961
+ * @memberof SharedApiInterface
32962
+ */
32963
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
32964
+
32878
32965
  /**
32879
32966
  *
32880
32967
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -41044,7 +41131,7 @@ export interface SharedApiKillSessionRequest {
41044
41131
  readonly clusterName: string
41045
41132
 
41046
41133
  /**
41047
- * session id
41134
+ * session id; for Redis, use the connection address in host:port form
41048
41135
  * @type {string}
41049
41136
  * @memberof SharedApiKillSession
41050
41137
  */
@@ -41520,6 +41607,34 @@ export interface SharedApiListClusterAlertRulesRequest {
41520
41607
  readonly clusterName: string
41521
41608
  }
41522
41609
 
41610
+ /**
41611
+ * Request parameters for listClusterEvents operation in SharedApi.
41612
+ * @export
41613
+ * @interface SharedApiListClusterEventsRequest
41614
+ */
41615
+ export interface SharedApiListClusterEventsRequest {
41616
+ /**
41617
+ *
41618
+ * @type {string}
41619
+ * @memberof SharedApiListClusterEvents
41620
+ */
41621
+ readonly orgName: string
41622
+
41623
+ /**
41624
+ *
41625
+ * @type {string}
41626
+ * @memberof SharedApiListClusterEvents
41627
+ */
41628
+ readonly clusterName: string
41629
+
41630
+ /**
41631
+ * Maximum number of recent events to return
41632
+ * @type {number}
41633
+ * @memberof SharedApiListClusterEvents
41634
+ */
41635
+ readonly limit?: number
41636
+ }
41637
+
41523
41638
  /**
41524
41639
  * Request parameters for listClusterJars operation in SharedApi.
41525
41640
  * @export
@@ -50049,6 +50164,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
50049
50164
  return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
50050
50165
  }
50051
50166
 
50167
+ /**
50168
+ *
50169
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
50170
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
50171
+ * @param {*} [options] Override http request option.
50172
+ * @throws {RequiredError}
50173
+ * @memberof SharedApi
50174
+ */
50175
+ public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
50176
+ return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
50177
+ }
50178
+
50052
50179
  /**
50053
50180
  *
50054
50181
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -0,0 +1,96 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
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
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
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
+
@@ -27,7 +27,7 @@ export interface DmsSession {
27
27
  */
28
28
  'id'?: number | null;
29
29
  /**
30
- * native session ID used by the terminate API
30
+ * native session ID used by the terminate API; for Redis this is the connection address in host:port form
31
31
  * @type {string}
32
32
  * @memberof DmsSession
33
33
  */
@@ -75,7 +75,7 @@ export interface DmsSession {
75
75
  */
76
76
  'state'?: string | null;
77
77
  /**
78
- * additional session information
78
+ * additional session information; for Redis this is a JSON object with the full CLIENT LIST entry
79
79
  * @type {string}
80
80
  * @memberof DmsSession
81
81
  */
@@ -178,6 +178,8 @@ export * from './cluster-backup-method';
178
178
  export * from './cluster-batch-update';
179
179
  export * from './cluster-batch-update-data';
180
180
  export * from './cluster-create';
181
+ export * from './cluster-event-item';
182
+ export * from './cluster-event-list';
181
183
  export * from './cluster-execution-log';
182
184
  export * from './cluster-execution-log-aggregate-item';
183
185
  export * from './cluster-execution-log-aggregate-response';