OracleDbLinkDataTransferMediumDetails¶
- class oci.database_migration.models.OracleDbLinkDataTransferMediumDetails(**kwargs)¶
Bases:
OracleDataTransferMediumDetailsOptional details for creating a network database link from OCI database to on-premise database.
Attributes:
A constant which can be used with the type property of a OracleDataTransferMediumDetails.
A constant which can be used with the type property of a OracleDataTransferMediumDetails.
A constant which can be used with the type property of a OracleDataTransferMediumDetails.
A constant which can be used with the type property of a OracleDataTransferMediumDetails.
Gets the name of this OracleDbLinkDataTransferMediumDetails.
Gets the object_storage_bucket of this OracleDbLinkDataTransferMediumDetails.
[Required] Gets the type of this OracleDataTransferMediumDetails.
Methods:
__init__(**kwargs)Initializes a new OracleDbLinkDataTransferMediumDetails 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.
- TYPE_AWS_S3 = 'AWS_S3'¶
A constant which can be used with the type property of a OracleDataTransferMediumDetails. This constant has a value of “AWS_S3”
- TYPE_DBLINK = 'DBLINK'¶
A constant which can be used with the type property of a OracleDataTransferMediumDetails. This constant has a value of “DBLINK”
- TYPE_NFS = 'NFS'¶
A constant which can be used with the type property of a OracleDataTransferMediumDetails. This constant has a value of “NFS”
- TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'¶
A constant which can be used with the type property of a OracleDataTransferMediumDetails. This constant has a value of “OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new OracleDbLinkDataTransferMediumDetails object with values from keyword arguments. The default value of the
typeattribute of this class isDBLINKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this OracleDbLinkDataTransferMediumDetails. Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “NFS”
object_storage_bucket (oci.database_migration.models.ObjectStoreBucket) – The value to assign to the object_storage_bucket property of this OracleDbLinkDataTransferMediumDetails.
name (str) – The value to assign to the name property of this OracleDbLinkDataTransferMediumDetails.
- 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.
- property name¶
Gets the name of this OracleDbLinkDataTransferMediumDetails. Name of database link from OCI database to on-premise database. ODMS will create link, if the link does not already exist.
- Returns
The name of this OracleDbLinkDataTransferMediumDetails.
- Return type
str
- property object_storage_bucket¶
Gets the object_storage_bucket of this OracleDbLinkDataTransferMediumDetails.
- Returns
The object_storage_bucket of this OracleDbLinkDataTransferMediumDetails.
- Return type
- property type¶
[Required] Gets the type of this OracleDataTransferMediumDetails. Type of the data transfer medium to use.
Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “NFS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this OracleDataTransferMediumDetails.
- Return type
str