Class PostgreSqlConnectionProfile
Specifies connection parameters required specifically for PostgreSQL databases.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class PostgreSqlConnectionProfile : IDirectResponseSchema
Properties
AlloydbClusterId
Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID.
Declaration
[JsonProperty("alloydbClusterId")]
public virtual string AlloydbClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CloudSqlId
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
Declaration
[JsonProperty("cloudSqlId")]
public virtual string CloudSqlId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Database
Optional. The name of the specific database within the host.
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Host
Required. The IP or hostname of the source PostgreSQL database.
Declaration
[JsonProperty("host")]
public virtual string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NetworkArchitecture
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
Declaration
[JsonProperty("networkArchitecture")]
public virtual string NetworkArchitecture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Password
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.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PasswordSet
Output only. Indicates If this connection profile password is stored.
Declaration
[JsonProperty("passwordSet")]
public virtual bool? PasswordSet { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Port
Required. The network port of the source PostgreSQL database.
Declaration
[JsonProperty("port")]
public virtual int? Port { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PrivateServiceConnectConnectivity
Private service connect connectivity.
Declaration
[JsonProperty("privateServiceConnectConnectivity")]
public virtual PrivateServiceConnectConnectivity PrivateServiceConnectConnectivity { get; set; }
Property Value
| Type | Description |
|---|---|
| PrivateServiceConnectConnectivity |
Ssl
SSL configuration for the destination to connect to the source database.
Declaration
[JsonProperty("ssl")]
public virtual SslConfig Ssl { get; set; }
Property Value
| Type | Description |
|---|---|
| SslConfig |
StaticIpConnectivity
Static ip connectivity data (default, no additional details needed).
Declaration
[JsonProperty("staticIpConnectivity")]
public virtual StaticIpConnectivity StaticIpConnectivity { get; set; }
Property Value
| Type | Description |
|---|---|
| StaticIpConnectivity |
Username
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |