ChannelSourceMysql¶
-
class
oci.mysql.models.
ChannelSourceMysql
(**kwargs)¶ Bases:
oci.mysql.models.channel_source.ChannelSource
Core properties of a Mysql Channel source.
Attributes
SOURCE_TYPE_MYSQL
str(object=’’) -> str SSL_MODE_DISABLED
A constant which can be used with the ssl_mode property of a ChannelSourceMysql. SSL_MODE_REQUIRED
A constant which can be used with the ssl_mode property of a ChannelSourceMysql. SSL_MODE_VERIFY_CA
A constant which can be used with the ssl_mode property of a ChannelSourceMysql. SSL_MODE_VERIFY_IDENTITY
A constant which can be used with the ssl_mode property of a ChannelSourceMysql. anonymous_transactions_handling
Gets the anonymous_transactions_handling of this ChannelSourceMysql. hostname
[Required] Gets the hostname of this ChannelSourceMysql. port
[Required] Gets the port of this ChannelSourceMysql. source_type
[Required] Gets the source_type of this ChannelSource. ssl_ca_certificate
Gets the ssl_ca_certificate of this ChannelSourceMysql. ssl_mode
[Required] Gets the ssl_mode of this ChannelSourceMysql. username
[Required] Gets the username of this ChannelSourceMysql. Methods
__init__
(**kwargs)Initializes a new ChannelSourceMysql 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. -
SOURCE_TYPE_MYSQL
= 'MYSQL'¶
-
SSL_MODE_DISABLED
= 'DISABLED'¶ A constant which can be used with the ssl_mode property of a ChannelSourceMysql. This constant has a value of “DISABLED”
-
SSL_MODE_REQUIRED
= 'REQUIRED'¶ A constant which can be used with the ssl_mode property of a ChannelSourceMysql. This constant has a value of “REQUIRED”
-
SSL_MODE_VERIFY_CA
= 'VERIFY_CA'¶ A constant which can be used with the ssl_mode property of a ChannelSourceMysql. This constant has a value of “VERIFY_CA”
-
SSL_MODE_VERIFY_IDENTITY
= 'VERIFY_IDENTITY'¶ A constant which can be used with the ssl_mode property of a ChannelSourceMysql. This constant has a value of “VERIFY_IDENTITY”
-
__init__
(**kwargs)¶ Initializes a new ChannelSourceMysql object with values from keyword arguments. The default value of the
source_type
attribute of this class isMYSQL
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 ChannelSourceMysql. Allowed values for this property are: “MYSQL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- hostname (str) – The value to assign to the hostname property of this ChannelSourceMysql.
- port (int) – The value to assign to the port property of this ChannelSourceMysql.
- username (str) – The value to assign to the username property of this ChannelSourceMysql.
- ssl_mode (str) – The value to assign to the ssl_mode property of this ChannelSourceMysql. Allowed values for this property are: “VERIFY_IDENTITY”, “VERIFY_CA”, “REQUIRED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- ssl_ca_certificate (oci.mysql.models.CaCertificate) – The value to assign to the ssl_ca_certificate property of this ChannelSourceMysql.
- anonymous_transactions_handling (oci.mysql.models.AnonymousTransactionsHandling) – The value to assign to the anonymous_transactions_handling property of this ChannelSourceMysql.
-
anonymous_transactions_handling
¶ Gets the anonymous_transactions_handling of this ChannelSourceMysql.
Returns: The anonymous_transactions_handling of this ChannelSourceMysql. 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 ChannelSourceMysql. The network address of the MySQL instance.
Returns: The hostname of this ChannelSourceMysql. Return type: str
-
port
¶ [Required] Gets the port of this ChannelSourceMysql. The port the source MySQL instance listens on.
Returns: The port of this ChannelSourceMysql. Return type: int
-
source_type
¶ [Required] Gets the source_type of this ChannelSource. The specific source identifier.
Allowed values for this property are: “MYSQL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source_type of this ChannelSource. Return type: str
-
ssl_ca_certificate
¶ Gets the ssl_ca_certificate of this ChannelSourceMysql.
Returns: The ssl_ca_certificate of this ChannelSourceMysql. Return type: oci.mysql.models.CaCertificate
-
ssl_mode
¶ [Required] Gets the ssl_mode of this ChannelSourceMysql. The SSL mode of the Channel.
Allowed values for this property are: “VERIFY_IDENTITY”, “VERIFY_CA”, “REQUIRED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The ssl_mode of this ChannelSourceMysql. Return type: str
-
username
¶ [Required] Gets the username of this ChannelSourceMysql. 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 ChannelSourceMysql. Return type: str
-