Get the list of a user's server-settings
HPE Compute Ops Management API (latest)
HPE Compute Operations Management provides a Restful API to customers who want to manage their devices programmatically or through a command line. The API enables customers to invoke operations or tasks such as list devices, see device details, device health, and manage their device's firmware.
UPDATED API ENDPOINTS
Compute Ops Management now supports the HPE GreenLake API endpoints (<region>.api.greenlake.hpe.com
). The Guide contains more information about this change.
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/
https://us-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
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.
The reserved characters !
#
$
&
'
(
)
*
+
,
/
:
;
=
?
@
[
]
must be encoded with percent encoded equivalents. Server IDs contain a +
, which must be encoded as %2B
.
For example: the value P06760-B21+2M212504P8
must be encoded as P06760-B21%2B2M212504P8
when it is used in a query parameter.
CLASS | EXAMPLES |
---|---|
Types | integer, decimal, timestamp, string, boolean, null |
Operations | eq, ne, gt, ge, lt, le, in |
Logic | and, or, not |
Server Settings can be filtered by:
- category
- description
- name
- platformFamily
- settings
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>
Return server settings where a nested property equals a value. <property>/<nestedProperty> eq <value>
Return server settings where a property does not equal a value not <property> eq <value>
Return server settings with populated property. not <property> eq null
Return server settings where property contains a value. contains(<property>, <value>)
Return server settings where property is populated and property contains value. not <property> eq null and contains(<property>, <value>)
Return server settings where property is one of multiple values. <property>/<nestedProperty> in (<value>,<value>)
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful Response
The category to which the settings data applies.
The available server settings categories are:
- BIOS - BIOS configuration
- EXTERNAL_STORAGE - storage configured in HPE GreenLake for Data Services Cloud Console (DSCC)
- FIRMWARE - firmware configuration
- ILO - iLO security configuration
- OS - operating system
- STORAGE - internal storage configuration
Server platform family to which this server setting applies. There are no restrictions for server settings and all supported server types are allowed. This optional attribute will be set to a default value of "ANY", to indicate that any server platform family can be in the group(s) which are associated with this server setting, regardless of the value passed in.
{ "offset": 0, "count": 1, "total": 12, "items": [ { … } ] }
Content-Type header must designate 'application/json' in order for the request to be performed.
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
The category to which the settings data applies.
The available server settings categories are:
Category | Purpose |
---|---|
BIOS | BIOS configuration |
EXTERNAL_STORAGE | HPE GreenLake for Data Services Cloud Console (DSCC) configuration |
FIRMWARE | firmware configuration |
ILO | iLO security configuration |
OS | operating system |
STORAGE | internal storage configuration |
Server platform family to which this server setting applies. There are no restrictions for server setting and all supported server types are allowed. This optional attribute will be set to a default value of "ANY", to indicate that any server platform family servers can be in the group(s) which are associated with this server setting, regardless of the value passed in.
Configuration data corresponding to the specified category.
ILO settings are HPE-defined only. Adding a new ILO setting is not supported.
The following table shows the available schema keys for each settings category:
Category | Key(s) | Details |
---|---|---|
BIOS | DEFAULT | server BIOS configuration |
EXTERNAL_STORAGE | DEFAULT | HPE GreenLake for DSCC storage configuration |
FIRMWARE | GEN10, GEN11, GEN12 | Firmware for the specified platform(s) |
ILO | DEFAULT | iLO security configuration |
OS | DEFAULT | Installed operating system |
STORAGE | DEFAULT | Internal storage configuration |
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"category": "BIOS"
}'
Successful Response
The category to which the settings data applies.
The available server settings categories are:
- BIOS - BIOS configuration
- EXTERNAL_STORAGE - storage configured in HPE GreenLake for Data Services Cloud Console (DSCC)
- FIRMWARE - firmware configuration
- ILO - iLO security configuration
- OS - operating system
- STORAGE - internal storage configuration
Server platform family to which this server setting applies. There are no restrictions for server settings and all supported server types are allowed. This optional attribute will be set to a default value of "ANY", to indicate that any server platform family can be in the group(s) which are associated with this server setting, regardless of the value passed in.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "category": "FIRMWARE", "platformFamily": "ANY", "settings": { "GEN10": { … }, "GEN11": { … }, "GEN12": { … }, "DEFAULT": { … } }, "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" }
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful Response
The category to which the settings data applies.
The available server settings categories are:
- BIOS - BIOS configuration
- EXTERNAL_STORAGE - storage configured in HPE GreenLake for Data Services Cloud Console (DSCC)
- FIRMWARE - firmware configuration
- ILO - iLO security configuration
- OS - operating system
- STORAGE - internal storage configuration
Server platform family to which this server setting applies. There are no restrictions for server settings and all supported server types are allowed. This optional attribute will be set to a default value of "ANY", to indicate that any server platform family can be in the group(s) which are associated with this server setting, regardless of the value passed in.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "category": "FIRMWARE", "platformFamily": "ANY", "settings": { "GEN10": { … }, "GEN11": { … }, "GEN12": { … }, "DEFAULT": { … } }, "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" }
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Content-Type header must designate 'application/merge-patch+json' in order for the request to be performed.
Tenant-Acid header can be used by an MSP workspace to make API calls on behalf of their tenant by specifying the tenant's application customer ID.
In order to make such an API call, the Bearer token must belong to an MSP workspace and this header value must be the application customer ID of a tenant within the MSP workspace. Use the /compute-ops-mgmt/v1beta1/accounts
API to determine the application customer IDs for your tenant accounts.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops/v1beta1/server-settings/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
'https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops/v1beta1/server-settings/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
Successful Response
The category to which the settings data applies.
The available server settings categories are:
- BIOS - BIOS configuration
- EXTERNAL_STORAGE - storage configured in HPE GreenLake for Data Services Cloud Console (DSCC)
- FIRMWARE - firmware configuration
- ILO - iLO security configuration
- OS - operating system
- STORAGE - internal storage configuration
Server platform family to which this server setting applies. There are no restrictions for server settings and all supported server types are allowed. This optional attribute will be set to a default value of "ANY", to indicate that any server platform family can be in the group(s) which are associated with this server setting, regardless of the value passed in.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "category": "FIRMWARE", "platformFamily": "ANY", "settings": { "GEN10": { … }, "GEN11": { … }, "GEN12": { … }, "DEFAULT": { … } }, "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" }