Skip to main content

locks

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

Overview

Namelocks
TypeResource
Idazure.app_configuration_dataplane.locks

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
delete_lockdeletekey_name, config_store_namelabel, Sync-TokenUnlocks a key-value. Unlocks a key-value.
put_lockexeckey_name, config_store_namelabel, Sync-TokenLocks a key-value. Locks a key-value.

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: )
key_namestringThe key of the key-value to lock. Required.
Sync-TokenstringUsed to guarantee real-time consistency between requests. Default value is None.
labelstringThe label, if any, of the key-value to lock. Default value is None.

DELETE examples

Unlocks a key-value. Unlocks a key-value.

DELETE FROM azure.app_configuration_dataplane.locks
WHERE key_name = '{{ key_name }}' --required
AND config_store_name = '{{ config_store_name }}' --required
AND label = '{{ label }}'
AND Sync-Token = '{{ Sync-Token }}'
;

Lifecycle Methods

Locks a key-value. Locks a key-value.

EXEC azure.app_configuration_dataplane.locks.put_lock 
@key_name='{{ key_name }}' --required,
@config_store_name='{{ config_store_name }}' --required,
@label='{{ label }}',
@Sync-Token='{{ Sync-Token }}'
;