Microsoft.AppConfiguration configurationStores/keyValues 2021-03-01-preview

Bicep resource definition

The configurationStores/keyValues resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AppConfiguration/configurationStores/keyValues resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AppConfiguration/configurationStores/keyValues@2021-03-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    contentType: 'string'
    tags: {}
    value: 'string'
  }
}

Property values

configurationStores/keyValues

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: configurationStores
properties All key-value properties. KeyValueProperties

KeyValueProperties

Name Description Value
contentType The content type of the key-value's value.
Providing a proper content-type can enable transformations of values when they are retrieved by applications.
string
tags A dictionary of tags that can help identify what a key-value may be applicable for. object
value The value of the key-value. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create an App Configuration Store with Feature Flag

Deploy to Azure
This template creates a new Azure App Configuration store with one feature flag.
Create an App Configuration Store with Feature Flag

Deploy to Azure
This template creates a new Azure App Configuration store with one Key Vault reference.
Create an App Configuration Store with Outputs

Deploy to Azure
This template creates a new Azure App Configuration store with two key-values.
App Configuration Key-Values

Deploy to Azure
This template creates a new Azure App Configuration store with three key-values controlled by a copy function.

ARM template resource definition

The configurationStores/keyValues resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AppConfiguration/configurationStores/keyValues resource, add the following JSON to your template.

{
  "type": "Microsoft.AppConfiguration/configurationStores/keyValues",
  "apiVersion": "2021-03-01-preview",
  "name": "string",
  "properties": {
    "contentType": "string",
    "tags": {},
    "value": "string"
  }
}

Property values

configurationStores/keyValues

Name Description Value
type The resource type 'Microsoft.AppConfiguration/configurationStores/keyValues'
apiVersion The resource api version '2021-03-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
properties All key-value properties. KeyValueProperties

KeyValueProperties

Name Description Value
contentType The content type of the key-value's value.
Providing a proper content-type can enable transformations of values when they are retrieved by applications.
string
tags A dictionary of tags that can help identify what a key-value may be applicable for. object
value The value of the key-value. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create an App Configuration Store with Feature Flag

Deploy to Azure
This template creates a new Azure App Configuration store with one feature flag.
Create an App Configuration Store with Feature Flag

Deploy to Azure
This template creates a new Azure App Configuration store with one Key Vault reference.
Create an App Configuration Store with Outputs

Deploy to Azure
This template creates a new Azure App Configuration store with two key-values.
App Configuration Key-Values

Deploy to Azure
This template creates a new Azure App Configuration store with three key-values controlled by a copy function.

Terraform (AzAPI provider) resource definition

The configurationStores/keyValues resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AppConfiguration/configurationStores/keyValues resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppConfiguration/configurationStores/keyValues@2021-03-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      contentType = "string"
      tags = {}
      value = "string"
    }
  })
}

Property values

configurationStores/keyValues

Name Description Value
type The resource type "Microsoft.AppConfiguration/configurationStores/keyValues@2021-03-01-preview"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: configurationStores
properties All key-value properties. KeyValueProperties

KeyValueProperties

Name Description Value
contentType The content type of the key-value's value.
Providing a proper content-type can enable transformations of values when they are retrieved by applications.
string
tags A dictionary of tags that can help identify what a key-value may be applicable for. object
value The value of the key-value. string