Orphaned disk list truncated via internal API /internal/optimization/{id}/reclaim
search cancel

Orphaned disk list truncated via internal API /internal/optimization/{id}/reclaim

book

Article ID: 439749

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • When querying the internal VMware Aria Operations API endpoint /internal/optimization/{id}/reclaim at the Datacenter or vCenter level, the returned JSON payload truncates the list of orphaned disks.

  • The API response only returns orphaned disks for a single datastore within the queried Datacenter.

  • The Aria Operations UI (Optimize > Reclaim > Orphaned Disks) correctly displays all orphaned disks across multiple datastores.

 

Environment

VCF Operations/Automation (formerly VMware Aria Suite)

Cause

The /internal/optimization/{id}/reclaim endpoint is an undocumented, internal API designed specifically to populate high-level capacity views within the Aria Operations UI. To prevent memory exhaustion and UI timeout issues when processing large environments, this internal API enforces a hardcoded limit on the array size it returns and lacks pagination. When queried at a high-level container level (such as a Datacenter UUID), it truncates the payload by design.

Resolution

Internal APIs are unsupported for external automation scripts and general data extraction. To obtain the complete list of orphaned disks without encountering truncation limits, utilize the method below:

Utilize Supported UI CSV Export: The UI export function operates outside the internal API array constraints and will successfully generate the full dataset.

  1. Log in to the VMware Aria Operations UI.

  2. Navigate to Optimize > Reclaim.

  3. Select the target Data Center.

  4. Locate the Orphaned Disks table.

  5. Click EXPORT ALL to export the complete, untruncated list of orphaned disks into a CSV file.

Additional Information

To request that Orphaned Disk data be fully exposed via the supported public Suite-API (with native pagination), please submit a Feature Request or post in the Broadcom Ideas Portal