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
new ConfigurationStore(name: string, args: ConfigurationStoreArgs, opts?: CustomResourceOptions);def ConfigurationStore(resource_name, opts=None, location=None, name=None, resource_group_name=None, sku=None, tags=None, __props__=None);func NewConfigurationStore(ctx *Context, name string, args ConfigurationStoreArgs, opts ...ResourceOption) (*ConfigurationStore, error)public ConfigurationStore(string name, ConfigurationStoreArgs args, CustomResourceOptions? opts = null)- 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:
- Resource
Group stringName 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
freeandstandard.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Resource
Group stringName 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
freeandstandard.- map[string]string
A mapping of tags to assign to the resource.
- resource
Group stringName 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
freeandstandard.- {[key: string]: string}
A mapping of tags to assign to the resource.
- resource_
group_ strname 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
freeandstandard.- 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.
- Primary
Read List<ConfigurationKeys Store Primary Read Key> A
primary_read_keyblock as defined below containing the primary read access key.- Primary
Write List<ConfigurationKeys Store Primary Write Key> A
primary_write_keyblock as defined below containing the primary write access key.- Secondary
Read List<ConfigurationKeys Store Secondary Read Key> A
secondary_read_keyblock as defined below containing the secondary read access key.- Secondary
Write List<ConfigurationKeys Store Secondary Write Key> A
secondary_write_keyblock 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.
- Primary
Read []ConfigurationKeys Store Primary Read Key A
primary_read_keyblock as defined below containing the primary read access key.- Primary
Write []ConfigurationKeys Store Primary Write Key A
primary_write_keyblock as defined below containing the primary write access key.- Secondary
Read []ConfigurationKeys Store Secondary Read Key A
secondary_read_keyblock as defined below containing the secondary read access key.- Secondary
Write []ConfigurationKeys Store Secondary Write Key A
secondary_write_keyblock 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.
- primary
Read ConfigurationKeys Store Primary Read Key[] A
primary_read_keyblock as defined below containing the primary read access key.- primary
Write ConfigurationKeys Store Primary Write Key[] A
primary_write_keyblock as defined below containing the primary write access key.- secondary
Read ConfigurationKeys Store Secondary Read Key[] A
secondary_read_keyblock as defined below containing the secondary read access key.- secondary
Write ConfigurationKeys Store Secondary Write Key[] A
secondary_write_keyblock 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_ List[Configurationkeys Store Primary Read Key] A
primary_read_keyblock as defined below containing the primary read access key.- primary_
write_ List[Configurationkeys Store Primary Write Key] A
primary_write_keyblock as defined below containing the primary write access key.- secondary_
read_ List[Configurationkeys Store Secondary Read Key] A
secondary_read_keyblock as defined below containing the secondary read access key.- secondary_
write_ List[Configurationkeys Store Secondary Write Key] A
secondary_write_keyblock 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): ConfigurationStorestatic 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.
- Primary
Read List<ConfigurationKeys Store Primary Read Key Args> A
primary_read_keyblock as defined below containing the primary read access key.- Primary
Write List<ConfigurationKeys Store Primary Write Key Args> A
primary_write_keyblock as defined below containing the primary write access key.- Resource
Group stringName The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.
- Secondary
Read List<ConfigurationKeys Store Secondary Read Key Args> A
secondary_read_keyblock as defined below containing the secondary read access key.- Secondary
Write List<ConfigurationKeys Store Secondary Write Key Args> A
secondary_write_keyblock as defined below containing the secondary write access key.- Sku string
The SKU name of the the App Configuration. Possible values are
freeandstandard.- 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.
- Primary
Read []ConfigurationKeys Store Primary Read Key A
primary_read_keyblock as defined below containing the primary read access key.- Primary
Write []ConfigurationKeys Store Primary Write Key A
primary_write_keyblock as defined below containing the primary write access key.- Resource
Group stringName The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.
- Secondary
Read []ConfigurationKeys Store Secondary Read Key A
secondary_read_keyblock as defined below containing the secondary read access key.- Secondary
Write []ConfigurationKeys Store Secondary Write Key A
secondary_write_keyblock as defined below containing the secondary write access key.- Sku string
The SKU name of the the App Configuration. Possible values are
freeandstandard.- 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.
- primary
Read ConfigurationKeys Store Primary Read Key[] A
primary_read_keyblock as defined below containing the primary read access key.- primary
Write ConfigurationKeys Store Primary Write Key[] A
primary_write_keyblock as defined below containing the primary write access key.- resource
Group stringName The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.
- secondary
Read ConfigurationKeys Store Secondary Read Key[] A
secondary_read_keyblock as defined below containing the secondary read access key.- secondary
Write ConfigurationKeys Store Secondary Write Key[] A
secondary_write_keyblock as defined below containing the secondary write access key.- sku string
The SKU name of the the App Configuration. Possible values are
freeandstandard.- {[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_ List[Configurationkeys Store Primary Read Key] A
primary_read_keyblock as defined below containing the primary read access key.- primary_
write_ List[Configurationkeys Store Primary Write Key] A
primary_write_keyblock as defined below containing the primary write access key.- resource_
group_ strname The name of the resource group in which to create the App Configuration. Changing this forces a new resource to be created.
- secondary_
read_ List[Configurationkeys Store Secondary Read Key] A
secondary_read_keyblock as defined below containing the secondary read access key.- secondary_
write_ List[Configurationkeys Store Secondary Write Key] A
secondary_write_keyblock as defined below containing the secondary write access key.- sku str
The SKU name of the the App Configuration. Possible values are
freeandstandard.- 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.
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.
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.
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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.