List metrics data collection configuration
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/
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-mgmt/v1/metrics-configurations
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- 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-mgmt/v1/metrics-configurations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful Response
Primary identifier for the metrics configuration resource given by the system.
URI to the metrics-configuration itself (i.e. a self link)
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Time of metrics configuration creation
Time of the metrics configuration update
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
{ "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.
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1/metrics-configurations
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations
- 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-mgmt/v1/metrics-configurations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
Successful Response
Primary identifier for the metrics configuration resource given by the system.
URI to the metrics-configuration itself (i.e. a self link)
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Time of metrics configuration creation
Time of the metrics configuration update
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
{ "id": "b870f080-6448-48c5-b23a-d04f2d489174", "type": "compute-ops-mgmt/metrics-configuration", "resourceUri": "/compute-ops-mgmt/v1/metrics-configurations/b870f080-6448-48c5-b23a-d04f2d489174", "metricsCollection": "SYSTEM_SCHEDULED", "generation": 1, "createdAt": "2023-07-07T05:51:02.624513+00:00", "updatedAt": "2023-07-07T05:51:02.624513+00:00", "powerThresholdAlerts": true, "powerUtilizationThresholdPercentage": 10, "alertResources": [ { … } ] }
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-mgmt/v1/metrics-configurations/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{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-mgmt/v1/metrics-configurations/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Successful Response
Primary identifier for the metrics configuration resource given by the system.
URI to the metrics-configuration itself (i.e. a self link)
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Time of metrics configuration creation
Time of the metrics configuration update
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
{ "id": "b870f080-6448-48c5-b23a-d04f2d489174", "type": "compute-ops-mgmt/metrics-configuration", "resourceUri": "/compute-ops-mgmt/v1/metrics-configurations/b870f080-6448-48c5-b23a-d04f2d489174", "metricsCollection": "SYSTEM_SCHEDULED", "generation": 1, "createdAt": "2023-07-07T05:51:02.624513+00:00", "updatedAt": "2023-07-07T05:51:02.624513+00:00", "powerThresholdAlerts": true, "powerUtilizationThresholdPercentage": 10, "alertResources": [ { … } ] }
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-mgmt/v1/metrics-configurations/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{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-mgmt/v1/metrics-configurations/{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.
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/compute-ops-mgmt/public/openapi/compute-ops-mgmt-latest/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for US West
https://us-west.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for EU Central
https://eu-central.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{id}
- API endpoint for AP Northeast
https://ap-northeast.api.greenlake.hpe.com/compute-ops-mgmt/v1/metrics-configurations/{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-mgmt/v1/metrics-configurations/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
Successful Response
Primary identifier for the metrics configuration resource given by the system.
URI to the metrics-configuration itself (i.e. a self link)
Metrics collection method to indicate if the metrics collection is scheduled or generated on demand.
Time of metrics configuration creation
Time of the metrics configuration update
Boolean to indicate whether power utilization alerts have to be enabled or not.
Threshold value in percentage beyond which power utilization alerts will be generated.
{ "id": "b870f080-6448-48c5-b23a-d04f2d489174", "type": "compute-ops-mgmt/metrics-configuration", "resourceUri": "/compute-ops-mgmt/v1/metrics-configurations/b870f080-6448-48c5-b23a-d04f2d489174", "metricsCollection": "SYSTEM_SCHEDULED", "generation": 1, "createdAt": "2023-07-07T05:51:02.624513+00:00", "updatedAt": "2023-07-07T05:51:02.624513+00:00", "powerThresholdAlerts": true, "powerUtilizationThresholdPercentage": 10, "alertResources": [ { … } ] }