PatchDetails

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

Bases: object

The details about what actions to perform and using what patch to the specified target. This is part of an update request that is applied to a version field on the target such as DB system, database home, etc.

ACTION_APPLY = 'APPLY'

A constant which can be used with the action property of a PatchDetails. This constant has a value of "APPLY"

ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the action property of a PatchDetails. This constant has a value of "PRECHECK"

__init__(**kwargs)

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

Parameters:
  • patch_id (str) -- The value to assign to the patch_id property of this PatchDetails.
  • action (str) -- The value to assign to the action property of this PatchDetails. Allowed values for this property are: "APPLY", "PRECHECK"
action

Gets the action of this PatchDetails. The action to perform on the patch.

Allowed values for this property are: "APPLY", "PRECHECK"

Returns:The action of this PatchDetails.
Return type:str
patch_id

Gets the patch_id of this PatchDetails. The OCID of the patch.

Returns:The patch_id of this PatchDetails.
Return type:str