List all devices in a group
filter | string Limit the resources operated on by an endpoint or when used with a multiple-GET endpoint, return only the subset of resources that match the filter. The filter grammar is a subset of OData 4.0. NOTE: The filter query parameter must use URL encoding.
Most clients do this automatically with inputs provided to them specifically as query parameters. Encoding must be done manually for any query parameters provided as part of the URL.
Devices in a group can be filtered by:
The following examples are not an exhaustive list of all possible filtering options. Return devices in a group where a property equals a value.
<property> eq <value>
filter=productId eq '000001-A01'Return devices in a group where a property does not equal a value
not <property> eq <value>
filter=not overallSecurityStatus eq 'OK'Return devices in a group with populated property.
not <property> eq null
filter=not eTag eq nullReturn devices in a group where property contains a value.
contains(<property>, <value>)
filter=contains(productId,'A01')Return devices in a group where property is populated and property contains value.
not <property> eq null and contains(<property>, <value>)
filter=not eTag eq null and contains(productId,'A01')Return devices in a group where property is one of multiple values.
<property>/<nestedProperty> in (<value>,<value>)
filter=overallSecurityStatus in ('RISK', 'UNKNOWN') |
Successful Response
Bad request
Unauthorized
Forbidden
Not found
Not acceptable
Internal server error
{- "offset": 0,
- "count": 1,
- "total": 12,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "compute-ops-mgmt/group/device",
- "resourceUri": "/compute-ops-mgmt/v1/groups/6081a383-b9e5-45e3-8371-1e0ba7b72068/devices/873357-P04+WKQ82425HD",
- "serial": "SYN1002J11",
- "productId": "P43990-121",
- "eTag": "0xb2e9346d",
- "deviceId": "P43990-121+SYN1002J11",
- "deviceUri": "/compute-ops-mgmt/v1/servers/873357-P04+WKQ82425HD",
- "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
- "subscriptionState": "REQUIRED",
- "subscriptionTier": "ENHANCED",
- "overallSecurityStatus": "IGNORED"
}
]
}