![]() |
REST API
14
REST API for Luna Network HSMs
|
Gets all utilization metrics information associated with partitons of the HSM. This resource requires SO authentication and policy 49 which allows partition utilization metrics needs to be changed to 1.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The set of all utilization metrics information associated with partitions of the HSM.
JSON Schema: Metrics
Unexpected error
HSM does not exist.
GET https://1.2.3.4:8443/api/lunasa/hsms/67848/metrics
{ "actions":"/api/lunasa/hsms/67848/metrics/actions", "metrics":[{"bins":[{"binId":"DECRYPT","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"ENCRYPT","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"KEY_DERIVATION","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"KEY_GENERATION","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"SIGN","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"VERIFY","counters":[{"count":0,"counterId":"REQUESTS"}]}], "label":"", "partitionId":157970905488 }, {"bins":[{"binId":"DECRYPT","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"ENCRYPT","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"KEY_DERIVATION","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"KEY_GENERATION","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"SIGN","counters":[{"count":0,"counterId":"REQUESTS"}]}, {"binId":"VERIFY","counters":[{"count":0,"counterId":"REQUESTS"}]}], "label":"", "partitionId":157970905522 } ], "resetTime":"2018-07-05T13:38:56" }