Skip to main content

configuration_stores

Creates, updates, deletes, gets or lists a configuration_stores resource.

Overview

Nameconfiguration_stores
TypeResource
Idazure.app_configuration.configuration_stores

Fields

NameDatatypeDescription
configStoreNametextfield from the properties object
create_modetextfield from the properties object
creation_datetextfield from the properties object
data_plane_proxytextfield from the properties object
disable_local_authtextfield from the properties object
enable_purge_protectiontextfield from the properties object
encryptiontextfield from the properties object
endpointtextfield from the properties object
identitytextAn identity that can be associated with a resource.
locationtextThe geo-location where the resource lives
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
public_network_accesstextfield from the properties object
resourceGroupNametextfield from the properties object
skutextDescribes a configuration store SKU.
soft_delete_retention_in_daystextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigStoreName, resourceGroupName, subscriptionIdGets the properties of the specified configuration store.
listSELECTsubscriptionIdLists the configuration stores for a given subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists the configuration stores for a given resource group.
createINSERTconfigStoreName, resourceGroupName, subscriptionId, data__location, data__skuCreates a configuration store with the specified parameters.
deleteDELETEconfigStoreName, resourceGroupName, subscriptionIdDeletes a configuration store.
updateUPDATEconfigStoreName, resourceGroupName, subscriptionIdUpdates a configuration store with the specified parameters.
purge_deletedEXECconfigStoreName, location, subscriptionIdPermanently deletes the specified configuration store.
regenerate_keyEXECconfigStoreName, resourceGroupName, subscriptionIdRegenerates an access key for the specified configuration store.

SELECT examples

Lists the configuration stores for a given subscription.

SELECT
configStoreName,
create_mode,
creation_date,
data_plane_proxy,
disable_local_auth,
enable_purge_protection,
encryption,
endpoint,
identity,
location,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
sku,
soft_delete_retention_in_days,
subscriptionId,
system_data,
tags
FROM azure.app_configuration.vw_configuration_stores
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new configuration_stores resource.

/*+ create */
INSERT INTO azure.app_configuration.configuration_stores (
configStoreName,
resourceGroupName,
subscriptionId,
data__location,
data__sku,
tags,
location,
identity,
properties,
sku,
systemData
)
SELECT
'{{ configStoreName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__sku }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ properties }}',
'{{ sku }}',
'{{ systemData }}'
;

UPDATE example

Updates a configuration_stores resource.

/*+ update */
UPDATE azure.app_configuration.configuration_stores
SET
properties = '{{ properties }}',
identity = '{{ identity }}',
sku = '{{ sku }}',
tags = '{{ tags }}'
WHERE
configStoreName = '{{ configStoreName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified configuration_stores resource.

/*+ delete */
DELETE FROM azure.app_configuration.configuration_stores
WHERE configStoreName = '{{ configStoreName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';