GetConfigurationStore

Use this data source to access information about an existing App Configuration.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.AppConfiguration.GetConfigurationStore.InvokeAsync(new Azure.AppConfiguration.GetConfigurationStoreArgs
        {
            Name = "existing",
            ResourceGroupName = "existing",
        }));
        this.Id = example.Apply(example => example.Id);
    }

    [Output("id")]
    public Output<string> Id { get; set; }
}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        example, err := appconfiguration.LookupConfigurationStore(ctx, &appconfiguration.LookupConfigurationStoreArgs{
            Name:              "existing",
            ResourceGroupName: "existing",
        }, nil)
        if err != nil {
            return err
        }
        ctx.Export("id", example.Id)
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example = azure.appconfiguration.get_configuration_store(name="existing",
    resource_group_name="existing")
pulumi.export("id", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.appconfiguration.getConfigurationStore({
    name: "existing",
    resourceGroupName: "existing",
});
export const id = example.then(example => example.id);

Using GetConfigurationStore

function getConfigurationStore(args: GetConfigurationStoreArgs, opts?: InvokeOptions): Promise<GetConfigurationStoreResult>
function  get_configuration_store(name=None, resource_group_name=None, opts=None)
func LookupConfigurationStore(ctx *Context, args *LookupConfigurationStoreArgs, opts ...InvokeOption) (*LookupConfigurationStoreResult, error)

Note: This function is named LookupConfigurationStore in the Go SDK.

public static class GetConfigurationStore {
    public static Task<GetConfigurationStoreResult> InvokeAsync(GetConfigurationStoreArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The Name of this App Configuration.

ResourceGroupName string

The name of the Resource Group where the App Configuration exists.

Name string

The Name of this App Configuration.

ResourceGroupName string

The name of the Resource Group where the App Configuration exists.

name string

The Name of this App Configuration.

resourceGroupName string

The name of the Resource Group where the App Configuration exists.

name str

The Name of this App Configuration.

resource_group_name str

The name of the Resource Group where the App Configuration exists.

GetConfigurationStore Result

The following output properties are available:

Endpoint string

The Endpoint used to access this App Configuration.

Id string

The provider-assigned unique ID for this managed resource.

Location string

The Azure Region where the App Configuration exists.

Name string
PrimaryReadKeys List<GetConfigurationStorePrimaryReadKey>

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

PrimaryWriteKeys List<GetConfigurationStorePrimaryWriteKey>

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

ResourceGroupName string
SecondaryReadKeys List<GetConfigurationStoreSecondaryReadKey>

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

SecondaryWriteKeys List<GetConfigurationStoreSecondaryWriteKey>

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

Sku string

The name of the SKU used for this App Configuration.

Tags Dictionary<string, string>

A mapping of tags assigned to the App Configuration.

Endpoint string

The Endpoint used to access this App Configuration.

Id string

The provider-assigned unique ID for this managed resource.

Location string

The Azure Region where the App Configuration exists.

Name string
PrimaryReadKeys []GetConfigurationStorePrimaryReadKey

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

PrimaryWriteKeys []GetConfigurationStorePrimaryWriteKey

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

ResourceGroupName string
SecondaryReadKeys []GetConfigurationStoreSecondaryReadKey

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

SecondaryWriteKeys []GetConfigurationStoreSecondaryWriteKey

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

Sku string

The name of the SKU used for this App Configuration.

Tags map[string]string

A mapping of tags assigned to the App Configuration.

endpoint string

The Endpoint used to access this App Configuration.

id string

The provider-assigned unique ID for this managed resource.

location string

The Azure Region where the App Configuration exists.

name string
primaryReadKeys GetConfigurationStorePrimaryReadKey[]

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

primaryWriteKeys GetConfigurationStorePrimaryWriteKey[]

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

resourceGroupName string
secondaryReadKeys GetConfigurationStoreSecondaryReadKey[]

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

secondaryWriteKeys GetConfigurationStoreSecondaryWriteKey[]

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

sku string

The name of the SKU used for this App Configuration.

tags {[key: string]: string}

A mapping of tags assigned to the App Configuration.

endpoint str

The Endpoint used to access this App Configuration.

id str

The provider-assigned unique ID for this managed resource.

location str

The Azure Region where the App Configuration exists.

name str
primary_read_keys List[GetConfigurationStorePrimaryReadKey]

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

primary_write_keys List[GetConfigurationStorePrimaryWriteKey]

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

resource_group_name str
secondary_read_keys List[GetConfigurationStoreSecondaryReadKey]

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

secondary_write_keys List[GetConfigurationStoreSecondaryWriteKey]

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

sku str

The name of the SKU used for this App Configuration.

tags Dict[str, str]

A mapping of tags assigned to the App Configuration.

Supporting Types

GetConfigurationStorePrimaryReadKey

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.

GetConfigurationStorePrimaryWriteKey

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.

GetConfigurationStoreSecondaryReadKey

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.

GetConfigurationStoreSecondaryWriteKey

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.