StopDrillExecutionOptions¶
- class oci.disaster_recovery.models.StopDrillExecutionOptions(**kwargs)¶
Bases:
DrPlanExecutionOptionsOptions for stop drill execution.
Attributes:
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions.
Gets the are_prechecks_enabled of this StopDrillExecutionOptions.
Gets the are_warnings_ignored of this StopDrillExecutionOptions.
[Required] Gets the plan_execution_type of this DrPlanExecutionOptions.
Methods:
__init__(**kwargs)Initializes a new StopDrillExecutionOptions 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'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “FAILOVER”
- PLAN_EXECUTION_TYPE_FAILOVER_PRECHECK = 'FAILOVER_PRECHECK'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “FAILOVER_PRECHECK”
- PLAN_EXECUTION_TYPE_START_DRILL = 'START_DRILL'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “START_DRILL”
- PLAN_EXECUTION_TYPE_START_DRILL_PRECHECK = 'START_DRILL_PRECHECK'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “START_DRILL_PRECHECK”
- PLAN_EXECUTION_TYPE_STOP_DRILL = 'STOP_DRILL'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “STOP_DRILL”
- PLAN_EXECUTION_TYPE_STOP_DRILL_PRECHECK = 'STOP_DRILL_PRECHECK'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “STOP_DRILL_PRECHECK”
- PLAN_EXECUTION_TYPE_SWITCHOVER = 'SWITCHOVER'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “SWITCHOVER”
- PLAN_EXECUTION_TYPE_SWITCHOVER_PRECHECK = 'SWITCHOVER_PRECHECK'¶
A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptions. This constant has a value of “SWITCHOVER_PRECHECK”
- __init__(**kwargs)¶
Initializes a new StopDrillExecutionOptions object with values from keyword arguments. The default value of the
plan_execution_typeattribute of this class isSTOP_DRILLand 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 StopDrillExecutionOptions. Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL_PRECHECK”, “START_DRILL”, “STOP_DRILL_PRECHECK”, “STOP_DRILL”
are_prechecks_enabled (bool) – The value to assign to the are_prechecks_enabled property of this StopDrillExecutionOptions.
are_warnings_ignored (bool) – The value to assign to the are_warnings_ignored property of this StopDrillExecutionOptions.
- property are_prechecks_enabled¶
Gets the are_prechecks_enabled of this StopDrillExecutionOptions. A flag indicating whether a precheck should be executed before the plan execution.
Example: true
- Returns
The are_prechecks_enabled of this StopDrillExecutionOptions.
- Return type
bool
- property are_warnings_ignored¶
Gets the are_warnings_ignored of this StopDrillExecutionOptions. A flag indicating whether warnings should be ignored during the plan execution.
Example: false
- Returns
The are_warnings_ignored of this StopDrillExecutionOptions.
- 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.
- property 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