Sprog

StateStore Class

Definition

A first-class, explicitly-created durable key-value store.

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 in Unix epoch seconds.

Description

Gets the optional free-form description.

Id

Server-assigned, read-only identifier.

ItemTtlSeconds

Store-wide default TTL in seconds.

Name

Caller-chosen logical name.

Object

The wire object type.

Tags

Optional string-to-string labels.

UpdatedAt

Last metadata-update time in Unix epoch seconds.

UserIsolation

Whether item operations are partitioned per resolved user.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(ClientResult to StateStore)

Explicit Interface Implementations

Name Description
IJsonModel<StateStore>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<StateStore>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<StateStore>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<StateStore>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<StateStore>.Write(ModelReaderWriterOptions)

Applies to