/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { ClusterMaintainceWindow } from './cluster-maintaince-window'; // May contain unused imports in some cases // @ts-ignore import type { ClusterTerminationPolicy } from './cluster-termination-policy'; // May contain unused imports in some cases // @ts-ignore import type { ServiceRef } from './service-ref'; /** * ClusterUpdate is the payload to update a KubeBlocks cluster * @export * @interface ClusterUpdate */ export interface ClusterUpdate { /** * * @type {ClusterTerminationPolicy} * @memberof ClusterUpdate */ 'terminationPolicy'?: ClusterTerminationPolicy; /** * Display name of cluster. * @type {string} * @memberof ClusterUpdate */ 'displayName'?: string | null; /** * * @type {ClusterMaintainceWindow} * @memberof ClusterUpdate */ 'maintainceWindow'?: ClusterMaintainceWindow; /** * ServiceRefs to add to the cluster. Each serviceRef must be supported by the current engine mode and must not duplicate the existing serviceRefs of the cluster. * @type {Array} * @memberof ClusterUpdate */ 'newServiceRefs'?: Array; /** * ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected. * @type {Array} * @memberof ClusterUpdate */ 'serviceRefsUpdate'?: Array; }