Cpu-Usage - Flexible Secure Gateway API References (1.5.0)
Download OpenAPI specification:Download
Get specific cell's CPU usage.
Get CPU Usage metrics
Get cpu-usage metrics.
Authorizations:
path Parameters
cell_id required | string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$ The ID of the Cell to which packets from the networks are mainly sent. |
query Parameters
from | string ^[0-9]{4}-(0[1-9]{1}|1[0-2]{1})-(0[1-9]|[1-2][0-9]|3[0-1])T(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])Z$ The start time for search. (default: now-31days-1sec, maximum term is 31days.) |
to | string ^[0-9]{4}-(0[1-9]{1}|1[0-2]{1})-(0[1-9]|[1-2][0-9]|3[0-1])T(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])Z$ The end time for search. (default: now, maximum term is 31days.) |
offset | integer [ 0 .. 10000 ] Default: 0 The offset for the displaying rows. |
limit | integer [ 0 .. 10000 ] Default: 10000 The limit for the displaying rows. |
sort | string Default: "timestamp:desc" The query for sort (specify like key1:desc,key2:asc). |
header Parameters
X-Auth-Token required | string ^[a-fA-F0-9]{32}$ The keystone token. |
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
get/v1/metrics/cpu-usages/{cell_id}
https://api.ntt.com/dsigw-erg/v1/metrics/cpu-usages/{cell_id}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
Copy
Expand all Collapse all {- "cellId": "932b6296-9981-4247-883c-ab059c8e8148",
- "counts": [
- {
- "cpuUsage": 24.2,
- "timestamp": "2020-09-29T06:25:04Z"
}, - {
- "cpuUsage": 22.7,
- "timestamp": "2020-09-29T06:30:04Z"
}
]
}