|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Most Virtual Infrastructure managed object types extend this type.
Properties
| Name | Type | Description |
|---|---|---|
| configIssue* | Event[] | Current configuration issues that have been detected for this entity. Typically, these issues have already been logged as events. The entity stores these events as long as they are still current. The configStatus property provides an overall status based on these events. |
| configStatus | ManagedEntityStatus |
The configStatus indicates whether or not the system has detected a configuration
issue involving this entity. For example, it might have detected a
duplicate IP address or MAC address, or a host in a cluster
might be out of compliance. The meanings of the configStatus values are:
The configIssue property contains a list of the problems that have been detected. |
| customValue* | CustomFieldValue[] | Custom field values. |
| declaredAlarmState* P | AlarmState[] |
A set of alarm states for alarms that apply to this managed entity.
The set includes alarms defined on this entity
and alarms inherited from the parent entity,
or from any ancestors in the inventory hierarchy.
Alarms are inherited if they can be triggered by this entity or its descendants. This set does not include alarms that are defined on descendants of this entity. |
| disabledMethod* | xsd:string[] |
List of operations that are disabled, given the current runtime
state of the entity. For example, a power-on operation always fails if a
virtual machine is already powered on. This list can be used by clients to
enable or disable operations in a graphical user interface.
Note: This list is determined by the current runtime state of an entity, not by its permissions. This list may include the following operations for a HostSystem:
This list may include the following operations for a VirtualMachine:
This list may include the following operations for a ResourcePool:
|
| effectiveRole* P | xsd:int[] | Access rights the current session has to this entity. |
| name P | xsd:string |
Name of this entity, unique relative to its parent.
Any / (slash), \ (backslash), character used in this name element will be escaped. Similarly, any % (percent) character used in this name element will be escaped, unless it is used to start an escape sequence. A slash is escaped as %2F or %2f. A backslash is escaped as %5C or %5c, and a percent is escapped as %25. |
| overallStatus | ManagedEntityStatus |
General health of this managed entity.
The value combines the status of all the alarms attached to a managed entity.
If any of the alarms has a gray status, the overall status of the managed entity is gray. Otherwise, if any of the alarms has a red status, the overall status of the managed entity is red. Otherwise, if any of the alarms has a yellow status, the overall status of the managed entity is yellow. Otherwise, the overall status of the managed entity is green. |
| parent* P | ManagedObjectReference
to a ManagedEntity |
Parent of this entity.
This value is null for the root object. |
| permission* | Permission[] | List of permissions defined for this entity. |
| recentTask* | ManagedObjectReference[]
to a Task[] |
The set of recent tasks operating on this managed entity. This is a subset
of recentTask belong to this entity. A task in this
list could be in one of the four states: pending, running, success or error.
This property can be used to deduce intermediate power states for a virtual machine entity. For example, if the current powerState is "poweredOn" and there is a running task performing the "suspend" operation, then the virtual machine's intermediate state might be described as "suspending." Most tasks (such as power operations) obtain exclusive access to the virtual machine, so it is unusual for this list to contain more than one running task. One exception, however, is the task of cloning a virtual machine. |
| triggeredAlarmState* P | AlarmState[] |
A set of alarm states for alarms triggered by this entity
or by its descendants.
Triggered alarms are propagated up the inventory hierarchy so that a user can readily tell when a descendant has triggered an alarm. |
Methods
| Methods defined in this Managed Object |
|---|
| Destroy_Task, Reload, Rename_Task |
NOTE: The appropriate privilege must be held on the parent of the destroyed entity as well as the entity itself.
This method can throw one of several exceptions. The exact set of exceptions depends on the kind of entity that is being removed. See comments for each entity for more information on destroy behavior.Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ManagedEntity used to make the method call. |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| VimFault |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ManagedEntity used to make the method call. |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients may also escape any other characters in this name parameter.
See name
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ManagedEntity used to make the method call. |
| newName | xsd:string |
See name |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. |
Faults
| Type | Description |
|---|---|
| DuplicateName | Thrown if another object in the same folder has the target name. See name |
| InvalidName | Thrown if the new name is not a valid entity name. See name |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |