/* 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 { IntegerOption } from './integer-option';
// May contain unused imports in some cases
// @ts-ignore
import type { StorageOption } from './storage-option';

/**
 * 
 * @export
 * @interface ResourceConstraintCreate
 */
export interface ResourceConstraintCreate {
    /**
     * engine name
     * @type {string}
     * @memberof ResourceConstraintCreate
     */
    'engine': string;
    /**
     * engine mode
     * @type {string}
     * @memberof ResourceConstraintCreate
     */
    'mode': string;
    /**
     * engine component
     * @type {string}
     * @memberof ResourceConstraintCreate
     */
    'component': string;
    /**
     * 
     * @type {IntegerOption}
     * @memberof ResourceConstraintCreate
     */
    'replicas'?: IntegerOption;
    /**
     * 
     * @type {IntegerOption}
     * @memberof ResourceConstraintCreate
     */
    'shards'?: IntegerOption;
    /**
     * 
     * @type {Array<StorageOption>}
     * @memberof ResourceConstraintCreate
     */
    'volumes'?: Array<StorageOption>;
}

