/** * 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 { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner'; /** * Instance template assignment. Include every chart-rendered template exactly once, with name and replicas. env and storageClass are optional. Placement follows the mode placementScope: component scope requires template availabilityZone and permits nodeGroup; cluster scope forbids template placement. * @export * @interface InstanceTemplateCreate */ export interface InstanceTemplateCreate { /** * Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited. * @type {string} * @memberof InstanceTemplateCreate */ 'nodeGroup'?: string; /** * Instance template name; must match a chart-rendered instance. * @type {string} * @memberof InstanceTemplateCreate */ 'name': string; /** * Replica count for this instance template. * @type {number} * @memberof InstanceTemplateCreate */ 'replicas': number; /** * Template AZ, enabled in the environment. Required when placementScope is component; forbidden in cluster scope. The containing component must omit placement. An omitted nodeGroup does not inherit an upper-level host group. * @type {string} * @memberof InstanceTemplateCreate */ 'availabilityZone'?: string; /** * StorageClass name for all persistent volumes in this template. Copied from component volumeClaimTemplates, preserving volume sizes and other settings while overriding storageClassName. Chart instance volume templates are cleared; omitted or empty leaves instance volumeClaimTemplates unset. * @type {string} * @memberof InstanceTemplateCreate */ 'storageClass'?: string; /** * Declared env overrides. Names must be unique; defaults apply only to omitted variables. * @type {Array} * @memberof InstanceTemplateCreate */ 'env'?: Array; } //# sourceMappingURL=instance-template-create.d.ts.map