DrPlanGroup

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

Bases: object

Details of a group in a DR plan.

Attributes

TYPE_BUILT_IN A constant which can be used with the type property of a DrPlanGroup.
TYPE_BUILT_IN_PRECHECK A constant which can be used with the type property of a DrPlanGroup.
TYPE_USER_DEFINED A constant which can be used with the type property of a DrPlanGroup.
display_name [Required] Gets the display_name of this DrPlanGroup.
id [Required] Gets the id of this DrPlanGroup.
steps [Required] Gets the steps of this DrPlanGroup.
type [Required] Gets the type of this DrPlanGroup.

Methods

__init__(**kwargs) Initializes a new DrPlanGroup object with values from keyword arguments.
TYPE_BUILT_IN = 'BUILT_IN'

A constant which can be used with the type property of a DrPlanGroup. 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 DrPlanGroup. 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 DrPlanGroup. This constant has a value of “USER_DEFINED”

__init__(**kwargs)

Initializes a new DrPlanGroup 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 DrPlanGroup.
  • type (str) – The value to assign to the type property of this DrPlanGroup. Allowed values for this property are: “USER_DEFINED”, “BUILT_IN”, “BUILT_IN_PRECHECK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • display_name (str) – The value to assign to the display_name property of this DrPlanGroup.
  • steps (list[oci.disaster_recovery.models.DrPlanStep]) – The value to assign to the steps property of this DrPlanGroup.
display_name

[Required] Gets the display_name of this DrPlanGroup. The display name of the group.

Example: DATABASE_SWITCHOVER

Returns:The display_name of this DrPlanGroup.
Return type:str
id

[Required] Gets the id of this DrPlanGroup. The unique id of the group. Must not be modified by user.

Example: sgid1.group..uniqueID

Returns:The id of this DrPlanGroup.
Return type:str
steps

[Required] Gets the steps of this DrPlanGroup. The list of steps in the group.

Returns:The steps of this DrPlanGroup.
Return type:list[oci.disaster_recovery.models.DrPlanStep]
type

[Required] Gets the type of this DrPlanGroup. The group type.

Example: BUILT_IN

Allowed values for this property are: “USER_DEFINED”, “BUILT_IN”, “BUILT_IN_PRECHECK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this DrPlanGroup.
Return type:str