CreatePluggableDatabaseFromLocalCloneDetails¶
-
class
oci.database.models.
CreatePluggableDatabaseFromLocalCloneDetails
(**kwargs)¶ Bases:
oci.database.models.create_pluggable_database_creation_type_details.CreatePluggableDatabaseCreationTypeDetails
Specifies the creation type Local Clone.
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. 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. 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'¶
-
CREATION_TYPE_RELOCATE_PDB
= 'RELOCATE_PDB'¶
-
CREATION_TYPE_REMOTE_CLONE_PDB
= '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 isLOCAL_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.
-
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.
-
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
-
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
-