UnplannedFailoverSpec#
- class UnplannedFailoverSpec(recovery_reference_time=None, should_ignore_warnings=False, name=None, failover_directions=None, *args, **kwargs)#
Bases:
BaseRecoveryPlanActionSpecThe unplanned failover recovery plan action is used to perform an unplanned failover on the recovery plan.
- Parameters:
recovery_reference_time – (
recovery_reference_time) Point in time from which to restore the entities during an UNPLANNED_FAILOVER operation. Only ISO-8601 formatted timestamps are supported. For example, 2023-01-02T03:04:05Z.<br> When specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the specified timestamp. If not specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the start of the Recovery plan job.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)
- property recovery_reference_time#
Point in time from which to restore the entities during an UNPLANNED_FAILOVER operation. Only ISO-8601 formatted timestamps are supported. For example, 2023-01-02T03:04:05Z.<br> When specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the specified timestamp. If not specified, virtual machines (VMs) and volume groups are restored from the latest recovery points created on or before the start of the Recovery plan job.
- Type:
datetime
- 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