Class HyperVServerResourcePool
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a resource pool in a Hyper-V server.
public class HyperVServerResourcePool : GlobalSerializableBase, IComparable<HyperVServerResourcePool>
- Inheritance
-
HyperVServerResourcePool
- Implements
Constructors
HyperVServerResourcePool()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.HyperVServerResourcePool class.
public HyperVServerResourcePool()
Properties
FullName
Gets the full name of the resource pool.
public string FullName { get; }
Property Value
Identifier
Gets or sets the unique identifier of the resource pool.
public Guid Identifier { get; set; }
Property Value
Parameters
Gets or sets the parameters of the resource pool.
public SerializableStringCollection Parameters { get; set; }
Property Value
- SerializableStringCollection
ParentNames
Gets or sets the name of the parent resource pool.
public SerializableStringCollection ParentNames { get; set; }
Property Value
- SerializableStringCollection
ResourceMeteringEnabled
Gets or sets whether resource metering is enabled.
public BooleanOption ResourceMeteringEnabled { get; set; }
Property Value
ResourcePoolName
Gets or sets the name of the resource pool.
public string ResourcePoolName { get; set; }
Property Value
ResourcePoolType
Gets or sets the resource pool type.
public HyperVServerResourcePoolType ResourcePoolType { get; set; }
Property Value
ResourcePoolTypeString
Gets the resource pool type as a human readable string.
public string ResourcePoolTypeString { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.HyperVServerResourcePool cloned from this object.
public HyperVServerResourcePool Clone()
Returns
- HyperVServerResourcePool
A CENTREL.XIA.Configuration.Types.HyperVServerResourcePool.
CompareTo(HyperVServerResourcePool)
Compares two CENTREL.XIA.Configuration.Types.HyperVServerResourcePool objects to allow sorting alphabetically by full name.
public int CompareTo(HyperVServerResourcePool other)
Parameters
other
HyperVServerResourcePoolThe CENTREL.XIA.Configuration.Types.HyperVServerResourcePool to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.HyperVServerResourcePool objects.
ToString()
Returns the resource pool as a human readable string.
public override string ToString()
Returns
- string
The resource pool as a human readable string.