Class VMwareVirtualMachineGuestDisk
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the information about a disk available to the guest system running on a VMware virtual machine.
public class VMwareVirtualMachineGuestDisk : GlobalSerializableClassicBase, IComparable<VMwareVirtualMachineGuestDisk>
- Inheritance
-
VMwareVirtualMachineGuestDisk
- Implements
Constructors
VMwareVirtualMachineGuestDisk()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareVirtualMachineGuestDisk class.
public VMwareVirtualMachineGuestDisk()
Properties
Capacity
Gets or sets the total capacity of the disk in bytes.
public long Capacity { get; set; }
Property Value
CapacityString
Gets the total capacity of the disk as a human readable string.
public string CapacityString { get; set; }
Property Value
DiskPath
Gets or sets the path of the disk - for example "C:".
public string DiskPath { get; set; }
Property Value
FreeSpace
Gets or sets the free space on the disk in bytes.
public long FreeSpace { get; set; }
Property Value
FreeSpaceString
Gets the free space on the disk as a human readable string.
public string FreeSpaceString { get; set; }
Property Value
PercentageFree
Gets the percentage of space that is free on the disk.
public int PercentageFree { get; set; }
Property Value
PercentageUsed
Gets the percentage of space that is used in the disk.
public int PercentageUsed { get; set; }
Property Value
UsedSpace
Gets or sets the used space on the disk in bytes.
public long UsedSpace { get; set; }
Property Value
UsedSpaceString
Gets the used space on the disk as a human readable string.
public string UsedSpaceString { get; set; }
Property Value
Methods
CompareTo(VMwareVirtualMachineGuestDisk)
Compares two CENTREL.XIA.Configuration.Types.VMwareVirtualMachineGuestDisk objects to allow sorting alphabetically by disk path.
public int CompareTo(VMwareVirtualMachineGuestDisk other)
Parameters
other
VMwareVirtualMachineGuestDiskThe CENTREL.XIA.Configuration.Types.VMwareVirtualMachineGuestDisk to compare to.
Returns
- int
The sort order of the two items.
ToString()
Returns the CENTREL.XIA.Configuration.Types.VMwareVirtualMachineGuestDisk as a human readable string.
public override string ToString()
Returns
- string
The CENTREL.XIA.Configuration.Types.VMwareVirtualMachineGuestDisk as a human readable string.