Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The configurationStores/keyValues resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2022-03-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
contentType: 'string'
tags: {
{customized property}: 'string'
}
value: 'string'
}
}
Property Values
Microsoft.AppConfiguration/configurationStores/keyValues
Name | Description | Value |
---|---|---|
name | The resource name | 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. | KeyValuePropertiesTags |
value | The value of the key-value. | string |
KeyValuePropertiesTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Create an App Configuration Store with Feature Flag | This template creates a new Azure App Configuration store with one feature flag. |
Create an App Configuration Store with Feature Flag | This template creates a new Azure App Configuration store with one Key Vault reference. |
Create an App Configuration Store with Outputs | This template creates a new Azure App Configuration store with two key-values. |
ARM template resource definition
The configurationStores/keyValues resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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": "2022-03-01-preview",
"name": "string",
"properties": {
"contentType": "string",
"tags": {
"{customized property}": "string"
},
"value": "string"
}
}
Property Values
Microsoft.AppConfiguration/configurationStores/keyValues
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2022-03-01-preview' |
name | The resource name | string (required) |
properties | All key-value properties. | KeyValueProperties |
type | The resource type | 'Microsoft.AppConfiguration/configurationStores/keyValues' |
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. | KeyValuePropertiesTags |
value | The value of the key-value. | string |
KeyValuePropertiesTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
App Configuration Key-Values |
This template creates a new Azure App Configuration store with three key-values controlled by a copy function. |
App Configuration with VM |
This template references existing key-value configurations from an existing config store and uses retrieved values to set properties of the resources the template creates. |
Create an App Configuration Store with Feature Flag |
This template creates a new Azure App Configuration store with one feature flag. |
Create an App Configuration Store with Feature Flag |
This template creates a new Azure App Configuration store with one Key Vault reference. |
Create an App Configuration Store with Outputs |
This template creates a new Azure App Configuration store with two key-values. |
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@2022-03-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
contentType = "string"
tags = {
{customized property} = "string"
}
value = "string"
}
}
}
Property Values
Microsoft.AppConfiguration/configurationStores/keyValues
Name | Description | Value |
---|---|---|
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 |
type | The resource type | "Microsoft.AppConfiguration/configurationStores/keyValues@2022-03-01-preview" |
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. | KeyValuePropertiesTags |
value | The value of the key-value. | string |
KeyValuePropertiesTags
Name | Description | Value |
---|