Show / Hide Table of Contents

Class DatabaseState

Inheritance
System.Object
InputArgs
ResourceArgs
DatabaseState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.PostgreSql
Assembly: Pulumi.PostgreSql.dll
Syntax
public sealed class DatabaseState : ResourceArgs

Constructors

View Source

DatabaseState()

Declaration
public DatabaseState()

Properties

View Source

AllowConnections

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>
View Source

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>
View Source

Encoding

Character set encoding to use in the new database

Declaration
public Input<string> Encoding { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.