CreateBlueGreenDeploymentChannelDetails

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

Bases: object

Replication channel details for a blue/green deployment.

Attributes

SSL_MODE_DISABLED A constant which can be used with the ssl_mode property of a CreateBlueGreenDeploymentChannelDetails.
SSL_MODE_REQUIRED A constant which can be used with the ssl_mode property of a CreateBlueGreenDeploymentChannelDetails.
SSL_MODE_VERIFY_CA A constant which can be used with the ssl_mode property of a CreateBlueGreenDeploymentChannelDetails.
SSL_MODE_VERIFY_IDENTITY A constant which can be used with the ssl_mode property of a CreateBlueGreenDeploymentChannelDetails.
applier_username Gets the applier_username of this CreateBlueGreenDeploymentChannelDetails.
source_password [Required] Gets the source_password of this CreateBlueGreenDeploymentChannelDetails.
source_username [Required] Gets the source_username of this CreateBlueGreenDeploymentChannelDetails.
ssl_ca_certificate Gets the ssl_ca_certificate of this CreateBlueGreenDeploymentChannelDetails.
ssl_mode [Required] Gets the ssl_mode of this CreateBlueGreenDeploymentChannelDetails.

Methods

__init__(**kwargs) Initializes a new CreateBlueGreenDeploymentChannelDetails object with values from keyword arguments.
SSL_MODE_DISABLED = 'DISABLED'

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

SSL_MODE_REQUIRED = 'REQUIRED'

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

__init__(**kwargs)

Initializes a new CreateBlueGreenDeploymentChannelDetails 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 CreateBlueGreenDeploymentChannelDetails.
  • source_password (str) – The value to assign to the source_password property of this CreateBlueGreenDeploymentChannelDetails.
  • applier_username (str) – The value to assign to the applier_username property of this CreateBlueGreenDeploymentChannelDetails.
  • ssl_mode (str) – The value to assign to the ssl_mode property of this CreateBlueGreenDeploymentChannelDetails. 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 CreateBlueGreenDeploymentChannelDetails.
applier_username

Gets the applier_username of this CreateBlueGreenDeploymentChannelDetails. The username for the replication applier of the target MySQL DB System.

Returns:The applier_username of this CreateBlueGreenDeploymentChannelDetails.
Return type:str
source_password

[Required] Gets the source_password of this CreateBlueGreenDeploymentChannelDetails. The password for the source DB system user used by the blue/green workflow to configure the replication channel. 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 CreateBlueGreenDeploymentChannelDetails.
Return type:str
source_username

[Required] Gets the source_username of this CreateBlueGreenDeploymentChannelDetails. The username on the source DB system used by the blue/green workflow to configure the replication channel. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation

Returns:The source_username of this CreateBlueGreenDeploymentChannelDetails.
Return type:str
ssl_ca_certificate

Gets the ssl_ca_certificate of this CreateBlueGreenDeploymentChannelDetails.

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

[Required] Gets the ssl_mode of this CreateBlueGreenDeploymentChannelDetails. The SSL mode of the replication channel created by the blue/green workflow. VERIFY_CA and VERIFY_IDENTITY require sslCaCertificate. REQUIRED and DISABLED must not include sslCaCertificate.

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

Returns:The ssl_mode of this CreateBlueGreenDeploymentChannelDetails.
Return type:str