UpdateMysqlConnectionDetails¶
- class oci.database_migration.models.UpdateMysqlConnectionDetails(**kwargs)¶
Bases:
UpdateConnectionDetailsThe information to update a MySQL Connection.
Attributes:
A constant which can be used with the connection_type property of a UpdateConnectionDetails.
A constant which can be used with the connection_type property of a UpdateConnectionDetails.
Gets the additional_attributes of this UpdateMysqlConnectionDetails.
Gets the connection_type of this UpdateConnectionDetails.
Gets the database_name of this UpdateMysqlConnectionDetails.
Gets the db_system_id of this UpdateMysqlConnectionDetails.
Gets the defined_tags of this UpdateConnectionDetails.
Gets the description of this UpdateConnectionDetails.
Gets the display_name of this UpdateConnectionDetails.
Gets the freeform_tags of this UpdateConnectionDetails.
Gets the host of this UpdateMysqlConnectionDetails.
Gets the key_id of this UpdateConnectionDetails.
Gets the nsg_ids of this UpdateConnectionDetails.
Gets the password of this UpdateConnectionDetails.
Gets the port of this UpdateMysqlConnectionDetails.
Gets the replication_password of this UpdateConnectionDetails.
Gets the replication_username of this UpdateConnectionDetails.
Gets the security_protocol of this UpdateMysqlConnectionDetails.
Gets the ssl_ca of this UpdateMysqlConnectionDetails.
Gets the ssl_cert of this UpdateMysqlConnectionDetails.
Gets the ssl_crl of this UpdateMysqlConnectionDetails.
Gets the ssl_key of this UpdateMysqlConnectionDetails.
Gets the ssl_mode of this UpdateMysqlConnectionDetails.
Gets the subnet_id of this UpdateConnectionDetails.
Gets the username of this UpdateConnectionDetails.
Gets the vault_id of this UpdateConnectionDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateMysqlConnectionDetails 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 UpdateConnectionDetails. This constant has a value of “MYSQL”
- CONNECTION_TYPE_ORACLE = 'ORACLE'¶
A constant which can be used with the connection_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE”
- __init__(**kwargs)¶
Initializes a new UpdateMysqlConnectionDetails object with values from keyword arguments. The default value of the
connection_typeattribute of this class isMYSQLand 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 UpdateMysqlConnectionDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
display_name (str) – The value to assign to the display_name property of this UpdateMysqlConnectionDetails.
description (str) – The value to assign to the description property of this UpdateMysqlConnectionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMysqlConnectionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMysqlConnectionDetails.
vault_id (str) – The value to assign to the vault_id property of this UpdateMysqlConnectionDetails.
key_id (str) – The value to assign to the key_id property of this UpdateMysqlConnectionDetails.
subnet_id (str) – The value to assign to the subnet_id property of this UpdateMysqlConnectionDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateMysqlConnectionDetails.
username (str) – The value to assign to the username property of this UpdateMysqlConnectionDetails.
password (str) – The value to assign to the password property of this UpdateMysqlConnectionDetails.
replication_username (str) – The value to assign to the replication_username property of this UpdateMysqlConnectionDetails.
replication_password (str) – The value to assign to the replication_password property of this UpdateMysqlConnectionDetails.
host (str) – The value to assign to the host property of this UpdateMysqlConnectionDetails.
port (int) – The value to assign to the port property of this UpdateMysqlConnectionDetails.
database_name (str) – The value to assign to the database_name property of this UpdateMysqlConnectionDetails.
security_protocol (str) – The value to assign to the security_protocol property of this UpdateMysqlConnectionDetails.
ssl_mode (str) – The value to assign to the ssl_mode property of this UpdateMysqlConnectionDetails.
ssl_ca (str) – The value to assign to the ssl_ca property of this UpdateMysqlConnectionDetails.
ssl_crl (str) – The value to assign to the ssl_crl property of this UpdateMysqlConnectionDetails.
ssl_cert (str) – The value to assign to the ssl_cert property of this UpdateMysqlConnectionDetails.
ssl_key (str) – The value to assign to the ssl_key property of this UpdateMysqlConnectionDetails.
additional_attributes (list[oci.database_migration.models.NameValuePair]) – The value to assign to the additional_attributes property of this UpdateMysqlConnectionDetails.
db_system_id (str) – The value to assign to the db_system_id property of this UpdateMysqlConnectionDetails.
- property additional_attributes¶
Gets the additional_attributes of this UpdateMysqlConnectionDetails. An array of name-value pair attribute entries.
- Returns
The additional_attributes of this UpdateMysqlConnectionDetails.
- Return type
- property 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
- property database_name¶
Gets the database_name of this UpdateMysqlConnectionDetails. The name of the database being referenced.
- Returns
The database_name of this UpdateMysqlConnectionDetails.
- Return type
str
- property db_system_id¶
Gets the db_system_id of this UpdateMysqlConnectionDetails. The OCID of the database system being referenced.
- Returns
The db_system_id of this UpdateMysqlConnectionDetails.
- Return type
str
- property defined_tags¶
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))
- property 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
- property 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
- property freeform_tags¶
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.
- property host¶
Gets the host of this UpdateMysqlConnectionDetails. The IP Address of the host.
- Returns
The host of this UpdateMysqlConnectionDetails.
- Return type
str
- property 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
- property 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]
- property 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
- property port¶
Gets the port of this UpdateMysqlConnectionDetails. The port to be used for the connection.
- Returns
The port of this UpdateMysqlConnectionDetails.
- Return type
int
- property 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
- property 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
- property security_protocol¶
Gets the security_protocol of this UpdateMysqlConnectionDetails. Security Type for MySQL.
- Returns
The security_protocol of this UpdateMysqlConnectionDetails.
- Return type
str
- property ssl_ca¶
Gets the ssl_ca of this UpdateMysqlConnectionDetails. Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- Returns
The ssl_ca of this UpdateMysqlConnectionDetails.
- Return type
str
- property ssl_cert¶
Gets the ssl_cert of this UpdateMysqlConnectionDetails. Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- Returns
The ssl_cert of this UpdateMysqlConnectionDetails.
- Return type
str
- property ssl_crl¶
Gets the ssl_crl of this UpdateMysqlConnectionDetails. Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- Returns
The ssl_crl of this UpdateMysqlConnectionDetails.
- Return type
str
- property ssl_key¶
Gets the ssl_key of this UpdateMysqlConnectionDetails. Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- Returns
The ssl_key of this UpdateMysqlConnectionDetails.
- Return type
str
- property ssl_mode¶
Gets the ssl_mode of this UpdateMysqlConnectionDetails. SSL modes for MySQL.
- Returns
The ssl_mode of this UpdateMysqlConnectionDetails.
- Return type
str
- property subnet_id¶
Gets the subnet_id of this UpdateConnectionDetails. OCI resource ID.
- Returns
The subnet_id of this UpdateConnectionDetails.
- Return type
str
- property 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
- property vault_id¶
Gets the vault_id of this UpdateConnectionDetails. OCI resource ID.
- Returns
The vault_id of this UpdateConnectionDetails.
- Return type
str