/* 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 { ClusterBackup } from './cluster-backup'; // May contain unused imports in some cases // @ts-ignore import type { ClusterLicense } from './cluster-license'; // 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 { ClusterObjectStorageConfig } from './cluster-object-storage-config'; // 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 { ClusterType } from './cluster-type'; // May contain unused imports in some cases // @ts-ignore import type { ComponentItemCreate } from './component-item-create'; // May contain unused imports in some cases // @ts-ignore import type { InitOptionItem } from './init-option-item'; // May contain unused imports in some cases // @ts-ignore import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class'; // May contain unused imports in some cases // @ts-ignore import type { NetworkMode } from './network-mode'; // May contain unused imports in some cases // @ts-ignore import type { ParamTplsItem } from './param-tpls-item'; // May contain unused imports in some cases // @ts-ignore import type { SchedulingPolicyType } from './scheduling-policy-type'; // May contain unused imports in some cases // @ts-ignore import type { ServiceRef } from './service-ref'; /** * KubeBlocks cluster information * @export * @interface ClusterCreate */ export interface ClusterCreate { /** * When two clusters have a relationship, parentId records the parent cluster id.Can be empty when there is no relationship * @type {string} * @memberof ClusterCreate */ 'parentId'?: string | null; /** * * @type {ClusterType} * @memberof ClusterCreate */ 'clusterType'?: ClusterType | null; /** * Org Name * @type {string} * @memberof ClusterCreate */ 'orgName'?: string; /** * Environment Name * @type {string} * @memberof ClusterCreate */ 'environmentName': string; /** * Name of project, it is the alias of environment namespace * @type {string} * @memberof ClusterCreate */ 'project'?: string; /** * Name of cluster. Name must be unique within an Org * @type {string} * @memberof ClusterCreate */ 'name': string; /** * Cluster Application Engine * @type {string} * @memberof ClusterCreate */ 'engine': string; /** * * @type {ClusterLicense} * @memberof ClusterCreate */ 'license'?: ClusterLicense; /** * Items is the list of parameter template in the list * @type {Array} * @memberof ClusterCreate */ 'paramTpls'?: Array; /** * Cluster Application Version * @type {string} * @memberof ClusterCreate */ 'version'?: string; /** * * @type {ClusterTerminationPolicy} * @memberof ClusterCreate */ 'terminationPolicy'?: ClusterTerminationPolicy; /** * Cluster topology mode * @type {string} * @memberof ClusterCreate */ 'mode'?: string; /** * Components is the list of components * @type {Array} * @memberof ClusterCreate */ 'components'?: Array; /** * Extra configuration for cluster. This will be added to helm values to render the cluster chart. * @type {{ [key: string]: object; }} * @memberof ClusterCreate */ 'extra'?: { [key: string]: object; }; /** * InitOptions is the list of init option * @type {Array} * @memberof ClusterCreate */ 'initOptions'?: Array; /** * Deprecated: use availabilityZones to specify the eligible availability zones. To select one zone, provide a single-element list. * @type {boolean} * @memberof ClusterCreate * @deprecated */ 'singleZone'?: boolean; /** * Eligible availability zones for cluster-level placement on KubeBlocks 1.x. Supply one zone for single-zone placement or multiple zones for preferred spread across those zones. An omitted or empty list uses the environment\'s availability zones. * @type {Array} * @memberof ClusterCreate */ 'availabilityZones'?: Array; /** * * @type {ClusterBackup} * @memberof ClusterCreate */ 'backup'?: ClusterBackup; /** * Specify a NodeGroup for the cluster * @type {string} * @memberof ClusterCreate */ 'nodeGroup'?: string | null; /** * Display name of cluster. * @type {string} * @memberof ClusterCreate */ 'displayName'?: string; /** * if cluster is static cluster * @type {boolean} * @memberof ClusterCreate */ 'static'?: boolean; /** * * @type {NetworkMode} * @memberof ClusterCreate */ 'networkMode'?: NetworkMode; /** * Name of the VIP Pool (VIP Pool poolName) used as the MetalLB address pool for LoadBalancer services. Only effective when networkMode is LoadBalancer. * @type {string} * @memberof ClusterCreate */ 'vipPoolName'?: string; /** * * @type {Array} * @memberof ClusterCreate */ 'serviceRefs'?: Array; /** * * @type {ClusterObjectStorageConfig} * @memberof ClusterCreate */ 'objectStorageConfig'?: ClusterObjectStorageConfig; /** * * @type {ClusterMaintainceWindow} * @memberof ClusterCreate */ 'maintainceWindow'?: ClusterMaintainceWindow; /** * * @type {SchedulingPolicyType} * @memberof ClusterCreate */ 'schedulingPolicy'?: SchedulingPolicyType; /** * Scheduler used by this cluster. If omitted, KBE uses the environment default. When koordinatorEnabled is true for the target environment, the environment default is the globally configured Koordinator scheduler. * @type {string} * @memberof ClusterCreate */ 'schedulerName'?: string | null; /** * * @type {KoordinatorReservationResourceClass} * @memberof ClusterCreate */ 'reservationResourceClass'?: KoordinatorReservationResourceClass; }