CreatePluggableDatabaseCreationTypeDetails

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

Bases: object

The Pluggable Database creation type. Use LOCAL_CLONE_PDB for creating a new PDB using Local Clone on Source Pluggable Database. This will Clone and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the READ_WRITE openMode to perform the clone operation. sourcePluggableDatabaseSnapshotId and isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. Use REMOTE_CLONE_PDB for creating a new PDB using Remote Clone on Source Pluggable Database. This will Clone a pluggable database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone operation. The source PDB must be in the READ_WRITE openMode when performing the clone. For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the target container database (CDB) to create a remote clone. sourcePluggableDatabaseSnapshotId and isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. Use RELOCATE_PDB for relocating the Pluggable Database from Source CDB and creating it in target CDB. This will relocate a pluggable database (PDB) to a different database from the source PDB. The source PDB must be in the READ_WRITE openMode when performing the relocate.

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.

Methods

__init__(**kwargs) Initializes a new CreatePluggableDatabaseCreationTypeDetails 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 CreatePluggableDatabaseCreationTypeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 CreatePluggableDatabaseCreationTypeDetails. Allowed values for this property are: “LOCAL_CLONE_PDB”, “REMOTE_CLONE_PDB”, “RELOCATE_PDB”
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.