snapshot
Create a point-in-time copy of a VM to preserve its state. Optionally specify a custom ID for the copy.
Instructions
Create a snapshot of a VM.
Args: vm_name: Name of the VM to snapshot. snapshot_id: Optional ID for the snapshot. If not provided, one will be generated.
Returns: ID of the created snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| snapshot_id | No |