FailoverExecutionOptionDetails

class oci.disaster_recovery.models.FailoverExecutionOptionDetails(**kwargs)

Bases: oci.disaster_recovery.models.dr_plan_execution_option_details.DrPlanExecutionOptionDetails

Options for failover execution.

Attributes

PLAN_EXECUTION_TYPE_FAILOVER str(object=’’) -> str
PLAN_EXECUTION_TYPE_FAILOVER_PRECHECK str(object=’’) -> str
PLAN_EXECUTION_TYPE_START_DRILL str(object=’’) -> str
PLAN_EXECUTION_TYPE_START_DRILL_PRECHECK str(object=’’) -> str
PLAN_EXECUTION_TYPE_STOP_DRILL str(object=’’) -> str
PLAN_EXECUTION_TYPE_STOP_DRILL_PRECHECK str(object=’’) -> str
PLAN_EXECUTION_TYPE_SWITCHOVER str(object=’’) -> str
PLAN_EXECUTION_TYPE_SWITCHOVER_PRECHECK str(object=’’) -> str
are_prechecks_enabled Gets the are_prechecks_enabled of this FailoverExecutionOptionDetails.
are_warnings_ignored Gets the are_warnings_ignored of this FailoverExecutionOptionDetails.
plan_execution_type [Required] Gets the plan_execution_type of this DrPlanExecutionOptionDetails.

Methods

__init__(**kwargs) Initializes a new FailoverExecutionOptionDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
PLAN_EXECUTION_TYPE_FAILOVER = 'FAILOVER'
PLAN_EXECUTION_TYPE_FAILOVER_PRECHECK = 'FAILOVER_PRECHECK'
PLAN_EXECUTION_TYPE_START_DRILL = 'START_DRILL'
PLAN_EXECUTION_TYPE_START_DRILL_PRECHECK = 'START_DRILL_PRECHECK'
PLAN_EXECUTION_TYPE_STOP_DRILL = 'STOP_DRILL'
PLAN_EXECUTION_TYPE_STOP_DRILL_PRECHECK = 'STOP_DRILL_PRECHECK'
PLAN_EXECUTION_TYPE_SWITCHOVER = 'SWITCHOVER'
PLAN_EXECUTION_TYPE_SWITCHOVER_PRECHECK = 'SWITCHOVER_PRECHECK'
__init__(**kwargs)

Initializes a new FailoverExecutionOptionDetails object with values from keyword arguments. The default value of the plan_execution_type attribute of this class is FAILOVER and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • plan_execution_type (str) – The value to assign to the plan_execution_type property of this FailoverExecutionOptionDetails. Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL”, “START_DRILL_PRECHECK”, “STOP_DRILL”, “STOP_DRILL_PRECHECK”
  • are_prechecks_enabled (bool) – The value to assign to the are_prechecks_enabled property of this FailoverExecutionOptionDetails.
  • are_warnings_ignored (bool) – The value to assign to the are_warnings_ignored property of this FailoverExecutionOptionDetails.
are_prechecks_enabled

Gets the are_prechecks_enabled of this FailoverExecutionOptionDetails. A flag indicating whether prechecks should be executed before the plan execution.

Example: true

Returns:The are_prechecks_enabled of this FailoverExecutionOptionDetails.
Return type:bool
are_warnings_ignored

Gets the are_warnings_ignored of this FailoverExecutionOptionDetails. A flag indicating whether warnings should be ignored during the failover.

Example: false

Returns:The are_warnings_ignored of this FailoverExecutionOptionDetails.
Return type:bool
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

plan_execution_type

[Required] Gets the plan_execution_type of this DrPlanExecutionOptionDetails. The type of the plan execution.

Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL”, “START_DRILL_PRECHECK”, “STOP_DRILL”, “STOP_DRILL_PRECHECK”

Returns:The plan_execution_type of this DrPlanExecutionOptionDetails.
Return type:str