ChannelStatusResult

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

Bases: object

Status information for the channel attached to the DB System.

Methods:

__init__(**kwargs)

Initializes a new ChannelStatusResult object with values from keyword arguments.

Attributes:

channel_id

[Required] Gets the channel_id of this ChannelStatusResult.

errors

Gets the errors of this ChannelStatusResult.

is_healthy

Gets the is_healthy of this ChannelStatusResult.

is_received_gtid_set_applied

Gets the is_received_gtid_set_applied of this ChannelStatusResult.

lag_duration

Gets the lag_duration of this ChannelStatusResult.

__init__(**kwargs)

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

Parameters
  • channel_id (str) – The value to assign to the channel_id property of this ChannelStatusResult.

  • is_healthy (bool) – The value to assign to the is_healthy property of this ChannelStatusResult.

  • is_received_gtid_set_applied (bool) – The value to assign to the is_received_gtid_set_applied property of this ChannelStatusResult.

  • errors (list[str]) – The value to assign to the errors property of this ChannelStatusResult.

  • lag_duration (str) – The value to assign to the lag_duration property of this ChannelStatusResult.

property channel_id

[Required] Gets the channel_id of this ChannelStatusResult. The OCID of the Channel for which the status is gathered.

Returns

The channel_id of this ChannelStatusResult.

Return type

str

property errors

Gets the errors of this ChannelStatusResult. Channel errors identified, if there are any.

Returns

The errors of this ChannelStatusResult.

Return type

list[str]

property is_healthy

Gets the is_healthy of this ChannelStatusResult. Specifies if the channel is healthy or not. If healthy, replication target DB System is connected to the source and no replication errors are seen.

Returns

The is_healthy of this ChannelStatusResult.

Return type

bool

property is_received_gtid_set_applied

Gets the is_received_gtid_set_applied of this ChannelStatusResult. Specifies if all transactions received by this channel are executed and their GTIDs are part of gtid_executed set.

Returns

The is_received_gtid_set_applied of this ChannelStatusResult.

Return type

bool

property lag_duration

Gets the lag_duration of this ChannelStatusResult. The channel lag, with respect to the immediate source of the channel. If the channel is configured with replication delay, the channel lag includes the replication delay.

Returns

The lag_duration of this ChannelStatusResult.

Return type

str