UpdateADBDedicatedAutoCreateTablespaceDetails

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

Bases: oci.database_migration.models.update_target_type_tablespace_details.UpdateTargetTypeTablespaceDetails

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 UpdateADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_2_K A constant which can be used with the block_size_in_kbs property of a UpdateADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_32_K A constant which can be used with the block_size_in_kbs property of a UpdateADBDedicatedAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_8_K A constant which can be used with the block_size_in_kbs property of a UpdateADBDedicatedAutoCreateTablespaceDetails.
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
TARGET_TYPE_TARGET_DEFAULTS_AUTOCREATE str(object=’’) -> str
TARGET_TYPE_TARGET_DEFAULTS_REMAP str(object=’’) -> str
block_size_in_kbs Gets the block_size_in_kbs of this UpdateADBDedicatedAutoCreateTablespaceDetails.
extend_size_in_mbs Gets the extend_size_in_mbs of this UpdateADBDedicatedAutoCreateTablespaceDetails.
is_auto_create Gets the is_auto_create of this UpdateADBDedicatedAutoCreateTablespaceDetails.
is_big_file Gets the is_big_file of this UpdateADBDedicatedAutoCreateTablespaceDetails.
target_type [Required] Gets the target_type of this UpdateTargetTypeTablespaceDetails.

Methods

__init__(**kwargs) Initializes a new UpdateADBDedicatedAutoCreateTablespaceDetails 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 UpdateADBDedicatedAutoCreateTablespaceDetails. 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 UpdateADBDedicatedAutoCreateTablespaceDetails. 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 UpdateADBDedicatedAutoCreateTablespaceDetails. 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 UpdateADBDedicatedAutoCreateTablespaceDetails. 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'
TARGET_TYPE_TARGET_DEFAULTS_AUTOCREATE = 'TARGET_DEFAULTS_AUTOCREATE'
TARGET_TYPE_TARGET_DEFAULTS_REMAP = 'TARGET_DEFAULTS_REMAP'
__init__(**kwargs)

Initializes a new UpdateADBDedicatedAutoCreateTablespaceDetails 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 UpdateADBDedicatedAutoCreateTablespaceDetails. Allowed values for this property are: “ADB_S_REMAP”, “ADB_D_REMAP”, “ADB_D_AUTOCREATE”, “NON_ADB_REMAP”, “NON_ADB_AUTOCREATE”, “TARGET_DEFAULTS_REMAP”, “TARGET_DEFAULTS_AUTOCREATE”
  • is_auto_create (bool) – The value to assign to the is_auto_create property of this UpdateADBDedicatedAutoCreateTablespaceDetails.
  • is_big_file (bool) – The value to assign to the is_big_file property of this UpdateADBDedicatedAutoCreateTablespaceDetails.
  • extend_size_in_mbs (int) – The value to assign to the extend_size_in_mbs property of this UpdateADBDedicatedAutoCreateTablespaceDetails.
  • block_size_in_kbs (str) – The value to assign to the block_size_in_kbs property of this UpdateADBDedicatedAutoCreateTablespaceDetails. 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 UpdateADBDedicatedAutoCreateTablespaceDetails. 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 UpdateADBDedicatedAutoCreateTablespaceDetails.
Return type:str
extend_size_in_mbs

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

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

Returns:The is_big_file of this UpdateADBDedicatedAutoCreateTablespaceDetails.
Return type:bool
target_type

[Required] Gets the target_type of this UpdateTargetTypeTablespaceDetails. 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”, “TARGET_DEFAULTS_REMAP”, “TARGET_DEFAULTS_AUTOCREATE”

Returns:The target_type of this UpdateTargetTypeTablespaceDetails.
Return type:str