import { CategoryEnum } from './engine/CategoryEnum';
import { EngineEnum } from './EngineEnum';
import { NetworkTypeEnum } from './NetworkTypeEnum';
import { Backup } from './service/Backup';
import { CapabilityActions } from './service/CapabilityActions';
import { Disk } from './service/Disk';
import { Endpoint } from './service/Endpoint';
import { IpRestriction } from './service/IpRestriction';
import { Node } from './service/Node';
import { Storage } from './service/Storage';
import { StatusEnum } from './StatusEnum';
import { Time } from '../../../Time';
/** Cloud database service definition */
export interface Service {
    /** @deprecated Time on which backups start every day. DEPRECATED: use backups.time */
    backupTime: Time;
    /** Information related to the backups, null if the engine does not support backups */
    backups?: Backup;
    /** Capabilities of the services */
    capabilities: {
        [key: string]: CapabilityActions;
    };
    /** Category of the engine */
    category: CategoryEnum;
    /** Date of the creation of the cluster */
    createdAt: string;
    /** Enable deletion protection */
    deletionProtection?: boolean;
    /** Description of the cluster */
    description: string;
    /** @deprecated Disk attributes of the cluster. DEPRECATED: use storage */
    disk: Disk;
    /** Enable Prometheus */
    enablePrometheus?: boolean;
    /** List of all endpoints of the service */
    endpoints: Endpoint[];
    /** Name of the engine of the service */
    engine: EngineEnum;
    /** The VM flavor used for this cluster */
    flavor: string;
    /** Service ID */
    id: string;
    /** IP Blocks authorized to access to the cluster */
    ipRestrictions: IpRestriction[];
    /** Time on which maintenances can start every day */
    maintenanceTime: Time;
    /** Private network ID in which the cluster is */
    networkId?: string;
    /** Type of network of the cluster */
    networkType: NetworkTypeEnum;
    /** @deprecated Number of nodes in the cluster. DEPRECATED: use nodes */
    nodeNumber: number;
    /** Nodes of the cluster */
    nodes: Node[];
    /** OpenStack region of the cluster */
    openstackRegion?: string;
    /** Plan of the cluster */
    plan: string;
    /** Current status of the cluster */
    status: StatusEnum;
    /** Storage attributes of the cluster */
    storage?: Storage;
    /** Private subnet ID in which the cluster is */
    subnetId?: string;
    /** Version of the engine deployed on the cluster */
    version: string;
}
//# sourceMappingURL=Service.d.ts.map