StateStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A first-class, explicitly-created durable key-value store (spec §2, §4.1).
public class StateStore : System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Core.Storage.StateStore>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Core.Storage.StateStore>
type StateStore = class
interface IJsonModel<StateStore>
interface IPersistableModel<StateStore>
Public Class StateStore
Implements IJsonModel(Of StateStore), IPersistableModel(Of StateStore)
- Inheritance
-
StateStore
- Implements
Properties
| Name | Description |
|---|---|
| CreatedAt |
Creation time. |
| Description |
Optional free-form description. Mutable via |
| Id |
Server-assigned, read-only. Not used for addressing (the |
| ItemTtlSeconds |
Store-wide default TTL (seconds) inherited by every item, write-sliding per item. |
| Name |
Caller-chosen logical name. Unique within [project_id, agent_guid]. May contain |
| Object |
Always |
| Tags |
Optional string-to-string labels. Mutable (replaced wholesale) via |
| UpdatedAt |
Last metadata-update time. |
| UserIsolation |
Whether item operations are partitioned per resolved user (spec §3). Omitted at create -> |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to StateStore) | |