UpdateChannelSourceFromMysqlDetails

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

Bases: UpdateChannelSourceDetails

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 UpdateChannelSourceFromMysqlDetails 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 UpdateChannelSourceFromMysqlDetails.

hostname

Gets the hostname of this UpdateChannelSourceFromMysqlDetails.

must_use_ipv6_on_dual_stack

Gets the must_use_ipv6_on_dual_stack of this UpdateChannelSourceFromMysqlDetails.

password

Gets the password of this UpdateChannelSourceFromMysqlDetails.

port

Gets the port of this UpdateChannelSourceFromMysqlDetails.

source_type

[Required] Gets the source_type of this UpdateChannelSourceDetails.

ssl_ca_certificate

Gets the ssl_ca_certificate of this UpdateChannelSourceFromMysqlDetails.

ssl_mode

Gets the ssl_mode of this UpdateChannelSourceFromMysqlDetails.

username

Gets the username of this UpdateChannelSourceFromMysqlDetails.

__init__(**kwargs)

Initializes a new UpdateChannelSourceFromMysqlDetails 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 UpdateChannelSourceFromMysqlDetails.

  • hostname (str) – The value to assign to the hostname property of this UpdateChannelSourceFromMysqlDetails.

  • port (int) – The value to assign to the port property of this UpdateChannelSourceFromMysqlDetails.

  • username (str) – The value to assign to the username property of this UpdateChannelSourceFromMysqlDetails.

  • password (str) – The value to assign to the password property of this UpdateChannelSourceFromMysqlDetails.

  • ssl_mode (str) – The value to assign to the ssl_mode property of this UpdateChannelSourceFromMysqlDetails.

  • ssl_ca_certificate (oci.mysql.models.CaCertificate) – The value to assign to the ssl_ca_certificate property of this UpdateChannelSourceFromMysqlDetails.

  • anonymous_transactions_handling (oci.mysql.models.AnonymousTransactionsHandling) – The value to assign to the anonymous_transactions_handling property of this UpdateChannelSourceFromMysqlDetails.

  • must_use_ipv6_on_dual_stack (bool) – The value to assign to the must_use_ipv6_on_dual_stack property of this UpdateChannelSourceFromMysqlDetails.

property anonymous_transactions_handling

Gets the anonymous_transactions_handling of this UpdateChannelSourceFromMysqlDetails.

Returns

The anonymous_transactions_handling of this UpdateChannelSourceFromMysqlDetails.

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.

property hostname

Gets the hostname of this UpdateChannelSourceFromMysqlDetails. The network address of the MySQL instance.

Returns

The hostname of this UpdateChannelSourceFromMysqlDetails.

Return type

str

property must_use_ipv6_on_dual_stack

Gets the must_use_ipv6_on_dual_stack of this UpdateChannelSourceFromMysqlDetails. 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 UpdateChannelSourceFromMysqlDetails.

Return type

bool

property password

Gets the password of this UpdateChannelSourceFromMysqlDetails. 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 UpdateChannelSourceFromMysqlDetails.

Return type

str

property port

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

Returns

The port of this UpdateChannelSourceFromMysqlDetails.

Return type

int

property source_type

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

Returns

The source_type of this UpdateChannelSourceDetails.

Return type

str

property ssl_ca_certificate

Gets the ssl_ca_certificate of this UpdateChannelSourceFromMysqlDetails.

Returns

The ssl_ca_certificate of this UpdateChannelSourceFromMysqlDetails.

Return type

oci.mysql.models.CaCertificate

property ssl_mode

Gets the ssl_mode of this UpdateChannelSourceFromMysqlDetails. The SSL mode of the Channel.

Returns

The ssl_mode of this UpdateChannelSourceFromMysqlDetails.

Return type

str

property username

Gets the username of this UpdateChannelSourceFromMysqlDetails. 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 UpdateChannelSourceFromMysqlDetails.

Return type

str