1. Packages
  2. Azure Native
  3. API Docs
  4. dbformariadb
  5. Configuration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.dbformariadb.Configuration

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Represents a Configuration.

Uses Azure REST API version 2018-06-01. In version 2.x of the Azure Native provider, it used API version 2018-06-01.

Example Usage

ConfigurationCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var configuration = new AzureNative.DBforMariaDB.Configuration("configuration", new()
    {
        ConfigurationName = "event_scheduler",
        ResourceGroupName = "TestGroup",
        ServerName = "testserver",
        Source = "user-override",
        Value = "off",
    });

});
Copy
package main

import (
	dbformariadb "github.com/pulumi/pulumi-azure-native-sdk/dbformariadb/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbformariadb.NewConfiguration(ctx, "configuration", &dbformariadb.ConfigurationArgs{
			ConfigurationName: pulumi.String("event_scheduler"),
			ResourceGroupName: pulumi.String("TestGroup"),
			ServerName:        pulumi.String("testserver"),
			Source:            pulumi.String("user-override"),
			Value:             pulumi.String("off"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbformariadb.Configuration;
import com.pulumi.azurenative.dbformariadb.ConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var configuration = new Configuration("configuration", ConfigurationArgs.builder()
            .configurationName("event_scheduler")
            .resourceGroupName("TestGroup")
            .serverName("testserver")
            .source("user-override")
            .value("off")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const configuration = new azure_native.dbformariadb.Configuration("configuration", {
    configurationName: "event_scheduler",
    resourceGroupName: "TestGroup",
    serverName: "testserver",
    source: "user-override",
    value: "off",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

configuration = azure_native.dbformariadb.Configuration("configuration",
    configuration_name="event_scheduler",
    resource_group_name="TestGroup",
    server_name="testserver",
    source="user-override",
    value="off")
Copy
resources:
  configuration:
    type: azure-native:dbformariadb:Configuration
    properties:
      configurationName: event_scheduler
      resourceGroupName: TestGroup
      serverName: testserver
      source: user-override
      value: off
Copy

Create Configuration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);
@overload
def Configuration(resource_name: str,
                  args: ConfigurationArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def Configuration(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  resource_group_name: Optional[str] = None,
                  server_name: Optional[str] = None,
                  configuration_name: Optional[str] = None,
                  source: Optional[str] = None,
                  value: Optional[str] = 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: azure-native:dbformariadb:Configuration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var configurationResource = new AzureNative.DBforMariaDB.Configuration("configurationResource", new()
{
    ResourceGroupName = "string",
    ServerName = "string",
    ConfigurationName = "string",
    Source = "string",
    Value = "string",
});
Copy
example, err := dbformariadb.NewConfiguration(ctx, "configurationResource", &dbformariadb.ConfigurationArgs{
	ResourceGroupName: pulumi.String("string"),
	ServerName:        pulumi.String("string"),
	ConfigurationName: pulumi.String("string"),
	Source:            pulumi.String("string"),
	Value:             pulumi.String("string"),
})
Copy
var configurationResource = new Configuration("configurationResource", ConfigurationArgs.builder()
    .resourceGroupName("string")
    .serverName("string")
    .configurationName("string")
    .source("string")
    .value("string")
    .build());
Copy
configuration_resource = azure_native.dbformariadb.Configuration("configurationResource",
    resource_group_name="string",
    server_name="string",
    configuration_name="string",
    source="string",
    value="string")
Copy
const configurationResource = new azure_native.dbformariadb.Configuration("configurationResource", {
    resourceGroupName: "string",
    serverName: "string",
    configurationName: "string",
    source: "string",
    value: "string",
});
Copy
type: azure-native:dbformariadb:Configuration
properties:
    configurationName: string
    resourceGroupName: string
    serverName: string
    source: string
    value: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Configuration resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
ConfigurationName Changes to this property will trigger replacement. string
The name of the server configuration.
Source string
Source of the configuration.
Value string
Value of the configuration.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
ConfigurationName Changes to this property will trigger replacement. string
The name of the server configuration.
Source string
Source of the configuration.
Value string
Value of the configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.
configurationName Changes to this property will trigger replacement. String
The name of the server configuration.
source String
Source of the configuration.
value String
Value of the configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
configurationName Changes to this property will trigger replacement. string
The name of the server configuration.
source string
Source of the configuration.
value string
Value of the configuration.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
server_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the server.
configuration_name Changes to this property will trigger replacement. str
The name of the server configuration.
source str
Source of the configuration.
value str
Value of the configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.
configurationName Changes to this property will trigger replacement. String
The name of the server configuration.
source String
Source of the configuration.
value String
Value of the configuration.

Outputs

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

AllowedValues string
Allowed values of the configuration.
AzureApiVersion string
The Azure API version of the resource.
DataType string
Data type of the configuration.
DefaultValue string
Default value of the configuration.
Description string
Description of the configuration.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AllowedValues string
Allowed values of the configuration.
AzureApiVersion string
The Azure API version of the resource.
DataType string
Data type of the configuration.
DefaultValue string
Default value of the configuration.
Description string
Description of the configuration.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
allowedValues String
Allowed values of the configuration.
azureApiVersion String
The Azure API version of the resource.
dataType String
Data type of the configuration.
defaultValue String
Default value of the configuration.
description String
Description of the configuration.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
allowedValues string
Allowed values of the configuration.
azureApiVersion string
The Azure API version of the resource.
dataType string
Data type of the configuration.
defaultValue string
Default value of the configuration.
description string
Description of the configuration.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
allowed_values str
Allowed values of the configuration.
azure_api_version str
The Azure API version of the resource.
data_type str
Data type of the configuration.
default_value str
Default value of the configuration.
description str
Description of the configuration.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
allowedValues String
Allowed values of the configuration.
azureApiVersion String
The Azure API version of the resource.
dataType String
Data type of the configuration.
defaultValue String
Default value of the configuration.
description String
Description of the configuration.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:dbformariadb:Configuration event_scheduler /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/configurations/{configurationName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi