CreatePluggableDatabaseFromRelocateDetails

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

Bases: oci.database.models.create_pluggable_database_creation_type_details.CreatePluggableDatabaseCreationTypeDetails

Specifies the creation type Relocate. Additional input ‘dblinkUsername` and dblinkUserPassword can be provided for Relocate Operation. If not provided, Backend will create a temporary user to perform Relocate operation.

Attributes

CREATION_TYPE_LOCAL_CLONE_PDB str(object=’’) -> str
CREATION_TYPE_RELOCATE_PDB str(object=’’) -> str
CREATION_TYPE_REMOTE_CLONE_PDB str(object=’’) -> str
creation_type [Required] Gets the creation_type of this CreatePluggableDatabaseCreationTypeDetails.
dblink_user_password Gets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
dblink_username Gets the dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
source_container_database_admin_password [Required] Gets the source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
source_pluggable_database_id [Required] Gets the source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.

Methods

__init__(**kwargs) Initializes a new CreatePluggableDatabaseFromRelocateDetails 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'
CREATION_TYPE_RELOCATE_PDB = 'RELOCATE_PDB'
CREATION_TYPE_REMOTE_CLONE_PDB = 'REMOTE_CLONE_PDB'
__init__(**kwargs)

Initializes a new CreatePluggableDatabaseFromRelocateDetails object with values from keyword arguments. The default value of the creation_type attribute of this class is RELOCATE_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 CreatePluggableDatabaseFromRelocateDetails. Allowed values for this property are: “LOCAL_CLONE_PDB”, “REMOTE_CLONE_PDB”, “RELOCATE_PDB”
  • dblink_username (str) – The value to assign to the dblink_username property of this CreatePluggableDatabaseFromRelocateDetails.
  • dblink_user_password (str) – The value to assign to the dblink_user_password property of this CreatePluggableDatabaseFromRelocateDetails.
  • source_pluggable_database_id (str) – The value to assign to the source_pluggable_database_id property of this CreatePluggableDatabaseFromRelocateDetails.
  • source_container_database_admin_password (str) – The value to assign to the source_container_database_admin_password property of this CreatePluggableDatabaseFromRelocateDetails.
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

Gets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails. The DB link user password.

Returns:The dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
Return type:str

Gets the dblink_username of this CreatePluggableDatabaseFromRelocateDetails. The name of the DB link user.

Returns:The dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
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.

source_container_database_admin_password

[Required] Gets the source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails. The DB system administrator password of the source Container Database.

Returns:The source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
Return type:str
source_pluggable_database_id

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

Returns:The source_pluggable_database_id of this CreatePluggableDatabaseFromRelocateDetails.
Return type:str