CreateNonADBAutoCreateTablespaceDetails

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

Bases: oci.database_migration.models.create_target_type_tablespace_details.CreateTargetTypeTablespaceDetails

Migration tablespace settings valid for NON-ADB target type using auto create feature.

Attributes

BLOCK_SIZE_IN_KBS_SIZE_16_K A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails.
BLOCK_SIZE_IN_KBS_SIZE_8_K A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails.
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 CreateNonADBAutoCreateTablespaceDetails.
extend_size_in_mbs Gets the extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails.
is_auto_create Gets the is_auto_create of this CreateNonADBAutoCreateTablespaceDetails.
is_big_file Gets the is_big_file of this CreateNonADBAutoCreateTablespaceDetails.
target_type [Required] Gets the target_type of this CreateTargetTypeTablespaceDetails.

Methods

__init__(**kwargs) Initializes a new CreateNonADBAutoCreateTablespaceDetails 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 CreateNonADBAutoCreateTablespaceDetails. This constant has a value of “SIZE_16K”

BLOCK_SIZE_IN_KBS_SIZE_8_K = 'SIZE_8K'

A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails. 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 CreateNonADBAutoCreateTablespaceDetails object with values from keyword arguments. The default value of the target_type attribute of this class is NON_ADB_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 CreateNonADBAutoCreateTablespaceDetails. 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 CreateNonADBAutoCreateTablespaceDetails.
  • is_big_file (bool) – The value to assign to the is_big_file property of this CreateNonADBAutoCreateTablespaceDetails.
  • extend_size_in_mbs (int) – The value to assign to the extend_size_in_mbs property of this CreateNonADBAutoCreateTablespaceDetails.
  • block_size_in_kbs (str) – The value to assign to the block_size_in_kbs property of this CreateNonADBAutoCreateTablespaceDetails. Allowed values for this property are: “SIZE_8K”, “SIZE_16K”
block_size_in_kbs

Gets the block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails. Size of Oracle database blocks in KB.

Allowed values for this property are: “SIZE_8K”, “SIZE_16K”

Returns:The block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails.
Return type:str
extend_size_in_mbs

Gets the extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails. Size of extend in MB. Can only be specified if ‘isBigFile’ property is set to true.

Returns:The extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails.
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 CreateNonADBAutoCreateTablespaceDetails. True to auto-create tablespace in the target Database.

Returns:The is_auto_create of this CreateNonADBAutoCreateTablespaceDetails.
Return type:bool
is_big_file

Gets the is_big_file of this CreateNonADBAutoCreateTablespaceDetails. True set tablespace to big file.

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