Retrieve Stats for current Infrastructure Provider
Changed onRetrieve statistics for the current Infrastructure Provider. IP Block totals exclude Tenant-created IP Blocks (managed: false).
User must have authorization role with PROVIDER_ADMIN suffix.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/infrastructure-provider/current/stats
- AuthHTTP bearer
Response
OK
Example response
{
"machine": {
"total": 27,
"initializing": 8,
"reset": 0,
"ready": 5,
"inUse": 12,
"error": 2,
"decommissioning": 0,
"decommissioned": 0,
"maintenance": 0,
"unknown": 0
},
"ipBlock": {
"total": 4,
"pending": 1,
"provisioning": 1,
"ready": 2,
"deleting": 0,
"error": 0
},
"tenantAccount": {
"total": 8,
"pending": 0,
"invited": 3,
"ready": 5,
"error": 0
}
}Changes
- warning
removed the optional property
/from the response with the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- warning
- info
removed the
nicoenum value from theresponse property for the response status
- info