CreateChannelSourceFromMysqlDetails

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

Bases: oci.mysql.models.create_channel_source_details.CreateChannelSourceDetails

Parameters detailing how to provision the source endpoint that is a MySQL Server. Typically a MySQL Server that is not managed by the MySQL Database Service.

Methods

__init__(**kwargs) Initializes a new CreateChannelSourceFromMysqlDetails 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

anonymous_transactions_handling Gets the anonymous_transactions_handling of this CreateChannelSourceFromMysqlDetails.
hostname [Required] Gets the hostname of this CreateChannelSourceFromMysqlDetails.
password [Required] Gets the password of this CreateChannelSourceFromMysqlDetails.
port Gets the port of this CreateChannelSourceFromMysqlDetails.
source_type [Required] Gets the source_type of this CreateChannelSourceDetails.
ssl_ca_certificate Gets the ssl_ca_certificate of this CreateChannelSourceFromMysqlDetails.
ssl_mode [Required] Gets the ssl_mode of this CreateChannelSourceFromMysqlDetails.
username [Required] Gets the username of this CreateChannelSourceFromMysqlDetails.
__init__(**kwargs)

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

Parameters:
  • source_type (str) – The value to assign to the source_type property of this CreateChannelSourceFromMysqlDetails.
  • hostname (str) – The value to assign to the hostname property of this CreateChannelSourceFromMysqlDetails.
  • port (int) – The value to assign to the port property of this CreateChannelSourceFromMysqlDetails.
  • username (str) – The value to assign to the username property of this CreateChannelSourceFromMysqlDetails.
  • password (str) – The value to assign to the password property of this CreateChannelSourceFromMysqlDetails.
  • ssl_mode (str) – The value to assign to the ssl_mode property of this CreateChannelSourceFromMysqlDetails.
  • ssl_ca_certificate (oci.mysql.models.CaCertificate) – The value to assign to the ssl_ca_certificate property of this CreateChannelSourceFromMysqlDetails.
  • anonymous_transactions_handling (oci.mysql.models.AnonymousTransactionsHandling) – The value to assign to the anonymous_transactions_handling property of this CreateChannelSourceFromMysqlDetails.
anonymous_transactions_handling

Gets the anonymous_transactions_handling of this CreateChannelSourceFromMysqlDetails.

Returns:The anonymous_transactions_handling of this CreateChannelSourceFromMysqlDetails.
Return type:oci.mysql.models.AnonymousTransactionsHandling
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.

hostname

[Required] Gets the hostname of this CreateChannelSourceFromMysqlDetails. The network address of the MySQL instance.

Returns:The hostname of this CreateChannelSourceFromMysqlDetails.
Return type:str
password

[Required] Gets the password of this CreateChannelSourceFromMysqlDetails. The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.

Returns:The password of this CreateChannelSourceFromMysqlDetails.
Return type:str
port

Gets the port of this CreateChannelSourceFromMysqlDetails. The port the source MySQL instance listens on.

Returns:The port of this CreateChannelSourceFromMysqlDetails.
Return type:int
source_type

[Required] Gets the source_type of this CreateChannelSourceDetails. The specific source identifier.

Returns:The source_type of this CreateChannelSourceDetails.
Return type:str
ssl_ca_certificate

Gets the ssl_ca_certificate of this CreateChannelSourceFromMysqlDetails.

Returns:The ssl_ca_certificate of this CreateChannelSourceFromMysqlDetails.
Return type:oci.mysql.models.CaCertificate
ssl_mode

[Required] Gets the ssl_mode of this CreateChannelSourceFromMysqlDetails. The SSL mode of the Channel.

Returns:The ssl_mode of this CreateChannelSourceFromMysqlDetails.
Return type:str
username

[Required] Gets the username of this CreateChannelSourceFromMysqlDetails. The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation

Returns:The username of this CreateChannelSourceFromMysqlDetails.
Return type:str