Retrieve data for all OneView appliances.
This API now supports the URI path prefix /compute-ops-mgmt
which used to be /compute-ops
. The /compute-ops
prefix is deprecated
and might become unresponsive after Tuesday, April 1, 2025. The Guide
provides more information about this change.
limit | integer [ 0 .. 1000 ] The maximum number of records to return. Example: limit=10 | ||||||||
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.
Return resources where id == c650e411-3454-475d-a1af-7a31b21a1ce4 filter=eq(id,'c650e411-3454-475d-a1af-7a31b21a1ce4')Return server where id == c650e411-3454-475d-a1af-7a31b21a1ce4 filter=eq(id,%27c650e411-3454-475d-a1af-7a31b21a1ce4%27)Return resources where applianceType is VM and state is connected filter=and(eq(applianceType,'VM'),eq(state,'connected'))Return resources where applianceType is VM or UNKNOWN filter=in(applianceType,'VM','UNKNOWN') | ||||||||
sort | string The order in which to return the resources in the collection. The value of the sort query parameter is a comma separated list of sort expressions. Each sort expression is a property name optionally followed by a direction indicator asc (ascending) or desc (descending). The first sort expression in the list defines the primary sort order, the second defines the secondary sort order, and so on. If a direciton indicator is omitted the default direction is ascending. Order resources ascending by name sort=name ascOrder resources ascending by name and then by descending by createdAt sort=name,createdAt desc |
OK
Bad request
Unauthorized
Forbidden
Not acceptable
Internal server error
{- "offset": 0,
- "count": 1,
- "total": 12,
- "items": [
- {
- "id": "87654321-f71a-43d2-8b93-4c7391b31234",
- "type": "compute-ops-mgmt/oneview-appliance",
- "ipaddress": "192.168.0.1",
- "device-id": "oneview+87654321-f71a-43d2-8b93-4c7391b31234",
- "activationKey": "ABCDEFGHOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwY2lkIjoiNjg0YTVhMWEyOTU3MTFlZGE1MDF",
- "applicationCustomerId": "a14b2d8b-36e7-469a-bfe7-d76cdfe9c9e0",
- "complianceId": "8b8f9dca-99cf-4557-a604-978243dee321",
- "name": "ci-005056abcdef.com",
- "complianceLastChecked": "2019-08-24T14:15:22Z",
- "complianceState": "Compliant",
- "createdAt": "2023-03-01T10:50:33.736935+00:00",
- "generation": 1,
- "hostname": "ci-005056abcdef.com",
- "lastModified": "2019-08-24T14:15:22Z",
- "modelNumber": "HPE OneView VM - VMware vSphere",
- "platformCustomerId": "ed05a375-a042-4c8b-bb6b-1c36abd2238b",
- "productId": "oneview",
- "state": "connected",
- "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",
- "templateName": "Snmp_template",
- "updatedAt": "2023-03-01T11:05:00.554140+00:00",
- "version": "8.00.00"
}
]
}