ChannelFilter

class oci.mysql.models.ChannelFilter(**kwargs)

Bases: object

Replication filter rule for a channel.

Attributes

TYPE_REPLICATE_DO_DB A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_DO_TABLE A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_IGNORE_DB A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_IGNORE_TABLE A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_REWRITE_DB A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_WILD_DO_TABLE A constant which can be used with the type property of a ChannelFilter.
TYPE_REPLICATE_WILD_IGNORE_TABLE A constant which can be used with the type property of a ChannelFilter.
type [Required] Gets the type of this ChannelFilter.
value [Required] Gets the value of this ChannelFilter.

Methods

__init__(**kwargs) Initializes a new ChannelFilter object with values from keyword arguments.
TYPE_REPLICATE_DO_DB = 'REPLICATE_DO_DB'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_DO_DB”

TYPE_REPLICATE_DO_TABLE = 'REPLICATE_DO_TABLE'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_DO_TABLE”

TYPE_REPLICATE_IGNORE_DB = 'REPLICATE_IGNORE_DB'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_IGNORE_DB”

TYPE_REPLICATE_IGNORE_TABLE = 'REPLICATE_IGNORE_TABLE'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_IGNORE_TABLE”

TYPE_REPLICATE_REWRITE_DB = 'REPLICATE_REWRITE_DB'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_REWRITE_DB”

TYPE_REPLICATE_WILD_DO_TABLE = 'REPLICATE_WILD_DO_TABLE'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_WILD_DO_TABLE”

TYPE_REPLICATE_WILD_IGNORE_TABLE = 'REPLICATE_WILD_IGNORE_TABLE'

A constant which can be used with the type property of a ChannelFilter. This constant has a value of “REPLICATE_WILD_IGNORE_TABLE”

__init__(**kwargs)

Initializes a new ChannelFilter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this ChannelFilter. Allowed values for this property are: “REPLICATE_DO_DB”, “REPLICATE_IGNORE_DB”, “REPLICATE_DO_TABLE”, “REPLICATE_IGNORE_TABLE”, “REPLICATE_WILD_DO_TABLE”, “REPLICATE_WILD_IGNORE_TABLE”, “REPLICATE_REWRITE_DB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • value (str) – The value to assign to the value property of this ChannelFilter.
type

[Required] Gets the type of this ChannelFilter. The type of the filter rule.

For details on each type, see Replication Filtering Rules

Allowed values for this property are: “REPLICATE_DO_DB”, “REPLICATE_IGNORE_DB”, “REPLICATE_DO_TABLE”, “REPLICATE_IGNORE_TABLE”, “REPLICATE_WILD_DO_TABLE”, “REPLICATE_WILD_IGNORE_TABLE”, “REPLICATE_REWRITE_DB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this ChannelFilter.
Return type:str
value

[Required] Gets the value of this ChannelFilter. The body of the filter rule. This can represent a database, a table, or a database pair (represented as “db1->db2”). For more information, see Replication Filtering Rules.

Returns:The value of this ChannelFilter.
Return type:str