CreateADBDedicatedAutoCreateTablespaceDetails¶
-
class
oci.database_migration.models.CreateADBDedicatedAutoCreateTablespaceDetails(**kwargs)¶ Bases:
oci.database_migration.models.create_target_type_tablespace_details.CreateTargetTypeTablespaceDetailsAuto create tablespace settings that are valid for Dedicated Autonomous Databases.
Attributes
BLOCK_SIZE_IN_KBS_SIZE_16_KA constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_2_KA constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_32_KA constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_8_KA constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. TARGET_TYPE_ADB_D_AUTOCREATEstr(object=’’) -> str TARGET_TYPE_ADB_D_REMAPstr(object=’’) -> str TARGET_TYPE_ADB_S_REMAPstr(object=’’) -> str TARGET_TYPE_NON_ADB_AUTOCREATEstr(object=’’) -> str TARGET_TYPE_NON_ADB_REMAPstr(object=’’) -> str block_size_in_kbsGets the block_size_in_kbs of this CreateADBDedicatedAutoCreateTablespaceDetails. extend_size_in_mbsGets the extend_size_in_mbs of this CreateADBDedicatedAutoCreateTablespaceDetails. is_auto_createGets the is_auto_create of this CreateADBDedicatedAutoCreateTablespaceDetails. is_big_fileGets the is_big_file of this CreateADBDedicatedAutoCreateTablespaceDetails. target_type[Required] Gets the target_type of this CreateTargetTypeTablespaceDetails. Methods
__init__(**kwargs)Initializes a new CreateADBDedicatedAutoCreateTablespaceDetails 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. -
BLOCK_SIZE_IN_KBS_SIZE_16_K= 'SIZE_16K'¶ A constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. This constant has a value of “SIZE_16K”
-
BLOCK_SIZE_IN_KBS_SIZE_2_K= 'SIZE_2K'¶ A constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. This constant has a value of “SIZE_2K”
-
BLOCK_SIZE_IN_KBS_SIZE_32_K= 'SIZE_32K'¶ A constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. This constant has a value of “SIZE_32K”
-
BLOCK_SIZE_IN_KBS_SIZE_8_K= 'SIZE_8K'¶ A constant which can be used with the block_size_in_kbs property of a CreateADBDedicatedAutoCreateTablespaceDetails. This constant has a value of “SIZE_8K”
-
TARGET_TYPE_ADB_D_AUTOCREATE= 'ADB_D_AUTOCREATE'¶
-
TARGET_TYPE_ADB_D_REMAP= 'ADB_D_REMAP'¶
-
TARGET_TYPE_ADB_S_REMAP= 'ADB_S_REMAP'¶
-
TARGET_TYPE_NON_ADB_AUTOCREATE= 'NON_ADB_AUTOCREATE'¶
-
TARGET_TYPE_NON_ADB_REMAP= 'NON_ADB_REMAP'¶
-
__init__(**kwargs)¶ Initializes a new CreateADBDedicatedAutoCreateTablespaceDetails object with values from keyword arguments. The default value of the
target_typeattribute of this class isADB_D_AUTOCREATEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - target_type (str) – The value to assign to the target_type property of this CreateADBDedicatedAutoCreateTablespaceDetails. Allowed values for this property are: “ADB_S_REMAP”, “ADB_D_REMAP”, “ADB_D_AUTOCREATE”, “NON_ADB_REMAP”, “NON_ADB_AUTOCREATE”
- is_auto_create (bool) – The value to assign to the is_auto_create property of this CreateADBDedicatedAutoCreateTablespaceDetails.
- is_big_file (bool) – The value to assign to the is_big_file property of this CreateADBDedicatedAutoCreateTablespaceDetails.
- extend_size_in_mbs (int) – The value to assign to the extend_size_in_mbs property of this CreateADBDedicatedAutoCreateTablespaceDetails.
- block_size_in_kbs (str) – The value to assign to the block_size_in_kbs property of this CreateADBDedicatedAutoCreateTablespaceDetails. Allowed values for this property are: “SIZE_2K”, “SIZE_8K”, “SIZE_16K”, “SIZE_32K”
-
block_size_in_kbs¶ Gets the block_size_in_kbs of this CreateADBDedicatedAutoCreateTablespaceDetails. Size of Oracle database blocks in KB.
Allowed values for this property are: “SIZE_2K”, “SIZE_8K”, “SIZE_16K”, “SIZE_32K”
Returns: The block_size_in_kbs of this CreateADBDedicatedAutoCreateTablespaceDetails. Return type: str
-
extend_size_in_mbs¶ Gets the extend_size_in_mbs of this CreateADBDedicatedAutoCreateTablespaceDetails. Size to extend the tablespace in MB. Note: Only applicable if ‘isBigFile’ property is set to true.
Returns: The extend_size_in_mbs of this CreateADBDedicatedAutoCreateTablespaceDetails. Return type: int
-
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_auto_create¶ Gets the is_auto_create of this CreateADBDedicatedAutoCreateTablespaceDetails. Set this property to true to auto-create tablespaces in the target Database. Note: This is not applicable for Autonomous Database Serverless databases.
Returns: The is_auto_create of this CreateADBDedicatedAutoCreateTablespaceDetails. Return type: bool
-
is_big_file¶ Gets the is_big_file of this CreateADBDedicatedAutoCreateTablespaceDetails. Set this property to true to enable tablespace of the type big file.
Returns: The is_big_file of this CreateADBDedicatedAutoCreateTablespaceDetails. Return type: bool
-
target_type¶ [Required] Gets the target_type of this CreateTargetTypeTablespaceDetails. Type of Database Base Migration Target.
Allowed values for this property are: “ADB_S_REMAP”, “ADB_D_REMAP”, “ADB_D_AUTOCREATE”, “NON_ADB_REMAP”, “NON_ADB_AUTOCREATE”
Returns: The target_type of this CreateTargetTypeTablespaceDetails. Return type: str
-