Class VMwareClusterCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of VMware clusters.
public class VMwareClusterCollection : Collection<VMwareCluster>, IList<VMwareCluster>, ICollection<VMwareCluster>, IList, ICollection, IReadOnlyList<VMwareCluster>, IReadOnlyCollection<VMwareCluster>, IEnumerable<VMwareCluster>, IEnumerable
- Inheritance
-
VMwareClusterCollection
- Implements
- Inherited Members
Constructors
VMwareClusterCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareClusterCollection class.
public VMwareClusterCollection()
Methods
Exists(Guid)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareCluster with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareCluster to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareCluster with the specified identifier exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.VMwareCluster with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.VMwareCluster with that identifier is found.
public VMwareCluster FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareCluster to locate.
Returns
- VMwareCluster
The CENTREL.XIA.Configuration.Types.VMwareCluster with the specified identifier.
FindByManagedObjectID(string)
Returns the VMware cluster with the specified managed object ID or null if no cluster exists with the specified ID.
public VMwareCluster FindByManagedObjectID(string ManagedObjectID)
Parameters
ManagedObjectIDstringThe unique managed object ID of the cluster to locate.
Returns
- VMwareCluster
A CENTREL.XIA.Configuration.Types.VMwareCluster object with the specified managed object ID.
FindByName(string)
Returns the VMware cluster with the specified name or null if no cluster exists with the specified name.
public VMwareCluster FindByName(string Name)
Parameters
NamestringThe name of the cluster to return.
Returns
- VMwareCluster
A CENTREL.XIA.Configuration.Types.VMwareCluster object with the specified name.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.VMwareClusterCollection class from the specified XML.
public static VMwareClusterCollection FromXml(string Xml)
Parameters
XmlstringThe XML representation of the object.
Returns
- VMwareClusterCollection
A CENTREL.XIA.Configuration.Types.VMwareClusterCollection class.
Sort()
Sorts the values in the collection.
public void Sort()
ToXml()
Returns the XML representation of this CENTREL.XIA.Configuration.Types.VMwareClusterCollection.
public string ToXml()
Returns
- string
The CENTREL.XIA.Configuration.Types.VMwareClusterCollection in XML format.