CreateExecutionActionDetails¶
-
class
oci.database.models.
CreateExecutionActionDetails
(**kwargs)¶ Bases:
object
Request to create execution action resource.
Attributes
ACTION_TYPE_DB_SERVER_FULL_SOFTWARE_UPDATE
A constant which can be used with the action_type property of a CreateExecutionActionDetails. ACTION_TYPE_NETWORK_SWITCH_FULL_SOFTWARE_UPDATE
A constant which can be used with the action_type property of a CreateExecutionActionDetails. ACTION_TYPE_STORAGE_SERVER_FULL_SOFTWARE_UPDATE
A constant which can be used with the action_type property of a CreateExecutionActionDetails. action_members
Gets the action_members of this CreateExecutionActionDetails. action_params
Gets the action_params of this CreateExecutionActionDetails. action_type
[Required] Gets the action_type of this CreateExecutionActionDetails. compartment_id
Gets the compartment_id of this CreateExecutionActionDetails. defined_tags
Gets the defined_tags of this CreateExecutionActionDetails. execution_window_id
[Required] Gets the execution_window_id of this CreateExecutionActionDetails. freeform_tags
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_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”
- 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.
-
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: list[oci.database.models.ExecutionActionMember]
-
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)
-
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”
Returns: The action_type of this CreateExecutionActionDetails. Return type: str
-
compartment_id
¶ Gets the compartment_id of this CreateExecutionActionDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateExecutionActionDetails. Return type: str
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))
-
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
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)
-