ExecuteDbSystemOsPatchDetails¶
-
class
oci.database.models.ExecuteDbSystemOsPatchDetails(**kwargs)¶ Bases:
objectRequest details for submitting an operating system (OS) patch action on a DB system. Use PRECHECK to validate prerequisites and surface the expected changes without applying them. Use APPLY to install the selected updates. Some updates may require a reboot to take effect.
Attributes
ACTION_APPLYA constant which can be used with the action property of a ExecuteDbSystemOsPatchDetails. ACTION_PRECHECKA constant which can be used with the action property of a ExecuteDbSystemOsPatchDetails. action[Required] Gets the action of this ExecuteDbSystemOsPatchDetails. db_node_idGets the db_node_id of this ExecuteDbSystemOsPatchDetails. Methods
__init__(**kwargs)Initializes a new ExecuteDbSystemOsPatchDetails object with values from keyword arguments. -
ACTION_APPLY= 'APPLY'¶ A constant which can be used with the action property of a ExecuteDbSystemOsPatchDetails. This constant has a value of “APPLY”
-
ACTION_PRECHECK= 'PRECHECK'¶ A constant which can be used with the action property of a ExecuteDbSystemOsPatchDetails. This constant has a value of “PRECHECK”
-
__init__(**kwargs)¶ Initializes a new ExecuteDbSystemOsPatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - action (str) – The value to assign to the action property of this ExecuteDbSystemOsPatchDetails. Allowed values for this property are: “PRECHECK”, “APPLY”
- db_node_id (str) – The value to assign to the db_node_id property of this ExecuteDbSystemOsPatchDetails.
-
action¶ [Required] Gets the action of this ExecuteDbSystemOsPatchDetails. Operation system (OS) patch action to perform * PRECHECK: No changes applied; runs validation/dry run. * APPLY: Installs updates; may require a reboot (see OS patch history entry details to determine isRebootRequired).
Allowed values for this property are: “PRECHECK”, “APPLY”
Returns: The action of this ExecuteDbSystemOsPatchDetails. Return type: str
-
db_node_id¶ Gets the db_node_id of this ExecuteDbSystemOsPatchDetails. The OCID of the DB node to target for this patch action. If omitted, the action applies to all nodes in the DB system.
Returns: The db_node_id of this ExecuteDbSystemOsPatchDetails. Return type: str
-