Table of Contents

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

long

CapacityString

Gets the total capacity of the disk as a human readable string.

public string CapacityString { get; set; }

Property Value

string

DiskPath

Gets or sets the path of the disk - for example "C:".

public string DiskPath { get; set; }

Property Value

string

FreeSpace

Gets or sets the free space on the disk in bytes.

public long FreeSpace { get; set; }

Property Value

long

FreeSpaceString

Gets the free space on the disk as a human readable string.

public string FreeSpaceString { get; set; }

Property Value

string

PercentageFree

Gets the percentage of space that is free on the disk.

public int PercentageFree { get; set; }

Property Value

int

PercentageUsed

Gets the percentage of space that is used in the disk.

public int PercentageUsed { get; set; }

Property Value

int

UsedSpace

Gets or sets the used space on the disk in bytes.

public long UsedSpace { get; set; }

Property Value

long

UsedSpaceString

Gets the used space on the disk as a human readable string.

public string UsedSpaceString { get; set; }

Property Value

string

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 VMwareVirtualMachineGuestDisk

The 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.