Infrastructure Provider

Retrieve Stats for current Infrastructure Provider

Changed on

Retrieve 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.

get/v2/org/{org}/nico/infrastructure-provider/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/infrastructure-provider/current/stats
  • Auth
    HTTP 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

    • info

      removed the nico enum value from the response property for the response status