CreateOracleConnectionDetails¶
-
class
oci.database_migration.models.CreateOracleConnectionDetails(**kwargs)¶ Bases:
oci.database_migration.models.create_connection_details.CreateConnectionDetailsThe information about a new Oracle Database Connection.
Attributes
CONNECTION_TYPE_MYSQLstr(object=’’) -> str CONNECTION_TYPE_ORACLEstr(object=’’) -> str compartment_id[Required] Gets the compartment_id of this CreateConnectionDetails. connection_stringGets the connection_string of this CreateOracleConnectionDetails. connection_type[Required] Gets the connection_type of this CreateConnectionDetails. database_idGets the database_id of this CreateOracleConnectionDetails. defined_tagsGets the defined_tags of this CreateConnectionDetails. descriptionGets the description of this CreateConnectionDetails. display_name[Required] Gets the display_name of this CreateConnectionDetails. freeform_tagsGets the freeform_tags of this CreateConnectionDetails. key_id[Required] Gets the key_id of this CreateConnectionDetails. nsg_idsGets the nsg_ids of this CreateConnectionDetails. password[Required] Gets the password of this CreateConnectionDetails. replication_passwordGets the replication_password of this CreateConnectionDetails. replication_usernameGets the replication_username of this CreateConnectionDetails. ssh_hostGets the ssh_host of this CreateOracleConnectionDetails. ssh_keyGets the ssh_key of this CreateOracleConnectionDetails. ssh_sudo_locationGets the ssh_sudo_location of this CreateOracleConnectionDetails. ssh_userGets the ssh_user of this CreateOracleConnectionDetails. subnet_idGets the subnet_id of this CreateConnectionDetails. technology_type[Required] Gets the technology_type of this CreateOracleConnectionDetails. username[Required] Gets the username of this CreateConnectionDetails. vault_id[Required] Gets the vault_id of this CreateConnectionDetails. walletGets 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'¶
-
CONNECTION_TYPE_ORACLE= '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.
-
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
-
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
-
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
-
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
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))
-
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
-
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
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.
-
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
-
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]
-
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
-
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
-
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
-
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
-
ssh_key¶ Gets the ssh_key of this CreateOracleConnectionDetails. Private SSH key string.
Returns: The ssh_key of this CreateOracleConnectionDetails. Return type: str
-
ssh_sudo_location¶ Gets the ssh_sudo_location of this CreateOracleConnectionDetails. Sudo location
Returns: The ssh_sudo_location of this CreateOracleConnectionDetails. Return type: str
-
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
-
subnet_id¶ Gets the subnet_id of this CreateConnectionDetails. OCI resource ID.
Returns: The subnet_id of this CreateConnectionDetails. Return type: str
-
technology_type¶ [Required] Gets the technology_type of this CreateOracleConnectionDetails. The Oracle technology type.
Returns: The technology_type of this CreateOracleConnectionDetails. Return type: str
-
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
-
vault_id¶ [Required] Gets the vault_id of this CreateConnectionDetails. OCI resource ID.
Returns: The vault_id of this CreateConnectionDetails. Return type: str
-
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
-