Class VMwareDatastoreHostMountPoint
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the mount point of a datastore on a VMware host system.
public class VMwareDatastoreHostMountPoint : GlobalSerializableClassicBase, IComparable<VMwareDatastoreHostMountPoint>
- Inheritance
-
VMwareDatastoreHostMountPoint
- Implements
Constructors
VMwareDatastoreHostMountPoint()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareDatastoreHostMountPoint class.
public VMwareDatastoreHostMountPoint()
Properties
AccessMode
Gets or sets the access mode for the datastore.
public VMwareDatastoreHostMountPointAccessMode AccessMode { get; set; }
Property Value
AccessModeString
Gets or sets the access mode for the datastore as a human readable string.
public string AccessModeString { get; set; }
Property Value
Accessible
Gets or sets whether the datastore was accessible to the host at the time of the scan.
public BooleanOption Accessible { get; set; }
Property Value
HostManagedObjectID
Gets or sets the unique identifier for the host on which the datastore is mounted.
public string HostManagedObjectID { get; set; }
Property Value
HostName
Gets or sets the name of the host on which the datastore is mounted.
public string HostName { get; set; }
Property Value
Mounted
Gets or sets whether the datastore was mounted on the host at the time of the scan.
public BooleanOption Mounted { get; set; }
Property Value
Path
Gets or sets the path where the datastore is mounted - for example "/vmfs/volumes/56e0af92-d5c7cb72-9c1c-000c29d0d5dc".
public string Path { get; set; }
Property Value
Methods
CompareTo(VMwareDatastoreHostMountPoint)
Compares two CENTREL.XIA.Configuration.Types.VMwareDatastoreHostMountPoint objects to allow sorting alphabetically by the name of the host.
public int CompareTo(VMwareDatastoreHostMountPoint other)
Parameters
other
VMwareDatastoreHostMountPointThe CENTREL.XIA.Configuration.Types.VMwareDatastoreHostMountPoint to compare to.
Returns
- int
The sort order of the two items.
ToString()
Returns the name of the host that is connected to the datastore.
public override string ToString()
Returns
- string
The name of the host that is connected to the datastore.