ChannelSourceMysql¶
- class oci.mysql.models.ChannelSourceMysql(**kwargs)¶
Bases:
ChannelSourceCore properties of a Mysql Channel source.
Attributes:
A constant which can be used with the source_type property of a ChannelSource.
A constant which can be used with the ssl_mode property of a ChannelSourceMysql.
A constant which can be used with the ssl_mode property of a ChannelSourceMysql.
A constant which can be used with the ssl_mode property of a ChannelSourceMysql.
A constant which can be used with the ssl_mode property of a ChannelSourceMysql.
Gets the anonymous_transactions_handling of this ChannelSourceMysql.
[Required] Gets the hostname of this ChannelSourceMysql.
Gets the must_use_ipv6_on_dual_stack of this ChannelSourceMysql.
[Required] Gets the port of this ChannelSourceMysql.
[Required] Gets the source_type of this ChannelSource.
Gets the ssl_ca_certificate of this ChannelSourceMysql.
[Required] Gets the ssl_mode of this ChannelSourceMysql.
[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'¶
A constant which can be used with the source_type property of a ChannelSource. This constant has a value of “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_typeattribute of this class isMYSQLand 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.
must_use_ipv6_on_dual_stack (bool) – The value to assign to the must_use_ipv6_on_dual_stack property of this ChannelSourceMysql.
- property anonymous_transactions_handling¶
Gets the anonymous_transactions_handling of this ChannelSourceMysql.
- Returns
The anonymous_transactions_handling of this ChannelSourceMysql.
- Return type
- 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.
- property hostname¶
[Required] Gets the hostname of this ChannelSourceMysql. The network address of the MySQL instance.
- Returns
The hostname of this ChannelSourceMysql.
- Return type
str
- property must_use_ipv6_on_dual_stack¶
Gets the must_use_ipv6_on_dual_stack of this ChannelSourceMysql. Whether the connection of the channel will be requested using the IPv6 address of the dual stack DB system or not. Default: False.
- Returns
The must_use_ipv6_on_dual_stack of this ChannelSourceMysql.
- Return type
bool
- property 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
- property 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
- property ssl_ca_certificate¶
Gets the ssl_ca_certificate of this ChannelSourceMysql.
- Returns
The ssl_ca_certificate of this ChannelSourceMysql.
- Return type
- property 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
- property 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