Database Migration v1 API - Class SslConfig (2.4.0)

public sealed class SslConfig : IMessage<SslConfig>, IEquatable<SslConfig>, IDeepCloneable<SslConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class SslConfig.

SSL configuration information.

Inheritance

object > SslConfig

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

SslConfig()

public SslConfig()

SslConfig(SslConfig)

public SslConfig(SslConfig other)
Parameter
Name Description
other SslConfig

Properties

CaCertificate

public string CaCertificate { get; set; }

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Property Value
Type Description
string

ClientCertificate

public string ClientCertificate { get; set; }

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.

Property Value
Type Description
string

ClientKey

public string ClientKey { get; set; }

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

Property Value
Type Description
string

Type

public SslConfig.Types.SslType Type { get; set; }

Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.

Property Value
Type Description
SslConfigTypesSslType