AclTokenType
SessionBehavior
If the release behavior is being used, any of the locks held in association with the session are released, and the ModifyIndex of the key is incremented. Alternatively, if the delete behavior is used, the key corresponding to any of the held locks is simply deleted. This can be used to create ephemeral entries that are automatically deleted by Consul.
Name |
Description |
- |
|
- |
TxnKVVerb
Name |
Description |
Sets the Key to the given Value |
|
Sets the Key to the given Value with check-and-set semantics. The Key will only be set if its current modify index matches the supplied Index |
|
Locks the Key with the given Session. The Key will only obtain the lock if the Session is valid, and no other session has it locked |
|
Unlocks the Key with the given Session. The Key will only release the lock if the Session is valid and currently has it locked |
|
Gets the Key during the transaction. This fails the transaction if the Key doesn't exist. The key may not be present in the results if ACLs do not permit it to be read |
|
Gets all keys with a prefix of Key during the transaction. This does not fail the transaction if the Key doesn't exist. Not all keys may be present in the results if ACLs do not permit them to be read |
|
Fails the transaction if Key does not have a modify index equal to Index |
|
Fails the transaction if Key is not currently locked by Session |
|
Deletes the Key |
|
Deletes all keys with a prefix ofKey |
|
Deletes the Key with check-and-set semantics. The Key will only be deleted if its current modify index matches the supplied Index |