Fork me on GitHub

Module database

@pulumi/openstack > database

Index

database/configuration.ts database/database.ts database/instance.ts database/user.ts

class Configuration

Manages a V1 DB configuration resource within OpenStack.

constructor

new Configuration(name: string, args: ConfigurationArgs, opts?: pulumi.CustomResourceOptions)

Create a Configuration resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConfigurationState): Configuration

Get an existing Configuration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property configurations

public configurations: pulumi.Output<{ ... }[] | undefined>;

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

property datastore

public datastore: pulumi.Output<{ ... }>;

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

property description

public description: pulumi.Output<string>;

Description of the resource.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the resource.

property region

public region: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Database

Manages a V1 DB database resource within OpenStack.

constructor

new Database(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions)

Create a Database resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseState): Database

Get an existing Database resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

The ID for the database instance.

property name

public name: pulumi.Output<string>;

A unique name for the resource.

property region

public region: pulumi.Output<string | undefined>;

Openstack region resource is created in.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Instance

Manages a V1 DB instance resource within OpenStack.

constructor

new Instance(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a Instance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState): Instance

Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property configurationId

public configurationId: pulumi.Output<string | undefined>;

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

property databases

public databases: pulumi.Output<{ ... }[] | undefined>;

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

property datastore

public datastore: pulumi.Output<{ ... }>;

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

property flavorId

public flavorId: pulumi.Output<string>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the resource.

property networks

public networks: pulumi.Output<{ ... }[] | undefined>;

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.

property region

public region: pulumi.Output<string>;

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

property size

public size: pulumi.Output<number>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property users

public users: pulumi.Output<{ ... }[] | undefined>;

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

class User

Manages a V1 DB user resource within OpenStack.

constructor

new User(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions)

Create a User resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState): User

Get an existing User resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property databases

public databases: pulumi.Output<string[]>;

A list of database user should have access to.

property host

public host: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

A unique name for the resource.

property password

public password: pulumi.Output<string>;

User’s password.

property region

public region: pulumi.Output<string>;

Openstack region resource is created in.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface ConfigurationArgs

The set of arguments for constructing a Configuration resource.

property configurations

configurations?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

property datastore

datastore: pulumi.Input<{ ... }>;

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

property description

description: pulumi.Input<string>;

Description of the resource.

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property region

region: pulumi.Input<string>;

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

interface ConfigurationState

Input properties used for looking up and filtering Configuration resources.

property configurations

configurations?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

property datastore

datastore?: pulumi.Input<{ ... }>;

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

property description

description?: pulumi.Input<string>;

Description of the resource.

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property region

region?: pulumi.Input<string>;

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

interface DatabaseArgs

The set of arguments for constructing a Database resource.

property instanceId

instanceId: pulumi.Input<string>;

The ID for the database instance.

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property region

region?: pulumi.Input<string>;

Openstack region resource is created in.

interface DatabaseState

Input properties used for looking up and filtering Database resources.

property instanceId

instanceId?: pulumi.Input<string>;

The ID for the database instance.

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property region

region?: pulumi.Input<string>;

Openstack region resource is created in.

interface InstanceArgs

The set of arguments for constructing a Instance resource.

property configurationId

configurationId?: pulumi.Input<string>;

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

property databases

databases?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

property datastore

datastore: pulumi.Input<{ ... }>;

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

property flavorId

flavorId?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property networks

networks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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.

property region

region: pulumi.Input<string>;

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

property size

size: pulumi.Input<number>;

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

property users

users?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

interface InstanceState

Input properties used for looking up and filtering Instance resources.

property configurationId

configurationId?: pulumi.Input<string>;

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

property databases

databases?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

property datastore

datastore?: pulumi.Input<{ ... }>;

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

property flavorId

flavorId?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property networks

networks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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.

property region

region?: pulumi.Input<string>;

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

property size

size?: pulumi.Input<number>;

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

property users

users?: pulumi.Input<pulumi.Input<{ ... }>[]>;

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

interface UserArgs

The set of arguments for constructing a User resource.

property databases

databases?: pulumi.Input<pulumi.Input<string>[]>;

A list of database user should have access to.

property host

host?: pulumi.Input<string>;

property instanceId

instanceId: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property password

password: pulumi.Input<string>;

User’s password.

property region

region: pulumi.Input<string>;

Openstack region resource is created in.

interface UserState

Input properties used for looking up and filtering User resources.

property databases

databases?: pulumi.Input<pulumi.Input<string>[]>;

A list of database user should have access to.

property host

host?: pulumi.Input<string>;

property instanceId

instanceId?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

A unique name for the resource.

property password

password?: pulumi.Input<string>;

User’s password.

property region

region?: pulumi.Input<string>;

Openstack region resource is created in.