CreateExecutionActionDetails¶
- class oci.database.models.CreateExecutionActionDetails(**kwargs)¶
Bases:
objectRequest to create execution action resource.
Attributes:
A constant which can be used with the action_type property of a CreateExecutionActionDetails.
A constant which can be used with the action_type property of a CreateExecutionActionDetails.
A constant which can be used with the action_type property of a CreateExecutionActionDetails.
A constant which can be used with the action_type property of a CreateExecutionActionDetails.
Gets the action_members of this CreateExecutionActionDetails.
Gets the action_params of this CreateExecutionActionDetails.
[Required] Gets the action_type of this CreateExecutionActionDetails.
Gets the compartment_id of this CreateExecutionActionDetails.
Gets the defined_tags of this CreateExecutionActionDetails.
[Required] Gets the execution_window_id of this CreateExecutionActionDetails.
Gets the freeform_tags of this CreateExecutionActionDetails.
Methods:
__init__(**kwargs)Initializes a new CreateExecutionActionDetails 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 CreateExecutionActionDetails. 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 CreateExecutionActionDetails. 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 CreateExecutionActionDetails. 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 CreateExecutionActionDetails. This constant has a value of “STORAGE_SERVER_FULL_SOFTWARE_UPDATE”
- __init__(**kwargs)¶
Initializes a new CreateExecutionActionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateExecutionActionDetails.
execution_window_id (str) – The value to assign to the execution_window_id property of this CreateExecutionActionDetails.
action_type (str) – The value to assign to the action_type property of this CreateExecutionActionDetails. 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”
action_params (dict(str, str)) – The value to assign to the action_params property of this CreateExecutionActionDetails.
action_members (list[oci.database.models.ExecutionActionMember]) – The value to assign to the action_members property of this CreateExecutionActionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateExecutionActionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateExecutionActionDetails.
- property action_members¶
Gets the action_members of this CreateExecutionActionDetails. List of action members of this execution action.
- Returns
The action_members of this CreateExecutionActionDetails.
- Return type
- property action_params¶
Gets the action_params of this CreateExecutionActionDetails. Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: {“count”: “3”}
- Returns
The action_params of this CreateExecutionActionDetails.
- Return type
dict(str, str)
- property action_type¶
[Required] Gets the action_type of this CreateExecutionActionDetails. 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”
- Returns
The action_type of this CreateExecutionActionDetails.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this CreateExecutionActionDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateExecutionActionDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateExecutionActionDetails. 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 CreateExecutionActionDetails.
- Return type
dict(str, dict(str, object))
- property execution_window_id¶
[Required] Gets the execution_window_id of this CreateExecutionActionDetails. The OCID of the execution window resource the execution action belongs to.
- Returns
The execution_window_id of this CreateExecutionActionDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateExecutionActionDetails. 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 CreateExecutionActionDetails.
- Return type
dict(str, str)