get_remaining_capacity
Retrieve remaining capacity headroom for a cluster or host to determine how much more workload fits before limits. Returns capacity_remaining_pct and absolute values per dimension.
Instructions
[READ] Get remaining capacity headroom for a cluster or host — how much more workload fits before hitting limits. Returns the group-level capacity_remaining_pct (the percentage metric only exists at group level) plus one entry per capacity dimension (cpu, mem, diskspace) with remaining_value (absolute, unit per dimension e.g. MHz/KB), from the OnlineCapacityAnalytics demand model. Values are None while capacity analytics warm up. Use get_capacity_overview for the combined view, or get_time_remaining for projected days-until-full.
Args: resource_id: The resource UUID — a ClusterComputeResource or HostSystem (from list_resources). target: Optional Aria Operations target name from config. Uses default if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | ||
| target | No |