Get the list of a user's server-settings
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.
Server Settings can be filtered by:
The following examples are not an exhaustive list of all possible filtering options. Return server settings where a property equals a value.
<property> eq <value>
filter=category eq 'FIRMWARE'Return server settings where a nested property equals a value.
<property>/<nestedProperty> eq <value>
filter=settings/DEFAULT/raidType eq 'RAID0'Return server settings where a property does not equal a value
not <property> eq <value>
filter=not platformFamily eq 'PROLIANT'Return server settings with populated property.
not <property> eq null
filter=not name eq nullReturn server settings where property contains a value.
contains(<property>, <value>)
filter=contains(category,'FIRM')Return server settings where property is populated and property contains value.
not <property> eq null and contains(<property>, <value>)
filter=not name eq null and contains(category,'FIRM')Return server settings where property is one of multiple values.
<property>/<nestedProperty> in (<value>,<value>)
filter=settings/DEFAULT/raidType in ('RAID0','RAID1') |
Successful Response
Bad request
Unauthorized
Forbidden
Not acceptable
Internal server error
{- "offset": 0,
- "count": 1,
- "total": 12,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "category": "FIRMWARE",
- "platformFamily": "ANY",
- "settings": {
- "GEN10": {
- "id": "a9383ef62e362a0072b2947c923ba257"
}, - "GEN11": {
- "id": "a9383ef62e362a0072b2947c923ba257"
}, - "GEN12": {
- "id": "a9383ef62e362a0072b2947c923ba257"
}, - "DEFAULT": {
- "enableCustomWorkloadProfile": true,
- "redfishData": {
- "Attributes": {
- "AdminName": "Luke",
- "WorkloadProfile": "GeneralPowerEfficientCompute"
}
}
}
}, - "generation": 1,
- "resourceUri": "/compute-ops/v1beta1/server-settings/a2fdaf7a-4933-4c47-bfe0-891f0a83dc6e",
- "type": "compute-ops/server-setting",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}