list_rightsizing_recommendations
Get VM rightsizing recommendations for CPU, memory, and disk capacity, then compare them against provisioned sizes to detect over- or under-provisioning and plan resizing.
Instructions
[READ] List VM rightsizing data — recommended CPU/memory/disk size per VM.
Reads the three OnlineCapacityAnalytics recommendedSize metrics, the only rightsizing signal the public API publishes, on both 8.x and 9.x. Compare against the VM's provisioned size to find over/under-provisioning. Get VM UUIDs from list_resources. One bulk stats call covers the whole page.
Read sizing_status before quoting any number:
recommendation — recommended_* carry sizes.
reclaimable — the engine publishes 0 for a VM it holds reclaimable.
That is NOT a recommendation to size it to zero, and
recommended_* are null here.
none_published — the VM needs no resizing OR analytics never scored it.
The appliance does not distinguish these two; do not
report it as either one.
This is not the number the vendor UI's Rightsize page shows — that view presents allocated plus a suggested delta, not the absolute recommended size. Both are correct and they will not match.
Returns a paginated envelope: items, returned, limit, total (null when the API reports no size), truncated, hint. Check truncated before calling this the complete set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum VMs to evaluate when listing (1–100). Default 50. | |
| target | No | Aria target name from config; default when omitted. | |
| resource_id | No | Optional VM resource UUID to scope to a single VM. |