Class MysqlConnection
Represents the metadata of a MySQL Connection.
Inherited Members
Namespace: Oci.DatabasemigrationService.Models
Assembly: OCI.DotNetSDK.Databasemigration.dll
Syntax
public class MysqlConnection : Connection
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
[Required(ErrorMessage = "SecurityProtocol is required.")]
[JsonProperty(PropertyName = "securityProtocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MysqlConnection.SecurityProtocolEnum? SecurityProtocol { get; set; }
Property Value
Type | Description |
---|---|
MysqlConnection.SecurityProtocolEnum? | Security Protocol to be used for the connection. |
Remarks
Required
SslMode
Declaration
[JsonProperty(PropertyName = "sslMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MysqlConnection.SslModeEnum? SslMode { get; set; }
Property Value
Type | Description |
---|---|
MysqlConnection.SslModeEnum? | SSL mode to be used for the connection. |
TechnologyType
Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MysqlConnection.TechnologyTypeEnum? TechnologyType { get; set; }
Property Value
Type | Description |
---|---|
MysqlConnection.TechnologyTypeEnum? | The type of MySQL source or target connection. Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service |
Remarks
Required