UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

53 lines 1.95 kB
import { BillingTypeEnum } from './ressources/BillingTypeEnum'; import { HostSystemConnectionState } from './HostSystemConnectionState'; import { UnitAndValueDouble } from '../complexType/UnitAndValueDouble'; import { UnitAndValueLong } from '../complexType/UnitAndValueLong'; import { StateEnum } from './host/StateEnum'; /** Host */ export interface Host { /** Billing type of the host */ billingType: BillingTypeEnum; /** Cluster of the host */ clusterName?: string; /** Connection state of the host */ connectionState?: HostSystemConnectionState; /** CPU total frenquency */ cpu: UnitAndValueDouble; /** The maximum speed of the cpu, in Mhz */ cpuMax?: number; /** The speed of the CPU cores. This is an average value if there are multiple speeds. in Mhz */ cpuMaxCore?: number; /** Number of physical CPU cores on the host. */ cpuNum?: number; /** Current cpu utilization, in Mhz */ cpuUsed?: number; /** Id of the host */ hostId: number; /** Host is in maintenance mode */ inMaintenance?: boolean; /** Amount of used memory. Sum of the memory used by all powered on virtual machines and vSphere services on the host. in MB */ memoryUsed?: number; /** Name of the host (IP address) */ name: string; /** Id of the parent host (if any) */ parentHostId?: number; /** Host profile in a commercial range */ profile: string; /** Host profile code */ profileCode: string; /** Rack of the host */ rack: string; /** Total RAM quantity */ ram: UnitAndValueLong; /** Resource name */ resourceName?: string; /** State of the host */ state: StateEnum; /** Host uptime in second */ uptime?: number; /** Number of Virtual Machine on the host */ vmTotal?: number; /** Number of Vcpu use by virtual machines on the host */ vmVcpuTotal?: number; } //# sourceMappingURL=Host.d.ts.map