1. Packages
  2. OpenStack
  3. API Docs
  4. database
  5. Configuration
OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi

openstack.database.Configuration

Explore with Pulumi AI

openstack logo
OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi

    Create Configuration Resource

    new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def Configuration(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      configurations: Optional[Sequence[ConfigurationConfigurationArgs]] = None,
                      datastore: Optional[ConfigurationDatastoreArgs] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None,
                      region: Optional[str] = None)
    @overload
    def Configuration(resource_name: str,
                      args: ConfigurationArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewConfiguration(ctx *Context, name string, args ConfigurationArgs, opts ...ResourceOption) (*Configuration, error)
    public Configuration(string name, ConfigurationArgs args, CustomResourceOptions? opts = null)
    public Configuration(String name, ConfigurationArgs args)
    public Configuration(String name, ConfigurationArgs args, CustomResourceOptions options)
    
    type: openstack:database:Configuration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Configuration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Configuration resource accepts the following input properties:

    Datastore Pulumi.OpenStack.Database.Inputs.ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    Description string
    Description of the resource.
    Configurations List<Pulumi.OpenStack.Database.Inputs.ConfigurationConfiguration>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    Name string
    A unique name for the resource.
    Region string
    The region in which to create the db instance. Changing this creates a new instance.
    Datastore ConfigurationDatastoreArgs
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    Description string
    Description of the resource.
    Configurations []ConfigurationConfigurationArgs
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    Name string
    A unique name for the resource.
    Region string
    The region in which to create the db instance. Changing this creates a new instance.
    datastore ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description String
    Description of the resource.
    configurations List<ConfigurationConfiguration>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    name String
    A unique name for the resource.
    region String
    The region in which to create the db instance. Changing this creates a new instance.
    datastore ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description string
    Description of the resource.
    configurations ConfigurationConfiguration[]
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    name string
    A unique name for the resource.
    region string
    The region in which to create the db instance. Changing this creates a new instance.
    datastore ConfigurationDatastoreArgs
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description str
    Description of the resource.
    configurations Sequence[ConfigurationConfigurationArgs]
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    name str
    A unique name for the resource.
    region str
    The region in which to create the db instance. Changing this creates a new instance.
    datastore Property Map
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description String
    Description of the resource.
    configurations List<Property Map>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    name String
    A unique name for the resource.
    region String
    The region in which to create the db instance. Changing this creates a new instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Configuration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Configuration Resource

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

    public static get(name: string, id: Input<ID>, state?: ConfigurationState, opts?: CustomResourceOptions): Configuration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configurations: Optional[Sequence[ConfigurationConfigurationArgs]] = None,
            datastore: Optional[ConfigurationDatastoreArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None) -> Configuration
    func GetConfiguration(ctx *Context, name string, id IDInput, state *ConfigurationState, opts ...ResourceOption) (*Configuration, error)
    public static Configuration Get(string name, Input<string> id, ConfigurationState? state, CustomResourceOptions? opts = null)
    public static Configuration get(String name, Output<String> id, ConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Configurations List<Pulumi.OpenStack.Database.Inputs.ConfigurationConfiguration>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    Datastore Pulumi.OpenStack.Database.Inputs.ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    Description string
    Description of the resource.
    Name string
    A unique name for the resource.
    Region string
    The region in which to create the db instance. Changing this creates a new instance.
    Configurations []ConfigurationConfigurationArgs
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    Datastore ConfigurationDatastoreArgs
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    Description string
    Description of the resource.
    Name string
    A unique name for the resource.
    Region string
    The region in which to create the db instance. Changing this creates a new instance.
    configurations List<ConfigurationConfiguration>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    datastore ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description String
    Description of the resource.
    name String
    A unique name for the resource.
    region String
    The region in which to create the db instance. Changing this creates a new instance.
    configurations ConfigurationConfiguration[]
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    datastore ConfigurationDatastore
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description string
    Description of the resource.
    name string
    A unique name for the resource.
    region string
    The region in which to create the db instance. Changing this creates a new instance.
    configurations Sequence[ConfigurationConfigurationArgs]
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    datastore ConfigurationDatastoreArgs
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description str
    Description of the resource.
    name str
    A unique name for the resource.
    region str
    The region in which to create the db instance. Changing this creates a new instance.
    configurations List<Property Map>
    An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
    datastore Property Map
    An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
    description String
    Description of the resource.
    name String
    A unique name for the resource.
    region String
    The region in which to create the db instance. Changing this creates a new instance.

    Supporting Types

    ConfigurationConfiguration, ConfigurationConfigurationArgs

    Name string
    Configuration parameter name. Changing this creates a new resource.
    Value string
    Configuration parameter value. Changing this creates a new resource.
    StringType bool
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.
    Name string
    Configuration parameter name. Changing this creates a new resource.
    Value string
    Configuration parameter value. Changing this creates a new resource.
    StringType bool
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.
    name String
    Configuration parameter name. Changing this creates a new resource.
    value String
    Configuration parameter value. Changing this creates a new resource.
    stringType Boolean
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.
    name string
    Configuration parameter name. Changing this creates a new resource.
    value string
    Configuration parameter value. Changing this creates a new resource.
    stringType boolean
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.
    name str
    Configuration parameter name. Changing this creates a new resource.
    value str
    Configuration parameter value. Changing this creates a new resource.
    string_type bool
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.
    name String
    Configuration parameter name. Changing this creates a new resource.
    value String
    Configuration parameter value. Changing this creates a new resource.
    stringType Boolean
    Whether or not to store configuration parameter value as string. Changing this creates a new resource. See the below note for more information.

    ConfigurationDatastore, ConfigurationDatastoreArgs

    Type string
    Database engine type to be used with this configuration. Changing this creates a new resource.
    Version string
    Version of database engine type to be used with this configuration. Changing this creates a new resource.
    Type string
    Database engine type to be used with this configuration. Changing this creates a new resource.
    Version string
    Version of database engine type to be used with this configuration. Changing this creates a new resource.
    type String
    Database engine type to be used with this configuration. Changing this creates a new resource.
    version String
    Version of database engine type to be used with this configuration. Changing this creates a new resource.
    type string
    Database engine type to be used with this configuration. Changing this creates a new resource.
    version string
    Version of database engine type to be used with this configuration. Changing this creates a new resource.
    type str
    Database engine type to be used with this configuration. Changing this creates a new resource.
    version str
    Version of database engine type to be used with this configuration. Changing this creates a new resource.
    type String
    Database engine type to be used with this configuration. Changing this creates a new resource.
    version String
    Version of database engine type to be used with this configuration. Changing this creates a new resource.

    Package Details

    Repository
    OpenStack pulumi/pulumi-openstack
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the openstack Terraform Provider.
    openstack logo
    OpenStack v3.15.1 published on Thursday, Feb 1, 2024 by Pulumi