Reference
Utilization bands for VMs, Cloud SQL and GKE
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/providers/gcp/utilization/summary"{
"success": true,
"timestamp": "string",
"data": {
"vm": {
"total": 0,
"bands": [
{
"band": "idle",
"count": 0
}
]
},
"sql": {
"total": 0,
"bands": [
{
"band": "idle",
"count": 0
}
]
},
"gke": {
"node_cpu_pct": 0,
"node_memory_pct": 0,
"namespaces": [
{
"cluster": "string",
"namespace": "string",
"cpu_request_utilization": 0,
"memory_request_utilization": 0
}
]
},
"coverage": {
"projects_complete": 0,
"projects_total": 0,
"ops_agent_share": 0
}
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}