ChannelTargetDbSystem

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

Bases: oci.mysql.models.channel_target.ChannelTarget

Core properties of a DB System Channel target.

Attributes

TARGET_TYPE_DBSYSTEM str(object=’’) -> str
applier_username [Required] Gets the applier_username of this ChannelTargetDbSystem.
channel_name [Required] Gets the channel_name of this ChannelTargetDbSystem.
db_system_id [Required] Gets the db_system_id of this ChannelTargetDbSystem.
target_type [Required] Gets the target_type of this ChannelTarget.

Methods

__init__(**kwargs) Initializes a new ChannelTargetDbSystem object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TARGET_TYPE_DBSYSTEM = 'DBSYSTEM'
__init__(**kwargs)

Initializes a new ChannelTargetDbSystem object with values from keyword arguments. The default value of the target_type attribute of this class is DBSYSTEM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • target_type (str) – The value to assign to the target_type property of this ChannelTargetDbSystem. Allowed values for this property are: “DBSYSTEM”
  • db_system_id (str) – The value to assign to the db_system_id property of this ChannelTargetDbSystem.
  • channel_name (str) – The value to assign to the channel_name property of this ChannelTargetDbSystem.
  • applier_username (str) – The value to assign to the applier_username property of this ChannelTargetDbSystem.
applier_username

[Required] Gets the applier_username of this ChannelTargetDbSystem. The username for the replication applier of the target MySQL DB System.

Returns:The applier_username of this ChannelTargetDbSystem.
Return type:str
channel_name

[Required] Gets the channel_name of this ChannelTargetDbSystem. 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.

Returns:The channel_name of this ChannelTargetDbSystem.
Return type:str
db_system_id

[Required] Gets the db_system_id of this ChannelTargetDbSystem. The OCID of the source DB System.

Returns:The db_system_id of this ChannelTargetDbSystem.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

target_type

[Required] Gets the target_type of this ChannelTarget. The specific target identifier.

Allowed values for this property are: “DBSYSTEM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The target_type of this ChannelTarget.
Return type:str