PdbConversionHistoryEntry

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

Bases: object

Details of operations performed to convert a non-container database to pluggable database.

Attributes

ACTION_CONVERT A constant which can be used with the action property of a PdbConversionHistoryEntry.
ACTION_PRECHECK A constant which can be used with the action property of a PdbConversionHistoryEntry.
ACTION_SYNC A constant which can be used with the action property of a PdbConversionHistoryEntry.
ACTION_SYNC_ROLLBACK A constant which can be used with the action property of a PdbConversionHistoryEntry.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry.
TARGET_NEW_DATABASE A constant which can be used with the target property of a PdbConversionHistoryEntry.
action [Required] Gets the action of this PdbConversionHistoryEntry.
additional_cdb_params Gets the additional_cdb_params of this PdbConversionHistoryEntry.
cdb_name [Required] Gets the cdb_name of this PdbConversionHistoryEntry.
id [Required] Gets the id of this PdbConversionHistoryEntry.
lifecycle_details Gets the lifecycle_details of this PdbConversionHistoryEntry.
lifecycle_state [Required] Gets the lifecycle_state of this PdbConversionHistoryEntry.
source_database_id [Required] Gets the source_database_id of this PdbConversionHistoryEntry.
target Gets the target of this PdbConversionHistoryEntry.
target_database_id Gets the target_database_id of this PdbConversionHistoryEntry.
time_ended Gets the time_ended of this PdbConversionHistoryEntry.
time_started [Required] Gets the time_started of this PdbConversionHistoryEntry.

Methods

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

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

ACTION_PRECHECK = 'PRECHECK'

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

ACTION_SYNC = 'SYNC'

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

ACTION_SYNC_ROLLBACK = 'SYNC_ROLLBACK'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntry. This constant has a value of “SUCCEEDED”

TARGET_NEW_DATABASE = 'NEW_DATABASE'

A constant which can be used with the target property of a PdbConversionHistoryEntry. This constant has a value of “NEW_DATABASE”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this PdbConversionHistoryEntry.
  • action (str) – The value to assign to the action property of this PdbConversionHistoryEntry. Allowed values for this property are: “PRECHECK”, “CONVERT”, “SYNC”, “SYNC_ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • target (str) – The value to assign to the target property of this PdbConversionHistoryEntry. Allowed values for this property are: “NEW_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • source_database_id (str) – The value to assign to the source_database_id property of this PdbConversionHistoryEntry.
  • target_database_id (str) – The value to assign to the target_database_id property of this PdbConversionHistoryEntry.
  • cdb_name (str) – The value to assign to the cdb_name property of this PdbConversionHistoryEntry.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PdbConversionHistoryEntry. Allowed values for this property are: “SUCCEEDED”, “FAILED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this PdbConversionHistoryEntry.
  • time_started (datetime) – The value to assign to the time_started property of this PdbConversionHistoryEntry.
  • time_ended (datetime) – The value to assign to the time_ended property of this PdbConversionHistoryEntry.
  • additional_cdb_params (str) – The value to assign to the additional_cdb_params property of this PdbConversionHistoryEntry.
action

[Required] Gets the action of this PdbConversionHistoryEntry. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The action of this PdbConversionHistoryEntry.
Return type:str
additional_cdb_params

Gets the additional_cdb_params of this PdbConversionHistoryEntry. Additional container database parameter.

Returns:The additional_cdb_params of this PdbConversionHistoryEntry.
Return type:str
cdb_name

[Required] Gets the cdb_name of this PdbConversionHistoryEntry. The database name. The name must begin with an alphabetic character and can contain a maximum of 8 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.

Returns:The cdb_name of this PdbConversionHistoryEntry.
Return type:str
id

[Required] Gets the id of this PdbConversionHistoryEntry. The OCID of the database conversion history.

Returns:The id of this PdbConversionHistoryEntry.
Return type:str
lifecycle_details

Gets the lifecycle_details of this PdbConversionHistoryEntry. Additional information about the current lifecycle state for the conversion operation.

Returns:The lifecycle_details of this PdbConversionHistoryEntry.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this PdbConversionHistoryEntry. Status of an operation performed during the conversion of a non-container database to a pluggable database.

Allowed values for this property are: “SUCCEEDED”, “FAILED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this PdbConversionHistoryEntry.
Return type:str
source_database_id

[Required] Gets the source_database_id of this PdbConversionHistoryEntry. The OCID of the database.

Returns:The source_database_id of this PdbConversionHistoryEntry.
Return type:str
target

Gets the target of this PdbConversionHistoryEntry. The target container database of the pluggable database created by the database conversion operation. Currently, the database conversion operation only supports creating the pluggable database in a new container database.

  • Use NEW_DATABASE to specify that the pluggable database be created within a new container database in the same database home.

Allowed values for this property are: “NEW_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The target of this PdbConversionHistoryEntry.
Return type:str
target_database_id

Gets the target_database_id of this PdbConversionHistoryEntry. The OCID of the database.

Returns:The target_database_id of this PdbConversionHistoryEntry.
Return type:str
time_ended

Gets the time_ended of this PdbConversionHistoryEntry. The date and time when the database conversion operation ended.

Returns:The time_ended of this PdbConversionHistoryEntry.
Return type:datetime
time_started

[Required] Gets the time_started of this PdbConversionHistoryEntry. The date and time when the database conversion operation started.

Returns:The time_started of this PdbConversionHistoryEntry.
Return type:datetime