FailoverPrecheckExecutionOptions¶
-
class
oci.disaster_recovery.models.FailoverPrecheckExecutionOptions(**kwargs)¶ Bases:
oci.disaster_recovery.models.dr_plan_execution_options.DrPlanExecutionOptionsOptions for failover precheck execution.
Attributes
PLAN_EXECUTION_TYPE_FAILOVERstr(object=’’) -> str PLAN_EXECUTION_TYPE_FAILOVER_PRECHECKstr(object=’’) -> str PLAN_EXECUTION_TYPE_START_DRILLstr(object=’’) -> str PLAN_EXECUTION_TYPE_START_DRILL_PRECHECKstr(object=’’) -> str PLAN_EXECUTION_TYPE_STOP_DRILLstr(object=’’) -> str PLAN_EXECUTION_TYPE_STOP_DRILL_PRECHECKstr(object=’’) -> str PLAN_EXECUTION_TYPE_SWITCHOVERstr(object=’’) -> str PLAN_EXECUTION_TYPE_SWITCHOVER_PRECHECKstr(object=’’) -> str are_warnings_ignoredGets the are_warnings_ignored of this FailoverPrecheckExecutionOptions. plan_execution_type[Required] Gets the plan_execution_type of this DrPlanExecutionOptions. Methods
__init__(**kwargs)Initializes a new FailoverPrecheckExecutionOptions 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 FailoverPrecheckExecutionOptions object with values from keyword arguments. The default value of the
plan_execution_typeattribute of this class isFAILOVER_PRECHECKand 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 FailoverPrecheckExecutionOptions. Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL_PRECHECK”, “START_DRILL”, “STOP_DRILL_PRECHECK”, “STOP_DRILL”
- are_warnings_ignored (bool) – The value to assign to the are_warnings_ignored property of this FailoverPrecheckExecutionOptions.
-
are_warnings_ignored¶ Gets the are_warnings_ignored of this FailoverPrecheckExecutionOptions. A flag indicating whether warnings should be ignored during the precheck.
Example: false
Returns: The are_warnings_ignored of this FailoverPrecheckExecutionOptions. 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 DrPlanExecutionOptions. The type of the plan execution.
Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL_PRECHECK”, “START_DRILL”, “STOP_DRILL_PRECHECK”, “STOP_DRILL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The plan_execution_type of this DrPlanExecutionOptions. Return type: str
-