CreatePluggableDatabaseFromRelocateDetails¶
- class oci.database.models.CreatePluggableDatabaseFromRelocateDetails(**kwargs)¶
Bases:
CreatePluggableDatabaseCreationTypeDetailsSpecifies 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:
A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.
A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.
A constant which can be used with the creation_type property of a CreatePluggableDatabaseCreationTypeDetails.
[Required] Gets the creation_type of this CreatePluggableDatabaseCreationTypeDetails.
Gets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
Gets the dblink_username of this CreatePluggableDatabaseFromRelocateDetails.
[Required] Gets the source_container_database_admin_password of this CreatePluggableDatabaseFromRelocateDetails.
[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'¶
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 CreatePluggableDatabaseFromRelocateDetails object with values from keyword arguments. The default value of the
creation_typeattribute of this class isRELOCATE_PDBand 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.
- 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
- property dblink_user_password¶
Gets the dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails. The DB link user password.
- Returns
The dblink_user_password of this CreatePluggableDatabaseFromRelocateDetails.
- Return type
str
- property dblink_username¶
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.
- property 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
- property 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