UpdateDrPlanGroupDetails¶
-
class
oci.disaster_recovery.models.
UpdateDrPlanGroupDetails
(**kwargs)¶ Bases:
object
The details for updating a group in a DR plan.
Attributes
TYPE_BUILT_IN
A constant which can be used with the type property of a UpdateDrPlanGroupDetails. TYPE_BUILT_IN_PRECHECK
A constant which can be used with the type property of a UpdateDrPlanGroupDetails. TYPE_USER_DEFINED
A constant which can be used with the type property of a UpdateDrPlanGroupDetails. TYPE_USER_DEFINED_PAUSE
A constant which can be used with the type property of a UpdateDrPlanGroupDetails. display_name
Gets the display_name of this UpdateDrPlanGroupDetails. id
Gets the id of this UpdateDrPlanGroupDetails. is_pause_enabled
Gets the is_pause_enabled of this UpdateDrPlanGroupDetails. steps
Gets the steps of this UpdateDrPlanGroupDetails. type
Gets the type of this UpdateDrPlanGroupDetails. Methods
__init__
(**kwargs)Initializes a new UpdateDrPlanGroupDetails object with values from keyword arguments. -
TYPE_BUILT_IN
= 'BUILT_IN'¶ A constant which can be used with the type property of a UpdateDrPlanGroupDetails. This constant has a value of “BUILT_IN”
-
TYPE_BUILT_IN_PRECHECK
= 'BUILT_IN_PRECHECK'¶ A constant which can be used with the type property of a UpdateDrPlanGroupDetails. This constant has a value of “BUILT_IN_PRECHECK”
-
TYPE_USER_DEFINED
= 'USER_DEFINED'¶ A constant which can be used with the type property of a UpdateDrPlanGroupDetails. This constant has a value of “USER_DEFINED”
-
TYPE_USER_DEFINED_PAUSE
= 'USER_DEFINED_PAUSE'¶ A constant which can be used with the type property of a UpdateDrPlanGroupDetails. This constant has a value of “USER_DEFINED_PAUSE”
-
__init__
(**kwargs)¶ Initializes a new UpdateDrPlanGroupDetails 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 UpdateDrPlanGroupDetails.
- display_name (str) – The value to assign to the display_name property of this UpdateDrPlanGroupDetails.
- type (str) – The value to assign to the type property of this UpdateDrPlanGroupDetails. Allowed values for this property are: “USER_DEFINED”, “BUILT_IN”, “BUILT_IN_PRECHECK”, “USER_DEFINED_PAUSE”
- is_pause_enabled (bool) – The value to assign to the is_pause_enabled property of this UpdateDrPlanGroupDetails.
- steps (list[oci.disaster_recovery.models.UpdateDrPlanStepDetails]) – The value to assign to the steps property of this UpdateDrPlanGroupDetails.
-
display_name
¶ Gets the display_name of this UpdateDrPlanGroupDetails. The display name of the group.
Example: My_GROUP_3 - EBS Start
Returns: The display_name of this UpdateDrPlanGroupDetails. Return type: str
-
id
¶ Gets the id of this UpdateDrPlanGroupDetails. The unique id of the group. Must not be modified by user.
Example: sgid1.group..uniqueID
Returns: The id of this UpdateDrPlanGroupDetails. Return type: str
-
is_pause_enabled
¶ Gets the is_pause_enabled of this UpdateDrPlanGroupDetails. A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSE group. The flag should be null for the remaining group types.
Example: true
Returns: The is_pause_enabled of this UpdateDrPlanGroupDetails. Return type: bool
-
steps
¶ Gets the steps of this UpdateDrPlanGroupDetails. The list of steps in this group.
Returns: The steps of this UpdateDrPlanGroupDetails. Return type: list[oci.disaster_recovery.models.UpdateDrPlanStepDetails]
-
type
¶ Gets the type of this UpdateDrPlanGroupDetails. The group type.
Example: BUILT_IN
Allowed values for this property are: “USER_DEFINED”, “BUILT_IN”, “BUILT_IN_PRECHECK”, “USER_DEFINED_PAUSE”
Returns: The type of this UpdateDrPlanGroupDetails. Return type: str
-