Class DatabaseState
Inherited Members
Namespace: Pulumi.PostgreSql
Assembly: Pulumi.PostgreSql.dll
Syntax
public sealed class DatabaseState : ResourceArgs
Constructors
View SourceDatabaseState()
Declaration
public DatabaseState()
Properties
View SourceAllowConnections
If false then no one can connect to this
database. The default is true, allowing connections (except as restricted by
other mechanisms, such as GRANT or REVOKE CONNECT).
Declaration
public Input<bool> AllowConnections { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ConnectionLimit
How many concurrent connections can be
established to this database. -1 (the default) means no limit.
Declaration
public Input<int> ConnectionLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Encoding
Character set encoding to use in the new database
Declaration
public Input<string> Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsTemplate
If true, then this database can be cloned by any
user with CREATEDB privileges; if false (the default), then only
superusers or the owner of the database can clone it.
Declaration
public Input<bool> IsTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
LcCollate
Collation order (LC_COLLATE) to use in the new database
Declaration
public Input<string> LcCollate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LcCtype
Character classification (LC_CTYPE) to use in the new database
Declaration
public Input<string> LcCtype { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the database. Must be unique on the PostgreSQL server instance where it is configured.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Owner
The role name of the user who will own the database, or
DEFAULT to use the default (namely, the user executing the command). To
create a database owned by another role or to change the owner of an existing
database, you must be a direct or indirect member of the specified role, or
the username in the provider is a superuser.
Declaration
public Input<string> Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TablespaceName
The name of the tablespace that will be
associated with the database, or DEFAULT to use the template database's
tablespace. This tablespace will be the default tablespace used for objects
created in this database.
Declaration
public Input<string> TablespaceName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Template
The name of the template from which to create the new database
Declaration
public Input<string> Template { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |