Class VMwareVirtualMachine
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a VMware virtual machine.
public class VMwareVirtualMachine : VMwareManagedObject, IComparable<VMwareManagedObject>, IComparable<VMwareVirtualMachine>
- Inheritance
-
VMwareVirtualMachine
- Implements
- Inherited Members
Constructors
VMwareVirtualMachine()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareVirtualMachine class.
public VMwareVirtualMachine()
Properties
ConfigurationParameters
Gets or sets the additional configuration options for this virtual machine.
public VMwareConfigurationParameterCollection ConfigurationParameters { get; set; }
Property Value
CoresPerSocket
Gets or sets the number of cores per socket. Prior to vSphere 5.0 this value will always be set to 1.
public int CoresPerSocket { get; set; }
Property Value
CpuCount
Gets or sets the number of CPUs assigned to this virtual machine.
public int CpuCount { get; set; }
Property Value
CpuHotAddEnabled
Gets or sets whether CPU hot add is enabled for the virtual machine.
public BooleanOption CpuHotAddEnabled { get; set; }
Property Value
CpuIdMaskType
Gets or sets the CPU mask identifier type.
public VMwareVirtualMachineCpuIdMaskType CpuIdMaskType { get; set; }
Property Value
CpuMaskIdTypeString
Gets or sets the CPU mask identifier type as a human readable string.
public string CpuMaskIdTypeString { get; set; }
Property Value
Description
Gets or sets the description of this virtual machine.
public string Description { get; set; }
Property Value
FileLayout
Gets or sets the file layout for this virtual machine.
public VMwareVirtualMachineFileLayout FileLayout { get; set; }
Property Value
Guest
Gets or sets the information about the guest operating system running on this virtual machine.
public VMwareVirtualMachineGuestInformation Guest { get; set; }
Property Value
GuestFullName
Gets or sets the configured guest operating system name.
public string GuestFullName { get; set; }
Property Value
HardwareDevices
Gets or sets the hardware items configured within this virtual machine.
public VMwareVirtualHardwareDevices HardwareDevices { get; set; }
Property Value
Host
Gets or sets the host entity hosting this virtual machine.
public VMwareManagedObjectReference Host { get; set; }
Property Value
IsTemplate
Gets or sets whether this virtual machine is a template.
public BooleanOption IsTemplate { get; set; }
Property Value
MemoryHotAddEnabled
Gets or sets whether memory hot add is enabled for the virtual machine.
public BooleanOption MemoryHotAddEnabled { get; set; }
Property Value
MemorySize
Gets or sets the amount of memory allocated in MB.
public int MemorySize { get; set; }
Property Value
Networks
Gets or sets the names of the networks to which this virtual machine is connected.
public SerializableStringCollection Networks { get; set; }
Property Value
- SerializableStringCollection
PowerState
Gets or sets the power state of the virtual machine at the time of the scan.
public VMwareVirtualMachinePowerState PowerState { get; set; }
Property Value
PowerStateString
Gets the power state of the virtual machine at the time of the scan as a human readable string.
public string PowerStateString { get; set; }
Property Value
QualifiedName
Gets or sets the full datacenter qualified name of this virtual machine if required - for example "Datastore1 [HQ]".
public string QualifiedName { get; set; }
Property Value
ResourceAllocation
Gets or sets the resource allocation settings for this virtual machine.
public VMwareResourceAllocation ResourceAllocation { get; set; }
Property Value
Screenshot
Gets or sets the screenshot assigned to this virtual machine in PNG format.
public byte[] Screenshot { get; set; }
Property Value
- byte[]
ScreenshotImage
Gets or sets the screenshot assigned to this virtual machine in PNG format.
public Bitmap ScreenshotImage { get; set; }
Property Value
Snapshots
Gets or sets the snapshots configured for the virtual machine.
public VMwareVirtualMachineSnapshots Snapshots { get; set; }
Property Value
ToolsConfiguration
Gets or sets the configuration of the VMware tools on this virtual machine.
public VMwareToolsConfiguration ToolsConfiguration { get; set; }
Property Value
UUID
Gets or sets the unique ID of this virtual machine - for example "42073d13-466e-f41c-9fcd-c87c3ade21c0".
public string UUID { get; set; }
Property Value
VMPathName
Gets or sets the path to the virtual machine's VMX file - for example "[datastore1 (1)] CORP-DC01/CORP-DC01.vmx".
public string VMPathName { get; set; }
Property Value
Version
Gets or sets the version of this virtual machine - for example "vmx-04".
public string Version { get; set; }
Property Value
VersionString
Gets the version of this virtual machine - for example "ESXi 6.0 and later (VM version 11)".
public string VersionString { get; set; }
Property Value
Methods
CompareTo(VMwareVirtualMachine)
Compares two VMware virtual machines to allow sorting alphabetically by qualified name.
public int CompareTo(VMwareVirtualMachine other)
Parameters
other
VMwareVirtualMachineThe CENTREL.XIA.Configuration.Types.VMwareVirtualMachine to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.VMwareVirtualMachine.