Restore Cloud Director Vm
restore_cloud_director_vmRestore a VMware Cloud Director VM from a backup restore point into its original vApp, replacing the existing VM, or into a customized vApp with a new name and network/storage mapping.
Instructions
Full restore of a VMware Cloud Director VM from a restore point of a Cloud Director backup job.
OriginalLocation restores the VM into its original vApp, replacing the existing VM if it is still there.
Customized restores it into vapp under new_name (required, keeps the original untouched), optionally with
network mapping and datastore/storage policy. Inventory objects (vApp, networks, datastores) come from vbr-mcp
browse_inventory on the Cloud Director server. proxy_ids pins backup proxies (default: automatic).
Returns a restore session.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"restore_point_id": "<restore_point_id>",
"mode": "<mode>"
},
"name": "restore_cloud_director_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| vapp | No | Customized: target vApp, the inventory object exactly as browse_inventory returns it. | |
| reason | No | ||
| network | No | Customized: RestoreTargetNetworkSpec {'networks': [{'sourceNetwork': obj, 'targetNetwork': obj}], 'disconnected': bool}. | |
| new_name | No | ||
| power_up | No | ||
| datastore | No | Customized: {'datastore': obj, 'storagePolicy': obj} (CloudDirectorRestoreTargetDatastoreSpec). | |
| proxy_ids | No | ||
| confirm_token | No | ||
| secure_restore | No | Optional SecureRestoreSpec: {'antivirusScanEnabled': bool, 'yaraScanEnabled': bool, 'yaraRule': str, 'virusDetectionAction': 'AbortRecovery'|'DisableNetwork'|'Ignore', 'entireVolumeScanEnabled': bool}. | |
| restore_point_id | Yes | ||
| restore_vsphere_vm_tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||