configuration_stores
Creates, updates, deletes, gets or lists a configuration_stores
resource.
Overview
Name | configuration_stores |
Type | Resource |
Id | azure.app_configuration.configuration_stores |
Fields
- vw_configuration_stores
- configuration_stores
Name | Datatype | Description |
---|---|---|
configStoreName | text | field from the properties object |
create_mode | text | field from the properties object |
creation_date | text | field from the properties object |
data_plane_proxy | text | field from the properties object |
disable_local_auth | text | field from the properties object |
enable_purge_protection | text | field from the properties object |
encryption | text | field from the properties object |
endpoint | text | field from the properties object |
identity | text | An identity that can be associated with a resource. |
location | text | The geo-location where the resource lives |
private_endpoint_connections | text | field from the properties object |
provisioning_state | text | field from the properties object |
public_network_access | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sku | text | Describes a configuration store SKU. |
soft_delete_retention_in_days | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | An identity that can be associated with a resource. |
location | string | The geo-location where the resource lives |
properties | object | The properties of a configuration store. |
sku | object | Describes a configuration store SKU. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configStoreName, resourceGroupName, subscriptionId | Gets the properties of the specified configuration store. |
list | SELECT | subscriptionId | Lists the configuration stores for a given subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists the configuration stores for a given resource group. |
create | INSERT | configStoreName, resourceGroupName, subscriptionId, data__location, data__sku | Creates a configuration store with the specified parameters. |
delete | DELETE | configStoreName, resourceGroupName, subscriptionId | Deletes a configuration store. |
update | UPDATE | configStoreName, resourceGroupName, subscriptionId | Updates a configuration store with the specified parameters. |
purge_deleted | EXEC | configStoreName, location, subscriptionId | Permanently deletes the specified configuration store. |
regenerate_key | EXEC | configStoreName, resourceGroupName, subscriptionId | Regenerates an access key for the specified configuration store. |
SELECT
examples
Lists the configuration stores for a given subscription.
- vw_configuration_stores
- configuration_stores
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 }}';
SELECT
identity,
location,
properties,
sku,
systemData,
tags
FROM azure.app_configuration.configuration_stores
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new configuration_stores
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: identity
value:
- name: type
value: string
- name: userAssignedIdentities
value: object
- name: principalId
value: string
- name: tenantId
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: creationDate
value: string
- name: endpoint
value: string
- name: encryption
value:
- name: keyVaultProperties
value:
- name: keyIdentifier
value: string
- name: identityClientId
value: string
- name: privateEndpointConnections
value:
- - name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
- name: publicNetworkAccess
value: string
- name: disableLocalAuth
value: boolean
- name: softDeleteRetentionInDays
value: integer
- name: enablePurgeProtection
value: boolean
- name: dataPlaneProxy
value:
- name: authenticationMode
value: string
- name: privateLinkDelegation
value: string
- name: createMode
value: string
- name: sku
value:
- name: name
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';