TestFailoverSpec#
- class TestFailoverSpec(should_ignore_warnings=False, is_instant_restore=False, name=None, failover_directions=None, *args, **kwargs)#
Bases:
BaseRecoveryPlanActionSpecThe test failover recovery plan action is used to perform a test failover on the recovery plan.
- Parameters:
should_ignore_warnings – (
should_ignore_warnings) Indicates whether to continue the recovery plan action despite validation warnings. For example, if the IP of some virtual machines (VMs) cannot be preserved after recovery, the Recovery Plan action can still be initiated by passing shouldIgnoreWarnings as true. This value allows the recovery operations to continue despite the validation warnings. Alternatively, the user can choose to resolve the validation warnings and trigger another failover action on recovery plan. (Default False)is_instant_restore – (
is_instant_restore) Indicates whether to enable Instant Restore. This feature allows a workload, such as a virtual machine (VM), to be quickly restored and powered on directly from an external backup repository on a Nutanix AOS cluster, without waiting for a full data transfer. (Default False)
- property is_instant_restore#
Indicates whether to enable Instant Restore. This feature allows a workload, such as a virtual machine (VM), to be quickly restored and powered on directly from an external backup repository on a Nutanix AOS cluster, without waiting for a full data transfer.
- Type:
bool
- property should_ignore_warnings#
Indicates whether to continue the recovery plan action despite validation warnings. For example, if the IP of some virtual machines (VMs) cannot be preserved after recovery, the Recovery Plan action can still be initiated by passing shouldIgnoreWarnings as true. This value allows the recovery operations to continue despite the validation warnings. Alternatively, the user can choose to resolve the validation warnings and trigger another failover action on recovery plan.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model