Tenant

Retrieve Stats for current Tenant

Changed on

Retrieve stats for current Tenant.

User must have authorization role with TENANT_ADMIN suffix.

get/v2/org/{org}/nico/tenant/current/stats

Request

  • Base URL
    https://nico-rest-api.nico.svc.cluster.local
  • URL
    https://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/tenant/current/stats
  • Auth
    HTTP 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