esxi_datastore_transfer
Transfer files on ESXi datastores: upload ISO/OVF/VMDK via base64 or HTTPS URL, download as base64, with dry-run preview and overwrite protection.
Instructions
Datastore 文件 stat/download/upload。可上传 ISO/OVF/VMDK 等文件(不等于部署完成)。
upload 用 base64 或 HTTPS source_url;默认只预览,真实写要求普通和高级写开关。 默认不覆盖,保护管理 VM 目录。URL 上传可流式接收大文件;max_bytes 最大 8GiB。 download 的 base64 响应最多 8MiB。服务端不读取任意本地文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No | ||
| datastore | Yes | ||
| max_bytes | No | ||
| operation | Yes | ||
| overwrite | No | ||
| source_url | No | ||
| data_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |