UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

66 lines 2.44 kB
import { UnitAndValueLong } from '../../complexType/UnitAndValueLong'; import { Capability } from './Capability'; import { DatacenterEnum } from './DatacenterEnum'; import { GraphEndpoint } from './GraphEndpoint'; import { InfrastructureEnum } from './InfrastructureEnum'; import { OfferEnum } from './OfferEnum'; import { StateEnum } from './StateEnum'; import { TypeEnum } from './TypeEnum'; import { VersionEnum } from './VersionEnum'; import { Ipv4 } from '../../Ipv4'; /** Web Cloud Database */ export interface Service { /** Private database capabilities */ capabilities: Capability[]; /** Number of cpu on your private database */ cpu: number; /** Datacenter where this private database is located */ datacenter: DatacenterEnum; /** Set the name displayed in customer panel for your private database (max 50 chars) */ displayName?: string; /** Parameters required to query metrics from OpenTSDB */ graphEndpoint?: GraphEndpoint; /** URL for the graphical user interface */ guiURL?: string; /** Private database hostname */ hostname: string; /** Private database ftp hostname */ hostnameFtp?: string; /** Infrastructure where service was stored */ infrastructure: InfrastructureEnum; /** Private database ip */ ip?: Ipv4; /** Is the service under maintenance */ isUnderMaintenance: boolean; /** Date of the last data synchronization */ lastCheck: string; /** Type of the private database offer */ offer: OfferEnum; /** Private database service port */ port: number; /** Private database ftp port */ portFtp?: number; /** Space allowed on your private database */ quotaSize: UnitAndValueLong; /** Total space used on your private database */ quotaUsed: UnitAndValueLong; /** Amount of ram on your private database */ ram: UnitAndValueLong; /** Private database server name */ server: string; /** Service name */ serviceName: string; /** Private database state */ state: StateEnum; /** Return the TLS certificate authority used by the private database */ tlsCa?: string; /** Private database type */ type: TypeEnum; /** Private database version */ version: VersionEnum; /** Private database version label */ versionLabel: string; /** Private database version number */ versionNumber: number; } //# sourceMappingURL=Service.d.ts.map