ConfigurationStore

Manages an Azure App Configuration.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var rg = new Azure.Core.ResourceGroup("rg", new Azure.Core.ResourceGroupArgs
        {
            Location = "West Europe",
        });
        var appconf = new Azure.AppConfiguration.ConfigurationStore("appconf", new Azure.AppConfiguration.ConfigurationStoreArgs
        {
            ResourceGroupName = rg.Name,
            Location = rg.Location,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/appconfiguration"
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
            Location: pulumi.String("West Europe"),
        })
        if err != nil {
            return err
        }
        _, err = appconfiguration.NewConfigurationStore(ctx, "appconf", &appconfiguration.ConfigurationStoreArgs{
            ResourceGroupName: rg.Name,
            Location:          rg.Location,
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

rg = azure.core.ResourceGroup("rg", location="West Europe")
appconf = azure.appconfiguration.ConfigurationStore("appconf",
    resource_group_name=rg.name,
    location=rg.location)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const rg = new azure.core.ResourceGroup("rg", {location: "West Europe"});
const appconf = new azure.appconfiguration.ConfigurationStore("appconf", {
    resourceGroupName: rg.name,
    location: rg.location,
});

Create a ConfigurationStore Resource

def ConfigurationStore(resource_name, opts=None, location=None, name=None, resource_group_name=None, sku=None, tags=None, __props__=None);
name string
The unique name of the resource.
args ConfigurationStoreArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ConfigurationStoreArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigurationStoreArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ConfigurationStore Resource Properties

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

Inputs

The ConfigurationStore resource accepts the following input properties:

ResourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

Sku string

The SKU name of the the App Configuration. Possible values are free and standard.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ResourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

Sku string

The SKU name of the the App Configuration. Possible values are free and standard.

Tags map[string]string

A mapping of tags to assign to the resource.

resourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

sku string

The SKU name of the the App Configuration. Possible values are free and standard.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

resource_group_name str

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

sku str

The SKU name of the the App Configuration. Possible values are free and standard.

tags Dict[str, str]

A mapping of tags to assign to the resource.

Outputs

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

Endpoint string

The URL of the App Configuration.

Id string
The provider-assigned unique ID for this managed resource.
PrimaryReadKeys List<ConfigurationStorePrimaryReadKey>

A primary_read_key block as defined below containing the primary read access key.

PrimaryWriteKeys List<ConfigurationStorePrimaryWriteKey>

A primary_write_key block as defined below containing the primary write access key.

SecondaryReadKeys List<ConfigurationStoreSecondaryReadKey>

A secondary_read_key block as defined below containing the secondary read access key.

SecondaryWriteKeys List<ConfigurationStoreSecondaryWriteKey>

A secondary_write_key block as defined below containing the secondary write access key.

Endpoint string

The URL of the App Configuration.

Id string
The provider-assigned unique ID for this managed resource.
PrimaryReadKeys []ConfigurationStorePrimaryReadKey

A primary_read_key block as defined below containing the primary read access key.

PrimaryWriteKeys []ConfigurationStorePrimaryWriteKey

A primary_write_key block as defined below containing the primary write access key.

SecondaryReadKeys []ConfigurationStoreSecondaryReadKey

A secondary_read_key block as defined below containing the secondary read access key.

SecondaryWriteKeys []ConfigurationStoreSecondaryWriteKey

A secondary_write_key block as defined below containing the secondary write access key.

endpoint string

The URL of the App Configuration.

id string
The provider-assigned unique ID for this managed resource.
primaryReadKeys ConfigurationStorePrimaryReadKey[]

A primary_read_key block as defined below containing the primary read access key.

primaryWriteKeys ConfigurationStorePrimaryWriteKey[]

A primary_write_key block as defined below containing the primary write access key.

secondaryReadKeys ConfigurationStoreSecondaryReadKey[]

A secondary_read_key block as defined below containing the secondary read access key.

secondaryWriteKeys ConfigurationStoreSecondaryWriteKey[]

A secondary_write_key block as defined below containing the secondary write access key.

endpoint str

The URL of the App Configuration.

id str
The provider-assigned unique ID for this managed resource.
primary_read_keys List[ConfigurationStorePrimaryReadKey]

A primary_read_key block as defined below containing the primary read access key.

primary_write_keys List[ConfigurationStorePrimaryWriteKey]

A primary_write_key block as defined below containing the primary write access key.

secondary_read_keys List[ConfigurationStoreSecondaryReadKey]

A secondary_read_key block as defined below containing the secondary read access key.

secondary_write_keys List[ConfigurationStoreSecondaryWriteKey]

A secondary_write_key block as defined below containing the secondary write access key.

Look up an Existing ConfigurationStore Resource

Get an existing ConfigurationStore 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?: ConfigurationStoreState, opts?: CustomResourceOptions): ConfigurationStore
static get(resource_name, id, opts=None, endpoint=None, location=None, name=None, primary_read_keys=None, primary_write_keys=None, resource_group_name=None, secondary_read_keys=None, secondary_write_keys=None, sku=None, tags=None, __props__=None);
func GetConfigurationStore(ctx *Context, name string, id IDInput, state *ConfigurationStoreState, opts ...ResourceOption) (*ConfigurationStore, error)
public static ConfigurationStore Get(string name, Input<string> id, ConfigurationStoreState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Endpoint string

The URL of the App Configuration.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

PrimaryReadKeys List<ConfigurationStorePrimaryReadKeyArgs>

A primary_read_key block as defined below containing the primary read access key.

PrimaryWriteKeys List<ConfigurationStorePrimaryWriteKeyArgs>

A primary_write_key block as defined below containing the primary write access key.

ResourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

SecondaryReadKeys List<ConfigurationStoreSecondaryReadKeyArgs>

A secondary_read_key block as defined below containing the secondary read access key.

SecondaryWriteKeys List<ConfigurationStoreSecondaryWriteKeyArgs>

A secondary_write_key block as defined below containing the secondary write access key.

Sku string

The SKU name of the the App Configuration. Possible values are free and standard.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Endpoint string

The URL of the App Configuration.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

PrimaryReadKeys []ConfigurationStorePrimaryReadKey

A primary_read_key block as defined below containing the primary read access key.

PrimaryWriteKeys []ConfigurationStorePrimaryWriteKey

A primary_write_key block as defined below containing the primary write access key.

ResourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

SecondaryReadKeys []ConfigurationStoreSecondaryReadKey

A secondary_read_key block as defined below containing the secondary read access key.

SecondaryWriteKeys []ConfigurationStoreSecondaryWriteKey

A secondary_write_key block as defined below containing the secondary write access key.

Sku string

The SKU name of the the App Configuration. Possible values are free and standard.

Tags map[string]string

A mapping of tags to assign to the resource.

endpoint string

The URL of the App Configuration.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

primaryReadKeys ConfigurationStorePrimaryReadKey[]

A primary_read_key block as defined below containing the primary read access key.

primaryWriteKeys ConfigurationStorePrimaryWriteKey[]

A primary_write_key block as defined below containing the primary write access key.

resourceGroupName string

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

secondaryReadKeys ConfigurationStoreSecondaryReadKey[]

A secondary_read_key block as defined below containing the secondary read access key.

secondaryWriteKeys ConfigurationStoreSecondaryWriteKey[]

A secondary_write_key block as defined below containing the secondary write access key.

sku string

The SKU name of the the App Configuration. Possible values are free and standard.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

endpoint str

The URL of the App Configuration.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the App Configuration. Changing this forces a new resource to be created.

primary_read_keys List[ConfigurationStorePrimaryReadKey]

A primary_read_key block as defined below containing the primary read access key.

primary_write_keys List[ConfigurationStorePrimaryWriteKey]

A primary_write_key block as defined below containing the primary write access key.

resource_group_name str

The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.

secondary_read_keys List[ConfigurationStoreSecondaryReadKey]

A secondary_read_key block as defined below containing the secondary read access key.

secondary_write_keys List[ConfigurationStoreSecondaryWriteKey]

A secondary_write_key block as defined below containing the secondary write access key.

sku str

The SKU name of the the App Configuration. Possible values are free and standard.

tags Dict[str, str]

A mapping of tags to assign to the resource.

Supporting Types

ConfigurationStorePrimaryReadKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

connectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id string

The ID of the Access Key.

secret string

The Secret of the Access Key.

connection_string str

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id str

The ID of the Access Key.

secret str

The Secret of the Access Key.

ConfigurationStorePrimaryWriteKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

connectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id string

The ID of the Access Key.

secret string

The Secret of the Access Key.

connection_string str

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id str

The ID of the Access Key.

secret str

The Secret of the Access Key.

ConfigurationStoreSecondaryReadKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

connectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id string

The ID of the Access Key.

secret string

The Secret of the Access Key.

connection_string str

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id str

The ID of the Access Key.

secret str

The Secret of the Access Key.

ConfigurationStoreSecondaryWriteKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

ConnectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

Id string

The ID of the Access Key.

Secret string

The Secret of the Access Key.

connectionString string

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id string

The ID of the Access Key.

secret string

The Secret of the Access Key.

connection_string str

The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.

id str

The ID of the Access Key.

secret str

The Secret of the Access Key.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.