@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
83 lines • 3.64 kB
TypeScript
import { Backup } from './backup/Backup';
import { VirtualMachineCdrom } from './VirtualMachineCdrom';
import { VmFiler } from './VmFiler';
import { KmsLicenseIncludingLegacyEnum } from './spla/KmsLicenseIncludingLegacyEnum';
import { VmNetwork } from './VmNetwork';
import { VirtualMachinePowerState } from './VirtualMachinePowerState';
import { VirtualMachineFaultToleranceState } from './VirtualMachineFaultToleranceState';
/** Virtual machine */
export interface Vm {
/** Backup associated to this Virtual Machine */
backup?: Backup;
/** Virtual machine cdroms devices */
cdroms?: VirtualMachineCdrom[];
/** Cluster of the virtual machine. */
clusterName?: string;
/** Maximum CPU performance, in MHz. */
cpuMax?: number;
/** Number of processors in the virtual machine. */
cpuNum?: number;
/** Time that the virtual machine was ready, but could not get scheduled to run on the physical CPU. In millisecond */
cpuReady?: number;
/** Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU. In percent */
cpuReadyPercent?: number;
/** Current CPU performance, in MHz. */
cpuUsed?: number;
/** List of filers in use by the virtual machine. */
filers?: VmFiler[];
/** Folder of the virtual machine. */
folderName?: string;
/** VMware guest configured OS family */
guestOsFamily?: string;
/** Name of the host hosting the virtual machine. */
hostName?: string;
/** Registered managed license */
license?: KmsLicenseIncludingLegacyEnum;
/** Memory size of the virtual machine, in MB */
memoryMax?: number;
/** Amount of guest memory that is shared with other virtual machines, in Mb */
memoryTps?: string;
/** Current memory utilization, in MB */
memoryUsed?: number;
/** moRef of the virtual machine. */
moRef: string;
/** Name of the virtual machine. */
name?: string;
/** Number of packets received. */
netPacketRx?: number;
/** Number of packets transmitted. */
netPacketTx?: number;
/** Rate at which data is received. In KB/s */
netRx?: number;
/** Rate at which data is transmitted. In KB/s */
netTx?: number;
/** List of the networks link to this virtual machine */
networks?: VmNetwork[];
/** Power state of the virtual machine. */
powerState: VirtualMachinePowerState;
/** Amount of time for a read operation from the virtual disk. In millisecond */
readLatency?: number;
/** Number of read issued per second to the virtual disk. In millisecond */
readPerSecond?: number;
/** Rate of reading data from the virtual disk. In KB/s */
readRate?: number;
/** The index of the current VM in instanceUuids array starting from 1, so 1 means that it is the primary VM. */
roleFt?: string;
/** Number of snapshot of the virtual machine. */
snapshotNum?: number;
/** The fault tolerance state of the virtual machine. */
stateFt?: VirtualMachineFaultToleranceState;
/** Id of the virtual machine. */
vmId: number;
/** Current version status of VMware Tools in the guest operating system. */
vmwareTools?: string;
/** Current version of VMware Tools */
vmwareToolsVersion?: string;
/** Amount of time for a write operation from the virtual disk. In millisecond */
writeLatency?: number;
/** Number of write issued per second to the virtual disk. In millisecond */
writePerSecond?: number;
/** Rate of writing data from the virtual disk. In KB/s */
writeRate?: number;
}
//# sourceMappingURL=Vm.d.ts.map