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.

Attributes

ACTION_APPLY A constant which can be used with the action property of a PatchDetails.
ACTION_PRECHECK A constant which can be used with the action property of a PatchDetails.
action Gets the action of this PatchDetails.
database_software_image_id Gets the database_software_image_id of this PatchDetails.
patch_id Gets the patch_id of this PatchDetails.

Methods

__init__(**kwargs) Initializes a new PatchDetails object with values from keyword arguments.
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.
  • database_software_image_id (str) – The value to assign to the database_software_image_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
database_software_image_id

Gets the database_software_image_id of this PatchDetails. The OCID of the database software image.

Returns:The database_software_image_id 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