UpdateOracleConnectionDetails¶
-
class
oci.database_migration.models.
UpdateOracleConnectionDetails
(**kwargs)¶ Bases:
oci.database_migration.models.update_connection_details.UpdateConnectionDetails
The information to update an Oracle Database Connection.
Attributes
CONNECTION_TYPE_MYSQL
str(object=’’) -> str CONNECTION_TYPE_ORACLE
str(object=’’) -> str connection_string
Gets the connection_string of this UpdateOracleConnectionDetails. connection_type
Gets the connection_type of this UpdateConnectionDetails. database_id
Gets the database_id of this UpdateOracleConnectionDetails. defined_tags
Gets the defined_tags of this UpdateConnectionDetails. description
Gets the description of this UpdateConnectionDetails. display_name
Gets the display_name of this UpdateConnectionDetails. freeform_tags
Gets the freeform_tags of this UpdateConnectionDetails. key_id
Gets the key_id of this UpdateConnectionDetails. nsg_ids
Gets the nsg_ids of this UpdateConnectionDetails. password
Gets the password of this UpdateConnectionDetails. replication_password
Gets the replication_password of this UpdateConnectionDetails. replication_username
Gets the replication_username of this UpdateConnectionDetails. ssh_host
Gets the ssh_host of this UpdateOracleConnectionDetails. ssh_key
Gets the ssh_key of this UpdateOracleConnectionDetails. ssh_sudo_location
Gets the ssh_sudo_location of this UpdateOracleConnectionDetails. ssh_user
Gets the ssh_user of this UpdateOracleConnectionDetails. subnet_id
Gets the subnet_id of this UpdateConnectionDetails. username
Gets the username of this UpdateConnectionDetails. vault_id
Gets the vault_id of this UpdateConnectionDetails. wallet
Gets the wallet of this UpdateOracleConnectionDetails. Methods
__init__
(**kwargs)Initializes a new UpdateOracleConnectionDetails 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 UpdateOracleConnectionDetails object with values from keyword arguments. The default value of the
connection_type
attribute of this class isORACLE
and 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 UpdateOracleConnectionDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
- display_name (str) – The value to assign to the display_name property of this UpdateOracleConnectionDetails.
- description (str) – The value to assign to the description property of this UpdateOracleConnectionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOracleConnectionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOracleConnectionDetails.
- vault_id (str) – The value to assign to the vault_id property of this UpdateOracleConnectionDetails.
- key_id (str) – The value to assign to the key_id property of this UpdateOracleConnectionDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this UpdateOracleConnectionDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateOracleConnectionDetails.
- username (str) – The value to assign to the username property of this UpdateOracleConnectionDetails.
- password (str) – The value to assign to the password property of this UpdateOracleConnectionDetails.
- replication_username (str) – The value to assign to the replication_username property of this UpdateOracleConnectionDetails.
- replication_password (str) – The value to assign to the replication_password property of this UpdateOracleConnectionDetails.
- connection_string (str) – The value to assign to the connection_string property of this UpdateOracleConnectionDetails.
- wallet (str) – The value to assign to the wallet property of this UpdateOracleConnectionDetails.
- database_id (str) – The value to assign to the database_id property of this UpdateOracleConnectionDetails.
- ssh_host (str) – The value to assign to the ssh_host property of this UpdateOracleConnectionDetails.
- ssh_key (str) – The value to assign to the ssh_key property of this UpdateOracleConnectionDetails.
- ssh_user (str) – The value to assign to the ssh_user property of this UpdateOracleConnectionDetails.
- ssh_sudo_location (str) – The value to assign to the ssh_sudo_location property of this UpdateOracleConnectionDetails.
-
connection_string
¶ Gets the connection_string of this UpdateOracleConnectionDetails. Connect descriptor or Easy Connect Naming method used to connect to a database.
Returns: The connection_string of this UpdateOracleConnectionDetails. Return type: str
-
connection_type
¶ Gets the connection_type of this UpdateConnectionDetails. Defines the type of connection. For example, ORACLE.
Allowed values for this property are: “MYSQL”, “ORACLE”
Returns: The connection_type of this UpdateConnectionDetails. Return type: str
-
database_id
¶ Gets the database_id of this UpdateOracleConnectionDetails. The OCID of the database being referenced.
Returns: The database_id of this UpdateOracleConnectionDetails. Return type: str
Gets the defined_tags of this UpdateConnectionDetails. 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 UpdateConnectionDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateConnectionDetails. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The description of this UpdateConnectionDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateConnectionDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this UpdateConnectionDetails. Return type: str
Gets the freeform_tags of this UpdateConnectionDetails. 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 UpdateConnectionDetails. 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
¶ Gets the key_id of this UpdateConnectionDetails. The OCID of the key used in cryptographic operations.
Returns: The key_id of this UpdateConnectionDetails. Return type: str
-
nsg_ids
¶ Gets the nsg_ids of this UpdateConnectionDetails. An array of Network Security Group OCIDs used to define network access for Connections.
Returns: The nsg_ids of this UpdateConnectionDetails. Return type: list[str]
-
password
¶ Gets the password of this UpdateConnectionDetails. The password (credential) used when creating or updating this resource.
Returns: The password of this UpdateConnectionDetails. Return type: str
-
replication_password
¶ Gets the replication_password of this UpdateConnectionDetails. The password (credential) used when creating or updating this resource.
Returns: The replication_password of this UpdateConnectionDetails. Return type: str
-
replication_username
¶ Gets the replication_username of this UpdateConnectionDetails. The username (credential) used when creating or updating this resource.
Returns: The replication_username of this UpdateConnectionDetails. Return type: str
-
ssh_host
¶ Gets the ssh_host of this UpdateOracleConnectionDetails. Name of the host the SSH key is valid for.
Returns: The ssh_host of this UpdateOracleConnectionDetails. Return type: str
-
ssh_key
¶ Gets the ssh_key of this UpdateOracleConnectionDetails. Private SSH key string.
Returns: The ssh_key of this UpdateOracleConnectionDetails. Return type: str
-
ssh_sudo_location
¶ Gets the ssh_sudo_location of this UpdateOracleConnectionDetails. Sudo location
Returns: The ssh_sudo_location of this UpdateOracleConnectionDetails. Return type: str
-
ssh_user
¶ Gets the ssh_user of this UpdateOracleConnectionDetails. The username (credential) used when creating or updating this resource.
Returns: The ssh_user of this UpdateOracleConnectionDetails. Return type: str
-
subnet_id
¶ Gets the subnet_id of this UpdateConnectionDetails. OCI resource ID.
Returns: The subnet_id of this UpdateConnectionDetails. Return type: str
-
username
¶ Gets the username of this UpdateConnectionDetails. The username (credential) used when creating or updating this resource.
Returns: The username of this UpdateConnectionDetails. Return type: str
-
vault_id
¶ Gets the vault_id of this UpdateConnectionDetails. OCI resource ID.
Returns: The vault_id of this UpdateConnectionDetails. Return type: str
-
wallet
¶ Gets the wallet of this UpdateOracleConnectionDetails. The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
Returns: The wallet of this UpdateOracleConnectionDetails. Return type: str
-