Class ChannelSourceMysql
Core properties of a Mysql Channel source.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class ChannelSourceMysql : ChannelSource
Properties
AnonymousTransactionsHandling
Declaration
[JsonProperty(PropertyName = "anonymousTransactionsHandling")]
public AnonymousTransactionsHandling AnonymousTransactionsHandling { get; set; }
Property Value
Type | Description |
---|---|
AnonymousTransactionsHandling |
Hostname
Declaration
[Required(ErrorMessage = "Hostname is required.")]
[JsonProperty(PropertyName = "hostname")]
public string Hostname { get; set; }
Property Value
Type | Description |
---|---|
string | The network address of the MySQL instance. |
Remarks
Required
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The port the source MySQL instance listens on. |
Remarks
Required
SslCaCertificate
Declaration
[JsonProperty(PropertyName = "sslCaCertificate")]
public CaCertificate SslCaCertificate { get; set; }
Property Value
Type | Description |
---|---|
CaCertificate |
SslMode
Declaration
[Required(ErrorMessage = "SslMode is required.")]
[JsonProperty(PropertyName = "sslMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChannelSourceMysql.SslModeEnum? SslMode { get; set; }
Property Value
Type | Description |
---|---|
ChannelSourceMysql.SslModeEnum? | The SSL mode of the Channel. |
Remarks
Required
Username
Declaration
[Required(ErrorMessage = "Username is required.")]
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation |
Remarks
Required