Database Migration v1 API - Class PostgreSqlConnectionProfile (2.4.0)

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

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

Specifies connection parameters required specifically for PostgreSQL databases.

Inheritance

object > PostgreSqlConnectionProfile

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

PostgreSqlConnectionProfile()

public PostgreSqlConnectionProfile()

PostgreSqlConnectionProfile(PostgreSqlConnectionProfile)

public PostgreSqlConnectionProfile(PostgreSqlConnectionProfile other)
Parameter
NameDescription
otherPostgreSqlConnectionProfile

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

ConnectivityCase

public PostgreSqlConnectionProfile.ConnectivityOneofCase ConnectivityCase { get; }
Property Value
TypeDescription
PostgreSqlConnectionProfileConnectivityOneofCase

Host

public string Host { get; set; }

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

Property Value
TypeDescription
string

NetworkArchitecture

public NetworkArchitecture NetworkArchitecture { get; set; }

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

Property Value
TypeDescription
NetworkArchitecture

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 PostgreSQL database.

Property Value
TypeDescription
int

PrivateServiceConnectConnectivity

public PrivateServiceConnectConnectivity PrivateServiceConnectConnectivity { get; set; }

Private service connect connectivity.

Property Value
TypeDescription
PrivateServiceConnectConnectivity

Ssl

public SslConfig Ssl { get; set; }

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

Property Value
TypeDescription
SslConfig

StaticIpConnectivity

public StaticIpConnectivity StaticIpConnectivity { get; set; }

Static ip connectivity data (default, no additional details needed).

Property Value
TypeDescription
StaticIpConnectivity

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