Class VMwareHierarchy
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the hierarchy of objects within the VMware system.
public class VMwareHierarchy : BaseTypeSection
- Inheritance
-
VMwareHierarchy
Constructors
VMwareHierarchy()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHierarchy class.
public VMwareHierarchy()
Properties
RootObject
Gets or sets the root object within the VMware hierarchy.
public VMwareHierarchyObject RootObject { get; set; }
Property Value
TotalObjectCount
Gets the total count of the objects in the hierarchy.
public int TotalObjectCount { get; }
Property Value
Methods
FindByManagedObjectID(string)
Returns the object with the specified managed object identifer in the hierarchy, or null if no object is found.
public VMwareHierarchyObject FindByManagedObjectID(string ManagedObjectID)
Parameters
ManagedObjectID
stringThe managed object identifier to locate.
Returns
- VMwareHierarchyObject
The CENTREL.XIA.Configuration.Types.VMwareHierarchyObject with the specified managed object identifier.
FindByManagedObjectID(string, VMwareHierarchyObjectType, bool)
Returns the object with the specified managed object identifer from the current location in the hierarchy, or null if no object is found.
public VMwareHierarchyObject FindByManagedObjectID(string ManagedObjectID, VMwareHierarchyObjectType ObjectType, bool Recurse)
Parameters
ManagedObjectID
stringThe managed object identifier to locate.
ObjectType
VMwareHierarchyObjectTypeThe type of object to locate.
Recurse
boolDetermines whether the hierarchy should be recursed.
Returns
- VMwareHierarchyObject
The CENTREL.XIA.Configuration.Types.VMwareHierarchyObject with the specified managed object identifier.
FindByObjectType(VMwareHierarchyObjectType)
Returns a collection of objects with the specified object type within the collection and child objects.
public VMwareHierarchyObjectCollection FindByObjectType(VMwareHierarchyObjectType objectType)
Parameters
objectType
VMwareHierarchyObjectTypeThe type of object to locate.
Returns
- VMwareHierarchyObjectCollection
A collection of objects with the specified object type from the current location in the hierarchy.
FindParentDataCenter(string)
Returns the parent data center for the hierarchy object with the specified managed object identifier.
public VMwareHierarchyObject FindParentDataCenter(string managedObjectID)
Parameters
managedObjectID
stringThe managed object identifier of the object to locate.
Returns
- VMwareHierarchyObject
The CENTREL.XIA.Configuration.Types.VMwareHierarchyObject that represents the parent data center for the hierarchy object.
ResolveObjectName(string)
Returns the name of the managed object with the specified managed object identifer in the hierarchy. If the object is not found the identifier is returned.
public string ResolveObjectName(string identifier)
Parameters
identifier
stringThe managed object identifier of the item to locate.
Returns
- string
The name of the specified managed object identifier.