Property Collector Retrieve Properties Ex
Retrieves the specified properties of the specified managed objects.
This method is similar to creating the filters, receiving the property values, and destroying the filters. The main difference is that the output blends the results from all the filters and reports a given managed object at most once no matter how many filters apply.
The method isn't requiring any privilege, because it's used to access properties that are publicly available, without authenticated session. That isn't sequrity isse, because the property collector is doing another explicit access evaluation and it's returning data only from objects to which the user has access.
The filter creation step can throw all of the same faults as CreateFilter.
Required privileges: System.Anonymous
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 PropertyCollector/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"specSet": [
{
"propSet": [
{
"type": "string"
}
],
"objectSet": [
{
"obj": {
"type": "string",
"value": "string"
}
}
]
}
],
"options": {}
}
{
"specSet": [
{
"_typeName": "string",
"propSet": [
{
"_typeName": "string",
"type": "string",
"all": false,
"pathSet": [
"string"
]
}
],
"objectSet": [
{
"_typeName": "string",
"obj": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"skip": false,
"selectSet": [
{
"_typeName": "string",
"name": "string"
}
]
}
],
"reportMissingObjectsInResults": false
}
],
"options": {
"_typeName": "string",
"maxObjects": 0
}
}
retrieved objects or null if there are no matching objects.
{
"_typeName": "string",
"token": "string",
"objects": [
{
"_typeName": "string",
"obj": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"propSet": [
{
"_typeName": "string",
"name": "string",
"val": {
"_typeName": "string"
}
}
],
"missingSet": [
{
"_typeName": "string",
"path": "string",
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
]
}
]
}
A token used to retrieve further retrieve results.
If set, the token should be passed to PropertyCollector.ContinueRetrievePropertiesEx to retrieve more results. Each token may be passed to continueRetrievePropertiesEx only once, and only in the same session in which it was returned and to the same PropertyCollector object that returned it.
If unset, there are no further results to retrieve after this RetrieveResult.
InvalidArgument: if any of the following is true: See CreateFilter
InvalidProperty: See CreateFilter
InvalidType: See CreateFilter
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"name": "string"
}
The property name that generated the error.