{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {}
}
curl --location --request POST 'http://localhost:8080/api/v1/cloudregionsTbl/generalUsage' \
--header 'Content-Type: application/json' \
--data-raw '{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {}
}'
{
"content": {
"page": 0,
"pageSize": 0,
"resources": [
{
"allRunningServersIsolatedDevices": 0,
"allServers": 0,
"allServersCpu": 0,
"allServersDisk": 0,
"allServersIsolatedDevices": 0,
"allServersMem": 0,
"baremetals": 0,
"baremetalsRunning": 0,
"baremetalsStopped": 0,
"hosts": 0,
"hostsCpuTotal": 0,
"hostsMem": 0,
"hostsRunning": 0,
"hostsStopped": 0,
"isolatedDevices": 0,
"storagesTotal": 0
}
],
"total": 0
},
"errorCode": "string",
"errorMsg": "string",
"msg": "string",
"success": true,
"taskId": "string",
"taskName": "string"
}