vsphere_instant_recovery
Instantly recover a vSphere VM from a provided snapshot. If a specific date and time is not provided, the last snapshot taken will be used.
Arguments
Name | Type | Description | Choices |
vm_name | str | The name of the VM to Instantly Recover. |
Keyword Arguments
Name | Type | Description | Choices | Default |
date | str | The date of the snapshot you wish to Instantly Recover formated as | latest | |
time | str | The time of the snapshot you wish to Instantly Recover formated formated as | latest | |
host | str | The hostname or IP address of the ESXi host to Instantly Recover the VM on. By default, the current host will be used. | current | |
remove_network_devices | bool | Flag that determines whether to remove the network interfaces from the Instantly Recovered VM. Set to | False | |
power_on | bool | Flag that determines whether the VM should be powered on after Instant Recovery. Set to | True | |
disable_network | bool | Sets the state of the network interfaces when the VM is instantly recovered. Use | False | |
keep_mac_addresses | bool | Flag that determines whether the MAC addresses of the network interfaces on the source VM are assigned to the new VM. Set to | False | |
preserve_moid | bool | Flag that determines whether to preserve the MOID of the source VM in a restore operation. Use | False | |
timeout | int | The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error. | 15 |
Returns
Type | Return Value |
dict | The full response of |
Example
Last updated