GoogleApi.SQLAdmin.V1.Model.MySqlReplicaConfiguration (google_api_sql_admin v0.71.0)

View Source

Read-replica configuration specific to MySQL databases.

Attributes

  • caCertificate (type: String.t, default: nil) - PEM representation of the trusted CA's x509 certificate.
  • clientCertificate (type: String.t, default: nil) - PEM representation of the replica's x509 certificate.
  • clientKey (type: String.t, default: nil) - PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
  • connectRetryInterval (type: integer(), default: nil) - Seconds to wait between connect retries. MySQL's default is 60 seconds.
  • dumpFilePath (type: String.t, default: nil) - Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
  • kind (type: String.t, default: nil) - This is always sql#mysqlReplicaConfiguration.
  • masterHeartbeatPeriod (type: String.t, default: nil) - Interval in milliseconds between replication heartbeats.
  • password (type: String.t, default: nil) - The password for the replication connection.
  • sslCipher (type: String.t, default: nil) - A list of permissible ciphers to use for SSL encryption.
  • username (type: String.t, default: nil) - The username for the replication connection.
  • verifyServerCertificate (type: boolean(), default: nil) - Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.MySqlReplicaConfiguration{
  caCertificate: String.t() | nil,
  clientCertificate: String.t() | nil,
  clientKey: String.t() | nil,
  connectRetryInterval: integer() | nil,
  dumpFilePath: String.t() | nil,
  kind: String.t() | nil,
  masterHeartbeatPeriod: String.t() | nil,
  password: String.t() | nil,
  sslCipher: String.t() | nil,
  username: String.t() | nil,
  verifyServerCertificate: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.