CreateOracleConnectionDetails¶
- class oci.database_migration.models.CreateOracleConnectionDetails(**kwargs)¶
Bases:
CreateConnectionDetailsThe information about a new Oracle Database Connection.
Attributes:
A constant which can be used with the connection_type property of a CreateConnectionDetails.
A constant which can be used with the connection_type property of a CreateConnectionDetails.
[Required] Gets the compartment_id of this CreateConnectionDetails.
Gets the connection_string of this CreateOracleConnectionDetails.
[Required] Gets the connection_type of this CreateConnectionDetails.
Gets the database_id of this CreateOracleConnectionDetails.
Gets the defined_tags of this CreateConnectionDetails.
Gets the description of this CreateConnectionDetails.
[Required] Gets the display_name of this CreateConnectionDetails.
Gets the freeform_tags of this CreateConnectionDetails.
[Required] Gets the key_id of this CreateConnectionDetails.
Gets the nsg_ids of this CreateConnectionDetails.
[Required] Gets the password of this CreateConnectionDetails.
Gets the replication_password of this CreateConnectionDetails.
Gets the replication_username of this CreateConnectionDetails.
Gets the ssh_host of this CreateOracleConnectionDetails.
Gets the ssh_key of this CreateOracleConnectionDetails.
Gets the ssh_sudo_location of this CreateOracleConnectionDetails.
Gets the ssh_user of this CreateOracleConnectionDetails.
Gets the subnet_id of this CreateConnectionDetails.
[Required] Gets the technology_type of this CreateOracleConnectionDetails.
[Required] Gets the username of this CreateConnectionDetails.
[Required] Gets the vault_id of this CreateConnectionDetails.
Gets the wallet of this CreateOracleConnectionDetails.
Methods:
__init__(**kwargs)Initializes a new CreateOracleConnectionDetails 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.
- CONNECTION_TYPE_MYSQL = 'MYSQL'¶
A constant which can be used with the connection_type property of a CreateConnectionDetails. This constant has a value of “MYSQL”
- CONNECTION_TYPE_ORACLE = 'ORACLE'¶
A constant which can be used with the connection_type property of a CreateConnectionDetails. This constant has a value of “ORACLE”
- __init__(**kwargs)¶
Initializes a new CreateOracleConnectionDetails object with values from keyword arguments. The default value of the
connection_typeattribute of this class isORACLEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
connection_type (str) – The value to assign to the connection_type property of this CreateOracleConnectionDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
display_name (str) – The value to assign to the display_name property of this CreateOracleConnectionDetails.
description (str) – The value to assign to the description property of this CreateOracleConnectionDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateOracleConnectionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOracleConnectionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOracleConnectionDetails.
vault_id (str) – The value to assign to the vault_id property of this CreateOracleConnectionDetails.
key_id (str) – The value to assign to the key_id property of this CreateOracleConnectionDetails.
subnet_id (str) – The value to assign to the subnet_id property of this CreateOracleConnectionDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateOracleConnectionDetails.
username (str) – The value to assign to the username property of this CreateOracleConnectionDetails.
password (str) – The value to assign to the password property of this CreateOracleConnectionDetails.
replication_username (str) – The value to assign to the replication_username property of this CreateOracleConnectionDetails.
replication_password (str) – The value to assign to the replication_password property of this CreateOracleConnectionDetails.
technology_type (str) – The value to assign to the technology_type property of this CreateOracleConnectionDetails.
connection_string (str) – The value to assign to the connection_string property of this CreateOracleConnectionDetails.
wallet (str) – The value to assign to the wallet property of this CreateOracleConnectionDetails.
database_id (str) – The value to assign to the database_id property of this CreateOracleConnectionDetails.
ssh_host (str) – The value to assign to the ssh_host property of this CreateOracleConnectionDetails.
ssh_key (str) – The value to assign to the ssh_key property of this CreateOracleConnectionDetails.
ssh_user (str) – The value to assign to the ssh_user property of this CreateOracleConnectionDetails.
ssh_sudo_location (str) – The value to assign to the ssh_sudo_location property of this CreateOracleConnectionDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateConnectionDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateConnectionDetails.
- Return type
str
- property connection_string¶
Gets the connection_string of this CreateOracleConnectionDetails. Connect descriptor or Easy Connect Naming method used to connect to a database.
- Returns
The connection_string of this CreateOracleConnectionDetails.
- Return type
str
- property connection_type¶
[Required] Gets the connection_type of this CreateConnectionDetails. Defines the type of connection. For example, ORACLE.
Allowed values for this property are: “MYSQL”, “ORACLE”
- Returns
The connection_type of this CreateConnectionDetails.
- Return type
str
- property database_id¶
Gets the database_id of this CreateOracleConnectionDetails. The OCID of the database being referenced.
- Returns
The database_id of this CreateOracleConnectionDetails.
- Return type
str
- property 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))
- property description¶
Gets the description of this CreateConnectionDetails. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The description of this CreateConnectionDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateConnectionDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateConnectionDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateConnectionDetails.
- Return type
dict(str, str)
- 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 key_id¶
[Required] Gets the key_id of this CreateConnectionDetails. The OCID of the key used in cryptographic operations.
- Returns
The key_id of this CreateConnectionDetails.
- Return type
str
- property 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]
- property password¶
[Required] Gets the password of this CreateConnectionDetails. The password (credential) used when creating or updating this resource.
- Returns
The password of this CreateConnectionDetails.
- Return type
str
- property replication_password¶
Gets the replication_password of this CreateConnectionDetails. The password (credential) used when creating or updating this resource.
- Returns
The replication_password of this CreateConnectionDetails.
- Return type
str
- property replication_username¶
Gets the replication_username of this CreateConnectionDetails. The username (credential) used when creating or updating this resource.
- Returns
The replication_username of this CreateConnectionDetails.
- Return type
str
- property ssh_host¶
Gets the ssh_host of this CreateOracleConnectionDetails. Name of the host the SSH key is valid for.
- Returns
The ssh_host of this CreateOracleConnectionDetails.
- Return type
str
- property ssh_key¶
Gets the ssh_key of this CreateOracleConnectionDetails. Private SSH key string.
- Returns
The ssh_key of this CreateOracleConnectionDetails.
- Return type
str
- property ssh_sudo_location¶
Gets the ssh_sudo_location of this CreateOracleConnectionDetails. Sudo location
- Returns
The ssh_sudo_location of this CreateOracleConnectionDetails.
- Return type
str
- property ssh_user¶
Gets the ssh_user of this CreateOracleConnectionDetails. The username (credential) used when creating or updating this resource.
- Returns
The ssh_user of this CreateOracleConnectionDetails.
- Return type
str
- property subnet_id¶
Gets the subnet_id of this CreateConnectionDetails. OCI resource ID.
- Returns
The subnet_id of this CreateConnectionDetails.
- Return type
str
- property technology_type¶
[Required] Gets the technology_type of this CreateOracleConnectionDetails. The Oracle technology type.
- Returns
The technology_type of this CreateOracleConnectionDetails.
- Return type
str
- property username¶
[Required] Gets the username of this CreateConnectionDetails. The username (credential) used when creating or updating this resource.
- Returns
The username of this CreateConnectionDetails.
- Return type
str
- property vault_id¶
[Required] Gets the vault_id of this CreateConnectionDetails. OCI resource ID.
- Returns
The vault_id of this CreateConnectionDetails.
- Return type
str
- property wallet¶
Gets the wallet of this CreateOracleConnectionDetails. The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
- Returns
The wallet of this CreateOracleConnectionDetails.
- Return type
str