Tenant
Retrieve Stats for current Tenant
Changed onRetrieve stats for current Tenant.
User must have authorization role with TENANT_ADMIN suffix.
get/v2/org/{org}/nico/tenant/current/stats
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/tenant/current/stats
- AuthHTTP bearer
Response
OK
Example response
{
"instance": {
"total": 18,
"pending": 2,
"provisioning": 1,
"configuring": 2,
"ready": 8,
"rebooting": 1,
"repairing": 1,
"terminating": 2,
"error": 1,
"updating": 0,
"unknown": 0
},
"vpc": {
"total": 4,
"pending": 1,
"provisioning": 1,
"ready": 2,
"deleting": 0,
"error": 0
},
"subnet": {
"total": 4,
"pending": 1,
"provisioning": 1,
"ready": 2,
"deleting": 0,
"error": 0
},
"tenantAccount": {
"total": 8,
"pending": 0,
"invited": 3,
"ready": 5,
"error": 0
}
}Changes
- info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status
- info