Class ChannelTargetDbSystem
Core properties of a DB System Channel target.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class ChannelTargetDbSystem : ChannelTarget
Properties
ApplierUsername
Declaration
[Required(ErrorMessage = "ApplierUsername is required.")]
[JsonProperty(PropertyName = "applierUsername")]
public string ApplierUsername { get; set; }
Property Value
Type | Description |
---|---|
string | The username for the replication applier of the target MySQL DB System. |
Remarks
Required
ChannelName
Declaration
[Required(ErrorMessage = "ChannelName is required.")]
[JsonProperty(PropertyName = "channelName")]
public string ChannelName { get; set; }
Property Value
Type | Description |
---|---|
string | The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System. |
Remarks
Required
DbSystemId
Declaration
[Required(ErrorMessage = "DbSystemId is required.")]
[JsonProperty(PropertyName = "dbSystemId")]
public string DbSystemId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the source DB System. |
Remarks
Required
DelayInSeconds
Declaration
[Required(ErrorMessage = "DelayInSeconds is required.")]
[JsonProperty(PropertyName = "delayInSeconds")]
public int? DelayInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source. |
Remarks
Required
Filters
Declaration
[JsonProperty(PropertyName = "filters")]
public List<ChannelFilter> Filters { get; set; }
Property Value
Type | Description |
---|---|
List<ChannelFilter> | Replication filter rules to be applied at the DB System Channel target. |
TablesWithoutPrimaryKeyHandling
Declaration
[Required(ErrorMessage = "TablesWithoutPrimaryKeyHandling is required.")]
[JsonProperty(PropertyName = "tablesWithoutPrimaryKeyHandling")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandlingEnum? TablesWithoutPrimaryKeyHandling { get; set; }
Property Value
Type | Description |
---|---|
ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandlingEnum? | Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. |
Remarks
Required