Database Migration v1 API - Class MySqlConnectionProfile (2.1.0)

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

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

Specifies connection parameters required specifically for MySQL databases.

Inheritance

object > MySqlConnectionProfile

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MySqlConnectionProfile()

public MySqlConnectionProfile()

MySqlConnectionProfile(MySqlConnectionProfile)

public MySqlConnectionProfile(MySqlConnectionProfile other)
Parameter
NameDescription
otherMySqlConnectionProfile

Properties

CloudSqlId

public string CloudSqlId { get; set; }

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Property Value
TypeDescription
string

Host

public string Host { get; set; }

Required. The IP or hostname of the source MySQL database.

Property Value
TypeDescription
string

Password

public string Password { get; set; }

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Property Value
TypeDescription
string

PasswordSet

public bool PasswordSet { get; set; }

Output only. Indicates If this connection profile password is stored.

Property Value
TypeDescription
bool

Port

public int Port { get; set; }

Required. The network port of the source MySQL database.

Property Value
TypeDescription
int

Ssl

public SslConfig Ssl { get; set; }

SSL configuration for the destination to connect to the source database.

Property Value
TypeDescription
SslConfig

Username

public string Username { get; set; }

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Property Value
TypeDescription
string