///
///
declare module Configs {
interface Block {
ip: string;
path: string;
status: boolean;
availableSize?: number;
usedSize?: number;
editable?: boolean;
}
interface oracleParam {
name: string;
ip: string;
port: string;
serviceName: string;
tableName: string;
status: string;
id?: number;
}
interface volume {
name: string;
allSize: number;
usedSize: number;
brick: Array;
folder?: Array;
status: boolean;
path: string;
editable?: boolean;
}
function formatVolumes(volumes: Array): void;
/**
刪除volume中指定的brock
*/
function deleteBrock(volume: volume, brock: Block): void;
/**
volume添加brock
*/
function addBrock(volume: volume, brock: Block): void;
class ConfigsModelService {
cluster: Array;
oracleParam: Array;
systemInfo: Array;
regionalismInfo: Array;
constructor();
updateAllData(): void;
updateVolumeData(): void;
updateOracleParam(): void;
getFolderByVolumeName(name: string): any[];
}
}