Class MicrosoftFailoverClusterNode
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a node in a Microsoft failover cluster.
public class MicrosoftFailoverClusterNode : GlobalSerializableBase, IComparable<MicrosoftFailoverClusterNode>
- Inheritance
-
MicrosoftFailoverClusterNode
- Implements
Constructors
MicrosoftFailoverClusterNode()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode class.
public MicrosoftFailoverClusterNode()
Properties
DynamicWeight
Gets or sets dynamic weight (assigned vote).
public uint DynamicWeight { get; set; }
Property Value
FaultDomain
Gets or sets the fault domain for the node. This only applies to Windows Server 2016 and above.
public MicrosoftFailoverClusterNodeFaultDomain FaultDomain { get; set; }
Property Value
Host
Gets or sets the host information for the node.
public MicrosoftFailoverClusterNodeHostInformation Host { get; set; }
Property Value
Id
Gets or sets the identifier of the node.
public string Id { get; set; }
Property Value
Name
Gets or sets the name of the node.
public string Name { get; set; }
Property Value
NodeWeight
Gets or sets the node weight (current vote).
public uint NodeWeight { get; set; }
Property Value
State
Gets or sets the state of the node at the time of the scan.
public MicrosoftFailoverClusterNodeState State { get; set; }
Property Value
StateString
Gets the state of the node at the time of the scan.
public string StateString { get; set; }
Property Value
Version
Gets or sets the cluster version.
public SerializableVersion Version { get; set; }
Property Value
- SerializableVersion
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode cloned from this object.
public MicrosoftFailoverClusterNode Clone()
Returns
- MicrosoftFailoverClusterNode
A CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode.
CompareTo(MicrosoftFailoverClusterNode)
Compares two CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode objects to allow sorting alphabetically by name.
public int CompareTo(MicrosoftFailoverClusterNode other)
Parameters
other
MicrosoftFailoverClusterNodeThe CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterNode objects.
ToString()
Returns the node as a human readable string.
public override string ToString()
Returns
- string
The node as a human readable string.