CancelDrPlanExecutionDetails¶
- class oci.disaster_recovery.models.CancelDrPlanExecutionDetails(**kwargs)¶
Bases:
DrPlanExecutionControlDetailsThe details for cancelling a DR plan execution.
Attributes:
A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
A constant which can be used with the action_type property of a DrPlanExecutionControlDetails.
[Required] Gets the action_type of this DrPlanExecutionControlDetails.
Methods:
__init__(**kwargs)Initializes a new CancelDrPlanExecutionDetails 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 CancelDrPlanExecutionDetails object with values from keyword arguments. The default value of the
action_typeattribute of this class isCANCELand it should not be changed. 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 CancelDrPlanExecutionDetails. Allowed values for this property are: “CANCEL”, “PAUSE”, “RESUME”
- property 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.