DrPlanExecutionOptionDetails

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

Bases: object

The options for a plan execution.

Attributes

PLAN_EXECUTION_TYPE_FAILOVER A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_FAILOVER_PRECHECK A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_START_DRILL A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_START_DRILL_PRECHECK A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_STOP_DRILL A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_STOP_DRILL_PRECHECK A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_SWITCHOVER A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
PLAN_EXECUTION_TYPE_SWITCHOVER_PRECHECK A constant which can be used with the plan_execution_type property of a DrPlanExecutionOptionDetails.
plan_execution_type [Required] Gets the plan_execution_type of this DrPlanExecutionOptionDetails.

Methods

__init__(**kwargs) Initializes a new DrPlanExecutionOptionDetails 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. 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 DrPlanExecutionOptionDetails. This constant has a value of “SWITCHOVER_PRECHECK”

__init__(**kwargs)

Initializes a new DrPlanExecutionOptionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 DrPlanExecutionOptionDetails. Allowed values for this property are: “SWITCHOVER”, “SWITCHOVER_PRECHECK”, “FAILOVER”, “FAILOVER_PRECHECK”, “START_DRILL”, “START_DRILL_PRECHECK”, “STOP_DRILL”, “STOP_DRILL_PRECHECK”
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