|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
The environment consists of three main components:
Properties
| Name | Type | Description |
|---|---|---|
| datastoreBrowser* P | ManagedObjectReference
to a HostDatastoreBrowser | DatastoreBrowser to browse datastores that are available on this entity. |
Methods
| Methods defined in this Managed Object |
|---|
| QueryConfigOption, QueryConfigOptionDescriptor, QueryConfigTarget |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EnvironmentBrowser used to make the method call. |
| key* | xsd:string | The key found in the VirtualMachineConfigOptionDescriptor, obtained by invoking the vim.environmentbrowser.queryConfigOptionDescriptor operation. |
| host* | ManagedObjectReference
to a HostSystem | The host whose default ConfigOption is requested. |
Return Value
| Type | Description |
|---|---|
| VirtualMachineConfigOption | Returns the ConfigOption object. If invoked on a cluster with no hosts, null is returned. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if any of the following is true:
|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EnvironmentBrowser used to make the method call. |
Return Value
| Type | Description |
|---|---|
| VirtualMachineConfigOptionDescriptor[] |
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. |
If the EnvironmentBrowser is from a ClusterComputeResource, the host argument can be used to return the ConfigTarget provided by a particular host in the cluster.
If no host is passed in and the EnvironmentBrowser is from a ClusterComputeResource, then the vim.vm.TargetInfo.configurationTag field indicates how widely the device is available across the cluster.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the EnvironmentBrowser used to make the method call. |
| host* | ManagedObjectReference
to a HostSystem | If specified, the host whose default BackingInfo is requested. |
Return Value
| Type | Description |
|---|---|
| ConfigTarget | Returns the ConfigTarget object. If invoked on a cluster with no hosts, null is returned. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if an invalid host is passed in. |
| 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 |