esxi_api_transfer
Handles HTTPS URLs from GuestFileManager or HttpNfcLease to transfer guest files and OVF/NFC data via PUT/POST, with dry-run previews, progress refresh, and lease Complete/Abort.
Instructions
处理 GuestFileManager 或 HttpNfcLease 返回的 HTTPS URL,完成 guest 文件/OVF-NFC 的 HTTP 阶段。
仅连接当前 ESXi 的 guestFile/NFC 路径。上传默认预览,执行需普通和高级写开关。 lease 传发现的 HttpNfcLease 引用以在下载源文件/上传时刷新进度,最后用 API 调用 Complete/Abort。 OVF 流式 VMDK 通常用 POST 和 application/x-vnd.vmware-streamVmdk;guest 文件用 PUT。 该工具不是一键 OS 安装器;guest 需要 Tools 和认证,OVA 需先取得描述符和独立磁盘数据。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lease | No | ||
| dry_run | No | ||
| max_bytes | No | ||
| operation | Yes | ||
| source_url | No | ||
| data_base64 | No | ||
| http_method | No | PUT | |
| content_type | No | application/octet-stream | |
| transfer_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |