@pulumi/openstack
Version:
A Pulumi package for creating and managing OpenStack cloud resources.
105 lines (104 loc) • 4.2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
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<pulumi.ID>, 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<outputs.database.ConfigurationConfiguration[] | undefined>;
/**
* An array of database engine type and version. The datastore
* object structure is documented below. Changing this creates resource.
*/
readonly datastore: pulumi.Output<outputs.database.ConfigurationDatastore>;
/**
* Description of the resource.
*/
readonly description: pulumi.Output<string>;
/**
* A unique name for the resource.
*/
readonly name: pulumi.Output<string>;
/**
* The region in which to create the db instance. Changing this
* creates a new instance.
*/
readonly region: pulumi.Output<string>;
/**
* 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<pulumi.Input<inputs.database.ConfigurationConfiguration>[]>;
/**
* An array of database engine type and version. The datastore
* object structure is documented below. Changing this creates resource.
*/
datastore?: pulumi.Input<inputs.database.ConfigurationDatastore>;
/**
* Description of the resource.
*/
description?: pulumi.Input<string>;
/**
* A unique name for the resource.
*/
name?: pulumi.Input<string>;
/**
* The region in which to create the db instance. Changing this
* creates a new instance.
*/
region?: pulumi.Input<string>;
}
/**
* 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<pulumi.Input<inputs.database.ConfigurationConfiguration>[]>;
/**
* An array of database engine type and version. The datastore
* object structure is documented below. Changing this creates resource.
*/
datastore: pulumi.Input<inputs.database.ConfigurationDatastore>;
/**
* Description of the resource.
*/
description: pulumi.Input<string>;
/**
* A unique name for the resource.
*/
name?: pulumi.Input<string>;
/**
* The region in which to create the db instance. Changing this
* creates a new instance.
*/
region?: pulumi.Input<string>;
}