Property Collector Create Filter
Creates a new filter for the given set of managed objects.
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 PropertyCollector/{moId}.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"CreateFilterRequestType Object"
The specifications for the filter.
Flag to specify whether a change to a nested property should report only the nested change or the entire specified property value. If the value is true, a change should report only the nested property. If the value is false, a change should report the enclosing property named in the filter.
A reference to the new filter.
"MoRefPropertyFilter Object"
InvalidArgument: if any of the following is true:
- "spec" is empty.
- "spec" contains a selection with properties not defined on its type.
InvalidProperty: if "spec" has a property that is not defined on one of the objects.
InvalidType: if "spec" contains, directly or indirectly, a type name that does not refer to a known type.
"InvalidProperty Object"
The property name that generated the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/PropertyCollector/{moId}/CreateFilter