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
@@ -0,0 +1,433 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { APIErrorResponse } from '../models';
26
+ // @ts-ignore
27
+ import type { InternalTask } from '../models';
28
+ // @ts-ignore
29
+ import type { InternalTaskList } from '../models';
30
+ // @ts-ignore
31
+ import type { TaskRetryMode } from '../models';
32
+ /**
33
+ * TaskApi - axios parameter creator
34
+ * @export
35
+ */
36
+ export const TaskApiAxiosParamCreator = function (configuration?: Configuration) {
37
+ return {
38
+ /**
39
+ *
40
+ * @summary Get task status independently of the resource lifecycle
41
+ * @param {string} taskId
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ getInternalTask: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'taskId' is not null or undefined
47
+ assertParamExists('getInternalTask', 'taskId', taskId)
48
+ const localVarPath = `/internal/v1/tasks/{taskId}`
49
+ .replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
50
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ }
56
+
57
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58
+ const localVarHeaderParameter = {} as any;
59
+ const localVarQueryParameter = {} as any;
60
+
61
+ // authentication BasicAuth required
62
+ // http basic authentication required
63
+ setBasicAuthToObject(localVarRequestOptions, configuration)
64
+
65
+
66
+
67
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70
+
71
+ return {
72
+ url: toPathString(localVarUrlObj),
73
+ options: localVarRequestOptions,
74
+ };
75
+ },
76
+ /**
77
+ *
78
+ * @summary List tasks, newest first, optionally filtered by resource and task type
79
+ * @param {string} [resourceType]
80
+ * @param {string} [resourceId]
81
+ * @param {string} [taskType] Comma-separated task types.
82
+ * @param {number} [pageSize]
83
+ * @param {number} [pageNumber]
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ listInternalTasks: async (resourceType?: string, resourceId?: string, taskType?: string, pageSize?: number, pageNumber?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88
+ const localVarPath = `/internal/v1/tasks`;
89
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) {
93
+ baseOptions = configuration.baseOptions;
94
+ }
95
+
96
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
97
+ const localVarHeaderParameter = {} as any;
98
+ const localVarQueryParameter = {} as any;
99
+
100
+ // authentication BasicAuth required
101
+ // http basic authentication required
102
+ setBasicAuthToObject(localVarRequestOptions, configuration)
103
+
104
+ if (resourceType !== undefined) {
105
+ localVarQueryParameter['resourceType'] = resourceType;
106
+ }
107
+
108
+ if (resourceId !== undefined) {
109
+ localVarQueryParameter['resourceId'] = resourceId;
110
+ }
111
+
112
+ if (taskType !== undefined) {
113
+ localVarQueryParameter['taskType'] = taskType;
114
+ }
115
+
116
+ if (pageSize !== undefined) {
117
+ localVarQueryParameter['pageSize'] = pageSize;
118
+ }
119
+
120
+ if (pageNumber !== undefined) {
121
+ localVarQueryParameter['pageNumber'] = pageNumber;
122
+ }
123
+
124
+
125
+
126
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
129
+
130
+ return {
131
+ url: toPathString(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ };
134
+ },
135
+ /**
136
+ *
137
+ * @summary Retry a failed or stopped task using the existing task retry policy
138
+ * @param {string} taskId
139
+ * @param {TaskRetryMode} [mode]
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ retryInternalTask: async (taskId: string, mode?: TaskRetryMode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
144
+ // verify required parameter 'taskId' is not null or undefined
145
+ assertParamExists('retryInternalTask', 'taskId', taskId)
146
+ const localVarPath = `/internal/v1/tasks/{taskId}/retry`
147
+ .replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+
155
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
156
+ const localVarHeaderParameter = {} as any;
157
+ const localVarQueryParameter = {} as any;
158
+
159
+ // authentication BasicAuth required
160
+ // http basic authentication required
161
+ setBasicAuthToObject(localVarRequestOptions, configuration)
162
+
163
+ if (mode !== undefined) {
164
+ localVarQueryParameter['mode'] = mode;
165
+ }
166
+
167
+
168
+
169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
172
+
173
+ return {
174
+ url: toPathString(localVarUrlObj),
175
+ options: localVarRequestOptions,
176
+ };
177
+ },
178
+ }
179
+ };
180
+
181
+ /**
182
+ * TaskApi - functional programming interface
183
+ * @export
184
+ */
185
+ export const TaskApiFp = function(configuration?: Configuration) {
186
+ const localVarAxiosParamCreator = TaskApiAxiosParamCreator(configuration)
187
+ return {
188
+ /**
189
+ *
190
+ * @summary Get task status independently of the resource lifecycle
191
+ * @param {string} taskId
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ async getInternalTask(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InternalTask>> {
196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInternalTask(taskId, options);
197
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
198
+ const localVarOperationServerBasePath = operationServerMap['TaskApi.getInternalTask']?.[localVarOperationServerIndex]?.url;
199
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
200
+ },
201
+ /**
202
+ *
203
+ * @summary List tasks, newest first, optionally filtered by resource and task type
204
+ * @param {string} [resourceType]
205
+ * @param {string} [resourceId]
206
+ * @param {string} [taskType] Comma-separated task types.
207
+ * @param {number} [pageSize]
208
+ * @param {number} [pageNumber]
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ async listInternalTasks(resourceType?: string, resourceId?: string, taskType?: string, pageSize?: number, pageNumber?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InternalTaskList>> {
213
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInternalTasks(resourceType, resourceId, taskType, pageSize, pageNumber, options);
214
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
215
+ const localVarOperationServerBasePath = operationServerMap['TaskApi.listInternalTasks']?.[localVarOperationServerIndex]?.url;
216
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
217
+ },
218
+ /**
219
+ *
220
+ * @summary Retry a failed or stopped task using the existing task retry policy
221
+ * @param {string} taskId
222
+ * @param {TaskRetryMode} [mode]
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ async retryInternalTask(taskId: string, mode?: TaskRetryMode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InternalTask>> {
227
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryInternalTask(taskId, mode, options);
228
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
229
+ const localVarOperationServerBasePath = operationServerMap['TaskApi.retryInternalTask']?.[localVarOperationServerIndex]?.url;
230
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
231
+ },
232
+ }
233
+ };
234
+
235
+ /**
236
+ * TaskApi - factory interface
237
+ * @export
238
+ */
239
+ export const TaskApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
240
+ const localVarFp = TaskApiFp(configuration)
241
+ return {
242
+ /**
243
+ *
244
+ * @summary Get task status independently of the resource lifecycle
245
+ * @param {TaskApiGetInternalTaskRequest} requestParameters Request parameters.
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ getInternalTask(requestParameters: TaskApiGetInternalTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<InternalTask> {
250
+ return localVarFp.getInternalTask(requestParameters.taskId, options).then((request) => request(axios, basePath));
251
+ },
252
+ /**
253
+ *
254
+ * @summary List tasks, newest first, optionally filtered by resource and task type
255
+ * @param {TaskApiListInternalTasksRequest} requestParameters Request parameters.
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ listInternalTasks(requestParameters: TaskApiListInternalTasksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<InternalTaskList> {
260
+ return localVarFp.listInternalTasks(requestParameters.resourceType, requestParameters.resourceId, requestParameters.taskType, requestParameters.pageSize, requestParameters.pageNumber, options).then((request) => request(axios, basePath));
261
+ },
262
+ /**
263
+ *
264
+ * @summary Retry a failed or stopped task using the existing task retry policy
265
+ * @param {TaskApiRetryInternalTaskRequest} requestParameters Request parameters.
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ retryInternalTask(requestParameters: TaskApiRetryInternalTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<InternalTask> {
270
+ return localVarFp.retryInternalTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(axios, basePath));
271
+ },
272
+ };
273
+ };
274
+
275
+ /**
276
+ * TaskApi - interface
277
+ * @export
278
+ * @interface TaskApi
279
+ */
280
+ export interface TaskApiInterface {
281
+ /**
282
+ *
283
+ * @summary Get task status independently of the resource lifecycle
284
+ * @param {TaskApiGetInternalTaskRequest} requestParameters Request parameters.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ * @memberof TaskApiInterface
288
+ */
289
+ getInternalTask(requestParameters: TaskApiGetInternalTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<InternalTask>;
290
+
291
+ /**
292
+ *
293
+ * @summary List tasks, newest first, optionally filtered by resource and task type
294
+ * @param {TaskApiListInternalTasksRequest} requestParameters Request parameters.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof TaskApiInterface
298
+ */
299
+ listInternalTasks(requestParameters?: TaskApiListInternalTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<InternalTaskList>;
300
+
301
+ /**
302
+ *
303
+ * @summary Retry a failed or stopped task using the existing task retry policy
304
+ * @param {TaskApiRetryInternalTaskRequest} requestParameters Request parameters.
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ * @memberof TaskApiInterface
308
+ */
309
+ retryInternalTask(requestParameters: TaskApiRetryInternalTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<InternalTask>;
310
+
311
+ }
312
+
313
+ /**
314
+ * Request parameters for getInternalTask operation in TaskApi.
315
+ * @export
316
+ * @interface TaskApiGetInternalTaskRequest
317
+ */
318
+ export interface TaskApiGetInternalTaskRequest {
319
+ /**
320
+ *
321
+ * @type {string}
322
+ * @memberof TaskApiGetInternalTask
323
+ */
324
+ readonly taskId: string
325
+ }
326
+
327
+ /**
328
+ * Request parameters for listInternalTasks operation in TaskApi.
329
+ * @export
330
+ * @interface TaskApiListInternalTasksRequest
331
+ */
332
+ export interface TaskApiListInternalTasksRequest {
333
+ /**
334
+ *
335
+ * @type {string}
336
+ * @memberof TaskApiListInternalTasks
337
+ */
338
+ readonly resourceType?: string
339
+
340
+ /**
341
+ *
342
+ * @type {string}
343
+ * @memberof TaskApiListInternalTasks
344
+ */
345
+ readonly resourceId?: string
346
+
347
+ /**
348
+ * Comma-separated task types.
349
+ * @type {string}
350
+ * @memberof TaskApiListInternalTasks
351
+ */
352
+ readonly taskType?: string
353
+
354
+ /**
355
+ *
356
+ * @type {number}
357
+ * @memberof TaskApiListInternalTasks
358
+ */
359
+ readonly pageSize?: number
360
+
361
+ /**
362
+ *
363
+ * @type {number}
364
+ * @memberof TaskApiListInternalTasks
365
+ */
366
+ readonly pageNumber?: number
367
+ }
368
+
369
+ /**
370
+ * Request parameters for retryInternalTask operation in TaskApi.
371
+ * @export
372
+ * @interface TaskApiRetryInternalTaskRequest
373
+ */
374
+ export interface TaskApiRetryInternalTaskRequest {
375
+ /**
376
+ *
377
+ * @type {string}
378
+ * @memberof TaskApiRetryInternalTask
379
+ */
380
+ readonly taskId: string
381
+
382
+ /**
383
+ *
384
+ * @type {TaskRetryMode}
385
+ * @memberof TaskApiRetryInternalTask
386
+ */
387
+ readonly mode?: TaskRetryMode
388
+ }
389
+
390
+ /**
391
+ * TaskApi - object-oriented interface
392
+ * @export
393
+ * @class TaskApi
394
+ * @extends {BaseAPI}
395
+ */
396
+ export class TaskApi extends BaseAPI implements TaskApiInterface {
397
+ /**
398
+ *
399
+ * @summary Get task status independently of the resource lifecycle
400
+ * @param {TaskApiGetInternalTaskRequest} requestParameters Request parameters.
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ * @memberof TaskApi
404
+ */
405
+ public getInternalTask(requestParameters: TaskApiGetInternalTaskRequest, options?: RawAxiosRequestConfig) {
406
+ return TaskApiFp(this.configuration).getInternalTask(requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
407
+ }
408
+
409
+ /**
410
+ *
411
+ * @summary List tasks, newest first, optionally filtered by resource and task type
412
+ * @param {TaskApiListInternalTasksRequest} requestParameters Request parameters.
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ * @memberof TaskApi
416
+ */
417
+ public listInternalTasks(requestParameters: TaskApiListInternalTasksRequest = {}, options?: RawAxiosRequestConfig) {
418
+ return TaskApiFp(this.configuration).listInternalTasks(requestParameters.resourceType, requestParameters.resourceId, requestParameters.taskType, requestParameters.pageSize, requestParameters.pageNumber, options).then((request) => request(this.axios, this.basePath));
419
+ }
420
+
421
+ /**
422
+ *
423
+ * @summary Retry a failed or stopped task using the existing task retry policy
424
+ * @param {TaskApiRetryInternalTaskRequest} requestParameters Request parameters.
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ * @memberof TaskApi
428
+ */
429
+ public retryInternalTask(requestParameters: TaskApiRetryInternalTaskRequest, options?: RawAxiosRequestConfig) {
430
+ return TaskApiFp(this.configuration).retryInternalTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
431
+ }
432
+ }
433
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ * cluster instance autohealing process config
19
+ * @export
20
+ * @interface AutohealingConfig
21
+ */
22
+ export interface AutohealingConfig {
23
+ /**
24
+ * Set to true to enable the auto-healing process, which automatically rebuilds instances when a node fails or is in maintenance mode.
25
+ * @type {boolean}
26
+ * @memberof AutohealingConfig
27
+ */
28
+ 'enableAutoHealing': boolean;
29
+ /**
30
+ * The number of seconds to wait before starting a rebuild when a node fails.
31
+ * @type {number}
32
+ * @memberof AutohealingConfig
33
+ */
34
+ 'rebuildStartDelaySecondsWhenNodeFail': number;
35
+ /**
36
+ * The number of seconds to wait before starting a rebuild when a node is in maintenance mode.
37
+ * @type {number}
38
+ * @memberof AutohealingConfig
39
+ */
40
+ 'rebuildStartDelaySecondsWhenInMaintenance': number;
41
+ /**
42
+ * The minimum time in seconds between consecutive rebuild jobs for one cluster.
43
+ * @type {number}
44
+ * @memberof AutohealingConfig
45
+ */
46
+ 'minClusterRebuildIntervalSeconds': number;
47
+ /**
48
+ * The maximum number of rebuild jobs that can run simultaneously for a single node.
49
+ * @type {number}
50
+ * @memberof AutohealingConfig
51
+ */
52
+ 'rebuildConcurrencyPerNode': number;
53
+ /**
54
+ * The maximum number of rebuild jobs that can run simultaneously for the whole k8s cluster.
55
+ * @type {number}
56
+ * @memberof AutohealingConfig
57
+ */
58
+ 'rebuildConcurrencyGlobally': number;
59
+ }
60
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ * Cluster information
19
+ * @export
20
+ * @interface ClusterInfo
21
+ */
22
+ export interface ClusterInfo {
23
+ /**
24
+ * The name of the cluster
25
+ * @type {string}
26
+ * @memberof ClusterInfo
27
+ */
28
+ 'clusterName'?: string;
29
+ /**
30
+ * The definition of the cluster
31
+ * @type {string}
32
+ * @memberof ClusterInfo
33
+ */
34
+ 'clusterDefinition'?: string;
35
+ /**
36
+ * The organization name
37
+ * @type {string}
38
+ * @memberof ClusterInfo
39
+ */
40
+ 'orgName'?: string;
41
+ }
42
+
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ * * `HardAntiAffinity` - Strictly enforce pod anti-affinity across nodes. Pods will not be scheduled when the anti-affinity constraints cannot be satisfied. * `SoftAntiAffinity` - Prefer to spread pods across nodes using anti-affinity, but allow scheduling on the same node when constraints cannot be fully satisfied. * `Disabled` - Do not apply pod anti-affinity constraints on nodes. * `None` - Inherit the engine-level default scheduling policy.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const ClusterSchedulingPolicy = {
24
+ HardAntiAffinity: 'HardAntiAffinity',
25
+ SoftAntiAffinity: 'SoftAntiAffinity',
26
+ Disabled: 'Disabled',
27
+ None: 'None'
28
+ } as const;
29
+
30
+ export type ClusterSchedulingPolicy = typeof ClusterSchedulingPolicy[keyof typeof ClusterSchedulingPolicy];
31
+
32
+
33
+
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ * Cluster operation validation policy, such as create, hscale, vscale, etc.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const ClusterValidationPolicy = {
24
+ Disabled: 'Disabled',
25
+ ValidateOnly: 'ValidateOnly',
26
+ ForbiddenExecute: 'ForbiddenExecute'
27
+ } as const;
28
+
29
+ export type ClusterValidationPolicy = typeof ClusterValidationPolicy[keyof typeof ClusterValidationPolicy];
30
+
31
+
32
+
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud Internal API
5
+ * The Internal API is using for interaction of ApeCloud platform microservices.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
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
+ * Component info in environment
19
+ * @export
20
+ * @interface Component
21
+ */
22
+ export interface Component {
23
+ /**
24
+ * Kubernetes version of the environment
25
+ * @type {string}
26
+ * @memberof Component
27
+ */
28
+ 'kubernetesVersion'?: string;
29
+ /**
30
+ * KubeBlocks version of the environment
31
+ * @type {string}
32
+ * @memberof Component
33
+ */
34
+ 'kbVersion'?: string;
35
+ /**
36
+ * Gemini version of the environment
37
+ * @type {string}
38
+ * @memberof Component
39
+ */
40
+ 'geminiVersion'?: string;
41
+ /**
42
+ * Oteld version of the environment
43
+ * @type {string}
44
+ * @memberof Component
45
+ */
46
+ 'oteldVersion'?: string;
47
+ /**
48
+ * Image registry URL used by the environment. Must match image_registries.url, not image_registries.name.
49
+ * @type {string}
50
+ * @memberof Component
51
+ */
52
+ 'imageRegistry'?: string;
53
+ /**
54
+ * Default storage class that used by KubeBlocks to create cluster
55
+ * @type {string}
56
+ * @memberof Component
57
+ */
58
+ 'defaultStorageClass': string;
59
+ /**
60
+ * CPU overcommit ratio of this environment
61
+ * @type {number}
62
+ * @memberof Component
63
+ */
64
+ 'cpuOvercommitRatio'?: number;
65
+ /**
66
+ * Memory overcommit ratio of this environment
67
+ * @type {number}
68
+ * @memberof Component
69
+ */
70
+ 'memoryOvercommitRatio'?: number;
71
+ /**
72
+ * the replicas of core component, such as kubeblocks and gemini
73
+ * @type {number}
74
+ * @memberof Component
75
+ */
76
+ 'replicas'?: number;
77
+ /**
78
+ * Namespace info for environment
79
+ * @type {Array<string>}
80
+ * @memberof Component
81
+ */
82
+ 'namespaces'?: Array<string>;
83
+ }
84
+