Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[app-configuration-store-kv] update api versions and add outputs #13938

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ products:
- azure-resource-manager
urlFragment: app-configuration-store-kv
languages:
- json
- bicep
- json
---
# Create an App Configuration Store with Outputs

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ param tags object = {
tag2: 'tag-value-2'
}

resource configStore 'Microsoft.AppConfiguration/configurationStores@2021-10-01-preview' = {
resource configStore 'Microsoft.AppConfiguration/configurationStores@2023-08-01-preview' = {
name: configStoreName
location: location
sku: {
name: 'standard'
}
}

resource configStoreKeyValue 'Microsoft.AppConfiguration/configurationStores/keyValues@2021-10-01-preview' = [for (item, i) in keyValueNames: {
resource configStoreKeyValue 'Microsoft.AppConfiguration/configurationStores/keyValues@2023-08-01-preview' = [for (item, i) in keyValueNames: {
parent: configStore
name: item
properties: {
Expand All @@ -43,5 +43,10 @@ resource configStoreKeyValue 'Microsoft.AppConfiguration/configurationStores/key
}
}]

output location string = location
output name string = configStore.name
output resourceGroupName string = resourceGroup().name
output resourceId string = configStore.id
output systemAssignedMIPrincipalId string = configStore.identity.principalId
output reference_key_value_value string = configStoreKeyValue[0].properties.value
output reference_key_value_object object = configStoreKeyValue[1]

Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"summary": "This template creates a new Azure App Configuration store with two key-values.",
"githubUsername": "ZhijunZhao",
"docOwner": "ZhijunZhao",
"dateUpdated": "2022-03-17"
"dateUpdated": "2024-04-02"
}