CreateChannelTargetFromDbSystemDetails¶
-
class
oci.mysql.models.
CreateChannelTargetFromDbSystemDetails
(**kwargs)¶ Bases:
oci.mysql.models.create_channel_target_details.CreateChannelTargetDetails
Parameters detailing how to provision the target endpoint that is a DB System.
Methods
__init__
(**kwargs)Initializes a new CreateChannelTargetFromDbSystemDetails 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. Attributes
applier_username
Gets the applier_username of this CreateChannelTargetFromDbSystemDetails. channel_name
Gets the channel_name of this CreateChannelTargetFromDbSystemDetails. db_system_id
[Required] Gets the db_system_id of this CreateChannelTargetFromDbSystemDetails. target_type
[Required] Gets the target_type of this CreateChannelTargetDetails. -
__init__
(**kwargs)¶ Initializes a new CreateChannelTargetFromDbSystemDetails object with values from keyword arguments. The default value of the
target_type
attribute of this class isDBSYSTEM
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 CreateChannelTargetFromDbSystemDetails.
- db_system_id (str) – The value to assign to the db_system_id property of this CreateChannelTargetFromDbSystemDetails.
- channel_name (str) – The value to assign to the channel_name property of this CreateChannelTargetFromDbSystemDetails.
- applier_username (str) – The value to assign to the applier_username property of this CreateChannelTargetFromDbSystemDetails.
-
applier_username
¶ Gets the applier_username of this CreateChannelTargetFromDbSystemDetails. The username for the replication applier of the target MySQL DB System.
Returns: The applier_username of this CreateChannelTargetFromDbSystemDetails. Return type: str
-
channel_name
¶ Gets the channel_name of this CreateChannelTargetFromDbSystemDetails. 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 CreateChannelTargetFromDbSystemDetails. Return type: str
-
db_system_id
¶ [Required] Gets the db_system_id of this CreateChannelTargetFromDbSystemDetails. The OCID of the target DB System.
Returns: The db_system_id of this CreateChannelTargetFromDbSystemDetails. 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 CreateChannelTargetDetails. The specific target identifier.
Returns: The target_type of this CreateChannelTargetDetails. Return type: str
-