ExecutionActionSummary

class oci.database.models.ExecutionActionSummary(**kwargs)

Bases: object

Details of an execution action.

Attributes:

ACTION_TYPE_DB_SERVER_FULL_SOFTWARE_UPDATE

A constant which can be used with the action_type property of a ExecutionActionSummary.

ACTION_TYPE_DB_SERVER_ONLINE_SOFTWARE_UPDATE

A constant which can be used with the action_type property of a ExecutionActionSummary.

ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE

A constant which can be used with the action_type property of a ExecutionActionSummary.

ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE

A constant which can be used with the action_type property of a ExecutionActionSummary.

LIFECYCLE_STATE_CANCELED

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_PARTIAL_SUCCESS

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_SCHEDULED

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary.

LIFECYCLE_SUBSTATE_CANCELED_BY_OPS

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary.

LIFECYCLE_SUBSTATE_DURATION_EXCEEDED

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary.

LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary.

LIFECYCLE_SUBSTATE_RESCHEDULED

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary.

LIFECYCLE_SUBSTATE_WAITING

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary.

action_members

Gets the action_members of this ExecutionActionSummary.

action_params

[Required] Gets the action_params of this ExecutionActionSummary.

action_type

[Required] Gets the action_type of this ExecutionActionSummary.

compartment_id

[Required] Gets the compartment_id of this ExecutionActionSummary.

defined_tags

Gets the defined_tags of this ExecutionActionSummary.

description

Gets the description of this ExecutionActionSummary.

display_name

[Required] Gets the display_name of this ExecutionActionSummary.

estimated_time_in_mins

Gets the estimated_time_in_mins of this ExecutionActionSummary.

execution_action_order

Gets the execution_action_order of this ExecutionActionSummary.

execution_window_id

[Required] Gets the execution_window_id of this ExecutionActionSummary.

freeform_tags

Gets the freeform_tags of this ExecutionActionSummary.

id

[Required] Gets the id of this ExecutionActionSummary.

lifecycle_details

Gets the lifecycle_details of this ExecutionActionSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this ExecutionActionSummary.

lifecycle_substate

Gets the lifecycle_substate of this ExecutionActionSummary.

system_tags

Gets the system_tags of this ExecutionActionSummary.

time_created

Gets the time_created of this ExecutionActionSummary.

time_updated

Gets the time_updated of this ExecutionActionSummary.

total_time_taken_in_mins

Gets the total_time_taken_in_mins of this ExecutionActionSummary.

Methods:

__init__(**kwargs)

Initializes a new ExecutionActionSummary object with values from keyword arguments.

ACTION_TYPE_DB_SERVER_FULL_SOFTWARE_UPDATE = 'DB_SERVER_FULL_SOFTWARE_UPDATE'

A constant which can be used with the action_type property of a ExecutionActionSummary. This constant has a value of “DB_SERVER_FULL_SOFTWARE_UPDATE”

ACTION_TYPE_DB_SERVER_ONLINE_SOFTWARE_UPDATE = 'DB_SERVER_ONLINE_SOFTWARE_UPDATE'

A constant which can be used with the action_type property of a ExecutionActionSummary. This constant has a value of “DB_SERVER_ONLINE_SOFTWARE_UPDATE”

ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE = 'NETWORK_SWITCH_FULL_SOFTWARE_UPDATE'

A constant which can be used with the action_type property of a ExecutionActionSummary. This constant has a value of “NETWORK_SWITCH_FULL_SOFTWARE_UPDATE”

ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE = 'STORAGE_SERVER_FULL_SOFTWARE_UPDATE'

A constant which can be used with the action_type property of a ExecutionActionSummary. This constant has a value of “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_PARTIAL_SUCCESS = 'PARTIAL_SUCCESS'

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary. This constant has a value of “PARTIAL_SUCCESS”

LIFECYCLE_STATE_SCHEDULED = 'SCHEDULED'

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary. This constant has a value of “SCHEDULED”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ExecutionActionSummary. This constant has a value of “UPDATING”

LIFECYCLE_SUBSTATE_CANCELED_BY_OPS = 'CANCELED_BY_OPS'

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary. This constant has a value of “CANCELED_BY_OPS”

LIFECYCLE_SUBSTATE_DURATION_EXCEEDED = 'DURATION_EXCEEDED'

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary. This constant has a value of “DURATION_EXCEEDED”

LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary. This constant has a value of “MAINTENANCE_IN_PROGRESS”

LIFECYCLE_SUBSTATE_RESCHEDULED = 'RESCHEDULED'

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary. This constant has a value of “RESCHEDULED”

LIFECYCLE_SUBSTATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_substate property of a ExecutionActionSummary. This constant has a value of “WAITING”

__init__(**kwargs)

Initializes a new ExecutionActionSummary 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 ExecutionActionSummary.

  • execution_window_id (str) – The value to assign to the execution_window_id property of this ExecutionActionSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this ExecutionActionSummary.

  • display_name (str) – The value to assign to the display_name property of this ExecutionActionSummary.

  • description (str) – The value to assign to the description property of this ExecutionActionSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExecutionActionSummary. Allowed values for this property are: “SCHEDULED”, “IN_PROGRESS”, “FAILED”, “CANCELED”, “UPDATING”, “DELETED”, “SUCCEEDED”, “PARTIAL_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_substate (str) – The value to assign to the lifecycle_substate property of this ExecutionActionSummary. Allowed values for this property are: “DURATION_EXCEEDED”, “MAINTENANCE_IN_PROGRESS”, “WAITING”, “RESCHEDULED”, “CANCELED_BY_OPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ExecutionActionSummary.

  • time_created (datetime) – The value to assign to the time_created property of this ExecutionActionSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this ExecutionActionSummary.

  • estimated_time_in_mins (int) – The value to assign to the estimated_time_in_mins property of this ExecutionActionSummary.

  • total_time_taken_in_mins (int) – The value to assign to the total_time_taken_in_mins property of this ExecutionActionSummary.

  • execution_action_order (int) – The value to assign to the execution_action_order property of this ExecutionActionSummary.

  • action_type (str) – The value to assign to the action_type property of this ExecutionActionSummary. Allowed values for this property are: “DB_SERVER_FULL_SOFTWARE_UPDATE”, “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”, “NETWORK_SWITCH_FULL_SOFTWARE_UPDATE”, “DB_SERVER_ONLINE_SOFTWARE_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • action_params (dict(str, str)) – The value to assign to the action_params property of this ExecutionActionSummary.

  • action_members (list[oci.database.models.ExecutionActionMember]) – The value to assign to the action_members property of this ExecutionActionSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ExecutionActionSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ExecutionActionSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ExecutionActionSummary.

property action_members

Gets the action_members of this ExecutionActionSummary. List of action members of this execution action.

Returns

The action_members of this ExecutionActionSummary.

Return type

list[oci.database.models.ExecutionActionMember]

property action_params

[Required] Gets the action_params of this ExecutionActionSummary. Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {“count”: “3”}

Returns

The action_params of this ExecutionActionSummary.

Return type

dict(str, str)

property action_type

[Required] Gets the action_type of this ExecutionActionSummary. The action type of the execution action being performed

Allowed values for this property are: “DB_SERVER_FULL_SOFTWARE_UPDATE”, “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”, “NETWORK_SWITCH_FULL_SOFTWARE_UPDATE”, “DB_SERVER_ONLINE_SOFTWARE_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The action_type of this ExecutionActionSummary.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this ExecutionActionSummary. The OCID of the compartment.

Returns

The compartment_id of this ExecutionActionSummary.

Return type

str

property defined_tags

Gets the defined_tags of this ExecutionActionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The defined_tags of this ExecutionActionSummary.

Return type

dict(str, dict(str, object))

property description

Gets the description of this ExecutionActionSummary. Description of the execution action.

Returns

The description of this ExecutionActionSummary.

Return type

str

property display_name

[Required] Gets the display_name of this ExecutionActionSummary. The user-friendly name for the execution action. The name does not need to be unique.

Returns

The display_name of this ExecutionActionSummary.

Return type

str

property estimated_time_in_mins

Gets the estimated_time_in_mins of this ExecutionActionSummary. The estimated time of the execution action in minutes.

Returns

The estimated_time_in_mins of this ExecutionActionSummary.

Return type

int

property execution_action_order

Gets the execution_action_order of this ExecutionActionSummary. The priority order of the execution action.

Returns

The execution_action_order of this ExecutionActionSummary.

Return type

int

property execution_window_id

[Required] Gets the execution_window_id of this ExecutionActionSummary. The OCID of the execution window resource the execution action belongs to.

Returns

The execution_window_id of this ExecutionActionSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this ExecutionActionSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns

The freeform_tags of this ExecutionActionSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this ExecutionActionSummary. The OCID of the execution action.

Returns

The id of this ExecutionActionSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this ExecutionActionSummary. Additional information about the current lifecycle state.

Returns

The lifecycle_details of this ExecutionActionSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this ExecutionActionSummary. The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.

Allowed values for this property are: “SCHEDULED”, “IN_PROGRESS”, “FAILED”, “CANCELED”, “UPDATING”, “DELETED”, “SUCCEEDED”, “PARTIAL_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this ExecutionActionSummary.

Return type

str

property lifecycle_substate

Gets the lifecycle_substate of this ExecutionActionSummary. The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.

Allowed values for this property are: “DURATION_EXCEEDED”, “MAINTENANCE_IN_PROGRESS”, “WAITING”, “RESCHEDULED”, “CANCELED_BY_OPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_substate of this ExecutionActionSummary.

Return type

str

property system_tags

Gets the system_tags of this ExecutionActionSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The system_tags of this ExecutionActionSummary.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this ExecutionActionSummary. The date and time the execution action was created.

Returns

The time_created of this ExecutionActionSummary.

Return type

datetime

property time_updated

Gets the time_updated of this ExecutionActionSummary. The last date and time that the execution action was updated.

Returns

The time_updated of this ExecutionActionSummary.

Return type

datetime

property total_time_taken_in_mins

Gets the total_time_taken_in_mins of this ExecutionActionSummary. The total time taken by corresponding resource activity in minutes.

Returns

The total_time_taken_in_mins of this ExecutionActionSummary.

Return type

int