CreatePluggableDatabaseFromLocalCloneDetails

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

Bases: CreatePluggableDatabaseCreationTypeDetails

Specifies the creation type Local Clone.

Attributes:

CREATION_TYPE_LOCAL_CLONE_PDB

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.

CREATION_TYPE_RELOCATE_PDB

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.

CREATION_TYPE_REMOTE_CLONE_PDB

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.

creation_type

[Required] Gets the creation_type of this CreatePluggableDatabaseCreationTypeDetails.

is_thin_clone

Gets the is_thin_clone of this CreatePluggableDatabaseFromLocalCloneDetails.

source_pluggable_database_id

[Required] Gets the source_pluggable_database_id of this CreatePluggableDatabaseFromLocalCloneDetails.

source_pluggable_database_snapshot_id

Gets the source_pluggable_database_snapshot_id of this CreatePluggableDatabaseFromLocalCloneDetails.

Methods:

__init__(**kwargs)

Initializes a new CreatePluggableDatabaseFromLocalCloneDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

CREATION_TYPE_LOCAL_CLONE_PDB = 'LOCAL_CLONE_PDB'

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails. This constant has a value of “LOCAL_CLONE_PDB”

CREATION_TYPE_RELOCATE_PDB = 'RELOCATE_PDB'

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails. This constant has a value of “RELOCATE_PDB”

CREATION_TYPE_REMOTE_CLONE_PDB = 'REMOTE_CLONE_PDB'

A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails. This constant has a value of “REMOTE_CLONE_PDB”

__init__(**kwargs)

Initializes a new CreatePluggableDatabaseFromLocalCloneDetails object with values from keyword arguments. The default value of the creation_type attribute of this class is LOCAL_CLONE_PDB and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • creation_type (str) – The value to assign to the creation_type property of this CreatePluggableDatabaseFromLocalCloneDetails. Allowed values for this property are: “LOCAL_CLONE_PDB”, “REMOTE_CLONE_PDB”, “RELOCATE_PDB”

  • source_pluggable_database_id (str) – The value to assign to the source_pluggable_database_id property of this CreatePluggableDatabaseFromLocalCloneDetails.

  • is_thin_clone (bool) – The value to assign to the is_thin_clone property of this CreatePluggableDatabaseFromLocalCloneDetails.

  • source_pluggable_database_snapshot_id (str) – The value to assign to the source_pluggable_database_snapshot_id property of this CreatePluggableDatabaseFromLocalCloneDetails.

property creation_type

[Required] Gets the creation_type of this CreatePluggableDatabaseCreationTypeDetails. The Pluggable Database creation type.

Allowed values for this property are: “LOCAL_CLONE_PDB”, “REMOTE_CLONE_PDB”, “RELOCATE_PDB”

Returns

The creation_type of this CreatePluggableDatabaseCreationTypeDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property is_thin_clone

Gets the is_thin_clone of this CreatePluggableDatabaseFromLocalCloneDetails. True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned.

Returns

The is_thin_clone of this CreatePluggableDatabaseFromLocalCloneDetails.

Return type

bool

property source_pluggable_database_id

[Required] Gets the source_pluggable_database_id of this CreatePluggableDatabaseFromLocalCloneDetails. The OCID of the Source Pluggable Database.

Returns

The source_pluggable_database_id of this CreatePluggableDatabaseFromLocalCloneDetails.

Return type

str

property source_pluggable_database_snapshot_id

Gets the source_pluggable_database_snapshot_id of this CreatePluggableDatabaseFromLocalCloneDetails. The OCID of the Source Pluggable Database Snapshot id.

Returns

The source_pluggable_database_snapshot_id of this CreatePluggableDatabaseFromLocalCloneDetails.

Return type

str