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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
azureFrontDoorobjectProperty specifying the configuration of Azure Front Door for this configuration store.
createModestringIndicates whether the configuration store need to be recovered. Known values are: "Recover" and "Default". (Recover, Default)
creationDatestring (date-time)The creation date of configuration store.
dataPlaneProxyobjectProperty specifying the configuration of data plane proxy for Azure Resource Manager (ARM).
defaultKeyValueRevisionRetentionPeriodInSecondsintegerThe duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores.
disableLocalAuthbooleanDisables all authentication methods other than AAD authentication.
enablePurgeProtectionbooleanProperty specifying whether protection against purge is enabled for this configuration store.
encryptionobjectThe encryption settings of the configuration store.
endpointstringThe DNS endpoint where the configuration store API will be available.
identityobjectThe managed identity information, if configured.
locationstringThe geo-location where the resource lives. Required.
managedOnBehalfOfConfigurationobjectManaged On Behalf Of Configuration.
privateEndpointConnectionsarrayThe list of private endpoint connections that are set up for this resource.
provisioningStatestringThe provisioning state of the configuration store. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". (Creating, Updating, Deleting, Succeeded, Failed, Canceled)
publicNetworkAccessstringControl permission for data plane traffic coming from public networks while private endpoint is enabled. Known values are: "Enabled", "Disabled", and "SecuredByPerimeter". (Enabled, Disabled, SecuredByPerimeter)
skuobjectThe sku of the configuration store. Required.
softDeleteRetentionInDaysintegerThe amount of time in days that the configuration store will be retained when it is soft deleted.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
telemetryobjectProperty specifying the configuration of telemetry for this configuration store.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, config_store_name, subscription_idGets the properties of the specified configuration store.
get_deletedselectlocation, config_store_name, subscription_idGets a deleted Azure app configuration store.
list_by_resource_groupselectresource_group_name, subscription_id$skipTokenLists the configuration stores for a given resource group.
listselectsubscription_id$skipTokenLists the configuration stores for a given subscription.
createinsertresource_group_name, config_store_name, subscription_id, location, skuCreates a configuration store with the specified parameters.
updateupdateresource_group_name, config_store_name, subscription_idUpdates a configuration store with the specified parameters.
deletedeleteresource_group_name, config_store_name, subscription_idDeletes a configuration store.
list_keysexecresource_group_name, config_store_name, subscription_id$skipTokenLists the access key for the specified configuration store.
list_deletedexecsubscription_idGets information about the deleted configuration stores in a subscription.
regenerate_keyexecresource_group_name, config_store_name, subscription_idRegenerates an access key for the specified configuration store.
purge_deletedexeclocation, config_store_name, subscription_idPermanently deletes the specified configuration store.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
config_store_namestringThe name of the configuration store. Required.
locationstringThe name of the Azure region. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$skipTokenstringA skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. Default value is None.

SELECT examples

Gets the properties of the specified configuration store.

SELECT
id,
name,
azureFrontDoor,
createMode,
creationDate,
dataPlaneProxy,
defaultKeyValueRevisionRetentionPeriodInSeconds,
disableLocalAuth,
enablePurgeProtection,
encryption,
endpoint,
identity,
location,
managedOnBehalfOfConfiguration,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
sku,
softDeleteRetentionInDays,
systemData,
tags,
telemetry,
type
FROM azure.app_configuration.configuration_stores
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND config_store_name = '{{ config_store_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates a configuration store with the specified parameters.

INSERT INTO azure.app_configuration.configuration_stores (
tags,
location,
properties,
identity,
sku,
resource_group_name,
config_store_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ identity }}',
'{{ sku }}' /* required */,
'{{ resource_group_name }}',
'{{ config_store_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

Updates a configuration store with the specified parameters.

UPDATE azure.app_configuration.configuration_stores
SET
properties = '{{ properties }}',
identity = '{{ identity }}',
sku = '{{ sku }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND config_store_name = '{{ config_store_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Deletes a configuration store.

DELETE FROM azure.app_configuration.configuration_stores
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND config_store_name = '{{ config_store_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Lists the access key for the specified configuration store.

EXEC azure.app_configuration.configuration_stores.list_keys 
@resource_group_name='{{ resource_group_name }}' --required,
@config_store_name='{{ config_store_name }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@$skipToken='{{ $skipToken }}'
;