revisions
Creates, updates, deletes, gets or lists a revisions resource.
Overview
| Name | revisions |
| Type | Resource |
| Id | azure.app_configuration_dataplane.revisions |
Fields
The following fields are returned by SELECT queries:
- get_revisions
| Name | Datatype | Description |
|---|---|---|
content_type | string | The content type of the value stored within the key-value. |
description | string | The description of the key-value. |
etag | string | A value representing the current state of the resource. |
key | string | The key of the key-value. Required. |
label | string | The label the key-value belongs to. |
last_modified | string (date-time) | A date representing the last time the key-value was modified. |
locked | boolean | Indicates whether the key-value is locked. |
tags | object | The tags of the key-value. |
value | string | The value of the key-value. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_revisions | select | config_store_name | key, label, Sync-Token, After, Accept-Datetime, $Select | Gets 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.
| Name | Datatype | Description |
|---|---|---|
config_store_name | string | App Configuration store name. (default: ) |
$Select | array | Used to select what fields are present in the returned resource(s). Default value is None. |
Accept-Datetime | string | Requests the server to respond with the state of the resource at the specified time. Default value is None. |
After | string | Instructs the server to return elements that appear after the element referred to by the specified token. Default value is None. |
Sync-Token | string | Used to guarantee real-time consistency between requests. Default value is None. |
key | string | A filter used to match keys. Syntax reference: https://aka.ms/azconfig/docs/restapirevisions _. Default value is None. |
label | string | A filter used to match labels. Syntax reference: https://aka.ms/azconfig/docs/restapirevisions _. Default value is None. |
SELECT examples
- get_revisions
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 }}'
;