Tenant

Retrieve Stats for current Tenant

Retrieve stats for current Tenant.

User must have authorization role with TENANT_ADMIN suffix.

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

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

Changed in 4 of the 94 revisions of this API.17

    • added the optional property instance/configuring to the response with the 200 status

      response-optional-property-added

    • added the optional property instance/rebooting to the response with the 200 status

      response-optional-property-added

    • added the optional property instance/repairing to the response with the 200 status

      response-optional-property-added

    • added the optional property instance/unknown to the response with the 200 status

      response-optional-property-added

    • added the optional property instance/updating to the response with the 200 status

      response-optional-property-added

    • added the optional property tenantAccount to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property instance/repairing from the response with the 200 status

      response-optional-property-removed

    • added the optional property instance/repairing to the response with the 200 status

      response-optional-property-added