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.
is_older_version_acknowledged Gets the is_older_version_acknowledged of this PatchDetails.
patch_id Gets the patch_id of this PatchDetails.
patch_options Gets the patch_options 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.
  • is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged 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”
  • patch_options (oci.database.models.PatchOptions) – The value to assign to the patch_options property of this PatchDetails.
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
is_older_version_acknowledged

Gets the is_older_version_acknowledged of this PatchDetails. If true, the caller acknowledges selecting or applying an older DB, Grid Infrastructure, or operating system software version that is outside the latest default version window.

Returns:The is_older_version_acknowledged of this PatchDetails.
Return type:bool
patch_id

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

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

Gets the patch_options of this PatchDetails.

Returns:The patch_options of this PatchDetails.
Return type:oci.database.models.PatchOptions