Class VMwareResourcePoolCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of VMware resource pools.
public class VMwareResourcePoolCollection : Collection<VMwareResourcePool>, IList<VMwareResourcePool>, ICollection<VMwareResourcePool>, IList, ICollection, IReadOnlyList<VMwareResourcePool>, IReadOnlyCollection<VMwareResourcePool>, IEnumerable<VMwareResourcePool>, IEnumerable
- Inheritance
-
VMwareResourcePoolCollection
- Implements
- Inherited Members
Constructors
VMwareResourcePoolCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareResourcePoolCollection class.
public VMwareResourcePoolCollection()
Methods
FindByManagedObjectID(string)
Returns the resource pool with the specified managed object ID, or null if no resource pool with that ID is found within the collection.
public VMwareResourcePool FindByManagedObjectID(string ManagedObjectID)
Parameters
ManagedObjectID
stringThe unique ID of the resource pool to locate - for example "resgroup-39".
Returns
- VMwareResourcePool
A CENTREL.XIA.Configuration.Types.VMwareResourcePool with the specified managed object ID.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.VMwareResourcePoolCollection class from the specified XML.
public static VMwareResourcePoolCollection FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- VMwareResourcePoolCollection
A CENTREL.XIA.Configuration.Types.VMwareResourcePoolCollection class.
ResourcePoolExists(string)
Determines if the resource pool with the specified managed object ID exists within the collection.
public bool ResourcePoolExists(string ManagedObjectID)
Parameters
ManagedObjectID
stringThe unique ID of the resource pool to locate - for example "resgroup-39".
Returns
- bool
A System.Boolean value that indicates whether a resource pool with the specified managed object ID exists within the collection.
Sort()
Sorts the values in the collection.
public void Sort()
ToXml()
Returns the XML representation of this CENTREL.XIA.Configuration.Types.VMwareResourcePoolCollection.
public string ToXml()
Returns
- string
The CENTREL.XIA.Configuration.Types.VMwareResourcePoolCollection in XML format.