Class DatabaseConnectionPoolState
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class DatabaseConnectionPoolState : ResourceArgs
Constructors
View SourceDatabaseConnectionPoolState()
Declaration
public DatabaseConnectionPoolState()
Properties
View SourceClusterId
The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
Declaration
public Input<string> ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DbName
The database for use with the connection pool.
Declaration
public Input<string> DbName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Host
The hostname used to connect to the database connection pool.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Mode
The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name for the database connection pool.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Password
Password for the connection pool's user.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Port
Network port that the database connection pool is listening on.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PrivateHost
Same as host, but only accessible from resources within the account and in the same region.
Declaration
public Input<string> PrivateHost { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateUri
Same as uri, but only accessible from resources within the account and in the same region.
Declaration
public Input<string> PrivateUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
The desired size of the PGBouncer connection pool.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Uri
The full URI for connecting to the database connection pool.
Declaration
public Input<string> Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
User
The name of the database user for use with the connection pool.
Declaration
public Input<string> User { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |