/** * 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 { InstanceTemplateAttribute } from './instance-template-attribute'; import type { InstanceTemplateEnv } from './instance-template-env'; import type { InstanceTemplateOp } from './instance-template-op'; /** * Template fields and operations shared by the frontend and backend. Requested components require creation template targets when instanceTemplate is declared. Declaring hscale or storageExpansion in ops requires explicit targets for every name. The hscale requirement applies to replica scaling only. * @export * @interface ModeComponentInstanceTemplate */ export interface ModeComponentInstanceTemplate { /** * Instance template names the frontend should render. Create checks names against the chart. Replica hscale and volume expansion targets must include every name in this list. * @type {Set} * @memberof ModeComponentInstanceTemplate */ 'names': Set; /** * Template operations: hscale, storageExpansion, and reserved vscale. Template hscale replicas must sum to the component target. Volume expansion targets must match component volume names and capacities. * @type {Array} * @memberof ModeComponentInstanceTemplate */ 'ops': Array; /** * Template UI attributes. Env overrides require env to be enabled. * @type {Set} * @memberof ModeComponentInstanceTemplate */ 'attributes'?: Set; /** * Allowed env variables, with defaults and required checks applied before persistence. * @type {Array} * @memberof ModeComponentInstanceTemplate */ 'env'?: Array; } //# sourceMappingURL=mode-component-instance-template.d.ts.map