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
@@ -27,6 +27,8 @@ import type { APIErrorResponse } from '../models';
27
27
  import type { PlatformComponent } from '../models';
28
28
  // @ts-ignore
29
29
  import type { PlatformComponentDetails } from '../models';
30
+ // @ts-ignore
31
+ import type { PlatformComponentOverview } from '../models';
30
32
  /**
31
33
  * PlatformComponentApi - axios parameter creator
32
34
  * @export
@@ -65,6 +67,43 @@ export const PlatformComponentApiAxiosParamCreator = function (configuration?: C
65
67
 
66
68
 
67
69
 
70
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
71
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73
+
74
+ return {
75
+ url: toPathString(localVarUrlObj),
76
+ options: localVarRequestOptions,
77
+ };
78
+ },
79
+ /**
80
+ * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
81
+ * @summary Get platform component nodes and resource statistics
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ getPlatformComponentOverview: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
86
+ const localVarPath = `/admin/v1/platformComponents/overview`;
87
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
88
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
89
+ let baseOptions;
90
+ if (configuration) {
91
+ baseOptions = configuration.baseOptions;
92
+ }
93
+
94
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
95
+ const localVarHeaderParameter = {} as any;
96
+ const localVarQueryParameter = {} as any;
97
+
98
+ // authentication BearerToken required
99
+ // http bearer authentication required
100
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
101
+
102
+ // authentication DigestAuth required
103
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
104
+
105
+
106
+
68
107
  setSearchParams(localVarUrlObj, localVarQueryParameter);
69
108
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
109
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -134,6 +173,18 @@ export const PlatformComponentApiFp = function(configuration?: Configuration) {
134
173
  const localVarOperationServerBasePath = operationServerMap['PlatformComponentApi.getPlatformComponent']?.[localVarOperationServerIndex]?.url;
135
174
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
136
175
  },
176
+ /**
177
+ * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
178
+ * @summary Get platform component nodes and resource statistics
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ async getPlatformComponentOverview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentOverview>> {
183
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPlatformComponentOverview(options);
184
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
185
+ const localVarOperationServerBasePath = operationServerMap['PlatformComponentApi.getPlatformComponentOverview']?.[localVarOperationServerIndex]?.url;
186
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
187
+ },
137
188
  /**
138
189
  * List platform components with monitoring and log query metadata
139
190
  * @summary List platform components
@@ -166,6 +217,15 @@ export const PlatformComponentApiFactory = function (configuration?: Configurati
166
217
  getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentDetails> {
167
218
  return localVarFp.getPlatformComponent(requestParameters.componentName, options).then((request) => request(axios, basePath));
168
219
  },
220
+ /**
221
+ * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
222
+ * @summary Get platform component nodes and resource statistics
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentOverview> {
227
+ return localVarFp.getPlatformComponentOverview(options).then((request) => request(axios, basePath));
228
+ },
169
229
  /**
170
230
  * List platform components with monitoring and log query metadata
171
231
  * @summary List platform components
@@ -194,6 +254,15 @@ export interface PlatformComponentApiInterface {
194
254
  */
195
255
  getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentDetails>;
196
256
 
257
+ /**
258
+ * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
259
+ * @summary Get platform component nodes and resource statistics
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ * @memberof PlatformComponentApiInterface
263
+ */
264
+ getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentOverview>;
265
+
197
266
  /**
198
267
  * List platform components with monitoring and log query metadata
199
268
  * @summary List platform components
@@ -238,6 +307,17 @@ export class PlatformComponentApi extends BaseAPI implements PlatformComponentAp
238
307
  return PlatformComponentApiFp(this.configuration).getPlatformComponent(requestParameters.componentName, options).then((request) => request(this.axios, this.basePath));
239
308
  }
240
309
 
310
+ /**
311
+ * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
312
+ * @summary Get platform component nodes and resource statistics
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof PlatformComponentApi
316
+ */
317
+ public getPlatformComponentOverview(options?: RawAxiosRequestConfig) {
318
+ return PlatformComponentApiFp(this.configuration).getPlatformComponentOverview(options).then((request) => request(this.axios, this.basePath));
319
+ }
320
+
241
321
  /**
242
322
  * List platform components with monitoring and log query metadata
243
323
  * @summary List platform components
@@ -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';
@@ -10565,7 +10567,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10565
10567
  * @param {string} engineName name of the engine
10566
10568
  * @param {string} orgName name of the Org
10567
10569
  * @param {string} clusterName name of the Cluster
10568
- * @param {string} session session id
10570
+ * @param {string} session session id; for Redis, use the connection address in host:port form
10569
10571
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
10570
10572
  * @param {*} [options] Override http request option.
10571
10573
  * @throws {RequiredError}
@@ -11384,6 +11386,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11384
11386
 
11385
11387
 
11386
11388
 
11389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11391
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11392
+
11393
+ return {
11394
+ url: toPathString(localVarUrlObj),
11395
+ options: localVarRequestOptions,
11396
+ };
11397
+ },
11398
+ /**
11399
+ *
11400
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
11401
+ * @param {string} orgName
11402
+ * @param {string} clusterName
11403
+ * @param {number} [limit] Maximum number of recent events to return
11404
+ * @param {*} [options] Override http request option.
11405
+ * @throws {RequiredError}
11406
+ */
11407
+ listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11408
+ // verify required parameter 'orgName' is not null or undefined
11409
+ assertParamExists('listClusterEvents', 'orgName', orgName)
11410
+ // verify required parameter 'clusterName' is not null or undefined
11411
+ assertParamExists('listClusterEvents', 'clusterName', clusterName)
11412
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
11413
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11414
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11416
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11417
+ let baseOptions;
11418
+ if (configuration) {
11419
+ baseOptions = configuration.baseOptions;
11420
+ }
11421
+
11422
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11423
+ const localVarHeaderParameter = {} as any;
11424
+ const localVarQueryParameter = {} as any;
11425
+
11426
+ // authentication BearerToken required
11427
+ // http bearer authentication required
11428
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11429
+
11430
+ // authentication DigestAuth required
11431
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11432
+
11433
+ if (limit !== undefined) {
11434
+ localVarQueryParameter['limit'] = limit;
11435
+ }
11436
+
11437
+
11438
+
11387
11439
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11388
11440
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11389
11441
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24040,7 +24092,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
24040
24092
  * @param {string} engineName name of the engine
24041
24093
  * @param {string} orgName name of the Org
24042
24094
  * @param {string} clusterName name of the Cluster
24043
- * @param {string} session session id
24095
+ * @param {string} session session id; for Redis, use the connection address in host:port form
24044
24096
  * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
24045
24097
  * @param {*} [options] Override http request option.
24046
24098
  * @throws {RequiredError}
@@ -24274,6 +24326,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
24274
24326
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
24275
24327
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24276
24328
  },
24329
+ /**
24330
+ *
24331
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
24332
+ * @param {string} orgName
24333
+ * @param {string} clusterName
24334
+ * @param {number} [limit] Maximum number of recent events to return
24335
+ * @param {*} [options] Override http request option.
24336
+ * @throws {RequiredError}
24337
+ */
24338
+ async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
24339
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
24340
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24341
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
24342
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24343
+ },
24277
24344
  /**
24278
24345
  *
24279
24346
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -29077,6 +29144,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
29077
29144
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
29078
29145
  return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
29079
29146
  },
29147
+ /**
29148
+ *
29149
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
29150
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
29151
+ * @param {*} [options] Override http request option.
29152
+ * @throws {RequiredError}
29153
+ */
29154
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
29155
+ return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
29156
+ },
29080
29157
  /**
29081
29158
  *
29082
29159
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -32819,6 +32896,16 @@ export interface SharedApiInterface {
32819
32896
  */
32820
32897
  listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
32821
32898
 
32899
+ /**
32900
+ *
32901
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
32902
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
32903
+ * @param {*} [options] Override http request option.
32904
+ * @throws {RequiredError}
32905
+ * @memberof SharedApiInterface
32906
+ */
32907
+ listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
32908
+
32822
32909
  /**
32823
32910
  *
32824
32911
  * @summary List external JAR versions with metadata and per-instance synchronization state
@@ -40727,7 +40814,7 @@ export interface SharedApiKillSessionRequest {
40727
40814
  readonly clusterName: string
40728
40815
 
40729
40816
  /**
40730
- * session id
40817
+ * session id; for Redis, use the connection address in host:port form
40731
40818
  * @type {string}
40732
40819
  * @memberof SharedApiKillSession
40733
40820
  */
@@ -41217,6 +41304,34 @@ export interface SharedApiListClusterAlertRulesRequest {
41217
41304
  readonly clusterName: string
41218
41305
  }
41219
41306
 
41307
+ /**
41308
+ * Request parameters for listClusterEvents operation in SharedApi.
41309
+ * @export
41310
+ * @interface SharedApiListClusterEventsRequest
41311
+ */
41312
+ export interface SharedApiListClusterEventsRequest {
41313
+ /**
41314
+ *
41315
+ * @type {string}
41316
+ * @memberof SharedApiListClusterEvents
41317
+ */
41318
+ readonly orgName: string
41319
+
41320
+ /**
41321
+ *
41322
+ * @type {string}
41323
+ * @memberof SharedApiListClusterEvents
41324
+ */
41325
+ readonly clusterName: string
41326
+
41327
+ /**
41328
+ * Maximum number of recent events to return
41329
+ * @type {number}
41330
+ * @memberof SharedApiListClusterEvents
41331
+ */
41332
+ readonly limit?: number
41333
+ }
41334
+
41220
41335
  /**
41221
41336
  * Request parameters for listClusterJars operation in SharedApi.
41222
41337
  * @export
@@ -49773,6 +49888,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
49773
49888
  return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
49774
49889
  }
49775
49890
 
49891
+ /**
49892
+ *
49893
+ * @summary List Kubernetes events for the cluster, its components and InstanceSets
49894
+ * @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
49895
+ * @param {*} [options] Override http request option.
49896
+ * @throws {RequiredError}
49897
+ * @memberof SharedApi
49898
+ */
49899
+ public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
49900
+ return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
49901
+ }
49902
+
49776
49903
  /**
49777
49904
  *
49778
49905
  * @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
+
@@ -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
  */
@@ -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}
@@ -199,6 +199,8 @@ export * from './cluster-backup-method';
199
199
  export * from './cluster-batch-update';
200
200
  export * from './cluster-batch-update-data';
201
201
  export * from './cluster-create';
202
+ export * from './cluster-event-item';
203
+ export * from './cluster-event-list';
202
204
  export * from './cluster-execution-log';
203
205
  export * from './cluster-execution-log-aggregate-item';
204
206
  export * from './cluster-execution-log-aggregate-response';
@@ -969,7 +971,10 @@ export * from './pg-extension-available-database-schema';
969
971
  export * from './placement-scope';
970
972
  export * from './platform-component';
971
973
  export * from './platform-component-details';
974
+ export * from './platform-component-node';
975
+ export * from './platform-component-overview';
972
976
  export * from './platform-component-pod';
977
+ export * from './platform-component-pod-stats';
973
978
  export * from './platform-component-status';
974
979
  export * from './platform-parameter';
975
980
  export * from './platform-parameter-constraints';
@@ -0,0 +1,75 @@
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 { ResourceStats } from './resource-stats';
19
+
20
+ /**
21
+ * A node hosting platform components. CPU and memory report capacity, allocatable capacity and actual usage in cores and GiB respectively. Filesystem statistics report root filesystem capacity and usage in GiB. Unavailable samples are -1.
22
+ * @export
23
+ * @interface PlatformComponentNode
24
+ */
25
+ export interface PlatformComponentNode {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof PlatformComponentNode
30
+ */
31
+ 'name'?: string;
32
+ /**
33
+ * Internal node IP, falling back to external IP
34
+ * @type {string}
35
+ * @memberof PlatformComponentNode
36
+ */
37
+ 'ip'?: string;
38
+ /**
39
+ * Kubernetes node role, control-plane or worker
40
+ * @type {string}
41
+ * @memberof PlatformComponentNode
42
+ */
43
+ 'role'?: string;
44
+ /**
45
+ * Ready when the NodeReady condition is True, otherwise NotReady
46
+ * @type {string}
47
+ * @memberof PlatformComponentNode
48
+ */
49
+ 'status'?: string;
50
+ /**
51
+ * Names of platform components with Pods assigned to this node
52
+ * @type {Array<string>}
53
+ * @memberof PlatformComponentNode
54
+ */
55
+ 'components'?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {ResourceStats}
59
+ * @memberof PlatformComponentNode
60
+ */
61
+ 'cpuStats'?: ResourceStats;
62
+ /**
63
+ *
64
+ * @type {ResourceStats}
65
+ * @memberof PlatformComponentNode
66
+ */
67
+ 'memoryStats'?: ResourceStats;
68
+ /**
69
+ *
70
+ * @type {ResourceStats}
71
+ * @memberof PlatformComponentNode
72
+ */
73
+ 'filesystemStats'?: ResourceStats;
74
+ }
75
+