resource-query
Object used to lookup resources with various filtering criteria
{
"name": [
"string"
],
"regex": [
"string"
],
"adapterKind": [
"string"
],
"resourceKind": [
"string"
],
"collectorName": [
"string"
],
"collectorId": [
0
],
"maintenanceScheduleId": [
"string"
],
"adapterInstanceId": [
"string"
],
"recentlyAdded": 0,
"resourceState": [
"string"
],
"resourceStatus": [
"string"
],
"resourceHealth": [
"string"
],
"parentId": [
"string"
],
"credentialId": [
"string"
],
"resourceId": [
"string"
],
"propertyName": "string",
"propertyValue": "string",
"statKey": "string",
"statKeyLowerBound": "number",
"statKeyUpperBound": "number",
"statKeyInclusive": false,
"propertyConditions": {
"conjunctionOperator": "string",
"conditions": [
{
"key": "string",
"operator": "string",
"stringValue": "string",
"doubleValue": "number"
}
]
},
"statConditions": {
"conjunctionOperator": "string",
"conditions": [
{
"key": "string",
"operator": "string",
"stringValue": "string",
"doubleValue": "number"
}
]
},
"includeRelated": "string",
"resourceTag": [
{
"category": "string",
"name": "string"
}
]
}
Array of resource names to query for.
NOTE: Currently, only single element supported
Array of resource names in java regex format.
NOTE: regex and name are mutually exclusive. If both are specified, name is given preference.
Array of Adapter Kind keys
Array of Resource Kind keys
Array of Collector names
Array of Collector Identifiers
Array of {@link UUID} that identify Maintenance Schedules.
Since vROps 6.1.0 release onwards, we don't support search
and look up of Resources using Maintenance Schedules' identifiers.
Array of uuids that identify adapter instances
Return resources created after the specified value. Value is the number of seconds since Midnight January 1, 1970 GMT.
Array of resource states. NOTE, the following states are applicable only for adapter instances: STOPPED, STARTING, STOPPING, UPDATING, FAILED, REMOVING
Array of resource data collection statuses. NOTE, the following statuses are applicable only for adapter instances: ERROR, DOWN, COLLECTOR_DOWN. The statuses OLD_DATA_RECEIVING, NO_PARENT_MONITORING and UNKNOWN are deprecated.
Array of UUID of object that are the parent resource in a parent child relationship
Array of CredentialIDs
Array of Resource Identifiers
Name of property. Query only supports filtering for a single property.
Value of property. Omitting the property value will check for existence
of the property name on the resource.
NOTE: Use 'propertyConditions' to specify lookup of Resource using multiple properties.
Name of resource StatKey to validate value is within a range.
Use with statKeyLowerBound, statKeyUpperBound and statKeyInclusive to create comparison conditions
NOTE: Use 'statConditions' to specify lookup of Resource using multiple stat keys.
StatKey value matching range lower bound
StatKey value matching range upper bound
Filtering by statKey values is inclusive or exclusive of boundary values. Defaults to true
Object used to define filtering criteria based on multiple stats/properties with possibility to specify the conjunction operator
Object used to define filtering criteria based on multiple stats/properties with possibility to specify the conjunction operator
Relationship Types between resources. All relationships are many-to-many.
Representation names are plural.
Property used for tag filtering.
NOTE: If specified, only the resources with the tags will be returned.