kb-cloud-client-typescript 2.3.31 → 2.3.33

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 (227) hide show
  1. package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
  2. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-jar-api.js +0 -84
  4. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -79
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -84
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/apis/task-api.d.ts +16 -7
  10. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/task-api.js +14 -9
  12. package/dist/adminapi/apis/task-api.js.map +1 -1
  13. package/dist/adminapi/apis/vip-pool-api.d.ts +72 -0
  14. package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/vip-pool-api.js +80 -0
  16. package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
  17. package/dist/adminapi/models/backup-option.d.ts +6 -0
  18. package/dist/adminapi/models/backup-option.d.ts.map +1 -1
  19. package/dist/adminapi/models/cluster-create.d.ts +6 -0
  20. package/dist/adminapi/models/cluster-create.d.ts.map +1 -1
  21. package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
  22. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
  23. package/dist/adminapi/models/component-item-create.d.ts +8 -1
  24. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  25. package/dist/adminapi/models/dms-pagination.d.ts +36 -0
  26. package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
  27. package/dist/adminapi/models/index.d.ts +11 -1
  28. package/dist/adminapi/models/index.d.ts.map +1 -1
  29. package/dist/adminapi/models/index.js +11 -1
  30. package/dist/adminapi/models/index.js.map +1 -1
  31. package/dist/adminapi/models/instance-template-attribute.d.ts +25 -0
  32. package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -0
  33. package/dist/adminapi/models/instance-template-attribute.js +29 -0
  34. package/dist/adminapi/models/instance-template-attribute.js.map +1 -0
  35. package/dist/adminapi/models/instance-template-create-env-inner.d.ts +31 -0
  36. package/dist/adminapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  37. package/dist/adminapi/models/instance-template-create-env-inner.js +16 -0
  38. package/dist/adminapi/models/instance-template-create-env-inner.js.map +1 -0
  39. package/dist/adminapi/models/instance-template-create.d.ts +66 -0
  40. package/dist/adminapi/models/instance-template-create.d.ts.map +1 -0
  41. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.js → instance-template-create.js} +1 -1
  42. package/dist/adminapi/models/instance-template-create.js.map +1 -0
  43. package/dist/adminapi/models/instance-template-env.d.ts +50 -0
  44. package/dist/adminapi/models/instance-template-env.d.ts.map +1 -0
  45. package/dist/adminapi/models/instance-template-env.js +16 -0
  46. package/dist/adminapi/models/instance-template-env.js.map +1 -0
  47. package/dist/adminapi/models/instance-template-op.d.ts +23 -0
  48. package/dist/adminapi/models/instance-template-op.d.ts.map +1 -0
  49. package/dist/adminapi/models/instance-template-op.js +27 -0
  50. package/dist/adminapi/models/instance-template-op.js.map +1 -0
  51. package/dist/adminapi/models/instance-template-replicas.d.ts +31 -0
  52. package/dist/adminapi/models/instance-template-replicas.d.ts.map +1 -0
  53. package/dist/adminapi/models/instance-template-replicas.js +16 -0
  54. package/dist/adminapi/models/instance-template-replicas.js.map +1 -0
  55. package/dist/adminapi/models/instance-template-volume-expand.d.ts +32 -0
  56. package/dist/adminapi/models/instance-template-volume-expand.d.ts.map +1 -0
  57. package/dist/adminapi/models/instance-template-volume-expand.js +16 -0
  58. package/dist/adminapi/models/instance-template-volume-expand.js.map +1 -0
  59. package/dist/adminapi/models/mode-component-instance-template.d.ts +46 -0
  60. package/dist/adminapi/models/mode-component-instance-template.d.ts.map +1 -0
  61. package/dist/adminapi/models/mode-component-instance-template.js +16 -0
  62. package/dist/adminapi/models/mode-component-instance-template.js.map +1 -0
  63. package/dist/adminapi/models/mode-component.d.ts +7 -0
  64. package/dist/adminapi/models/mode-component.d.ts.map +1 -1
  65. package/dist/adminapi/models/ops-hscale.d.ts +8 -1
  66. package/dist/adminapi/models/ops-hscale.d.ts.map +1 -1
  67. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  68. package/dist/adminapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  69. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js +16 -0
  70. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  71. package/dist/adminapi/models/ops-volume-expand.d.ts +11 -4
  72. package/dist/adminapi/models/ops-volume-expand.d.ts.map +1 -1
  73. package/dist/adminapi/models/ops-vscale.d.ts +1 -1
  74. package/dist/adminapi/models/show-data-request.d.ts +13 -1
  75. package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
  76. package/dist/adminapi/models/task-retry-mode.d.ts +22 -0
  77. package/dist/adminapi/models/task-retry-mode.d.ts.map +1 -0
  78. package/dist/adminapi/models/task-retry-mode.js +26 -0
  79. package/dist/adminapi/models/task-retry-mode.js.map +1 -0
  80. package/dist/adminapi/models/task.d.ts +7 -0
  81. package/dist/adminapi/models/task.d.ts.map +1 -1
  82. package/dist/adminapi/models/vip-pool-create.d.ts +6 -0
  83. package/dist/adminapi/models/vip-pool-create.d.ts.map +1 -1
  84. package/dist/adminapi/models/vip-pool-update.d.ts +25 -0
  85. package/dist/adminapi/models/vip-pool-update.d.ts.map +1 -0
  86. package/dist/adminapi/models/vip-pool-update.js +16 -0
  87. package/dist/adminapi/models/vip-pool-update.js.map +1 -0
  88. package/dist/adminapi/models/vip-pool.d.ts +12 -0
  89. package/dist/adminapi/models/vip-pool.d.ts.map +1 -1
  90. package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
  91. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
  92. package/dist/openapi/apis/cluster-jar-api.js +0 -84
  93. package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
  94. package/dist/openapi/apis/shared-api.d.ts +0 -79
  95. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  96. package/dist/openapi/apis/shared-api.js +0 -84
  97. package/dist/openapi/apis/shared-api.js.map +1 -1
  98. package/dist/openapi/models/backup-option.d.ts +6 -0
  99. package/dist/openapi/models/backup-option.d.ts.map +1 -1
  100. package/dist/openapi/models/cluster-create.d.ts +6 -0
  101. package/dist/openapi/models/cluster-create.d.ts.map +1 -1
  102. package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
  103. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
  104. package/dist/openapi/models/component-item-create.d.ts +8 -1
  105. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  106. package/dist/openapi/models/dms-pagination.d.ts +36 -0
  107. package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
  108. package/dist/openapi/models/index.d.ts +10 -1
  109. package/dist/openapi/models/index.d.ts.map +1 -1
  110. package/dist/openapi/models/index.js +10 -1
  111. package/dist/openapi/models/index.js.map +1 -1
  112. package/dist/openapi/models/instance-template-attribute.d.ts +25 -0
  113. package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -0
  114. package/dist/openapi/models/instance-template-attribute.js +29 -0
  115. package/dist/openapi/models/instance-template-attribute.js.map +1 -0
  116. package/dist/openapi/models/instance-template-create-env-inner.d.ts +31 -0
  117. package/dist/openapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  118. package/dist/openapi/models/instance-template-create-env-inner.js +16 -0
  119. package/dist/openapi/models/instance-template-create-env-inner.js.map +1 -0
  120. package/dist/openapi/models/instance-template-create.d.ts +66 -0
  121. package/dist/openapi/models/instance-template-create.d.ts.map +1 -0
  122. package/dist/openapi/models/{ops-volume-expand-volumes-inner.js → instance-template-create.js} +1 -1
  123. package/dist/openapi/models/instance-template-create.js.map +1 -0
  124. package/dist/openapi/models/instance-template-env.d.ts +50 -0
  125. package/dist/openapi/models/instance-template-env.d.ts.map +1 -0
  126. package/dist/openapi/models/instance-template-env.js +16 -0
  127. package/dist/openapi/models/instance-template-env.js.map +1 -0
  128. package/dist/openapi/models/instance-template-op.d.ts +23 -0
  129. package/dist/openapi/models/instance-template-op.d.ts.map +1 -0
  130. package/dist/openapi/models/instance-template-op.js +27 -0
  131. package/dist/openapi/models/instance-template-op.js.map +1 -0
  132. package/dist/openapi/models/instance-template-replicas.d.ts +31 -0
  133. package/dist/openapi/models/instance-template-replicas.d.ts.map +1 -0
  134. package/dist/openapi/models/instance-template-replicas.js +16 -0
  135. package/dist/openapi/models/instance-template-replicas.js.map +1 -0
  136. package/dist/openapi/models/instance-template-volume-expand.d.ts +32 -0
  137. package/dist/openapi/models/instance-template-volume-expand.d.ts.map +1 -0
  138. package/dist/openapi/models/instance-template-volume-expand.js +16 -0
  139. package/dist/openapi/models/instance-template-volume-expand.js.map +1 -0
  140. package/dist/openapi/models/mode-component-instance-template.d.ts +46 -0
  141. package/dist/openapi/models/mode-component-instance-template.d.ts.map +1 -0
  142. package/dist/openapi/models/mode-component-instance-template.js +16 -0
  143. package/dist/openapi/models/mode-component-instance-template.js.map +1 -0
  144. package/dist/openapi/models/mode-component.d.ts +7 -0
  145. package/dist/openapi/models/mode-component.d.ts.map +1 -1
  146. package/dist/openapi/models/ops-hscale.d.ts +8 -1
  147. package/dist/openapi/models/ops-hscale.d.ts.map +1 -1
  148. package/dist/openapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  149. package/dist/openapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  150. package/dist/openapi/models/ops-volume-expand-volumes-items0.js +16 -0
  151. package/dist/openapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  152. package/dist/openapi/models/ops-volume-expand.d.ts +11 -4
  153. package/dist/openapi/models/ops-volume-expand.d.ts.map +1 -1
  154. package/dist/openapi/models/ops-vscale.d.ts +1 -1
  155. package/dist/openapi/models/show-data-request.d.ts +13 -1
  156. package/dist/openapi/models/show-data-request.d.ts.map +1 -1
  157. package/dist/openapi/models/task-retry-mode.d.ts +22 -0
  158. package/dist/openapi/models/task-retry-mode.d.ts.map +1 -0
  159. package/dist/openapi/models/task-retry-mode.js +26 -0
  160. package/dist/openapi/models/task-retry-mode.js.map +1 -0
  161. package/dist/openapi/models/task.d.ts +7 -0
  162. package/dist/openapi/models/task.d.ts.map +1 -1
  163. package/dist/openapi/models/vip-pool.d.ts +12 -0
  164. package/dist/openapi/models/vip-pool.d.ts.map +1 -1
  165. package/package.json +1 -1
  166. package/src/adminapi/.openapi-generator/FILES +11 -1
  167. package/src/adminapi/apis/cluster-jar-api.ts +0 -136
  168. package/src/adminapi/apis/shared-api.ts +0 -136
  169. package/src/adminapi/apis/task-api.ts +25 -10
  170. package/src/adminapi/apis/vip-pool-api.ts +128 -0
  171. package/src/adminapi/models/backup-option.ts +6 -0
  172. package/src/adminapi/models/cluster-create.ts +6 -0
  173. package/src/adminapi/models/cluster-jar-package.ts +0 -6
  174. package/src/adminapi/models/component-item-create.ts +10 -1
  175. package/src/adminapi/models/dms-pagination.ts +36 -0
  176. package/src/adminapi/models/index.ts +11 -1
  177. package/src/adminapi/models/instance-template-attribute.ts +34 -0
  178. package/src/adminapi/models/instance-template-create-env-inner.ts +36 -0
  179. package/src/adminapi/models/instance-template-create.ts +69 -0
  180. package/src/adminapi/models/instance-template-env.ts +57 -0
  181. package/src/adminapi/models/instance-template-op.ts +32 -0
  182. package/src/adminapi/models/instance-template-replicas.ts +36 -0
  183. package/src/adminapi/models/instance-template-volume-expand.ts +39 -0
  184. package/src/adminapi/models/mode-component-instance-template.ts +57 -0
  185. package/src/adminapi/models/mode-component.ts +9 -0
  186. package/src/adminapi/models/ops-hscale.ts +10 -1
  187. package/src/adminapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  188. package/src/adminapi/models/ops-volume-expand.ts +13 -4
  189. package/src/adminapi/models/ops-vscale.ts +1 -1
  190. package/src/adminapi/models/show-data-request.ts +13 -1
  191. package/src/adminapi/models/task-retry-mode.ts +31 -0
  192. package/src/adminapi/models/task.ts +9 -0
  193. package/src/adminapi/models/vip-pool-create.ts +6 -0
  194. package/src/adminapi/models/vip-pool-update.ts +30 -0
  195. package/src/adminapi/models/vip-pool.ts +12 -0
  196. package/src/adminapi.yaml +334 -64
  197. package/src/openapi/.openapi-generator/FILES +10 -1
  198. package/src/openapi/apis/cluster-jar-api.ts +0 -136
  199. package/src/openapi/apis/shared-api.ts +0 -136
  200. package/src/openapi/models/backup-option.ts +6 -0
  201. package/src/openapi/models/cluster-create.ts +6 -0
  202. package/src/openapi/models/cluster-jar-package.ts +0 -6
  203. package/src/openapi/models/component-item-create.ts +10 -1
  204. package/src/openapi/models/dms-pagination.ts +36 -0
  205. package/src/openapi/models/index.ts +10 -1
  206. package/src/openapi/models/instance-template-attribute.ts +34 -0
  207. package/src/openapi/models/instance-template-create-env-inner.ts +36 -0
  208. package/src/openapi/models/instance-template-create.ts +69 -0
  209. package/src/openapi/models/instance-template-env.ts +57 -0
  210. package/src/openapi/models/instance-template-op.ts +32 -0
  211. package/src/openapi/models/instance-template-replicas.ts +36 -0
  212. package/src/openapi/models/instance-template-volume-expand.ts +39 -0
  213. package/src/openapi/models/mode-component-instance-template.ts +57 -0
  214. package/src/openapi/models/mode-component.ts +9 -0
  215. package/src/openapi/models/ops-hscale.ts +10 -1
  216. package/src/openapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  217. package/src/openapi/models/ops-volume-expand.ts +13 -4
  218. package/src/openapi/models/ops-vscale.ts +1 -1
  219. package/src/openapi/models/show-data-request.ts +13 -1
  220. package/src/openapi/models/task-retry-mode.ts +31 -0
  221. package/src/openapi/models/task.ts +9 -0
  222. package/src/openapi/models/vip-pool.ts +12 -0
  223. package/src/openapi.yaml +268 -63
  224. package/dist/adminapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  225. package/dist/adminapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
  226. package/dist/openapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  227. package/dist/openapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
@@ -29,6 +29,8 @@ import type { VipPool } from '../models';
29
29
  import type { VipPoolCreate } from '../models';
30
30
  // @ts-ignore
31
31
  import type { VipPoolList } from '../models';
32
+ // @ts-ignore
33
+ import type { VipPoolUpdate } from '../models';
32
34
  /**
33
35
  * VipPoolApi - axios parameter creator
34
36
  * @export
@@ -163,6 +165,57 @@ export const VipPoolApiAxiosParamCreator = function (configuration?: Configurati
163
165
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
164
166
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
165
167
 
168
+ return {
169
+ url: toPathString(localVarUrlObj),
170
+ options: localVarRequestOptions,
171
+ };
172
+ },
173
+ /**
174
+ *
175
+ * @summary Update environment VIP Pool
176
+ * @param {string} environmentName name of the environment
177
+ * @param {string} poolID id of the VIP Pool
178
+ * @param {VipPoolUpdate} body
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ updateVIPPool: async (environmentName: string, poolID: string, body: VipPoolUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
183
+ // verify required parameter 'environmentName' is not null or undefined
184
+ assertParamExists('updateVIPPool', 'environmentName', environmentName)
185
+ // verify required parameter 'poolID' is not null or undefined
186
+ assertParamExists('updateVIPPool', 'poolID', poolID)
187
+ // verify required parameter 'body' is not null or undefined
188
+ assertParamExists('updateVIPPool', 'body', body)
189
+ const localVarPath = `/admin/v1/environments/{environmentName}/loadbalancer/vipPool/{poolID}`
190
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)))
191
+ .replace(`{${"poolID"}}`, encodeURIComponent(String(poolID)));
192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
193
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
194
+ let baseOptions;
195
+ if (configuration) {
196
+ baseOptions = configuration.baseOptions;
197
+ }
198
+
199
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
200
+ const localVarHeaderParameter = {} as any;
201
+ const localVarQueryParameter = {} as any;
202
+
203
+ // authentication BearerToken required
204
+ // http bearer authentication required
205
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
206
+
207
+ // authentication DigestAuth required
208
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
209
+
210
+
211
+
212
+ localVarHeaderParameter['Content-Type'] = 'application/json';
213
+
214
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
216
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
217
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
218
+
166
219
  return {
167
220
  url: toPathString(localVarUrlObj),
168
221
  options: localVarRequestOptions,
@@ -219,6 +272,21 @@ export const VipPoolApiFp = function(configuration?: Configuration) {
219
272
  const localVarOperationServerBasePath = operationServerMap['VipPoolApi.listVIPPool']?.[localVarOperationServerIndex]?.url;
220
273
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
221
274
  },
275
+ /**
276
+ *
277
+ * @summary Update environment VIP Pool
278
+ * @param {string} environmentName name of the environment
279
+ * @param {string} poolID id of the VIP Pool
280
+ * @param {VipPoolUpdate} body
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ async updateVIPPool(environmentName: string, poolID: string, body: VipPoolUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VipPool>> {
285
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateVIPPool(environmentName, poolID, body, options);
286
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
287
+ const localVarOperationServerBasePath = operationServerMap['VipPoolApi.updateVIPPool']?.[localVarOperationServerIndex]?.url;
288
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
289
+ },
222
290
  }
223
291
  };
224
292
 
@@ -259,6 +327,16 @@ export const VipPoolApiFactory = function (configuration?: Configuration, basePa
259
327
  listVIPPool(requestParameters: VipPoolApiListVIPPoolRequest, options?: RawAxiosRequestConfig): AxiosPromise<VipPoolList> {
260
328
  return localVarFp.listVIPPool(requestParameters.environmentName, options).then((request) => request(axios, basePath));
261
329
  },
330
+ /**
331
+ *
332
+ * @summary Update environment VIP Pool
333
+ * @param {VipPoolApiUpdateVIPPoolRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ */
337
+ updateVIPPool(requestParameters: VipPoolApiUpdateVIPPoolRequest, options?: RawAxiosRequestConfig): AxiosPromise<VipPool> {
338
+ return localVarFp.updateVIPPool(requestParameters.environmentName, requestParameters.poolID, requestParameters.body, options).then((request) => request(axios, basePath));
339
+ },
262
340
  };
263
341
  };
264
342
 
@@ -298,6 +376,16 @@ export interface VipPoolApiInterface {
298
376
  */
299
377
  listVIPPool(requestParameters: VipPoolApiListVIPPoolRequest, options?: RawAxiosRequestConfig): AxiosPromise<VipPoolList>;
300
378
 
379
+ /**
380
+ *
381
+ * @summary Update environment VIP Pool
382
+ * @param {VipPoolApiUpdateVIPPoolRequest} requestParameters Request parameters.
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ * @memberof VipPoolApiInterface
386
+ */
387
+ updateVIPPool(requestParameters: VipPoolApiUpdateVIPPoolRequest, options?: RawAxiosRequestConfig): AxiosPromise<VipPool>;
388
+
301
389
  }
302
390
 
303
391
  /**
@@ -356,6 +444,34 @@ export interface VipPoolApiListVIPPoolRequest {
356
444
  readonly environmentName: string
357
445
  }
358
446
 
447
+ /**
448
+ * Request parameters for updateVIPPool operation in VipPoolApi.
449
+ * @export
450
+ * @interface VipPoolApiUpdateVIPPoolRequest
451
+ */
452
+ export interface VipPoolApiUpdateVIPPoolRequest {
453
+ /**
454
+ * name of the environment
455
+ * @type {string}
456
+ * @memberof VipPoolApiUpdateVIPPool
457
+ */
458
+ readonly environmentName: string
459
+
460
+ /**
461
+ * id of the VIP Pool
462
+ * @type {string}
463
+ * @memberof VipPoolApiUpdateVIPPool
464
+ */
465
+ readonly poolID: string
466
+
467
+ /**
468
+ *
469
+ * @type {VipPoolUpdate}
470
+ * @memberof VipPoolApiUpdateVIPPool
471
+ */
472
+ readonly body: VipPoolUpdate
473
+ }
474
+
359
475
  /**
360
476
  * VipPoolApi - object-oriented interface
361
477
  * @export
@@ -398,5 +514,17 @@ export class VipPoolApi extends BaseAPI implements VipPoolApiInterface {
398
514
  public listVIPPool(requestParameters: VipPoolApiListVIPPoolRequest, options?: RawAxiosRequestConfig) {
399
515
  return VipPoolApiFp(this.configuration).listVIPPool(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
400
516
  }
517
+
518
+ /**
519
+ *
520
+ * @summary Update environment VIP Pool
521
+ * @param {VipPoolApiUpdateVIPPoolRequest} requestParameters Request parameters.
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ * @memberof VipPoolApi
525
+ */
526
+ public updateVIPPool(requestParameters: VipPoolApiUpdateVIPPoolRequest, options?: RawAxiosRequestConfig) {
527
+ return VipPoolApiFp(this.configuration).updateVIPPool(requestParameters.environmentName, requestParameters.poolID, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
528
+ }
401
529
  }
402
530
 
@@ -35,6 +35,12 @@ import type { SelectiveMethodOption } from './selective-method-option';
35
35
  * @interface BackupOption
36
36
  */
37
37
  export interface BackupOption {
38
+ /**
39
+ * Engine modes that support backup and restore. Omitted or null means all modes (legacy behavior); an empty array disables backup and restore for all modes.
40
+ * @type {Array<string>}
41
+ * @memberof BackupOption
42
+ */
43
+ 'modes'?: Array<string>;
38
44
  /**
39
45
  *
40
46
  * @type {string}
@@ -191,6 +191,12 @@ export interface ClusterCreate {
191
191
  * @memberof ClusterCreate
192
192
  */
193
193
  'networkMode'?: NetworkMode;
194
+ /**
195
+ * Name of the VIP Pool (VIP Pool poolName) used as the MetalLB address pool for LoadBalancer services. Only effective when networkMode is LoadBalancer.
196
+ * @type {string}
197
+ * @memberof ClusterCreate
198
+ */
199
+ 'vipPoolName'?: string;
194
200
  /**
195
201
  *
196
202
  * @type {Array<ServiceRef>}
@@ -74,12 +74,6 @@ export interface ClusterJarPackage {
74
74
  * @memberof ClusterJarPackage
75
75
  */
76
76
  'published': boolean;
77
- /**
78
- *
79
- * @type {boolean}
80
- * @memberof ClusterJarPackage
81
- */
82
- 'archived': boolean;
83
77
  /**
84
78
  *
85
79
  * @type {string}
@@ -19,6 +19,9 @@ import type { ComponentNetwork } from './component-network';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import type { ComponentVolumeItem } from './component-volume-item';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { InstanceTemplateCreate } from './instance-template-create';
22
25
 
23
26
  /**
24
27
  * ComponentItem is the information of a component
@@ -39,11 +42,17 @@ export interface ComponentItemCreate {
39
42
  */
40
43
  'compNum'?: number;
41
44
  /**
42
- * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
45
+ * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. If the rendered component has instance templates, this must equal the sum of all template replica counts in the complete instanceTemplates list.
43
46
  * @type {number}
44
47
  * @memberof ComponentItemCreate
45
48
  */
46
49
  'replicas'?: number;
50
+ /**
51
+ * Per-template replicas and optional overlays (env, annotations, labels). Required when the chart renders instance templates. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
52
+ * @type {Array<InstanceTemplateCreate>}
53
+ * @memberof ComponentItemCreate
54
+ */
55
+ 'instanceTemplates'?: Array<InstanceTemplateCreate>;
47
56
  /**
48
57
  * Whether to skip resource constraint validation when creating cluster
49
58
  * @type {boolean}
@@ -20,6 +20,42 @@
20
20
  * @interface DmsPagination
21
21
  */
22
22
  export interface DmsPagination {
23
+ /**
24
+ * Zero-based offset of this showData page.
25
+ * @type {number}
26
+ * @memberof DmsPagination
27
+ */
28
+ 'offset'?: number | null;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof DmsPagination
33
+ */
34
+ 'limit'?: number | null;
35
+ /**
36
+ * Whether another showData page exists; determined by reading one extra row.
37
+ * @type {boolean}
38
+ * @memberof DmsPagination
39
+ */
40
+ 'hasMore'?: boolean | null;
41
+ /**
42
+ * Present only when hasMore is true.
43
+ * @type {number}
44
+ * @memberof DmsPagination
45
+ */
46
+ 'nextOffset'?: number | null;
47
+ /**
48
+ * Exact count returned only by countOnly requests (including zero).
49
+ * @type {number}
50
+ * @memberof DmsPagination
51
+ */
52
+ 'totalRows'?: number | null;
53
+ /**
54
+ * Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
55
+ * @type {Array<string>}
56
+ * @memberof DmsPagination
57
+ */
58
+ 'orderColumns'?: Array<string>;
23
59
  /**
24
60
  *
25
61
  * @type {number}
@@ -587,6 +587,13 @@ export * from './instance-resource-stats-list';
587
587
  export * from './instance-resource-stats-type';
588
588
  export * from './instance-status';
589
589
  export * from './instance-storage-item';
590
+ export * from './instance-template-attribute';
591
+ export * from './instance-template-create';
592
+ export * from './instance-template-create-env-inner';
593
+ export * from './instance-template-env';
594
+ export * from './instance-template-op';
595
+ export * from './instance-template-replicas';
596
+ export * from './instance-template-volume-expand';
590
597
  export * from './integer-option';
591
598
  export * from './international-desc';
592
599
  export * from './io-quantity';
@@ -659,6 +666,7 @@ export * from './milvus-role-list';
659
666
  export * from './milvus-role-request';
660
667
  export * from './mode-compatible-kubeblocks-version';
661
668
  export * from './mode-component';
669
+ export * from './mode-component-instance-template';
662
670
  export * from './mode-object-storage';
663
671
  export * from './mode-object-storage-additional-helm-value-path';
664
672
  export * from './mode-object-storage-service-ref';
@@ -766,7 +774,7 @@ export * from './ops-stop';
766
774
  export * from './ops-upgrade';
767
775
  export * from './ops-vscale';
768
776
  export * from './ops-volume-expand';
769
- export * from './ops-volume-expand-volumes-inner';
777
+ export * from './ops-volume-expand-volumes-items0';
770
778
  export * from './org';
771
779
  export * from './org-create';
772
780
  export * from './org-member';
@@ -1024,6 +1032,7 @@ export * from './task';
1024
1032
  export * from './task-failure-policy';
1025
1033
  export * from './task-list';
1026
1034
  export * from './task-list-item';
1035
+ export * from './task-retry-mode';
1027
1036
  export * from './task-schedule';
1028
1037
  export * from './task-schedule-type';
1029
1038
  export * from './task-status';
@@ -1063,6 +1072,7 @@ export * from './user-update';
1063
1072
  export * from './vip-pool';
1064
1073
  export * from './vip-pool-create';
1065
1074
  export * from './vip-pool-list';
1075
+ export * from './vip-pool-update';
1066
1076
  export * from './volume-restore-policy';
1067
1077
  export * from './vuln-item';
1068
1078
  export * from './vuln-list';
@@ -0,0 +1,34 @@
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
+ * Heterogeneous attribute the frontend may render on an instance template at create.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const InstanceTemplateAttribute = {
24
+ env: 'env',
25
+ annotations: 'annotations',
26
+ labels: 'labels',
27
+ availabilityZone: 'availabilityZone',
28
+ storageClass: 'storageClass'
29
+ } as const;
30
+
31
+ export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
32
+
33
+
34
+
@@ -0,0 +1,36 @@
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
+ *
19
+ * @export
20
+ * @interface InstanceTemplateCreateEnvInner
21
+ */
22
+ export interface InstanceTemplateCreateEnvInner {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InstanceTemplateCreateEnvInner
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * Plain string value only. valueFrom is not supported.
31
+ * @type {string}
32
+ * @memberof InstanceTemplateCreateEnvInner
33
+ */
34
+ 'value': string;
35
+ }
36
+
@@ -0,0 +1,69 @@
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 { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
19
+
20
+ /**
21
+ * Create assignment for one instance template. name and replicas are required. env, annotations, labels, availabilityZone, and storageClass are optional overlays onto the chart-rendered instance. The request must include every chart-rendered instance template exactly once. A template with an explicit zone uses single-zone scheduling: hostname anti-affinity follows the scheduling policy, while explicit rules and additional topology keys are preserved. Component scheduling remains unchanged; templates without a zone inherit it, including its zone anti-affinity constraints. Chart instance scheduling policies are cleared; an omitted or empty availabilityZone leaves the instance policy unset to inherit the component policy.
22
+ * @export
23
+ * @interface InstanceTemplateCreate
24
+ */
25
+ export interface InstanceTemplateCreate {
26
+ /**
27
+ * Instance template name; must match a chart-rendered instance.
28
+ * @type {string}
29
+ * @memberof InstanceTemplateCreate
30
+ */
31
+ 'name': string;
32
+ /**
33
+ * Replica count for this instance template.
34
+ * @type {number}
35
+ * @memberof InstanceTemplateCreate
36
+ */
37
+ 'replicas': number;
38
+ /**
39
+ * Availability zone for this template (topology.kubernetes.io/zone); omitted or empty inherits the component zone selection. Must be enabled in the environment. If the request explicitly supplies a non-empty cluster availabilityZones list, the template zone must also belong to that list.
40
+ * @type {string}
41
+ * @memberof InstanceTemplateCreate
42
+ */
43
+ 'availabilityZone'?: string;
44
+ /**
45
+ * StorageClass name for all persistent volumes in this template. Copied from component volumeClaimTemplates, preserving volume sizes and other settings while overriding storageClassName. Chart instance volume templates are cleared; omitted or empty leaves instance volumeClaimTemplates unset.
46
+ * @type {string}
47
+ * @memberof InstanceTemplateCreate
48
+ */
49
+ 'storageClass'?: string;
50
+ /**
51
+ * Simple env vars (name and value only) merged into this template. valueFrom is not supported; overlaying a name clears any chart valueFrom.
52
+ * @type {Array<InstanceTemplateCreateEnvInner>}
53
+ * @memberof InstanceTemplateCreate
54
+ */
55
+ 'env'?: Array<InstanceTemplateCreateEnvInner>;
56
+ /**
57
+ * Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
58
+ * @type {{ [key: string]: string; }}
59
+ * @memberof InstanceTemplateCreate
60
+ */
61
+ 'annotations'?: { [key: string]: string; };
62
+ /**
63
+ * Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
64
+ * @type {{ [key: string]: string; }}
65
+ * @memberof InstanceTemplateCreate
66
+ */
67
+ 'labels'?: { [key: string]: string; };
68
+ }
69
+
@@ -0,0 +1,57 @@
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 { LocalizedDescription } from './localized-description';
19
+
20
+ /**
21
+ * One fillable env var on an instance template, for frontend rendering.
22
+ * @export
23
+ * @interface InstanceTemplateEnv
24
+ */
25
+ export interface InstanceTemplateEnv {
26
+ /**
27
+ * Env var name written to the instance template.
28
+ * @type {string}
29
+ * @memberof InstanceTemplateEnv
30
+ */
31
+ 'name': string;
32
+ /**
33
+ *
34
+ * @type {LocalizedDescription}
35
+ * @memberof InstanceTemplateEnv
36
+ */
37
+ 'label'?: LocalizedDescription;
38
+ /**
39
+ *
40
+ * @type {LocalizedDescription}
41
+ * @memberof InstanceTemplateEnv
42
+ */
43
+ 'description'?: LocalizedDescription;
44
+ /**
45
+ * If true, the frontend should treat this env as required. Create does not re-check.
46
+ * @type {boolean}
47
+ * @memberof InstanceTemplateEnv
48
+ */
49
+ 'required'?: boolean;
50
+ /**
51
+ * Default value shown by the frontend.
52
+ * @type {string}
53
+ * @memberof InstanceTemplateEnv
54
+ */
55
+ 'default'?: string;
56
+ }
57
+
@@ -0,0 +1,32 @@
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
+ * Operation that can be declared on instanceTemplate.ops.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const InstanceTemplateOp = {
24
+ hscale: 'hscale',
25
+ vscale: 'vscale',
26
+ storageExpansion: 'storageExpansion'
27
+ } as const;
28
+
29
+ export type InstanceTemplateOp = typeof InstanceTemplateOp[keyof typeof InstanceTemplateOp];
30
+
31
+
32
+
@@ -0,0 +1,36 @@
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
+ * HScale assignment for one instance template. name and replicas only.
19
+ * @export
20
+ * @interface InstanceTemplateReplicas
21
+ */
22
+ export interface InstanceTemplateReplicas {
23
+ /**
24
+ * Instance template name on the live Cluster spec.
25
+ * @type {string}
26
+ * @memberof InstanceTemplateReplicas
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * Target replica count for this instance template.
31
+ * @type {number}
32
+ * @memberof InstanceTemplateReplicas
33
+ */
34
+ 'replicas': number;
35
+ }
36
+
@@ -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 { OpsVolumeExpandVolumesItems0 } from './ops-volume-expand-volumes-items0';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface InstanceTemplateVolumeExpand
24
+ */
25
+ export interface InstanceTemplateVolumeExpand {
26
+ /**
27
+ * Template name from the current mode component instanceTemplate.names.
28
+ * @type {string}
29
+ * @memberof InstanceTemplateVolumeExpand
30
+ */
31
+ 'name': string;
32
+ /**
33
+ *
34
+ * @type {Array<OpsVolumeExpandVolumesItems0>}
35
+ * @memberof InstanceTemplateVolumeExpand
36
+ */
37
+ 'volumes': Array<OpsVolumeExpandVolumesItems0>;
38
+ }
39
+