RunDataPatchDetails

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

Bases: object

Details for running datapatch operation on a database and its pluggable databases

Attributes

ACTION_APPLY A constant which can be used with the action property of a RunDataPatchDetails.
ACTION_PRECHECK A constant which can be used with the action property of a RunDataPatchDetails.
action Gets the action of this RunDataPatchDetails.
data_patch_options Gets the data_patch_options of this RunDataPatchDetails.
pluggable_databases Gets the pluggable_databases of this RunDataPatchDetails.

Methods

__init__(**kwargs) Initializes a new RunDataPatchDetails object with values from keyword arguments.
ACTION_APPLY = 'APPLY'

A constant which can be used with the action property of a RunDataPatchDetails. This constant has a value of “APPLY”

ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the action property of a RunDataPatchDetails. This constant has a value of “PRECHECK”

__init__(**kwargs)

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

Parameters:
  • pluggable_databases (list[str]) – The value to assign to the pluggable_databases property of this RunDataPatchDetails.
  • data_patch_options (oci.database.models.DataPatchOptions) – The value to assign to the data_patch_options property of this RunDataPatchDetails.
  • action (str) – The value to assign to the action property of this RunDataPatchDetails. Allowed values for this property are: “APPLY”, “PRECHECK”
action

Gets the action of this RunDataPatchDetails. The action to perform on run database dataPatch operation

Allowed values for this property are: “APPLY”, “PRECHECK”

Returns:The action of this RunDataPatchDetails.
Return type:str
data_patch_options

Gets the data_patch_options of this RunDataPatchDetails.

Returns:The data_patch_options of this RunDataPatchDetails.
Return type:oci.database.models.DataPatchOptions
pluggable_databases

Gets the pluggable_databases of this RunDataPatchDetails. List of Pluggable Database OCIDs to run datapatch on. The datapatch would run on the database first and then the given pluggable databases.

Returns:The pluggable_databases of this RunDataPatchDetails.
Return type:list[str]