CreateScheduledActionDetails

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

Bases: object

Request to create Scheduled Action resource.

Attributes

ACTION_TYPE_DB_SERVER_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a CreateScheduledActionDetails.
ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a CreateScheduledActionDetails.
ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE A constant which can be used with the action_type property of a CreateScheduledActionDetails.
action_members Gets the action_members of this CreateScheduledActionDetails.
action_params Gets the action_params of this CreateScheduledActionDetails.
action_type [Required] Gets the action_type of this CreateScheduledActionDetails.
compartment_id [Required] Gets the compartment_id of this CreateScheduledActionDetails.
defined_tags Gets the defined_tags of this CreateScheduledActionDetails.
freeform_tags Gets the freeform_tags of this CreateScheduledActionDetails.
scheduling_plan_id [Required] Gets the scheduling_plan_id of this CreateScheduledActionDetails.
scheduling_window_id [Required] Gets the scheduling_window_id of this CreateScheduledActionDetails.

Methods

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

__init__(**kwargs)

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

Parameters:
  • action_type (str) – The value to assign to the action_type property of this CreateScheduledActionDetails. Allowed values for this property are: “DB_SERVER_FULL_SOFTWARE_UPDATE”, “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”, “NETWORK_SWITCH_FULL_SOFTWARE_UPDATE”
  • action_params (dict(str, str)) – The value to assign to the action_params property of this CreateScheduledActionDetails.
  • action_members (list[oci.database.models.ActionMember]) – The value to assign to the action_members property of this CreateScheduledActionDetails.
  • scheduling_plan_id (str) – The value to assign to the scheduling_plan_id property of this CreateScheduledActionDetails.
  • scheduling_window_id (str) – The value to assign to the scheduling_window_id property of this CreateScheduledActionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateScheduledActionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateScheduledActionDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateScheduledActionDetails.
action_members

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

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

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

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

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

Returns:The action_type of this CreateScheduledActionDetails.
Return type:str
compartment_id

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

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

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

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

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

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

[Required] Gets the scheduling_window_id of this CreateScheduledActionDetails. The OCID of the Scheduling Window.

Returns:The scheduling_window_id of this CreateScheduledActionDetails.
Return type:str