CreateConnectionDetails

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

Bases: object

Details to create a Database Connection resource.

Attributes

DATABASE_TYPE_AUTONOMOUS A constant which can be used with the database_type property of a CreateConnectionDetails.
DATABASE_TYPE_MANUAL A constant which can be used with the database_type property of a CreateConnectionDetails.
DATABASE_TYPE_USER_MANAGED_OCI A constant which can be used with the database_type property of a CreateConnectionDetails.
MANUAL_DATABASE_SUB_TYPE_ORACLE A constant which can be used with the manual_database_sub_type property of a CreateConnectionDetails.
MANUAL_DATABASE_SUB_TYPE_RDS_ORACLE A constant which can be used with the manual_database_sub_type property of a CreateConnectionDetails.
admin_credentials [Required] Gets the admin_credentials of this CreateConnectionDetails.
certificate_tdn Gets the certificate_tdn of this CreateConnectionDetails.
compartment_id [Required] Gets the compartment_id of this CreateConnectionDetails.
connect_descriptor Gets the connect_descriptor of this CreateConnectionDetails.
database_id Gets the database_id of this CreateConnectionDetails.
database_type [Required] Gets the database_type of this CreateConnectionDetails.
defined_tags Gets the defined_tags of this CreateConnectionDetails.
display_name Gets the display_name of this CreateConnectionDetails.
freeform_tags Gets the freeform_tags of this CreateConnectionDetails.
manual_database_sub_type Gets the manual_database_sub_type of this CreateConnectionDetails.
nsg_ids Gets the nsg_ids of this CreateConnectionDetails.
private_endpoint Gets the private_endpoint of this CreateConnectionDetails.
replication_credentials Gets the replication_credentials of this CreateConnectionDetails.
ssh_details Gets the ssh_details of this CreateConnectionDetails.
tls_keystore Gets the tls_keystore of this CreateConnectionDetails.
tls_wallet Gets the tls_wallet of this CreateConnectionDetails.
vault_details [Required] Gets the vault_details of this CreateConnectionDetails.

Methods

__init__(**kwargs) Initializes a new CreateConnectionDetails object with values from keyword arguments.
DATABASE_TYPE_AUTONOMOUS = 'AUTONOMOUS'

A constant which can be used with the database_type property of a CreateConnectionDetails. This constant has a value of “AUTONOMOUS”

DATABASE_TYPE_MANUAL = 'MANUAL'

A constant which can be used with the database_type property of a CreateConnectionDetails. This constant has a value of “MANUAL”

DATABASE_TYPE_USER_MANAGED_OCI = 'USER_MANAGED_OCI'

A constant which can be used with the database_type property of a CreateConnectionDetails. This constant has a value of “USER_MANAGED_OCI”

MANUAL_DATABASE_SUB_TYPE_ORACLE = 'ORACLE'

A constant which can be used with the manual_database_sub_type property of a CreateConnectionDetails. This constant has a value of “ORACLE”

MANUAL_DATABASE_SUB_TYPE_RDS_ORACLE = 'RDS_ORACLE'

A constant which can be used with the manual_database_sub_type property of a CreateConnectionDetails. This constant has a value of “RDS_ORACLE”

__init__(**kwargs)

Initializes a new CreateConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateConnectionDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateConnectionDetails.
  • database_type (str) – The value to assign to the database_type property of this CreateConnectionDetails. Allowed values for this property are: “MANUAL”, “AUTONOMOUS”, “USER_MANAGED_OCI”
  • manual_database_sub_type (str) – The value to assign to the manual_database_sub_type property of this CreateConnectionDetails. Allowed values for this property are: “ORACLE”, “RDS_ORACLE”
  • database_id (str) – The value to assign to the database_id property of this CreateConnectionDetails.
  • connect_descriptor (oci.database_migration.models.CreateConnectDescriptor) – The value to assign to the connect_descriptor property of this CreateConnectionDetails.
  • certificate_tdn (str) – The value to assign to the certificate_tdn property of this CreateConnectionDetails.
  • tls_wallet (str) – The value to assign to the tls_wallet property of this CreateConnectionDetails.
  • tls_keystore (str) – The value to assign to the tls_keystore property of this CreateConnectionDetails.
  • ssh_details (oci.database_migration.models.CreateSshDetails) – The value to assign to the ssh_details property of this CreateConnectionDetails.
  • admin_credentials (oci.database_migration.models.CreateAdminCredentials) – The value to assign to the admin_credentials property of this CreateConnectionDetails.
  • replication_credentials (oci.database_migration.models.CreateAdminCredentials) – The value to assign to the replication_credentials property of this CreateConnectionDetails.
  • private_endpoint (oci.database_migration.models.CreatePrivateEndpoint) – The value to assign to the private_endpoint property of this CreateConnectionDetails.
  • vault_details (oci.database_migration.models.CreateVaultDetails) – The value to assign to the vault_details property of this CreateConnectionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateConnectionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateConnectionDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateConnectionDetails.
admin_credentials

[Required] Gets the admin_credentials of this CreateConnectionDetails.

Returns:The admin_credentials of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreateAdminCredentials
certificate_tdn

Gets the certificate_tdn of this CreateConnectionDetails. This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified. Not required for source container database connections.

Returns:The certificate_tdn of this CreateConnectionDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateConnectionDetails. OCID of the compartment

Returns:The compartment_id of this CreateConnectionDetails.
Return type:str
connect_descriptor

Gets the connect_descriptor of this CreateConnectionDetails.

Returns:The connect_descriptor of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreateConnectDescriptor
database_id

Gets the database_id of this CreateConnectionDetails. The OCID of the cloud database. Required if the database connection type is Autonomous.

Returns:The database_id of this CreateConnectionDetails.
Return type:str
database_type

[Required] Gets the database_type of this CreateConnectionDetails. Database connection type.

Allowed values for this property are: “MANUAL”, “AUTONOMOUS”, “USER_MANAGED_OCI”

Returns:The database_type of this CreateConnectionDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateConnectionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateConnectionDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateConnectionDetails. Database Connection display name identifier.

Returns:The display_name of this CreateConnectionDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateConnectionDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateConnectionDetails.
Return type:dict(str, str)
manual_database_sub_type

Gets the manual_database_sub_type of this CreateConnectionDetails. Database manual connection subtype. This value can only be specified for manual connections.

Allowed values for this property are: “ORACLE”, “RDS_ORACLE”

Returns:The manual_database_sub_type of this CreateConnectionDetails.
Return type:str
nsg_ids

Gets the nsg_ids of this CreateConnectionDetails. An array of Network Security Group OCIDs used to define network access for Connections.

Returns:The nsg_ids of this CreateConnectionDetails.
Return type:list[str]
private_endpoint

Gets the private_endpoint of this CreateConnectionDetails.

Returns:The private_endpoint of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreatePrivateEndpoint
replication_credentials

Gets the replication_credentials of this CreateConnectionDetails.

Returns:The replication_credentials of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreateAdminCredentials
ssh_details

Gets the ssh_details of this CreateConnectionDetails.

Returns:The ssh_details of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreateSshDetails
tls_keystore

Gets the tls_keystore of this CreateConnectionDetails. keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections.

Returns:The tls_keystore of this CreateConnectionDetails.
Return type:str
tls_wallet

Gets the tls_wallet of this CreateConnectionDetails. cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections.

Returns:The tls_wallet of this CreateConnectionDetails.
Return type:str
vault_details

[Required] Gets the vault_details of this CreateConnectionDetails.

Returns:The vault_details of this CreateConnectionDetails.
Return type:oci.database_migration.models.CreateVaultDetails