Class UpdateMysqlConnectionDetails
The information to update a MySQL Connection.
Inherited Members
Namespace: Oci.DatabasemigrationService.Models
Assembly: OCI.DotNetSDK.Databasemigration.dll
Syntax
public class UpdateMysqlConnectionDetails : UpdateConnectionDetails
Properties
AdditionalAttributes
Declaration
[JsonProperty(PropertyName = "additionalAttributes")]
public List<NameValuePair> AdditionalAttributes { get; set; }
Property Value
Type | Description |
---|---|
List<NameValuePair> | An array of name-value pair attribute entries. |
DatabaseName
Declaration
[JsonProperty(PropertyName = "databaseName")]
public string DatabaseName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the database being referenced. |
DbSystemId
Declaration
[JsonProperty(PropertyName = "dbSystemId")]
public string DbSystemId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database system being referenced. |
Host
Declaration
[JsonProperty(PropertyName = "host")]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string | The IP Address of the host. |
Port
Declaration
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The port to be used for the connection. |
SecurityProtocol
Declaration
[JsonProperty(PropertyName = "securityProtocol")]
[JsonConverter(typeof(StringEnumConverter))]
public MysqlConnection.SecurityProtocolEnum? SecurityProtocol { get; set; }
Property Value
Type | Description |
---|---|
MysqlConnection.SecurityProtocolEnum? | Security Type for MySQL. |
SslCa
Declaration
[JsonProperty(PropertyName = "sslCa")]
public string SslCa { get; set; }
Property Value
Type | Description |
---|---|
string | Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL). |
SslCert
Declaration
[JsonProperty(PropertyName = "sslCert")]
public string SslCert { get; set; }
Property Value
Type | Description |
---|---|
string | Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL). |
SslCrl
Declaration
[JsonProperty(PropertyName = "sslCrl")]
public string SslCrl { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
SslKey
Declaration
[JsonProperty(PropertyName = "sslKey")]
public string SslKey { get; set; }
Property Value
Type | Description |
---|---|
string | Client Key - The client-key.pem containing the client private key (for 2-way SSL). |
SslMode
Declaration
[JsonProperty(PropertyName = "sslMode")]
[JsonConverter(typeof(StringEnumConverter))]
public MysqlConnection.SslModeEnum? SslMode { get; set; }
Property Value
Type | Description |
---|---|
MysqlConnection.SslModeEnum? | SSL modes for MySQL. |