scan_datastore_images
Scan a datastore to list deployable images (OVA, ISO, OVF, VMDK) for live inventory; use list_cached_images for cached results.
Instructions
[READ] Scan a datastore for deployable images (OVA, ISO, OVF, VMDK).
Use this for a live scan of one datastore; prefer list_cached_images for a cached answer. datastore_name comes from list_all_datastores.
Returns the list envelope: 'items' holds one row per image, and 'returned'/'total'/'truncated' state whether the listing is complete. All patterns are browsed, so truncated is always false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Datastore-relative subdirectory (empty for root); a leading '/' or '..' is refused. The images found replace this datastore's cached entries under that folder, for list_cached_images. | |
| target | No | Optional vCenter/ESXi target name from config. | |
| datastore_name | Yes | Datastore name. |