Share via


VMEventType enumeration

The VMEventType enumeration specifies the category of an event generated by a Virtual Server object.

Syntax

typedef enum  { 
  vmEvent_VirtualServerStarted                = 0,
  vmEvent_VirtualServerStopped                = 1,
  vmEvent_VirtualMachineLaunched              = 2,
  vmEvent_VirtualMachineStateRestored         = 3,
  vmEvent_VirtualMachineStateSaved            = 4,
  vmEvent_VirtualMachineTurnedOff             = 5,
  vmEvent_VirtualMachineTurnedOffByGuest      = 6,
  vmEvent_VirtualMachineReset                 = 7,
  vmEvent_VirtualMachineNoHeartbeat           = 8,
  vmEvent_VirtualMachineProcessorError        = 9,
  vmEvent_VirtualMachineHostDiskSpaceWarning  = 10,
  vmEvent_VirtualMachineHostDiskSpaceError    = 11
} VMEventType;

Constants

vmEvent_VirtualServerStarted

Event type logged when the Virtual Server service is started.

vmEvent_VirtualServerStopped

Event type logged when the Virtual Server service is stopped.

vmEvent_VirtualMachineLaunched

Event type logged when a virtual machine is launched.

vmEvent_VirtualMachineStateRestored

Event type logged when a virtual machine is restored from saved state.

vmEvent_VirtualMachineStateSaved

Event type logged when a virtual machine is saved.

vmEvent_VirtualMachineTurnedOff

Event type logged when a virtual machine is turned off.

vmEvent_VirtualMachineTurnedOffByGuest

Event type logged when a virtual machine is turned off by the user (for example, shutting down the guest operating system).

vmEvent_VirtualMachineReset

Event type logged when a virtual machine is reset.

vmEvent_VirtualMachineNoHeartbeat

Event type logged when a virtual machine's heartbeat stops.

vmEvent_VirtualMachineProcessorError

Event type logged when a virtual machine's guest processor has a fatal error, causing the virtual machine to be reset.

vmEvent_VirtualMachineHostDiskSpaceWarning

Event type logged when the host drive, containing a dynamically expanding virtual hard disk image for a virtual machine, is running low on disk space (generally less than 100 MB remaining).

vmEvent_VirtualMachineHostDiskSpaceError

Event type logged when the host drive, containing a dynamically expanding virtual hard disk image for a virtual machine, runs critically low on disk space (generally less than 20 MB remaining), causing the virtual machine to be paused.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h