POST /api/v2/vm HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeInstanceCpuMonitor
<Common Request Params>
Request:
{
"instanceId": "932237369560662463",
"startTime": "2023-07-12T00:00:00Z",
"endTime": "2023-07-12T01:00:00Z"
}
Response:
{
"requestId": "T1B3DDE46-6FAA-4380-80A2-842F1B3186B7",
"response": {
"requestId": "T1B3DDE46-6FAA-4380-80A2-842F1B3186B7",
"dataList": [
{
"cpu": "0.0089",
"time": "2023-07-12T00:00:00Z"
},
{
"cpu": "0.0083",
"time": "2023-07-12T00:05:00Z"
},
{
"cpu": "0.0082",
"time": "2023-07-12T00:10:00Z"
},
{
"cpu": "0.0085",
"time": "2023-07-12T00:15:00Z"
},
{
"cpu": "0.0067",
"time": "2023-07-12T00:20:00Z"
},
{
"cpu": "0.0068",
"time": "2023-07-12T00:25:00Z"
},
{
"cpu": "0.0079",
"time": "2023-07-12T00:30:00Z"
},
{
"cpu": "0.0094",
"time": "2023-07-12T00:35:00Z"
},
{
"cpu": "0.0092",
"time": "2023-07-12T00:40:00Z"
},
{
"cpu": "0.0088",
"time": "2023-07-12T00:45:00Z"
},
{
"cpu": "0.0090",
"time": "2023-07-12T00:50:00Z"
},
{
"cpu": "0.0090",
"time": "2023-07-12T00:55:00Z"
}
]
}
}