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
Name Description
other PostgreSqlConnectionProfile

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
Type Description
string

ConnectivityCase

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

Host

public string Host { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
string

PasswordSet

public bool PasswordSet { get; set; }

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

Property Value
Type Description
bool

Port

public int Port { get; set; }

Required. The network port of the source PostgreSQL database.

Property Value
Type Description
int

PrivateServiceConnectConnectivity

public PrivateServiceConnectConnectivity PrivateServiceConnectConnectivity { get; set; }

Private service connect connectivity.

Property Value
Type Description
PrivateServiceConnectConnectivity

Ssl

public SslConfig Ssl { get; set; }

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

Property Value
Type Description
SslConfig

StaticIpConnectivity

public StaticIpConnectivity StaticIpConnectivity { get; set; }

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

Property Value
Type Description
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
Type Description
string