Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
The “postgresql_schema“ resource creates and manages [schema objects](https://www.postgresql.org/docs/current/static/ddl-schemas.html) within a PostgreSQL database.
func GetSchema ¶
func GetSchema(ctx *pulumi.Context, name string, id pulumi.ID, state *SchemaState, opts ...pulumi.ResourceOpt) (*Schema, error)
GetSchema gets an existing Schema resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSchema ¶
func NewSchema(ctx *pulumi.Context, name string, args *SchemaArgs, opts ...pulumi.ResourceOpt) (*Schema, error)
NewSchema registers a new resource with the given unique name, arguments, and options.
func (*Schema) IfNotExists ¶
func (r *Schema) IfNotExists() *pulumi.BoolOutput
When true, use the existing schema if it exists. (Default: true)
func (*Schema) Name ¶
func (r *Schema) Name() *pulumi.StringOutput
The name of the schema. Must be unique in the PostgreSQL database instance where it is configured.
func (*Schema) Policies ¶
func (r *Schema) Policies() *pulumi.ArrayOutput
Can be specified multiple times for each policy. Each policy block supports fields documented below.
type SchemaArgs ¶
type SchemaArgs struct { // When true, use the existing schema if it exists. (Default: true) IfNotExists interface{} // The name of the schema. Must be unique in the PostgreSQL // database instance where it is configured. Name interface{} // The ROLE who owns the schema. Owner interface{} // Can be specified multiple times for each policy. Each // policy block supports fields documented below. Policies interface{} }
The set of arguments for constructing a Schema resource.
type SchemaState ¶
type SchemaState struct { // When true, use the existing schema if it exists. (Default: true) IfNotExists interface{} // The name of the schema. Must be unique in the PostgreSQL // database instance where it is configured. Name interface{} // The ROLE who owns the schema. Owner interface{} // Can be specified multiple times for each policy. Each // policy block supports fields documented below. Policies interface{} }
Input properties used for looking up and filtering Schema resources.