ADBDedicatedAutoCreateTablespaceDetails

class oci.database_migration.models.ADBDedicatedAutoCreateTablespaceDetails(**kwargs)

Bases: oci.database_migration.models.target_type_tablespace_details.TargetTypeTablespaceDetails

Auto create tablespace settings that are valid for Dedicated Autonomous Databases.

Attributes

BLOCK_SIZE_IN_KBS_SIZE_16_K A constant which can be used with the block_size_in_kbs property of a ADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_2_K A constant which can be used with the block_size_in_kbs property of a ADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_32_K A constant which can be used with the block_size_in_kbs property of a ADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_8_K A constant which can be used with the block_size_in_kbs property of a ADBDedicatedAutoCreateTablespaceDetails.
TARGET_TYPE_ADB_D_AUTOCREATE str(object=’’) -> str
TARGET_TYPE_ADB_D_REMAP str(object=’’) -> str
TARGET_TYPE_ADB_S_REMAP str(object=’’) -> str
TARGET_TYPE_NON_ADB_AUTOCREATE str(object=’’) -> str
TARGET_TYPE_NON_ADB_REMAP str(object=’’) -> str
block_size_in_kbs Gets the block_size_in_kbs of this ADBDedicatedAutoCreateTablespaceDetails.
extend_size_in_mbs Gets the extend_size_in_mbs of this ADBDedicatedAutoCreateTablespaceDetails.
is_auto_create Gets the is_auto_create of this ADBDedicatedAutoCreateTablespaceDetails.
is_big_file Gets the is_big_file of this ADBDedicatedAutoCreateTablespaceDetails.
target_type [Required] Gets the target_type of this TargetTypeTablespaceDetails.

Methods

__init__(**kwargs) Initializes a new ADBDedicatedAutoCreateTablespaceDetails 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails object with values from keyword arguments. The default value of the target_type attribute of this class is ADB_D_AUTOCREATE and 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails.
  • is_big_file (bool) – The value to assign to the is_big_file property of this ADBDedicatedAutoCreateTablespaceDetails.
  • extend_size_in_mbs (int) – The value to assign to the extend_size_in_mbs property of this ADBDedicatedAutoCreateTablespaceDetails.
  • block_size_in_kbs (str) – The value to assign to the block_size_in_kbs property of this ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails.
Return type:str
extend_size_in_mbs

Gets the extend_size_in_mbs of this ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails.
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 ADBDedicatedAutoCreateTablespaceDetails. 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 ADBDedicatedAutoCreateTablespaceDetails.
Return type:bool
is_big_file

Gets the is_big_file of this ADBDedicatedAutoCreateTablespaceDetails. Set this property to true to enable tablespace of the type big file.

Returns:The is_big_file of this ADBDedicatedAutoCreateTablespaceDetails.
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