Class VMwareHostStorageAdapter
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a storage adapter found within a VMware host.
public class VMwareHostStorageAdapter : GlobalSerializableClassicBase, IComparable<VMwareHostStorageAdapter>
- Inheritance
-
VMwareHostStorageAdapter
- Implements
- Derived
Constructors
VMwareHostStorageAdapter()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostStorageAdapter class.
public VMwareHostStorageAdapter()
Properties
AdapterTypeString
Gets the adapter type as a human readable string.
public string AdapterTypeString { get; set; }
Property Value
CollectionIndex
Gets the collection index used by the data comparer.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
Device
Gets or sets the name of the storage adapter - for example "vmhba0".
public string Device { get; set; }
Property Value
Driver
Gets or sets the name of the storage adapter drive in use - for example "ide".
public string Driver { get; set; }
Property Value
Key
Gets or sets the full key name of the storage adapter - for example "key-vim.host.BlockHba-vmhba0".
public string Key { get; set; }
Property Value
Model
Gets or sets the model of the storage adapter - for example "82371AB/EB/MB PIIX4 IDE".
public string Model { get; set; }
Property Value
PciSlot
Gets or sets the PCI slot into which this storage adapter is connected - for example "00:07.1".
public string PciSlot { get; set; }
Property Value
Status
Gets or sets the status of the storage adapter at the time of the scan.
public VMwareHostStorageAdapterStatus Status { get; set; }
Property Value
StatusString
Gets the status of the storage adapter at the time of the scan as a human readable string.
public string StatusString { get; set; }
Property Value
Methods
CompareTo(VMwareHostStorageAdapter)
Compares two CENTREL.XIA.Configuration.Types.VMwareHostStorageAdapter objects to allow sorting alphabetically by name.
public int CompareTo(VMwareHostStorageAdapter other)
Parameters
other
VMwareHostStorageAdapterThe CENTREL.XIA.Configuration.Types.VMwareHostStorageAdapter to compare to.
Returns
- int
The sort order of the type items.
ToString()
Returns the storage adapter name - for example "vmhba0".
public override string ToString()
Returns
- string
The name of the storage adapter - for example "vmhba0".