ScheduledActionSummary

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

Bases: object

Details of a scheduled action.

Attributes

ACTION_TYPE_DB_SERVER_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a ScheduledActionSummary.
ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a ScheduledActionSummary.
ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a ScheduledActionSummary.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ScheduledActionSummary.
action_members Gets the action_members of this ScheduledActionSummary.
action_order [Required] Gets the action_order of this ScheduledActionSummary.
action_params Gets the action_params of this ScheduledActionSummary.
action_type [Required] Gets the action_type of this ScheduledActionSummary.
compartment_id [Required] Gets the compartment_id of this ScheduledActionSummary.
defined_tags Gets the defined_tags of this ScheduledActionSummary.
display_name [Required] Gets the display_name of this ScheduledActionSummary.
estimated_time_in_mins Gets the estimated_time_in_mins of this ScheduledActionSummary.
freeform_tags Gets the freeform_tags of this ScheduledActionSummary.
id [Required] Gets the id of this ScheduledActionSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ScheduledActionSummary.
scheduling_plan_id [Required] Gets the scheduling_plan_id of this ScheduledActionSummary.
scheduling_window_id Gets the scheduling_window_id of this ScheduledActionSummary.
system_tags Gets the system_tags of this ScheduledActionSummary.
time_created [Required] Gets the time_created of this ScheduledActionSummary.
time_updated Gets the time_updated of this ScheduledActionSummary.

Methods

__init__(**kwargs) Initializes a new ScheduledActionSummary 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 ScheduledActionSummary. This constant has a value of “DB_SERVER_FULL_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 ScheduledActionSummary. 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 ScheduledActionSummary. This constant has a value of “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new ScheduledActionSummary 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 ScheduledActionSummary.
  • scheduling_plan_id (str) – The value to assign to the scheduling_plan_id property of this ScheduledActionSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ScheduledActionSummary.
  • scheduling_window_id (str) – The value to assign to the scheduling_window_id property of this ScheduledActionSummary.
  • display_name (str) – The value to assign to the display_name property of this ScheduledActionSummary.
  • action_order (int) – The value to assign to the action_order property of this ScheduledActionSummary.
  • action_type (str) – The value to assign to the action_type property of this ScheduledActionSummary. Allowed values for this property are: “DB_SERVER_FULL_SOFTWARE_UPDATE”, “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”, “NETWORK_SWITCH_FULL_SOFTWARE_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ScheduledActionSummary. Allowed values for this property are: “CREATING”, “NEEDS_ATTENTION”, “AVAILABLE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • estimated_time_in_mins (int) – The value to assign to the estimated_time_in_mins property of this ScheduledActionSummary.
  • action_params (dict(str, str)) – The value to assign to the action_params property of this ScheduledActionSummary.
  • action_members (list[oci.database.models.ActionMember]) – The value to assign to the action_members property of this ScheduledActionSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ScheduledActionSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ScheduledActionSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ScheduledActionSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ScheduledActionSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ScheduledActionSummary.
action_members

Gets the action_members of this ScheduledActionSummary. The list of action members in a scheduled action.

Returns:The action_members of this ScheduledActionSummary.
Return type:list[oci.database.models.ActionMember]
action_order

[Required] Gets the action_order of this ScheduledActionSummary. The order of the scheduled action.

Returns:The action_order of this ScheduledActionSummary.
Return type:int
action_params

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

Returns:The action_params of this ScheduledActionSummary.
Return type:dict(str, str)
action_type

[Required] Gets the action_type of this ScheduledActionSummary. The type of the scheduled action being performed

Allowed values for this property are: “DB_SERVER_FULL_SOFTWARE_UPDATE”, “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”, “NETWORK_SWITCH_FULL_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 ScheduledActionSummary.
Return type:str
compartment_id

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

Returns:The compartment_id of this ScheduledActionSummary.
Return type:str
defined_tags

Gets the defined_tags of this ScheduledActionSummary. 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 ScheduledActionSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ScheduledActionSummary. The display name of the Scheduled Action.

Returns:The display_name of this ScheduledActionSummary.
Return type:str
estimated_time_in_mins

Gets the estimated_time_in_mins of this ScheduledActionSummary. The estimated patching time for the scheduled action.

Returns:The estimated_time_in_mins of this ScheduledActionSummary.
Return type:int
freeform_tags

Gets the freeform_tags of this ScheduledActionSummary. 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 ScheduledActionSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ScheduledActionSummary. The OCID of the Scheduled Action.

Returns:The id of this ScheduledActionSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ScheduledActionSummary. The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.

Allowed values for this property are: “CREATING”, “NEEDS_ATTENTION”, “AVAILABLE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ScheduledActionSummary.
Return type:str
scheduling_plan_id

[Required] Gets the scheduling_plan_id of this ScheduledActionSummary. The OCID of the Scheduling Plan.

Returns:The scheduling_plan_id of this ScheduledActionSummary.
Return type:str
scheduling_window_id

Gets the scheduling_window_id of this ScheduledActionSummary. The OCID of the Scheduling Window.

Returns:The scheduling_window_id of this ScheduledActionSummary.
Return type:str
system_tags

Gets the system_tags of this ScheduledActionSummary. 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 ScheduledActionSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this ScheduledActionSummary. The date and time the Scheduled Action Resource was created.

Returns:The time_created of this ScheduledActionSummary.
Return type:datetime
time_updated

Gets the time_updated of this ScheduledActionSummary. The date and time the Scheduled Action Resource was updated.

Returns:The time_updated of this ScheduledActionSummary.
Return type:datetime