/* 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 { ComponentNetwork } from './component-network'; // May contain unused imports in some cases // @ts-ignore import type { ComponentVolumeItem } from './component-volume-item'; // May contain unused imports in some cases // @ts-ignore import type { InstanceTemplateCreate } from './instance-template-create'; /** * ComponentItem is the information of a component * @export * @interface ComponentItem */ export interface ComponentItem { /** * User-provided component annotations. Does not include chart defaults or system-generated values. * @type {{ [key: string]: string; }} * @memberof ComponentItem */ 'annotations'?: { [key: string]: string; }; /** * User-provided component labels. Does not include chart defaults or system-generated values. * @type {{ [key: string]: string; }} * @memberof ComponentItem */ 'labels'?: { [key: string]: string; }; /** * Optional host group in this environment. Explicit placement does not inherit an upper-level host group. * @type {string} * @memberof ComponentItem */ 'nodeGroup'?: string; /** * Explicit component AZ selection, if configured. * @type {string} * @memberof ComponentItem */ 'availabilityZone'?: string; /** * Instance template assignments with effective replicas, placement and storage class, and user-provided env. * @type {Array} * @memberof ComponentItem */ 'instanceTemplates'?: Array; /** * component name * @type {string} * @memberof ComponentItem */ 'name'?: string; /** * component type, refer to componentDef and support NamePrefix * @type {string} * @memberof ComponentItem */ 'component'?: string; /** * number of components * @type {number} * @memberof ComponentItem */ 'compNum'?: number; /** * The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. * @type {number} * @memberof ComponentItem */ 'replicas'?: number; /** * * @type {string} * @memberof ComponentItem */ 'classCode'?: string; /** * CPU cores. * @type {number} * @memberof ComponentItem */ 'cpu'?: number; /** * Memory, the unit is Gi. * @type {number} * @memberof ComponentItem */ 'memory'?: number; /** * StorageClass name * @type {string} * @memberof ComponentItem */ 'storageClass'?: string; /** * * @type {Array} * @memberof ComponentItem */ 'volumes'?: Array; /** * Cluster main component codeShort * @type {string} * @memberof ComponentItem */ 'codeShort'?: string; /** * The name of the secret that contains the system account credentials * @type {string} * @memberof ComponentItem */ 'systemAccountSecretName'?: string; /** * * @type {ComponentNetwork} * @memberof ComponentItem */ 'network'?: ComponentNetwork; }