import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a V1 DB configuration resource within OpenStack. * * ## Example Usage * * ### Configuration * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const test = new openstack.database.Configuration("test", { * name: "test", * description: "description", * datastore: { * version: "mysql-5.7", * type: "mysql", * }, * configurations: [{ * name: "max_connections", * value: "200", * }], * }); * ``` * * ## Types of configuration parameter values * * Openstack API requires to store some database configuration parameter's values as strings, even if they contain numbers. * To force store their values as strings set `stringType` to `true`. Otherwise Terraform will try to store them as number what can cause error from Openstack API like below: */ export declare class Configuration extends pulumi.CustomResource { /** * Get an existing Configuration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConfigurationState, opts?: pulumi.CustomResourceOptions): Configuration; /** * Returns true if the given object is an instance of Configuration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Configuration; /** * An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below. */ readonly configurations: pulumi.Output; /** * An array of database engine type and version. The datastore * object structure is documented below. Changing this creates resource. */ readonly datastore: pulumi.Output; /** * Description of the resource. */ readonly description: pulumi.Output; /** * A unique name for the resource. */ readonly name: pulumi.Output; /** * The region in which to create the db instance. Changing this * creates a new instance. */ readonly region: pulumi.Output; /** * Create a Configuration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Configuration resources. */ export interface ConfigurationState { /** * An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below. */ configurations?: pulumi.Input[] | undefined>; /** * An array of database engine type and version. The datastore * object structure is documented below. Changing this creates resource. */ datastore?: pulumi.Input; /** * Description of the resource. */ description?: pulumi.Input; /** * A unique name for the resource. */ name?: pulumi.Input; /** * The region in which to create the db instance. Changing this * creates a new instance. */ region?: pulumi.Input; } /** * The set of arguments for constructing a Configuration resource. */ export interface ConfigurationArgs { /** * An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below. */ configurations?: pulumi.Input[] | undefined>; /** * An array of database engine type and version. The datastore * object structure is documented below. Changing this creates resource. */ datastore: pulumi.Input; /** * Description of the resource. */ description: pulumi.Input; /** * A unique name for the resource. */ name?: pulumi.Input; /** * The region in which to create the db instance. Changing this * creates a new instance. */ region?: pulumi.Input; } //# sourceMappingURL=configuration.d.ts.map