batch_snapshot_hosts
Create snapshots for multiple virtual machines simultaneously to save time compared to sequential processing, enabling efficient backup of cyber range environments before security testing.
Instructions
Create snapshots for multiple VMs in parallel.
This is much faster than creating snapshots sequentially, especially for large numbers of VMs.
Args: vm_names: List of VM names to snapshot snapshot_name: Name for the snapshots description: Optional description for snapshots user_id: Optional user ID (admin only)
Returns: Results for each VM including successes and failures
Example: vm_names = ["DC01", "WS01", "WS02"] result = await batch_snapshot_hosts( vm_names=vm_names, snapshot_name="before-attack", description="Clean state before penetration test" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_names | Yes | ||
| snapshot_name | Yes | ||
| description | No | ||
| user_id | No |