CreateDbSystemSourceFromDbSystemChannelDetails

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

Bases: object

Properties to setup a replication channel with the source (cloned) DB system.

Attributes:

SSL_MODE_DISABLED

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails.

SSL_MODE_REQUIRED

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails.

SSL_MODE_VERIFY_CA

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails.

SSL_MODE_VERIFY_IDENTITY

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails.

applier_username

Gets the applier_username of this CreateDbSystemSourceFromDbSystemChannelDetails.

source_password

[Required] Gets the source_password of this CreateDbSystemSourceFromDbSystemChannelDetails.

source_username

[Required] Gets the source_username of this CreateDbSystemSourceFromDbSystemChannelDetails.

ssl_ca_certificate

Gets the ssl_ca_certificate of this CreateDbSystemSourceFromDbSystemChannelDetails.

ssl_mode

[Required] Gets the ssl_mode of this CreateDbSystemSourceFromDbSystemChannelDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDbSystemSourceFromDbSystemChannelDetails object with values from keyword arguments.

SSL_MODE_DISABLED = 'DISABLED'

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails. This constant has a value of “DISABLED”

SSL_MODE_REQUIRED = 'REQUIRED'

A constant which can be used with the ssl_mode property of a CreateDbSystemSourceFromDbSystemChannelDetails. 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 CreateDbSystemSourceFromDbSystemChannelDetails. 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 CreateDbSystemSourceFromDbSystemChannelDetails. This constant has a value of “VERIFY_IDENTITY”

__init__(**kwargs)

Initializes a new CreateDbSystemSourceFromDbSystemChannelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • source_username (str) – The value to assign to the source_username property of this CreateDbSystemSourceFromDbSystemChannelDetails.

  • source_password (str) – The value to assign to the source_password property of this CreateDbSystemSourceFromDbSystemChannelDetails.

  • ssl_mode (str) – The value to assign to the ssl_mode property of this CreateDbSystemSourceFromDbSystemChannelDetails. Allowed values for this property are: “VERIFY_IDENTITY”, “VERIFY_CA”, “REQUIRED”, “DISABLED”

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

  • applier_username (str) – The value to assign to the applier_username property of this CreateDbSystemSourceFromDbSystemChannelDetails.

property applier_username

Gets the applier_username of this CreateDbSystemSourceFromDbSystemChannelDetails. The username for the replication applier of the created MySQL DB System.

Returns

The applier_username of this CreateDbSystemSourceFromDbSystemChannelDetails.

Return type

str

property source_password

[Required] Gets the source_password of this CreateDbSystemSourceFromDbSystemChannelDetails. 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 source_password of this CreateDbSystemSourceFromDbSystemChannelDetails.

Return type

str

property source_username

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

Returns

The source_username of this CreateDbSystemSourceFromDbSystemChannelDetails.

Return type

str

property ssl_ca_certificate

Gets the ssl_ca_certificate of this CreateDbSystemSourceFromDbSystemChannelDetails.

Returns

The ssl_ca_certificate of this CreateDbSystemSourceFromDbSystemChannelDetails.

Return type

oci.mysql.models.CaCertificate

property ssl_mode

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

Allowed values for this property are: “VERIFY_IDENTITY”, “VERIFY_CA”, “REQUIRED”, “DISABLED”

Returns

The ssl_mode of this CreateDbSystemSourceFromDbSystemChannelDetails.

Return type

str