PdbConversionHistoryEntrySummary

class oci.database.models.PdbConversionHistoryEntrySummary(**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 PdbConversionHistoryEntrySummary.

ACTION_PRECHECK

A constant which can be used with the action property of a PdbConversionHistoryEntrySummary.

ACTION_SYNC

A constant which can be used with the action property of a PdbConversionHistoryEntrySummary.

ACTION_SYNC_ROLLBACK

A constant which can be used with the action property of a PdbConversionHistoryEntrySummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntrySummary.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntrySummary.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a PdbConversionHistoryEntrySummary.

TARGET_NEW_DATABASE

A constant which can be used with the target property of a PdbConversionHistoryEntrySummary.

action

[Required] Gets the action of this PdbConversionHistoryEntrySummary.

additional_cdb_params

Gets the additional_cdb_params of this PdbConversionHistoryEntrySummary.

cdb_name

[Required] Gets the cdb_name of this PdbConversionHistoryEntrySummary.

id

[Required] Gets the id of this PdbConversionHistoryEntrySummary.

lifecycle_details

Gets the lifecycle_details of this PdbConversionHistoryEntrySummary.

lifecycle_state

[Required] Gets the lifecycle_state of this PdbConversionHistoryEntrySummary.

source_database_id

[Required] Gets the source_database_id of this PdbConversionHistoryEntrySummary.

target

Gets the target of this PdbConversionHistoryEntrySummary. 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.

target_database_id

Gets the target_database_id of this PdbConversionHistoryEntrySummary.

time_ended

Gets the time_ended of this PdbConversionHistoryEntrySummary.

time_started

[Required] Gets the time_started of this PdbConversionHistoryEntrySummary.

Methods:

__init__(**kwargs)

Initializes a new PdbConversionHistoryEntrySummary object with values from keyword arguments.

ACTION_CONVERT = 'CONVERT'

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

ACTION_PRECHECK = 'PRECHECK'

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

ACTION_SYNC = 'SYNC'

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

ACTION_SYNC_ROLLBACK = 'SYNC_ROLLBACK'

A constant which can be used with the action property of a PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary. This constant has a value of “SUCCEEDED”

TARGET_NEW_DATABASE = 'NEW_DATABASE'

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

__init__(**kwargs)

Initializes a new PdbConversionHistoryEntrySummary 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 PdbConversionHistoryEntrySummary.

  • action (str) – The value to assign to the action property of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

  • target_database_id (str) – The value to assign to the target_database_id property of this PdbConversionHistoryEntrySummary.

  • cdb_name (str) – The value to assign to the cdb_name property of this PdbConversionHistoryEntrySummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

  • time_started (datetime) – The value to assign to the time_started property of this PdbConversionHistoryEntrySummary.

  • time_ended (datetime) – The value to assign to the time_ended property of this PdbConversionHistoryEntrySummary.

  • additional_cdb_params (str) – The value to assign to the additional_cdb_params property of this PdbConversionHistoryEntrySummary.

property action

[Required] Gets the action of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

Return type

str

property additional_cdb_params

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

Returns

The additional_cdb_params of this PdbConversionHistoryEntrySummary.

Return type

str

property cdb_name

[Required] Gets the cdb_name of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

Return type

str

property id

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

Returns

The id of this PdbConversionHistoryEntrySummary.

Return type

str

property lifecycle_details

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

Returns

The lifecycle_details of this PdbConversionHistoryEntrySummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

Return type

str

property source_database_id

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

Returns

The source_database_id of this PdbConversionHistoryEntrySummary.

Return type

str

property target

Gets the target of this PdbConversionHistoryEntrySummary. 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 PdbConversionHistoryEntrySummary.

Return type

str

property target_database_id

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

Returns

The target_database_id of this PdbConversionHistoryEntrySummary.

Return type

str

property time_ended

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

Returns

The time_ended of this PdbConversionHistoryEntrySummary.

Return type

datetime

property time_started

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

Returns

The time_started of this PdbConversionHistoryEntrySummary.

Return type

datetime