get_ip_pool_usage
Retrieve current IP allocations for an IP pool to check consumption, diagnose address exhaustion, or verify pool is unused before retirement. Returns allocated IPs with IDs and display names.
Instructions
[READ] Get current IP allocations for one IP address pool.
No side effects. Use after list_ip_pools to see how much of a pool is consumed — e.g. when diagnosing TEP address exhaustion or before retiring a pool. Returns: pool_id, allocation_count, and allocations — one entry per allocated IP with id, display_name, allocation_ip (all allocations returned, no pagination). An empty allocations list means the pool is unused. On failure returns {"error", "hint"} instead of raising.
Args: pool_id: IP pool ID, as returned by list_ip_pools. target: NSX Manager name from config.yaml. Uses the default target if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| pool_id | Yes |