DrPlanGroup

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

Bases: object

Details of a group in a DR plan.

Attributes:

REFRESH_STATUS_GROUP_ADDED

A constant which can be used with the refresh_status property of a DrPlanGroup.

REFRESH_STATUS_GROUP_DELETED

A constant which can be used with the refresh_status property of a DrPlanGroup.

REFRESH_STATUS_GROUP_MODIFIED

A constant which can be used with the refresh_status property of a DrPlanGroup.

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.

TYPE_USER_DEFINED_PAUSE

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.

is_pause_enabled

Gets the is_pause_enabled of this DrPlanGroup.

refresh_status

Gets the refresh_status 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.

REFRESH_STATUS_GROUP_ADDED = 'GROUP_ADDED'

A constant which can be used with the refresh_status property of a DrPlanGroup. This constant has a value of “GROUP_ADDED”

REFRESH_STATUS_GROUP_DELETED = 'GROUP_DELETED'

A constant which can be used with the refresh_status property of a DrPlanGroup. This constant has a value of “GROUP_DELETED”

REFRESH_STATUS_GROUP_MODIFIED = 'GROUP_MODIFIED'

A constant which can be used with the refresh_status property of a DrPlanGroup. This constant has a value of “GROUP_MODIFIED”

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”

TYPE_USER_DEFINED_PAUSE = 'USER_DEFINED_PAUSE'

A constant which can be used with the type property of a DrPlanGroup. This constant has a value of “USER_DEFINED_PAUSE”

__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”, “USER_DEFINED_PAUSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • refresh_status (str) – The value to assign to the refresh_status property of this DrPlanGroup. Allowed values for this property are: “GROUP_ADDED”, “GROUP_DELETED”, “GROUP_MODIFIED”, ‘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.

  • is_pause_enabled (bool) – The value to assign to the is_pause_enabled property of this DrPlanGroup.

  • steps (list[oci.disaster_recovery.models.DrPlanStep]) – The value to assign to the steps property of this DrPlanGroup.

property 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

property 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

property is_pause_enabled

Gets the is_pause_enabled of this DrPlanGroup. 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 DrPlanGroup.

Return type

bool

property refresh_status

Gets the refresh_status of this DrPlanGroup. The DR plan group refresh status.

Example: GROUP_MODIFIED

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

Returns

The refresh_status of this DrPlanGroup.

Return type

str

property 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]

property 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”, “USER_DEFINED_PAUSE”, ‘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