UpdateDrPlanUserDefinedStepDetails¶
-
class
oci.disaster_recovery.models.UpdateDrPlanUserDefinedStepDetails(**kwargs)¶ Bases:
objectThe details for updating a user-defined step in a DR plan.
Attributes
STEP_TYPE_INVOKE_FUNCTIONA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_INVOKE_FUNCTION_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_LOCAL_SCRIPTA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_LOCAL_SCRIPT_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_OBJECTSTORE_SCRIPTA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_OBJECTSTORE_SCRIPT_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. STEP_TYPE_RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECKA constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. step_type[Required] Gets the step_type of this UpdateDrPlanUserDefinedStepDetails. Methods
__init__(**kwargs)Initializes a new UpdateDrPlanUserDefinedStepDetails 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. -
STEP_TYPE_INVOKE_FUNCTION= 'INVOKE_FUNCTION'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “INVOKE_FUNCTION”
-
STEP_TYPE_INVOKE_FUNCTION_PRECHECK= 'INVOKE_FUNCTION_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “INVOKE_FUNCTION_PRECHECK”
-
STEP_TYPE_INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK= 'INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK”
-
STEP_TYPE_RUN_LOCAL_SCRIPT= 'RUN_LOCAL_SCRIPT'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_LOCAL_SCRIPT”
-
STEP_TYPE_RUN_LOCAL_SCRIPT_PRECHECK= 'RUN_LOCAL_SCRIPT_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_LOCAL_SCRIPT_PRECHECK”
-
STEP_TYPE_RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK= 'RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”
-
STEP_TYPE_RUN_OBJECTSTORE_SCRIPT= 'RUN_OBJECTSTORE_SCRIPT'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_OBJECTSTORE_SCRIPT”
-
STEP_TYPE_RUN_OBJECTSTORE_SCRIPT_PRECHECK= 'RUN_OBJECTSTORE_SCRIPT_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_OBJECTSTORE_SCRIPT_PRECHECK”
-
STEP_TYPE_RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK= 'RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK'¶ A constant which can be used with the step_type property of a UpdateDrPlanUserDefinedStepDetails. This constant has a value of “RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”
-
__init__(**kwargs)¶ Initializes a new UpdateDrPlanUserDefinedStepDetails 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:
UpdateRunLocalScriptUserDefinedCustomPrecheckStepDetailsUpdateLocalScriptPrecheckStepDetailsUpdateInvokeFunctionPrecheckStepDetailsUpdateInvokeFunctionUserDefinedStepDetailsUpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetailsUpdateInvokeFunctionUserDefinedCustomPrecheckStepDetailsUpdateRunObjectStoreScriptUserDefinedStepDetailsUpdateObjectStoreScriptPrecheckStepDetailsUpdateRunLocalScriptUserDefinedStepDetails
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: step_type (str) – The value to assign to the step_type property of this UpdateDrPlanUserDefinedStepDetails. Allowed values for this property are: “RUN_OBJECTSTORE_SCRIPT_PRECHECK”, “RUN_LOCAL_SCRIPT_PRECHECK”, “INVOKE_FUNCTION_PRECHECK”, “RUN_OBJECTSTORE_SCRIPT”, “RUN_LOCAL_SCRIPT”, “INVOKE_FUNCTION”, “RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”, “RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”, “INVOKE_FUNCTION_USER_DEFINED_CUSTOM_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.
-
step_type¶ [Required] Gets the step_type of this UpdateDrPlanUserDefinedStepDetails. The type of the user-defined step.
- RUN_OBJECTSTORE_SCRIPT_PRECHECK - A built-in step which performs a precheck on a script stored
- in OCI object storage. This step cannot be added, deleted, or customized by the user.
- RUN_LOCAL_SCRIPT_PRECHECK - A built-in step which performs a precheck on a script which resides
- locally on a compute instance. This step cannot be added, deleted, or customized by the user.
- INVOKE_FUNCTION_PRECHECK - A built-in step which performs a precheck on an OCI function. This
- step cannot be added, deleted, or customized by the user. See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
RUN_OBJECTSTORE_SCRIPT - A step which runs a script stored in OCI object storage.
RUN_LOCAL_SCRIPT - A step which runs a script that resides locally on a compute instance.
- INVOKE_FUNCTION - A step which invokes an OCI function.
- See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
- RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK - A user-defined step which performs a precheck by executing a user-provided script stored
- in OCI object storage.
- RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK - A user-defined step which performs a precheck by executing a user-provided script which resides
- locally on a compute instance.
- INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK - A user-defined step which performs a precheck by executing a user-provided OCI function.
- See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
Allowed values for this property are: “RUN_OBJECTSTORE_SCRIPT_PRECHECK”, “RUN_LOCAL_SCRIPT_PRECHECK”, “INVOKE_FUNCTION_PRECHECK”, “RUN_OBJECTSTORE_SCRIPT”, “RUN_LOCAL_SCRIPT”, “INVOKE_FUNCTION”, “RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”, “RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK”, “INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK”
Returns: The step_type of this UpdateDrPlanUserDefinedStepDetails. Return type: str
-