CreateScheduledActionDetails¶
- class oci.database.models.CreateScheduledActionDetails(**kwargs)¶
Bases:
objectRequest to create Scheduled Action resource.
Attributes:
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
A constant which can be used with the action_type property of a CreateScheduledActionDetails.
Gets the action_members of this CreateScheduledActionDetails.
Gets the action_params of this CreateScheduledActionDetails.
[Required] Gets the action_type of this CreateScheduledActionDetails.
[Required] Gets the compartment_id of this CreateScheduledActionDetails.
Gets the defined_tags of this CreateScheduledActionDetails.
Gets the freeform_tags of this CreateScheduledActionDetails.
[Required] Gets the scheduling_plan_id of this CreateScheduledActionDetails.
[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_DB_SERVER_ONLINE_SOFTWARE_UPDATE = 'DB_SERVER_ONLINE_SOFTWARE_UPDATE'¶
A constant which can be used with the action_type property of a CreateScheduledActionDetails. This constant has a value of “DB_SERVER_ONLINE_SOFTWARE_UPDATE”
- ACTION_TYPE_FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE = 'FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE'¶
A constant which can be used with the action_type property of a CreateScheduledActionDetails. This constant has a value of “FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE”
- ACTION_TYPE_FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE = 'FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE'¶
A constant which can be used with the action_type property of a CreateScheduledActionDetails. This constant has a value of “FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE”
- ACTION_TYPE_FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE = 'FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE'¶
A constant which can be used with the action_type property of a CreateScheduledActionDetails. This constant has a value of “FSU_VM_CLUSTER_OS_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”, “FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE”, “FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE”, “FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE”, “DB_SERVER_ONLINE_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.
- property 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
- property 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)
- property 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”, “FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE”, “FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE”, “FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE”, “DB_SERVER_ONLINE_SOFTWARE_UPDATE”
- Returns
The action_type of this CreateScheduledActionDetails.
- Return type
str
- property 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
- property 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))
- property 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)