/* 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 { DmFile } from './dm-file';
// May contain unused imports in some cases
// @ts-ignore
import type { TableSpaceStatus } from './table-space-status';

/**
 * 
 * @export
 * @interface DmTablespace
 */
export interface DmTablespace {
    /**
     * tablespace name
     * @type {string}
     * @memberof DmTablespace
     */
    'name': string;
    /**
     * damengdb users belong to this tablespace
     * @type {string}
     * @memberof DmTablespace
     */
    'users'?: string;
    /**
     * the physical files of this tablespace
     * @type {Array<DmFile>}
     * @memberof DmTablespace
     */
    'files': Array<DmFile>;
    /**
     * the total size already allocated of this tablespace, unit MB
     * @type {string}
     * @memberof DmTablespace
     */
    'allocatedSizeMB'?: string;
    /**
     * the current used size of this tablespace, unit MB
     * @type {string}
     * @memberof DmTablespace
     */
    'usedSizeMB'?: string;
    /**
     * the current used ratio of this tablespace
     * @type {string}
     * @memberof DmTablespace
     */
    'usedRatio'?: string;
    /**
     * whether this tablespace auto extend
     * @type {boolean}
     * @memberof DmTablespace
     */
    'autoExtend'?: boolean;
    /**
     * the max size can be allocated of this tablespace, unit MB
     * @type {string}
     * @memberof DmTablespace
     */
    'maxSizeMB'?: string;
    /**
     * the used ratio in the max allocated size of this tablespace
     * @type {string}
     * @memberof DmTablespace
     */
    'usedRatioInMax'?: string;
    /**
     * 
     * @type {TableSpaceStatus}
     * @memberof DmTablespace
     */
    'status'?: TableSpaceStatus;
}



