We recommend using Azure Native.
Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi
azure.appconfiguration.getConfigurationStore
Explore with Pulumi AI
Use this data source to access information about an existing App Configuration.
Example Usage
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);
import pulumi
import pulumi_azure as azure
example = azure.appconfiguration.get_configuration_store(name="existing",
resource_group_name="existing")
pulumi.export("id", example.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appconfiguration"
"github.com/pulumi/pulumi/sdk/v3/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.AppConfiguration.GetConfigurationStore.Invoke(new()
{
Name = "existing",
ResourceGroupName = "existing",
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getConfigurationStoreResult => getConfigurationStoreResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appconfiguration.AppconfigurationFunctions;
import com.pulumi.azure.appconfiguration.inputs.GetConfigurationStoreArgs;
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) {
final var example = AppconfigurationFunctions.getConfigurationStore(GetConfigurationStoreArgs.builder()
.name("existing")
.resourceGroupName("existing")
.build());
ctx.export("id", example.applyValue(getConfigurationStoreResult -> getConfigurationStoreResult.id()));
}
}
variables:
example:
fn::invoke:
function: azure:appconfiguration:getConfigurationStore
arguments:
name: existing
resourceGroupName: existing
outputs:
id: ${example.id}
Using getConfigurationStore
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConfigurationStore(args: GetConfigurationStoreArgs, opts?: InvokeOptions): Promise<GetConfigurationStoreResult>
function getConfigurationStoreOutput(args: GetConfigurationStoreOutputArgs, opts?: InvokeOptions): Output<GetConfigurationStoreResult>
def get_configuration_store(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigurationStoreResult
def get_configuration_store_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationStoreResult]
func LookupConfigurationStore(ctx *Context, args *LookupConfigurationStoreArgs, opts ...InvokeOption) (*LookupConfigurationStoreResult, error)
func LookupConfigurationStoreOutput(ctx *Context, args *LookupConfigurationStoreOutputArgs, opts ...InvokeOption) LookupConfigurationStoreResultOutput
> Note: This function is named LookupConfigurationStore
in the Go SDK.
public static class GetConfigurationStore
{
public static Task<GetConfigurationStoreResult> InvokeAsync(GetConfigurationStoreArgs args, InvokeOptions? opts = null)
public static Output<GetConfigurationStoreResult> Invoke(GetConfigurationStoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigurationStoreResult> getConfigurationStore(GetConfigurationStoreArgs args, InvokeOptions options)
public static Output<GetConfigurationStoreResult> getConfigurationStore(GetConfigurationStoreArgs args, InvokeOptions options)
fn::invoke:
function: azure:appconfiguration/getConfigurationStore:getConfigurationStore
arguments:
# arguments dictionary
The following arguments are supported:
- Name
This property is required. string - The Name of this App Configuration.
- Resource
Group Name This property is required. string - The name of the Resource Group where the App Configuration exists.
- Name
This property is required. string - The Name of this App Configuration.
- Resource
Group Name This property is required. string - The name of the Resource Group where the App Configuration exists.
- name
This property is required. String - The Name of this App Configuration.
- resource
Group Name This property is required. String - The name of the Resource Group where the App Configuration exists.
- name
This property is required. string - The Name of this App Configuration.
- resource
Group Name This property is required. string - The name of the Resource Group where the App Configuration exists.
- name
This property is required. str - The Name of this App Configuration.
- resource_
group_ name This property is required. str - The name of the Resource Group where the App Configuration exists.
- name
This property is required. String - The Name of this App Configuration.
- resource
Group Name This property is required. String - The name of the Resource Group where the App Configuration exists.
getConfigurationStore Result
The following output properties are available:
- Data
Plane stringProxy Authentication Mode - The data plane proxy authentication mode.
- Data
Plane boolProxy Private Link Delegation Enabled - Whether data plane proxy private link delegation is enabled.
- Encryptions
List<Get
Configuration Store Encryption> - An
encryption
block as defined below. - Endpoint string
- The URL of the App Configuration Replica.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Configuration Store Identity> - An
identity
block as defined below. - Local
Auth boolEnabled - Whether local authentication methods are enabled.
- Location string
- The supported Azure location where the App Configuration Replica exists.
- Name string
- The name of the App Configuration Replica.
- Primary
Read List<GetKeys Configuration Store Primary Read Key> - A
primary_read_key
block as defined below containing the primary read access key. - Primary
Write List<GetKeys Configuration Store Primary Write Key> - A
primary_write_key
block as defined below containing the primary write access key. - Public
Network stringAccess - The Public Network Access setting of this App Configuration.
- Public
Network boolAccess Enabled - Purge
Protection boolEnabled - Whether Purge Protection is enabled.
- Replicas
List<Get
Configuration Store Replica> - One or more
replica
blocks as defined below. - Resource
Group stringName - Secondary
Read List<GetKeys Configuration Store Secondary Read Key> - A
secondary_read_key
block as defined below containing the secondary read access key. - Secondary
Write List<GetKeys Configuration Store Secondary Write Key> - 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.
- Soft
Delete intRetention Days - The number of days that items should be retained for once soft-deleted.
- Dictionary<string, string>
- A mapping of tags assigned to the App Configuration.
- Data
Plane stringProxy Authentication Mode - The data plane proxy authentication mode.
- Data
Plane boolProxy Private Link Delegation Enabled - Whether data plane proxy private link delegation is enabled.
- Encryptions
[]Get
Configuration Store Encryption - An
encryption
block as defined below. - Endpoint string
- The URL of the App Configuration Replica.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Configuration Store Identity - An
identity
block as defined below. - Local
Auth boolEnabled - Whether local authentication methods are enabled.
- Location string
- The supported Azure location where the App Configuration Replica exists.
- Name string
- The name of the App Configuration Replica.
- Primary
Read []GetKeys Configuration Store Primary Read Key - A
primary_read_key
block as defined below containing the primary read access key. - Primary
Write []GetKeys Configuration Store Primary Write Key - A
primary_write_key
block as defined below containing the primary write access key. - Public
Network stringAccess - The Public Network Access setting of this App Configuration.
- Public
Network boolAccess Enabled - Purge
Protection boolEnabled - Whether Purge Protection is enabled.
- Replicas
[]Get
Configuration Store Replica - One or more
replica
blocks as defined below. - Resource
Group stringName - Secondary
Read []GetKeys Configuration Store Secondary Read Key - A
secondary_read_key
block as defined below containing the secondary read access key. - Secondary
Write []GetKeys Configuration Store Secondary Write Key - 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.
- Soft
Delete intRetention Days - The number of days that items should be retained for once soft-deleted.
- map[string]string
- A mapping of tags assigned to the App Configuration.
- data
Plane StringProxy Authentication Mode - The data plane proxy authentication mode.
- data
Plane BooleanProxy Private Link Delegation Enabled - Whether data plane proxy private link delegation is enabled.
- encryptions
List<Get
Configuration Store Encryption> - An
encryption
block as defined below. - endpoint String
- The URL of the App Configuration Replica.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Configuration Store Identity> - An
identity
block as defined below. - local
Auth BooleanEnabled - Whether local authentication methods are enabled.
- location String
- The supported Azure location where the App Configuration Replica exists.
- name String
- The name of the App Configuration Replica.
- primary
Read List<GetKeys Configuration Store Primary Read Key> - A
primary_read_key
block as defined below containing the primary read access key. - primary
Write List<GetKeys Configuration Store Primary Write Key> - A
primary_write_key
block as defined below containing the primary write access key. - public
Network StringAccess - The Public Network Access setting of this App Configuration.
- public
Network BooleanAccess Enabled - purge
Protection BooleanEnabled - Whether Purge Protection is enabled.
- replicas
List<Get
Configuration Store Replica> - One or more
replica
blocks as defined below. - resource
Group StringName - secondary
Read List<GetKeys Configuration Store Secondary Read Key> - A
secondary_read_key
block as defined below containing the secondary read access key. - secondary
Write List<GetKeys Configuration Store Secondary Write Key> - 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.
- soft
Delete IntegerRetention Days - The number of days that items should be retained for once soft-deleted.
- Map<String,String>
- A mapping of tags assigned to the App Configuration.
- data
Plane stringProxy Authentication Mode - The data plane proxy authentication mode.
- data
Plane booleanProxy Private Link Delegation Enabled - Whether data plane proxy private link delegation is enabled.
- encryptions
Get
Configuration Store Encryption[] - An
encryption
block as defined below. - endpoint string
- The URL of the App Configuration Replica.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Configuration Store Identity[] - An
identity
block as defined below. - local
Auth booleanEnabled - Whether local authentication methods are enabled.
- location string
- The supported Azure location where the App Configuration Replica exists.
- name string
- The name of the App Configuration Replica.
- primary
Read GetKeys Configuration Store Primary Read Key[] - A
primary_read_key
block as defined below containing the primary read access key. - primary
Write GetKeys Configuration Store Primary Write Key[] - A
primary_write_key
block as defined below containing the primary write access key. - public
Network stringAccess - The Public Network Access setting of this App Configuration.
- public
Network booleanAccess Enabled - purge
Protection booleanEnabled - Whether Purge Protection is enabled.
- replicas
Get
Configuration Store Replica[] - One or more
replica
blocks as defined below. - resource
Group stringName - secondary
Read GetKeys Configuration Store Secondary Read Key[] - A
secondary_read_key
block as defined below containing the secondary read access key. - secondary
Write GetKeys Configuration Store Secondary Write Key[] - 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.
- soft
Delete numberRetention Days - The number of days that items should be retained for once soft-deleted.
- {[key: string]: string}
- A mapping of tags assigned to the App Configuration.
- data_
plane_ strproxy_ authentication_ mode - The data plane proxy authentication mode.
- data_
plane_ boolproxy_ private_ link_ delegation_ enabled - Whether data plane proxy private link delegation is enabled.
- encryptions
Sequence[Get
Configuration Store Encryption] - An
encryption
block as defined below. - endpoint str
- The URL of the App Configuration Replica.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Configuration Store Identity] - An
identity
block as defined below. - local_
auth_ boolenabled - Whether local authentication methods are enabled.
- location str
- The supported Azure location where the App Configuration Replica exists.
- name str
- The name of the App Configuration Replica.
- primary_
read_ Sequence[Getkeys Configuration Store Primary Read Key] - A
primary_read_key
block as defined below containing the primary read access key. - primary_
write_ Sequence[Getkeys Configuration Store Primary Write Key] - A
primary_write_key
block as defined below containing the primary write access key. - public_
network_ straccess - The Public Network Access setting of this App Configuration.
- public_
network_ boolaccess_ enabled - purge_
protection_ boolenabled - Whether Purge Protection is enabled.
- replicas
Sequence[Get
Configuration Store Replica] - One or more
replica
blocks as defined below. - resource_
group_ strname - secondary_
read_ Sequence[Getkeys Configuration Store Secondary Read Key] - A
secondary_read_key
block as defined below containing the secondary read access key. - secondary_
write_ Sequence[Getkeys Configuration Store Secondary Write Key] - 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.
- soft_
delete_ intretention_ days - The number of days that items should be retained for once soft-deleted.
- Mapping[str, str]
- A mapping of tags assigned to the App Configuration.
- data
Plane StringProxy Authentication Mode - The data plane proxy authentication mode.
- data
Plane BooleanProxy Private Link Delegation Enabled - Whether data plane proxy private link delegation is enabled.
- encryptions List<Property Map>
- An
encryption
block as defined below. - endpoint String
- The URL of the App Configuration Replica.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An
identity
block as defined below. - local
Auth BooleanEnabled - Whether local authentication methods are enabled.
- location String
- The supported Azure location where the App Configuration Replica exists.
- name String
- The name of the App Configuration Replica.
- primary
Read List<Property Map>Keys - A
primary_read_key
block as defined below containing the primary read access key. - primary
Write List<Property Map>Keys - A
primary_write_key
block as defined below containing the primary write access key. - public
Network StringAccess - The Public Network Access setting of this App Configuration.
- public
Network BooleanAccess Enabled - purge
Protection BooleanEnabled - Whether Purge Protection is enabled.
- replicas List<Property Map>
- One or more
replica
blocks as defined below. - resource
Group StringName - secondary
Read List<Property Map>Keys - A
secondary_read_key
block as defined below containing the secondary read access key. - secondary
Write List<Property Map>Keys - 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.
- soft
Delete NumberRetention Days - The number of days that items should be retained for once soft-deleted.
- Map<String>
- A mapping of tags assigned to the App Configuration.
Supporting Types
GetConfigurationStoreEncryption
- Identity
Client Id This property is required. string - Key
Vault Key Identifier This property is required. string
- Identity
Client Id This property is required. string - Key
Vault Key Identifier This property is required. string
- identity
Client Id This property is required. String - key
Vault Key Identifier This property is required. String
- identity
Client Id This property is required. string - key
Vault Key Identifier This property is required. string
- identity_
client_ id This property is required. str - key_
vault_ key_ identifier This property is required. str
- identity
Client Id This property is required. String - key
Vault Key Identifier This property is required. String
GetConfigurationStoreIdentity
- Identity
Ids This property is required. List<string> - Principal
Id This property is required. string - Tenant
Id This property is required. string - Type
This property is required. string
- Identity
Ids This property is required. []string - Principal
Id This property is required. string - Tenant
Id This property is required. string - Type
This property is required. string
- identity
Ids This property is required. List<String> - principal
Id This property is required. String - tenant
Id This property is required. String - type
This property is required. String
- identity
Ids This property is required. string[] - principal
Id This property is required. string - tenant
Id This property is required. string - type
This property is required. string
- identity_
ids This property is required. Sequence[str] - principal_
id This property is required. str - tenant_
id This property is required. str - type
This property is required. str
- identity
Ids This property is required. List<String> - principal
Id This property is required. String - tenant
Id This property is required. String - type
This property is required. String
GetConfigurationStorePrimaryReadKey
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
- connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. string - The ID of the Access Key.
- secret
This property is required. string - The Secret of the Access Key.
- connection_
string This property is required. str - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. str - The ID of the Access Key.
- secret
This property is required. str - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
GetConfigurationStorePrimaryWriteKey
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
- connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. string - The ID of the Access Key.
- secret
This property is required. string - The Secret of the Access Key.
- connection_
string This property is required. str - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. str - The ID of the Access Key.
- secret
This property is required. str - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
GetConfigurationStoreReplica
- Endpoint
This property is required. string - The URL of the App Configuration Replica.
- Id
This property is required. string - The ID of the Access Key.
- Location
This property is required. string - The supported Azure location where the App Configuration Replica exists.
- Name
This property is required. string - The Name of this App Configuration.
- Endpoint
This property is required. string - The URL of the App Configuration Replica.
- Id
This property is required. string - The ID of the Access Key.
- Location
This property is required. string - The supported Azure location where the App Configuration Replica exists.
- Name
This property is required. string - The Name of this App Configuration.
- endpoint
This property is required. String - The URL of the App Configuration Replica.
- id
This property is required. String - The ID of the Access Key.
- location
This property is required. String - The supported Azure location where the App Configuration Replica exists.
- name
This property is required. String - The Name of this App Configuration.
- endpoint
This property is required. string - The URL of the App Configuration Replica.
- id
This property is required. string - The ID of the Access Key.
- location
This property is required. string - The supported Azure location where the App Configuration Replica exists.
- name
This property is required. string - The Name of this App Configuration.
- endpoint
This property is required. str - The URL of the App Configuration Replica.
- id
This property is required. str - The ID of the Access Key.
- location
This property is required. str - The supported Azure location where the App Configuration Replica exists.
- name
This property is required. str - The Name of this App Configuration.
- endpoint
This property is required. String - The URL of the App Configuration Replica.
- id
This property is required. String - The ID of the Access Key.
- location
This property is required. String - The supported Azure location where the App Configuration Replica exists.
- name
This property is required. String - The Name of this App Configuration.
GetConfigurationStoreSecondaryReadKey
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
- connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. string - The ID of the Access Key.
- secret
This property is required. string - The Secret of the Access Key.
- connection_
string This property is required. str - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. str - The ID of the Access Key.
- secret
This property is required. str - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
GetConfigurationStoreSecondaryWriteKey
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- Connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- Id
This property is required. string - The ID of the Access Key.
- Secret
This property is required. string - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
- connection
String This property is required. string - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. string - The ID of the Access Key.
- secret
This property is required. string - The Secret of the Access Key.
- connection_
string This property is required. str - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. str - The ID of the Access Key.
- secret
This property is required. str - The Secret of the Access Key.
- connection
String This property is required. String - The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
- id
This property is required. String - The ID of the Access Key.
- secret
This property is required. String - The Secret of the Access Key.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.