UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

64 lines 2.43 kB
import { Time } from '../../../Time'; import { Backup } from './service/Backup'; import { CapabilityActions } from './service/CapabilityActions'; import { CategoryEnum } from './engine/CategoryEnum'; import { Disk } from './service/Disk'; import { Endpoint } from './service/Endpoint'; import { EngineEnum } from './EngineEnum'; import { IpRestriction } from './service/IpRestriction'; import { NetworkTypeEnum } from './NetworkTypeEnum'; import { Node } from './service/Node'; import { StatusEnum } from './StatusEnum'; import { Storage } from './service/Storage'; /** 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; /** 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[]; /** 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