UpdateDrPlanStepDetails¶
- class oci.disaster_recovery.models.UpdateDrPlanStepDetails(**kwargs)¶
Bases:
objectThe details for updating a DR plan step.
Attributes:
A constant which can be used with the error_mode property of a UpdateDrPlanStepDetails.
A constant which can be used with the error_mode property of a UpdateDrPlanStepDetails.
Gets the display_name of this UpdateDrPlanStepDetails.
Gets the error_mode of this UpdateDrPlanStepDetails.
Gets the id of this UpdateDrPlanStepDetails.
Gets the is_enabled of this UpdateDrPlanStepDetails.
Gets the timeout of this UpdateDrPlanStepDetails.
Gets the user_defined_step of this UpdateDrPlanStepDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDrPlanStepDetails object with values from keyword arguments.
- ERROR_MODE_CONTINUE_ON_ERROR = 'CONTINUE_ON_ERROR'¶
A constant which can be used with the error_mode property of a UpdateDrPlanStepDetails. This constant has a value of “CONTINUE_ON_ERROR”
- ERROR_MODE_STOP_ON_ERROR = 'STOP_ON_ERROR'¶
A constant which can be used with the error_mode property of a UpdateDrPlanStepDetails. This constant has a value of “STOP_ON_ERROR”
- __init__(**kwargs)¶
Initializes a new UpdateDrPlanStepDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this UpdateDrPlanStepDetails.
display_name (str) – The value to assign to the display_name property of this UpdateDrPlanStepDetails.
error_mode (str) – The value to assign to the error_mode property of this UpdateDrPlanStepDetails. Allowed values for this property are: “STOP_ON_ERROR”, “CONTINUE_ON_ERROR”
timeout (int) – The value to assign to the timeout property of this UpdateDrPlanStepDetails.
is_enabled (bool) – The value to assign to the is_enabled property of this UpdateDrPlanStepDetails.
user_defined_step (oci.disaster_recovery.models.UpdateDrPlanUserDefinedStepDetails) – The value to assign to the user_defined_step property of this UpdateDrPlanStepDetails.
- property display_name¶
Gets the display_name of this UpdateDrPlanStepDetails. The display name of the step in a group.
Example: My_STEP_3A - EBS Start - STAGE A
- Returns
The display_name of this UpdateDrPlanStepDetails.
- Return type
str
- property error_mode¶
Gets the error_mode of this UpdateDrPlanStepDetails. The error mode for this step. The default error mode for the step is STOP_ON_ERROR.
Allowed values for this property are: “STOP_ON_ERROR”, “CONTINUE_ON_ERROR”
- Returns
The error_mode of this UpdateDrPlanStepDetails.
- Return type
str
- property id¶
Gets the id of this UpdateDrPlanStepDetails. The unique id of the step.
Example: sgid1.step..uniqueID
- Returns
The id of this UpdateDrPlanStepDetails.
- Return type
str
- property is_enabled¶
Gets the is_enabled of this UpdateDrPlanStepDetails. A flag indicating whether this step should be enabled for execution. The default value for the isEnabled flag is true.
Example: true
- Returns
The is_enabled of this UpdateDrPlanStepDetails.
- Return type
bool
- property timeout¶
Gets the timeout of this UpdateDrPlanStepDetails. The timeout in seconds for executing this step. When creating a new step, if no timeout is specified, the default timeout is set to 3600 seconds.
Example: 600
- Returns
The timeout of this UpdateDrPlanStepDetails.
- Return type
int
- property user_defined_step¶
Gets the user_defined_step of this UpdateDrPlanStepDetails.
- Returns
The user_defined_step of this UpdateDrPlanStepDetails.
- Return type
oci.disaster_recovery.models.UpdateDrPlanUserDefinedStepDetails