Direct Path Profile Manager Direct Path Profile Manager Query Capacity
Query capacity of DirectPath profiles against a compute resource.
Since: vSphere API Release 9.0.0.0
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 DirectPathProfileManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"DirectPathProfileManagerQueryCapacityRequestType Object"
specifies the compute resource for which the capacity needs to be computed. See DirectPathProfileManagerTargetEntity. A null or an invalid target will cause an exception.
specifies a list of DirectPathProfileManagerCapacityQuerySpec, where each of them specifies the information about the DirectPath profile for which capacity needs to be computed.
List of DirectPathProfileManagerCapacityResult when target is valid. The content of the list is subjected to the following conditions: - Content of the return list will be in the same order as content of the list in querySpec argument, except when querySpec is a null or empty list. - If the query specification is of type DirectPathProfileManagerCapacityQueryById, then the capacity of a DirectPath profile with the matching ID is returned. - If the query specification is of type DirectPathProfileManagerCapacityQueryByName, then the capacity of a DirectPath profile with the matching name is returned. - If the query specification is of type DirectPathProfileManagerCapacityQueryByDeviceConfig, then the capacity of a device with the specified configuration in the specified Target will be returned. - When querySpec is null or an empty list, the returned list contains DirectPathProfileManagerCapacityInfo of all the DirectPath profiles available in the specified target.
[
"DirectPathProfileManagerCapacityResult Object"
]
InvalidArgument: when target is null or contains invalid content such as invalid host or cluster.
"InvalidArgument Object"
Optional name of the invalid property.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DirectPathProfileManager/{moId}/DirectPathProfileManagerQueryCapacity