Environment Browser Query Target Capabilities
Queries for information on the capabilities supported by the ComputeResource associated with the EnvironmentBrowser.
If the EnvironmentBrowser is from a ComputeResource or ClusterComputeResource, the host argument can be used to return the capabilities associated with a specific host in the compute resource or cluster. If the host argument is not specified and the EnvironmentBrowser is from a ComputeResource or ClusterComputeResource, then the intersection of the capabilities supported by all the hosts in the cluster is returned. If the EnvironmentBrowser is from a VirtualMachine, the compute resource associated with the virtual machine will be queried for its capabilities.
If the EnvironmentBrowser is from a VirtualMachine a host should not be specified.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case EnvironmentBrowser/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"QueryTargetCapabilitiesRequestType Object"
If specified, the host whose capabilities are requested.
Returns the set of capabilities supported by the ComputeResource associated with the EnvironmentBrowser. If invoked on a cluster with no hosts, null is returned.
{
"0": "H",
"1": "o",
"2": "s",
"3": "t",
"4": "C",
"5": "a",
"6": "p",
"7": "a",
"8": "b",
"9": "i",
"10": "l",
"11": "i",
"12": "t",
"13": "y",
"14": " ",
"15": "O",
"16": "b",
"17": "j",
"18": "e",
"19": "c",
"20": "t"
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/EnvironmentBrowser/{moId}/QueryTargetCapabilities