ExecutionAction

class oci.database.models.ExecutionAction(**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 ExecutionAction.

ACTION_TYPE_DB_SERVER_ONLINE_SOFTWARE_UPDATE

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

ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE

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

ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE

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

LIFECYCLE_STATE_CANCELED

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_IN_PROGRESS

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

LIFECYCLE_STATE_PARTIAL_SUCCESS

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

LIFECYCLE_STATE_SCHEDULED

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

LIFECYCLE_STATE_SUCCEEDED

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

LIFECYCLE_STATE_UPDATING

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

LIFECYCLE_SUBSTATE_CANCELED_BY_OPS

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

LIFECYCLE_SUBSTATE_DURATION_EXCEEDED

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

LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS

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

LIFECYCLE_SUBSTATE_RESCHEDULED

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

LIFECYCLE_SUBSTATE_WAITING

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

action_members

Gets the action_members of this ExecutionAction.

action_params

[Required] Gets the action_params of this ExecutionAction.

action_type

[Required] Gets the action_type of this ExecutionAction.

compartment_id

[Required] Gets the compartment_id of this ExecutionAction.

defined_tags

Gets the defined_tags of this ExecutionAction.

description

Gets the description of this ExecutionAction.

display_name

[Required] Gets the display_name of this ExecutionAction.

estimated_time_in_mins

Gets the estimated_time_in_mins of this ExecutionAction.

execution_action_order

Gets the execution_action_order of this ExecutionAction.

execution_window_id

[Required] Gets the execution_window_id of this ExecutionAction.

freeform_tags

Gets the freeform_tags of this ExecutionAction.

id

[Required] Gets the id of this ExecutionAction.

lifecycle_details

Gets the lifecycle_details of this ExecutionAction.

lifecycle_state

[Required] Gets the lifecycle_state of this ExecutionAction.

lifecycle_substate

Gets the lifecycle_substate of this ExecutionAction.

system_tags

Gets the system_tags of this ExecutionAction.

time_created

Gets the time_created of this ExecutionAction.

time_updated

Gets the time_updated of this ExecutionAction.

total_time_taken_in_mins

Gets the total_time_taken_in_mins of this ExecutionAction.

Methods:

__init__(**kwargs)

Initializes a new ExecutionAction 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 ExecutionAction. 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 ExecutionAction. 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 ExecutionAction. 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 ExecutionAction. 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 ExecutionAction. This constant has a value of “CANCELED”

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

LIFECYCLE_SUBSTATE_WAITING = 'WAITING'

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

__init__(**kwargs)

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

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

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExecutionAction. 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 ExecutionAction. 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 ExecutionAction.

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

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

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

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

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

  • action_type (str) – The value to assign to the action_type property of this ExecutionAction. 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 ExecutionAction.

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

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

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

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

property action_members

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

Returns

The action_members of this ExecutionAction.

Return type

list[oci.database.models.ExecutionActionMember]

property action_params

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

Returns

The action_params of this ExecutionAction.

Return type

dict(str, str)

property action_type

[Required] Gets the action_type of this ExecutionAction. 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 ExecutionAction.

Return type

str

property compartment_id

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

Returns

The compartment_id of this ExecutionAction.

Return type

str

property defined_tags

Gets the defined_tags of this ExecutionAction. 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 ExecutionAction.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this ExecutionAction.

Return type

str

property display_name

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

Returns

The display_name of this ExecutionAction.

Return type

str

property estimated_time_in_mins

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

Returns

The estimated_time_in_mins of this ExecutionAction.

Return type

int

property execution_action_order

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

Returns

The execution_action_order of this ExecutionAction.

Return type

int

property execution_window_id

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

Returns

The execution_window_id of this ExecutionAction.

Return type

str

property freeform_tags

Gets the freeform_tags of this ExecutionAction. 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 ExecutionAction.

Return type

dict(str, str)

property id

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

Returns

The id of this ExecutionAction.

Return type

str

property lifecycle_details

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

Returns

The lifecycle_details of this ExecutionAction.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this ExecutionAction. 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 ExecutionAction.

Return type

str

property lifecycle_substate

Gets the lifecycle_substate of this ExecutionAction. 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 ExecutionAction.

Return type

str

property system_tags

Gets the system_tags of this ExecutionAction. 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 ExecutionAction.

Return type

dict(str, dict(str, object))

property time_created

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

Returns

The time_created of this ExecutionAction.

Return type

datetime

property time_updated

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

Returns

The time_updated of this ExecutionAction.

Return type

datetime

property total_time_taken_in_mins

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

Returns

The total_time_taken_in_mins of this ExecutionAction.

Return type

int