|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| datastore* | ManagedObjectReference[]
to a Datastore[] | A collection of references to the datastore objects available in this datacenter. |
| hostFolder P | ManagedObjectReference
to a Folder |
A reference to the folder hierarchy that contains
the compute resources, including hosts and clusters, for this datacenter.
This folder is guaranteed to exist. |
| network* | ManagedObjectReference[]
to a Network[] | A collection of references to the network objects available in this datacenter. |
| vmFolder P | ManagedObjectReference
to a Folder |
A reference to the folder hierarchy that contains
the virtual machines and templates for this datacenter.
This folder is guaranteed to exist. |
| Properties inherited from ManagedEntity | ||
| configIssue, configStatus, customValue, declaredAlarmState, disabledMethod, effectiveRole, name, overallStatus, parent, permission, recentTask, triggeredAlarmState | ||
Methods
| Methods defined in this Managed Object |
|---|
| QueryConnectionInfo |
| Methods inherited from ManagedEntity |
| Destroy_Task, Reload, Rename_Task |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Datacenter used to make the method call. |
| hostname | xsd:string | The target of the query. |
| port | xsd:int | The port number of the target host. |
| username | xsd:string | The name of the user _______ |
| password | xsd:string | The password of the user _______ |
Return Value
| Type | Description |
|---|---|
| HostConnectInfo |
Faults
| Type | Description |
|---|---|
| AlreadyConnected | Thrown if the host is already being managed by this server. |
| HostConnectFault | Thrown if an error occurred when querying about a host. Typically, a more specific subclass, such as AlreadyBeingManaged, is thrown. |
| InvalidLogin | Thrown if unable to authenticate with the host. |
| NoHost | Thrown if unable to contact the host. |
| NotSupported | Thrown if called directly on a host. |
| NotSupportedHost | Thrown if the software version on the host is not supported. |
| 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 |