/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * 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. */ import type { ClusterBackup } from './cluster-backup'; import type { ClusterLicense } from './cluster-license'; import type { ClusterMaintainceWindow } from './cluster-maintaince-window'; import type { ClusterObjectStorageConfig } from './cluster-object-storage-config'; import type { ClusterTerminationPolicy } from './cluster-termination-policy'; import type { ClusterType } from './cluster-type'; import type { ComponentItemCreate } from './component-item-create'; import type { InitOptionItem } from './init-option-item'; import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class'; import type { NetworkMode } from './network-mode'; import type { ParamTplsItem } from './param-tpls-item'; import type { SchedulingPolicyType } from './scheduling-policy-type'; 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; } //# sourceMappingURL=cluster-create.d.ts.map