ConvertToPdbDetails

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

Bases: object

Details for converting a non-container database to pluggable database.

Attributes

ACTION_CONVERT A constant which can be used with the action property of a ConvertToPdbDetails.
ACTION_PRECHECK A constant which can be used with the action property of a ConvertToPdbDetails.
ACTION_SYNC A constant which can be used with the action property of a ConvertToPdbDetails.
ACTION_SYNC_ROLLBACK A constant which can be used with the action property of a ConvertToPdbDetails.
action [Required] Gets the action of this ConvertToPdbDetails.
convert_to_pdb_target_details Gets the convert_to_pdb_target_details of this ConvertToPdbDetails.

Methods

__init__(**kwargs) Initializes a new ConvertToPdbDetails object with values from keyword arguments.
ACTION_CONVERT = 'CONVERT'

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

ACTION_PRECHECK = 'PRECHECK'

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

ACTION_SYNC = 'SYNC'

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

ACTION_SYNC_ROLLBACK = 'SYNC_ROLLBACK'

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

__init__(**kwargs)

Initializes a new ConvertToPdbDetails 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 ConvertToPdbDetails. Allowed values for this property are: “PRECHECK”, “CONVERT”, “SYNC”, “SYNC_ROLLBACK”
  • convert_to_pdb_target_details (oci.database.models.ConvertToPdbTargetBase) – The value to assign to the convert_to_pdb_target_details property of this ConvertToPdbDetails.
action

[Required] Gets the action of this ConvertToPdbDetails. The operations used to convert a non-container database to a pluggable database. - Use PRECHECK to run a pre-check operation on non-container database prior to converting it into a pluggable database. - Use CONVERT to convert a non-container database into a pluggable database. - Use SYNC if the non-container database was manually converted into a pluggable database using the dbcli command-line utility. Databases may need to be converted manually if the CONVERT action fails when converting a non-container database using the API. - Use SYNC_ROLLBACK if the conversion of a non-container database into a pluggable database was manually rolled back using the dbcli command line utility. Conversions may need to be manually rolled back if the CONVERT action fails when converting a non-container database using the API.

Allowed values for this property are: “PRECHECK”, “CONVERT”, “SYNC”, “SYNC_ROLLBACK”

Returns:The action of this ConvertToPdbDetails.
Return type:str
convert_to_pdb_target_details

Gets the convert_to_pdb_target_details of this ConvertToPdbDetails.

Returns:The convert_to_pdb_target_details of this ConvertToPdbDetails.
Return type:oci.database.models.ConvertToPdbTargetBase