/** * 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. */ 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