Class 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,
});
}
}
Inherited Members
Namespace: Pulumi.Azure.AppConfiguration
Assembly: Pulumi.Azure.dll
Syntax
public class ConfigurationStore : CustomResource
Constructors
View SourceConfigurationStore(String, ConfigurationStoreArgs, CustomResourceOptions)
Create a ConfigurationStore resource with the given unique name, arguments, and options.
Declaration
public ConfigurationStore(string name, ConfigurationStoreArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConfigurationStoreArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEndpoint
The URL of the App Configuration.
Declaration
public Output<string> Endpoint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the App Configuration. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrimaryReadKeys
A primary_read_key block as defined below containing the primary read access key.
Declaration
public Output<ImmutableArray<ConfigurationStorePrimaryReadKey>> PrimaryReadKeys { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ConfigurationStorePrimaryReadKey>> |
PrimaryWriteKeys
A primary_write_key block as defined below containing the primary write access key.
Declaration
public Output<ImmutableArray<ConfigurationStorePrimaryWriteKey>> PrimaryWriteKeys { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ConfigurationStorePrimaryWriteKey>> |
ResourceGroupName
The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecondaryReadKeys
A secondary_read_key block as defined below containing the secondary read access key.
Declaration
public Output<ImmutableArray<ConfigurationStoreSecondaryReadKey>> SecondaryReadKeys { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ConfigurationStoreSecondaryReadKey>> |
SecondaryWriteKeys
A secondary_write_key block as defined below containing the secondary write access key.
Declaration
public Output<ImmutableArray<ConfigurationStoreSecondaryWriteKey>> SecondaryWriteKeys { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ConfigurationStoreSecondaryWriteKey>> |
Sku
The SKU name of the the App Configuration. Possible values are free and standard.
Declaration
public Output<string> Sku { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, ConfigurationStoreState, CustomResourceOptions)
Get an existing ConfigurationStore resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ConfigurationStore Get(string name, Input<string> id, ConfigurationStoreState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConfigurationStoreState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ConfigurationStore |