Show / Hide Table of Contents

Class Configuration

Manages a V1 DB configuration resource within OpenStack.

Example Usage

Configuration

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var test = new OpenStack.Database.Configuration("test", new OpenStack.Database.ConfigurationArgs
    {
        Configurations = 
        {
            new OpenStack.Database.Inputs.ConfigurationConfigurationArgs
            {
                Name = "max_connections",
                Value = 200,
            },
        },
        Datastore = new OpenStack.Database.Inputs.ConfigurationDatastoreArgs
        {
            Type = "mysql",
            Version = "mysql-5.7",
        },
        Description = "description",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Configuration
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Database
Assembly: Pulumi.OpenStack.dll
Syntax
public class Configuration : CustomResource

Constructors

View Source

Configuration(String, ConfigurationArgs, CustomResourceOptions)

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

Declaration
public Configuration(string name, ConfigurationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ConfigurationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Configurations

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

Declaration
public Output<ImmutableArray<ConfigurationConfiguration>> Configurations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ConfigurationConfiguration>>
View Source

Datastore

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

Declaration
public Output<ConfigurationDatastore> Datastore { get; }
Property Value
Type Description
Output<ConfigurationDatastore>
View Source

Description

Description of the resource.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Configuration parameter name. Changing this creates a new resource.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Region

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

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ConfigurationState, CustomResourceOptions)

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

Declaration
public static Configuration Get(string name, Input<string> id, ConfigurationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ConfigurationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Configuration
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.