database

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	// contains filtered or unexported fields
}

Manages a V1 DB configuration resource within OpenStack.

> This content is derived from https://github.com/terraform-providers/terraform-provider-openstack/blob/master/website/docs/r/db_configuration_v1.html.markdown.

func GetConfiguration

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ConfigurationState, opts ...pulumi.ResourceOpt) (*Configuration, error)

GetConfiguration gets an existing Configuration 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 NewConfiguration

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOpt) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

func (*Configuration) Configurations

func (r *Configuration) Configurations() pulumi.ArrayOutput

An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.

func (*Configuration) Datastore

func (r *Configuration) Datastore() pulumi.Output

An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.

func (*Configuration) Description

func (r *Configuration) Description() pulumi.StringOutput

Description of the resource.

func (*Configuration) ID

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

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

func (*Configuration) Name

func (r *Configuration) Name() pulumi.StringOutput

A unique name for the resource.

func (*Configuration) Region

func (r *Configuration) Region() pulumi.StringOutput

The region in which to create the db instance. Changing this creates a new instance.

func (*Configuration) URN

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

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

type ConfigurationArgs

type ConfigurationArgs struct {
	// An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
	Configurations interface{}
	// An array of database engine type and version. The datastore
	// object structure is documented below. Changing this creates resource.
	Datastore interface{}
	// Description of the resource.
	Description interface{}
	// A unique name for the resource.
	Name interface{}
	// The region in which to create the db instance. Changing this
	// creates a new instance.
	Region interface{}
}

The set of arguments for constructing a Configuration resource.

type ConfigurationState

type ConfigurationState struct {
	// An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
	Configurations interface{}
	// An array of database engine type and version. The datastore
	// object structure is documented below. Changing this creates resource.
	Datastore interface{}
	// Description of the resource.
	Description interface{}
	// A unique name for the resource.
	Name interface{}
	// The region in which to create the db instance. Changing this
	// creates a new instance.
	Region interface{}
}

Input properties used for looking up and filtering Configuration resources.

type Database

type Database struct {
	// contains filtered or unexported fields
}

Manages a V1 DB database resource within OpenStack.

> This content is derived from https://github.com/terraform-providers/terraform-provider-openstack/blob/master/website/docs/r/db_database_v1.html.markdown.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DatabaseState, opts ...pulumi.ResourceOpt) (*Database, error)

GetDatabase gets an existing Database 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 NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOpt) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ID

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

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

func (*Database) InstanceId

func (r *Database) InstanceId() pulumi.StringOutput

The ID for the database instance.

func (*Database) Name

func (r *Database) Name() pulumi.StringOutput

A unique name for the resource.

func (*Database) Region

func (r *Database) Region() pulumi.StringOutput

Openstack region resource is created in.

func (*Database) URN

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

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

type DatabaseArgs

type DatabaseArgs struct {
	// The ID for the database instance.
	InstanceId interface{}
	// A unique name for the resource.
	Name interface{}
	// Openstack region resource is created in.
	Region interface{}
}

The set of arguments for constructing a Database resource.

type DatabaseState

type DatabaseState struct {
	// The ID for the database instance.
	InstanceId interface{}
	// A unique name for the resource.
	Name interface{}
	// Openstack region resource is created in.
	Region interface{}
}

Input properties used for looking up and filtering Database resources.

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

Manages a V1 DB instance resource within OpenStack.

> This content is derived from https://github.com/terraform-providers/terraform-provider-openstack/blob/master/website/docs/r/db_instance_v1.html.markdown.

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.ID, state *InstanceState, opts ...pulumi.ResourceOpt) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOpt) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) ConfigurationId

func (r *Instance) ConfigurationId() pulumi.StringOutput

Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.

func (*Instance) Databases

func (r *Instance) Databases() pulumi.ArrayOutput

An array of database name, charset and collate. The database object structure is documented below.

func (*Instance) Datastore

func (r *Instance) Datastore() pulumi.Output

An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.

func (*Instance) FlavorId

func (r *Instance) FlavorId() pulumi.StringOutput

The flavor ID of the desired flavor for the instance. Changing this creates new instance.

func (*Instance) ID

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

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

func (*Instance) Name

func (r *Instance) Name() pulumi.StringOutput

A unique name for the resource.

func (*Instance) Networks

func (r *Instance) Networks() pulumi.ArrayOutput

An array of one or more networks to attach to the instance. The network object structure is documented below. Changing this creates a new instance.

func (*Instance) Region

func (r *Instance) Region() pulumi.StringOutput

The region in which to create the db instance. Changing this creates a new instance.

func (*Instance) Size

func (r *Instance) Size() pulumi.IntOutput

Specifies the volume size in GB. Changing this creates new instance.

func (*Instance) URN

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

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

func (*Instance) Users

func (r *Instance) Users() pulumi.ArrayOutput

An array of username, password, host and databases. The user object structure is documented below.

type InstanceArgs

type InstanceArgs struct {
	// Configuration ID to be attached to the instance. Database instance
	// will be rebooted when configuration is detached.
	ConfigurationId interface{}
	// An array of database name, charset and collate. The database
	// object structure is documented below.
	Databases interface{}
	// An array of database engine type and version. The datastore
	// object structure is documented below. Changing this creates a new instance.
	Datastore interface{}
	// The flavor ID of the desired flavor for the instance.
	// Changing this creates new instance.
	FlavorId interface{}
	// A unique name for the resource.
	Name interface{}
	// An array of one or more networks to attach to the
	// instance. The network object structure is documented below. Changing this
	// creates a new instance.
	Networks interface{}
	// The region in which to create the db instance. Changing this
	// creates a new instance.
	Region interface{}
	// Specifies the volume size in GB. Changing this creates new instance.
	Size interface{}
	// An array of username, password, host and databases. The user
	// object structure is documented below.
	Users interface{}
}

The set of arguments for constructing a Instance resource.

type InstanceState

type InstanceState struct {
	// Configuration ID to be attached to the instance. Database instance
	// will be rebooted when configuration is detached.
	ConfigurationId interface{}
	// An array of database name, charset and collate. The database
	// object structure is documented below.
	Databases interface{}
	// An array of database engine type and version. The datastore
	// object structure is documented below. Changing this creates a new instance.
	Datastore interface{}
	// The flavor ID of the desired flavor for the instance.
	// Changing this creates new instance.
	FlavorId interface{}
	// A unique name for the resource.
	Name interface{}
	// An array of one or more networks to attach to the
	// instance. The network object structure is documented below. Changing this
	// creates a new instance.
	Networks interface{}
	// The region in which to create the db instance. Changing this
	// creates a new instance.
	Region interface{}
	// Specifies the volume size in GB. Changing this creates new instance.
	Size interface{}
	// An array of username, password, host and databases. The user
	// object structure is documented below.
	Users interface{}
}

Input properties used for looking up and filtering Instance resources.

type User

type User struct {
	// contains filtered or unexported fields
}

Manages a V1 DB user resource within OpenStack.

> This content is derived from https://github.com/terraform-providers/terraform-provider-openstack/blob/master/website/docs/r/db_user_v1.html.markdown.

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.ID, state *UserState, opts ...pulumi.ResourceOpt) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOpt) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) Databases

func (r *User) Databases() pulumi.ArrayOutput

A list of database user should have access to.

func (*User) Host

func (r *User) Host() pulumi.StringOutput

func (*User) ID

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

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

func (*User) InstanceId

func (r *User) InstanceId() pulumi.StringOutput

func (*User) Name

func (r *User) Name() pulumi.StringOutput

A unique name for the resource.

func (*User) Password

func (r *User) Password() pulumi.StringOutput

User's password.

func (*User) Region

func (r *User) Region() pulumi.StringOutput

Openstack region resource is created in.

func (*User) URN

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

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

type UserArgs

type UserArgs struct {
	// A list of database user should have access to.
	Databases  interface{}
	Host       interface{}
	InstanceId interface{}
	// A unique name for the resource.
	Name interface{}
	// User's password.
	Password interface{}
	// Openstack region resource is created in.
	Region interface{}
}

The set of arguments for constructing a User resource.

type UserState

type UserState struct {
	// A list of database user should have access to.
	Databases  interface{}
	Host       interface{}
	InstanceId interface{}
	// A unique name for the resource.
	Name interface{}
	// User's password.
	Password interface{}
	// Openstack region resource is created in.
	Region interface{}
}

Input properties used for looking up and filtering User resources.

Jump to

Keyboard shortcuts

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