at.happyproto.admin.listHosts
Every host, with what its tenants hold. Staff only.
Details · query
| Kind | query |
|---|---|
| Authority | admin.happyproto.at |
| Indexed |
Query
query · GETOutput
application/jsonunplaceablePlans
arrayPlans open for new instances that fit on no active host, smallest first. A new instance on one of these fails with NoCapacity. Absent from a provisioner that does not report it.
Errors
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not HappyProto staff, or the provisioner does not treat them as staff.
InvalidRequest
The provisioner refused the request as malformed. Not expected from this read; declared because every provisioner refusal is mapped the same way.
NotFound
Passed through from the provisioner.
InvalidSlug
Passed through from the provisioner.
SlugTaken
Passed through from the provisioner.
NotEntitled
Passed through from the provisioner.
InstanceLimit
Passed through from the provisioner.
NoCapacity
Passed through from the provisioner.
OperationInProgress
Passed through from the provisioner.
Upstream
The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.
#host
objectA host. Never carries its addresses or agent certificate.
Properties
freeDiskGb
integerdiskGb less reservedDiskGb. Negative when the host is over-committed.
freeMemoryMb
integermemoryMb less reservedMemoryMb. Negative when the host is over-committed.
A UUID.
lastSeenAt
string · datetimeWhen its agent last answered. Absent if it never has.
placeablePlans
arrayPlans open for new instances that fit in this host's free memory and disk, smallest first. Empty unless the host is active.
Disk held by the plans of instances placed here and not yet purged. A deleted instance keeps its disk through its recovery window.
Memory those instances' plans hold.
knownValues: active | draining | degraded | retired
Instances placed here and not deleted.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Every host, and every tenant with its host, plan, owner and latest metered hour, for the staff fleet view. Staff only.
-
Every instance, whoever owns it, with its placement. Staff only.
-
The plans a new or changed instance can use. Customers only.
-
The autoscaler's host requests, newest first, without their timelines. Staff only.
-
One host request with its timeline, oldest event first. Staff only.