quota.miloapis.com API. Capacity is allocated to a consumer with a ResourceGrant, individual requests draw against that capacity with a ResourceClaim, and an AllowanceBucket continuously aggregates the two to report how much remains available for admission decisions.
Resources
AllowanceBucket
Aggregates quota limits and usage for a single consumer and resource type, reporting the capacity still available.
ResourceClaim
Requests quota allocation when a resource is created, consuming capacity from the matching bucket.
ResourceGrant
Allocates quota capacity to a consumer for specific resource types, supplying the allowances buckets aggregate.
How the pieces fit together
- A ResourceGrant grants a consumer capacity for one or more resource types. Only grants with an
Activestatus contribute to available quota. - An AllowanceBucket is created automatically for each unique consumer and resource type. It sums capacity from active grants and consumption from granted claims, then reports the remaining
status.available. - A ResourceClaim requests an allocation for a resource type. The quota system checks the matching bucket’s available capacity to decide whether the claim can be granted.
Learn more
- API resources overview — the resource reference landing page across all Datum Cloud services.
- Changing resources — how to apply, edit, and safely preview changes to these resources.