DrPlanExecutionControlDetails

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

Bases: object

The details for controlling plan execution.

Attributes

ACTION_TYPE_CANCEL A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
ACTION_TYPE_PAUSE A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
ACTION_TYPE_RESUME A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
action_type [Required] Gets the action_type of this DrPlanExecutionControlDetails.

Methods

__init__(**kwargs) Initializes a new DrPlanExecutionControlDetails 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.
ACTION_TYPE_CANCEL = 'CANCEL'

A constant which can be used with the action_type property of a DrPlanExecutionControlDetails. This constant has a value of “CANCEL”

ACTION_TYPE_PAUSE = 'PAUSE'

A constant which can be used with the action_type property of a DrPlanExecutionControlDetails. This constant has a value of “PAUSE”

ACTION_TYPE_RESUME = 'RESUME'

A constant which can be used with the action_type property of a DrPlanExecutionControlDetails. This constant has a value of “RESUME”

__init__(**kwargs)

Initializes a new DrPlanExecutionControlDetails 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:action_type (str) – The value to assign to the action_type property of this DrPlanExecutionControlDetails. Allowed values for this property are: “CANCEL”, “PAUSE”, “RESUME”
action_type

[Required] Gets the action_type of this DrPlanExecutionControlDetails. The type of control action.

Allowed values for this property are: “CANCEL”, “PAUSE”, “RESUME”

Returns:The action_type of this DrPlanExecutionControlDetails.
Return type:str
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.