ADBServerlesTablespaceDetails

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

Bases: oci.database_migration.models.target_type_tablespace_details.TargetTypeTablespaceDetails

Migration tablespace settings valid for Autonomous Database Serverless target type using remap feature.

Attributes

REMAP_TARGET_DATA A constant which can be used with the remap_target property of a ADBServerlesTablespaceDetails.
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
remap_target Gets the remap_target of this ADBServerlesTablespaceDetails.
target_type [Required] Gets the target_type of this TargetTypeTablespaceDetails.

Methods

__init__(**kwargs) Initializes a new ADBServerlesTablespaceDetails 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.
REMAP_TARGET_DATA = 'DATA'

A constant which can be used with the remap_target property of a ADBServerlesTablespaceDetails. This constant has a value of “DATA”

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 ADBServerlesTablespaceDetails object with values from keyword arguments. The default value of the target_type attribute of this class is ADB_S_REMAP 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 ADBServerlesTablespaceDetails. 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’.
  • remap_target (str) – The value to assign to the remap_target property of this ADBServerlesTablespaceDetails. Allowed values for this property are: “DATA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

remap_target

Gets the remap_target of this ADBServerlesTablespaceDetails. Name of the tablespace on the target database to which the source database tablespace is to be remapped.

Allowed values for this property are: “DATA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The remap_target of this ADBServerlesTablespaceDetails.
Return type:str
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