DrPlanGroupExecution

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

Bases: object

The details of a group execution in a DR plan execution.

Attributes

STATUS_CANCELED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_DISABLED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_FAILED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_FAILED_IGNORED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_IN_PROGRESS A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_PAUSED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_QUEUED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_SUCCEEDED A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_SUCCEEDED_WITH_WARNING A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_TIMED_OUT A constant which can be used with the status property of a DrPlanGroupExecution.
STATUS_TIMED_OUT_IGNORED A constant which can be used with the status property of a DrPlanGroupExecution.
TYPE_BUILT_IN A constant which can be used with the type property of a DrPlanGroupExecution.
TYPE_BUILT_IN_PRECHECK A constant which can be used with the type property of a DrPlanGroupExecution.
TYPE_USER_DEFINED A constant which can be used with the type property of a DrPlanGroupExecution.
TYPE_USER_DEFINED_PAUSE A constant which can be used with the type property of a DrPlanGroupExecution.
display_name [Required] Gets the display_name of this DrPlanGroupExecution.
execution_duration_in_sec Gets the execution_duration_in_sec of this DrPlanGroupExecution.
group_id [Required] Gets the group_id of this DrPlanGroupExecution.
status [Required] Gets the status of this DrPlanGroupExecution.
status_details Gets the status_details of this DrPlanGroupExecution.
step_executions [Required] Gets the step_executions of this DrPlanGroupExecution.
time_ended Gets the time_ended of this DrPlanGroupExecution.
time_started Gets the time_started of this DrPlanGroupExecution.
type [Required] Gets the type of this DrPlanGroupExecution.

Methods

__init__(**kwargs) Initializes a new DrPlanGroupExecution object with values from keyword arguments.
STATUS_CANCELED = 'CANCELED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “CANCELED”

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “DISABLED”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “FAILED”

STATUS_FAILED_IGNORED = 'FAILED_IGNORED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “FAILED_IGNORED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “IN_PROGRESS”

STATUS_PAUSED = 'PAUSED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “PAUSED”

STATUS_QUEUED = 'QUEUED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “QUEUED”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “SUCCEEDED”

STATUS_SUCCEEDED_WITH_WARNING = 'SUCCEEDED_WITH_WARNING'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “SUCCEEDED_WITH_WARNING”

STATUS_TIMED_OUT = 'TIMED_OUT'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “TIMED_OUT”

STATUS_TIMED_OUT_IGNORED = 'TIMED_OUT_IGNORED'

A constant which can be used with the status property of a DrPlanGroupExecution. This constant has a value of “TIMED_OUT_IGNORED”

TYPE_BUILT_IN = 'BUILT_IN'

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

__init__(**kwargs)

Initializes a new DrPlanGroupExecution object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • group_id (str) – The value to assign to the group_id property of this DrPlanGroupExecution.
  • type (str) – The value to assign to the type property of this DrPlanGroupExecution. 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’.
  • display_name (str) – The value to assign to the display_name property of this DrPlanGroupExecution.
  • status (str) – The value to assign to the status property of this DrPlanGroupExecution. Allowed values for this property are: “QUEUED”, “DISABLED”, “IN_PROGRESS”, “SUCCEEDED”, “SUCCEEDED_WITH_WARNING”, “FAILED”, “FAILED_IGNORED”, “TIMED_OUT”, “TIMED_OUT_IGNORED”, “PAUSED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status_details (str) – The value to assign to the status_details property of this DrPlanGroupExecution.
  • time_started (datetime) – The value to assign to the time_started property of this DrPlanGroupExecution.
  • time_ended (datetime) – The value to assign to the time_ended property of this DrPlanGroupExecution.
  • execution_duration_in_sec (int) – The value to assign to the execution_duration_in_sec property of this DrPlanGroupExecution.
  • step_executions (list[oci.disaster_recovery.models.DrPlanStepExecution]) – The value to assign to the step_executions property of this DrPlanGroupExecution.
display_name

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

Example: DATABASE_SWITCHOVER

Returns:The display_name of this DrPlanGroupExecution.
Return type:str
execution_duration_in_sec

Gets the execution_duration_in_sec of this DrPlanGroupExecution. The total duration in seconds taken to complete group execution.

Example: 120

Returns:The execution_duration_in_sec of this DrPlanGroupExecution.
Return type:int
group_id

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

Example: sgid1.group..uniqueID

Returns:The group_id of this DrPlanGroupExecution.
Return type:str
status

[Required] Gets the status of this DrPlanGroupExecution. The status of the group execution.

Allowed values for this property are: “QUEUED”, “DISABLED”, “IN_PROGRESS”, “SUCCEEDED”, “SUCCEEDED_WITH_WARNING”, “FAILED”, “FAILED_IGNORED”, “TIMED_OUT”, “TIMED_OUT_IGNORED”, “PAUSED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this DrPlanGroupExecution.
Return type:str
status_details

Gets the status_details of this DrPlanGroupExecution. Additional details on the group execution status.

Example: A total of [3] steps failed in the group

Returns:The status_details of this DrPlanGroupExecution.
Return type:str
step_executions

[Required] Gets the step_executions of this DrPlanGroupExecution. A list of step executions in the group.

Returns:The step_executions of this DrPlanGroupExecution.
Return type:list[oci.disaster_recovery.models.DrPlanStepExecution]
time_ended

Gets the time_ended of this DrPlanGroupExecution. The time when group execution ended. An RFC3339 formatted datetime string.

Example: 2019-03-29T09:36:42Z

Returns:The time_ended of this DrPlanGroupExecution.
Return type:datetime
time_started

Gets the time_started of this DrPlanGroupExecution. The time when group execution began. An RFC3339 formatted datetime string.

Example: 2019-03-29T09:36:42Z

Returns:The time_started of this DrPlanGroupExecution.
Return type:datetime
type

[Required] Gets the type of this DrPlanGroupExecution. 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 DrPlanGroupExecution.
Return type:str