schema

package
v0.0.0-...-a46c5bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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) ID

func (r *Schema) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

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) Owner

func (r *Schema) Owner() *pulumi.StringOutput

The ROLE who owns the schema.

func (*Schema) Policies

func (r *Schema) Policies() *pulumi.ArrayOutput

Can be specified multiple times for each policy. Each policy block supports fields documented below.

func (*Schema) URN

func (r *Schema) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL