Class SchemaState
Inherited Members
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 SchemaState : ResourceArgs
Constructors
View SourceSchemaState()
Declaration
public SchemaState()
Properties
View SourceDatabase
The DATABASE in which where this schema will be created. (Default: The database used by your provider configuration)
Declaration
public Input<string> Database { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DropCascade
When true, will also drop all the objects that are contained in the schema. (Default: false)
Declaration
public Input<bool> DropCascade { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IfNotExists
When true, use the existing schema if it exists. (Default: true)
Declaration
public Input<bool> IfNotExists { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the schema. Must be unique in the PostgreSQL database instance where it is configured.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Owner
The ROLE who owns the schema.
Declaration
public Input<string> Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policies
Can be specified multiple times for each policy. Each policy block supports fields documented below.
Declaration
public InputList<SchemaPolicyGetArgs> Policies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SchemaPolicyGetArgs> |