esxi_expand_disk
Expand a VM disk size by device key, rejecting snapshots and preventing shrink. Use dry_run to preview changes before applying.
Instructions
仅允许增长,由 device_key 精确定位;有快照时拒绝。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| dry_run | No | ||
| device_key | Yes | ||
| new_size_gb | Yes | ||
| expected_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |