NonADBAutoCreateTablespaceDetails¶
-
class
oci.database_migration.models.NonADBAutoCreateTablespaceDetails(**kwargs)¶ Bases:
oci.database_migration.models.target_type_tablespace_details.TargetTypeTablespaceDetailsMigration tablespace settings valid for NON-ADB target type using auto create feature.
Attributes
BLOCK_SIZE_IN_KBS_SIZE_16_KA constant which can be used with the block_size_in_kbs property of a NonADBAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_2_KA constant which can be used with the block_size_in_kbs property of a NonADBAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_32_KA constant which can be used with the block_size_in_kbs property of a NonADBAutoCreateTablespaceDetails. BLOCK_SIZE_IN_KBS_SIZE_8_KA constant which can be used with the block_size_in_kbs property of a NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails. extend_size_in_mbsGets the extend_size_in_mbs of this NonADBAutoCreateTablespaceDetails. is_auto_createGets the is_auto_create of this NonADBAutoCreateTablespaceDetails. is_big_fileGets the is_big_file of this NonADBAutoCreateTablespaceDetails. target_type[Required] Gets the target_type of this TargetTypeTablespaceDetails. Methods
__init__(**kwargs)Initializes a new NonADBAutoCreateTablespaceDetails 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 NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails object with values from keyword arguments. The default value of the
target_typeattribute of this class isNON_ADB_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 NonADBAutoCreateTablespaceDetails. Allowed values for this property are: “ADB_S_REMAP”, “ADB_D_REMAP”, “ADB_D_AUTOCREATE”, “NON_ADB_REMAP”, “NON_ADB_AUTOCREATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_auto_create (bool) – The value to assign to the is_auto_create property of this NonADBAutoCreateTablespaceDetails.
- is_big_file (bool) – The value to assign to the is_big_file property of this NonADBAutoCreateTablespaceDetails.
- extend_size_in_mbs (int) – The value to assign to the extend_size_in_mbs property of this NonADBAutoCreateTablespaceDetails.
- block_size_in_kbs (str) – The value to assign to the block_size_in_kbs property of this NonADBAutoCreateTablespaceDetails. Allowed values for this property are: “SIZE_2K”, “SIZE_8K”, “SIZE_16K”, “SIZE_32K”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
block_size_in_kbs¶ Gets the block_size_in_kbs of this NonADBAutoCreateTablespaceDetails. Size of Oracle database blocks in KB.
Allowed values for this property are: “SIZE_2K”, “SIZE_8K”, “SIZE_16K”, “SIZE_32K”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The block_size_in_kbs of this NonADBAutoCreateTablespaceDetails. Return type: str
-
extend_size_in_mbs¶ Gets the extend_size_in_mbs of this NonADBAutoCreateTablespaceDetails. Size of extend in MB. Can only be specified if ‘isBigFile’ property is set to true.
Returns: The extend_size_in_mbs of this NonADBAutoCreateTablespaceDetails. 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 NonADBAutoCreateTablespaceDetails. True to auto-create tablespace in the target Database.
Returns: The is_auto_create of this NonADBAutoCreateTablespaceDetails. Return type: bool
-
is_big_file¶ Gets the is_big_file of this NonADBAutoCreateTablespaceDetails. True set tablespace to big file.
Returns: The is_big_file of this NonADBAutoCreateTablespaceDetails. Return type: bool
-
target_type¶ [Required] Gets the target_type of this TargetTypeTablespaceDetails. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The target_type of this TargetTypeTablespaceDetails. Return type: str
-