Class StateStoreSetRequestOptions
- Namespace
- Azure.Iot.Operations.Services.StateStore
- Assembly
- Azure.Iot.Operations.Services.dll
The optional parameters for a Set request to the State Store
public class StateStoreSetRequestOptions
- Inheritance
-
StateStoreSetRequestOptions
- Inherited Members
Properties
Condition
The condition by which this operation will execute. By default, it will execute unconditionally.
public SetCondition Condition { get; set; }
Property Value
ExpiryTime
How long this new value will last in the State Store. If null, the value will never expire.
public TimeSpan? ExpiryTime { get; set; }
Property Value
Remarks
This value only has millisecond-level precision.
FencingToken
The optional fencing token to include in the request.
public HybridLogicalClock? FencingToken { get; set; }
Property Value
PersistEntry
If true, the AIO state store will persist this key-value entry.
public bool PersistEntry { get; set; }
Property Value
Remarks
If a persisted key-value entry is deleted with DeleteAsync(StateStoreKey, StateStoreDeleteRequestOptions?, TimeSpan?, CancellationToken), its persistence will also be deleted automatically by the state store.