Azure Classic
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/v5/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
})
}
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()));
}
}
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);
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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: azure:appconfiguration/getConfigurationStore:getConfigurationStore
Arguments:
# Arguments dictionary
The following arguments are supported:
- Name string
The Name of this App Configuration.
- Resource
Group stringName The name of the Resource Group where the App Configuration exists.
- Name string
The Name of this App Configuration.
- Resource
Group stringName The name of the Resource Group where the App Configuration exists.
- name String
The Name of this App Configuration.
- resource
Group StringName The name of the Resource Group where the App Configuration exists.
- name string
The Name of this App Configuration.
- resource
Group stringName The name of the Resource Group where the App Configuration exists.
- name str
The Name of this App Configuration.
- resource_
group_ strname The name of the Resource Group where the App Configuration exists.
- name String
The Name of this App Configuration.
- resource
Group StringName 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
- 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.- 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.
- 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
- 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.- 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.
- 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
- 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.- 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.
- 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
- 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.- 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.
- {[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_ 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.- 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.
- Mapping[str, str]
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
- 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.- 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.
- Map<String>
A mapping of tags assigned to the App Configuration.
Supporting Types
GetConfigurationStorePrimaryReadKey
- Connection
String 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 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 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 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.
- connection
String 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.
GetConfigurationStorePrimaryWriteKey
- Connection
String 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 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 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 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.
- connection
String 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.
GetConfigurationStoreSecondaryReadKey
- Connection
String 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 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 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 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.
- connection
String 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.
GetConfigurationStoreSecondaryWriteKey
- Connection
String 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 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 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 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.
- connection
String 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.