Skip to main content

snapshots

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

Overview

Namesnapshots
TypeResource
Idazure.app_configuration.snapshots

Fields

NameDatatypeDescription
idtextThe resource ID.
nametextThe name of the snapshot.
composition_typetextfield from the properties object
configStoreNametextfield from the properties object
createdtextfield from the properties object
etagtextfield from the properties object
expirestextfield from the properties object
filterstextfield from the properties object
items_counttextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
retention_periodtextfield from the properties object
sizetextfield from the properties object
snapshotNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextfield from the properties object
typetextThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigStoreName, resourceGroupName, snapshotName, subscriptionIdGets the properties of the specified snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.
createINSERTconfigStoreName, resourceGroupName, snapshotName, subscriptionIdCreates a snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.

SELECT examples

Gets the properties of the specified snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.

SELECT
id,
name,
composition_type,
configStoreName,
created,
etag,
expires,
filters,
items_count,
provisioning_state,
resourceGroupName,
retention_period,
size,
snapshotName,
status,
subscriptionId,
tags,
type
FROM azure.app_configuration.vw_snapshots
WHERE configStoreName = '{{ configStoreName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND snapshotName = '{{ snapshotName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_configuration.snapshots (
configStoreName,
resourceGroupName,
snapshotName,
subscriptionId,
properties
)
SELECT
'{{ configStoreName }}',
'{{ resourceGroupName }}',
'{{ snapshotName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;