API referenceSections

SiteLimits

SiteLimits object
  • cpu_percent integer required
  • memory_mb integer required
  • app boolean required
  • app_cpu_percent integer required
  • app_memory_mb integer required
  • source string required

    internal: the defaults of a site without a plan (ADR 0122)

    Allowed values: "plan" "internal" "custom" "none"
  • plan_cpu_percent integer required

    The plan's caps, or without a plan the internal defaults that inherit gives back

  • plan_memory_mb integer required
  • plan_app_cpu_percent integer required
  • plan_app_memory_mb integer required
  • auto_heal string required
  • has_plan boolean required
  • cpu_cores number required

    Cap in cores the percent came from on this server (ADR 0126); 0 when given in percent

  • app_cpu_cores number required
  • plan_cpu_cores number required
  • plan_app_cpu_cores number required
  • server_cpus integer required

    Logical processors the server reported; 0 not yet

Used by

GET/api/v1/tenants/{tid}/sites/{id}/limitsThe site's caps and where they come from (ADR 0091)