TaskInfoFilterSpec

TaskInfoFilterSpec
TaskInfoFilterSpec

This data object type defines the specification for the filter used to include or exclude various information from the tasks while retrieving from the history collector database.

The client creates a task history collector with TaskFilterSpec along with this optional spec, then retrieves the tasks from the task history collector.

Since: vSphere API Release 8.0.3.0

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "filterTaskResults": {
        "_typeName": "string",
        "removeAll": false,
        "descriptionIds": [
            "string"
        ],
        "filterIn": false
    }
}
filterTaskResults
Optional

This data object type enables to filter the results information for all or the specified tasks.

1. If removeAll=true, the results information of all tasks will be excluded. 2. If removeAll=false/unset: a. If descriptionIds is empty, the results information of all tasks will be included. b. If descriptionIds is non-empty: i. If filterIn=true, the results information of all tasks will be included. ii. If filterIn=false/unset, the results information of all tasks will be excluded.

Since: vSphere API Release 8.0.3.0

Availability
Added in vSphere API Release 8.0.3.0