Skip to main content

revisions

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

Overview

Namerevisions
TypeResource
Idazure.app_configuration_dataplane.revisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
content_typestringThe content type of the value stored within the key-value.
descriptionstringThe description of the key-value.
etagstringA value representing the current state of the resource.
keystringThe key of the key-value. Required.
labelstringThe label the key-value belongs to.
last_modifiedstring (date-time)A date representing the last time the key-value was modified.
lockedbooleanIndicates whether the key-value is locked.
tagsobjectThe tags of the key-value.
valuestringThe value of the key-value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_revisionsselectconfig_store_namekey, label, Sync-Token, After, Accept-Datetime, $SelectGets a list of key-value revisions. Gets a list of key-value revisions.

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_namestringApp Configuration store name. (default: )
$SelectarrayUsed to select what fields are present in the returned resource(s). Default value is None.
Accept-DatetimestringRequests the server to respond with the state of the resource at the specified time. Default value is None.
AfterstringInstructs the server to return elements that appear after the element referred to by the specified token. Default value is None.
Sync-TokenstringUsed to guarantee real-time consistency between requests. Default value is None.
keystringA filter used to match keys. Syntax reference: https://aka.ms/azconfig/docs/restapirevisions _. Default value is None.
labelstringA filter used to match labels. Syntax reference: https://aka.ms/azconfig/docs/restapirevisions _. Default value is None.

SELECT examples

Gets a list of key-value revisions. Gets a list of key-value revisions.

SELECT
content_type,
description,
etag,
key,
label,
last_modified,
locked,
tags,
value
FROM azure.app_configuration_dataplane.revisions
WHERE config_store_name = '{{ config_store_name }}' -- required
AND key = '{{ key }}'
AND label = '{{ label }}'
AND Sync-Token = '{{ Sync-Token }}'
AND After = '{{ After }}'
AND Accept-Datetime = '{{ Accept-Datetime }}'
AND $Select = '{{ $Select }}'
;