database

class pulumi_openstack.database.Configuration(resource_name, opts=None, configurations=None, datastore=None, description=None, name=None, region=None, __name__=None, __opts__=None)

Manages a V1 DB configuration resource within OpenStack.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • configurations (pulumi.Input[list]) – An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
  • datastore (pulumi.Input[dict]) – An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
  • description (pulumi.Input[str]) – Description of the resource.
  • name (pulumi.Input[str]) – A unique name for the resource.
  • region (pulumi.Input[str]) – The region in which to create the db instance. Changing this creates a new instance.
configurations = None

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

datastore = None

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

description = None

Description of the resource.

name = None

A unique name for the resource.

region = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_openstack.database.Database(resource_name, opts=None, instance_id=None, name=None, region=None, __name__=None, __opts__=None)

Manages a V1 DB database resource within OpenStack.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • instance_id (pulumi.Input[str]) – The ID for the database instance.
  • name (pulumi.Input[str]) – A unique name for the resource.
  • region (pulumi.Input[str]) – Openstack region resource is created in.
instance_id = None

The ID for the database instance.

name = None

A unique name for the resource.

region = None

Openstack region resource is created in.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_openstack.database.Instance(resource_name, opts=None, configuration_id=None, databases=None, datastore=None, flavor_id=None, name=None, networks=None, region=None, size=None, users=None, __name__=None, __opts__=None)

Manages a V1 DB instance resource within OpenStack.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • configuration_id (pulumi.Input[str]) – Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
  • databases (pulumi.Input[list]) – An array of database name, charset and collate. The database object structure is documented below.
  • datastore (pulumi.Input[dict]) – An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
  • flavor_id (pulumi.Input[str]) – The flavor ID of the desired flavor for the instance. Changing this creates new instance.
  • name (pulumi.Input[str]) – A unique name for the resource.
  • networks (pulumi.Input[list]) – 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.
  • region (pulumi.Input[str]) – The region in which to create the db instance. Changing this creates a new instance.
  • size (pulumi.Input[float]) – Specifies the volume size in GB. Changing this creates new instance.
  • users (pulumi.Input[list]) – An array of username, password, host and databases. The user object structure is documented below.
configuration_id = None

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

databases = None

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

datastore = None

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

flavor_id = None

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

name = None

A unique name for the resource.

networks = None

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.

region = None

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

size = None

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

users = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_openstack.database.User(resource_name, opts=None, databases=None, host=None, instance_id=None, name=None, password=None, region=None, __name__=None, __opts__=None)

Manages a V1 DB user resource within OpenStack.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • databases (pulumi.Input[list]) – A list of database user should have access to.
  • name (pulumi.Input[str]) – A unique name for the resource.
  • password (pulumi.Input[str]) – User’s password.
  • region (pulumi.Input[str]) – Openstack region resource is created in.
databases = None

A list of database user should have access to.

name = None

A unique name for the resource.

password = None

User’s password.

region = None

Openstack region resource is created in.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str