CosmosCheckpointStore 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.
Provides a non-generic Cosmos DB implementation of the JsonCheckpointStore abstract class.
public sealed class CosmosCheckpointStore : Microsoft.Agents.AI.Workflows.Checkpointing.CosmosCheckpointStore<System.Text.Json.JsonElement>
type CosmosCheckpointStore = class
inherit CosmosCheckpointStore<JsonElement>
Public NotInheritable Class CosmosCheckpointStore
Inherits CosmosCheckpointStore(Of JsonElement)
- Inheritance
Constructors
| Name | Description |
|---|---|
| CosmosCheckpointStore(CosmosClient, String, String) |
Initializes a new instance of the CosmosCheckpointStore<T> class using an existing CosmosClient. |
| CosmosCheckpointStore(String, String, String) |
Initializes a new instance of the CosmosCheckpointStore<T> class using a connection string. |
| CosmosCheckpointStore(String, TokenCredential, String, String) |
Initializes a new instance of the CosmosCheckpointStore<T> class using a TokenCredential for authentication. |
Properties
| Name | Description |
|---|---|
| ContainerId |
Gets the identifier of the Cosmos DB container. (Inherited from CosmosCheckpointStore<T>) |
| DatabaseId |
Gets the identifier of the Cosmos DB database. (Inherited from CosmosCheckpointStore<T>) |
Methods
| Name | Description |
|---|---|
| CreateCheckpointAsync(String, JsonElement, CheckpointInfo) | (Inherited from CosmosCheckpointStore<T>) |
| Dispose() | (Inherited from CosmosCheckpointStore<T>) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the CosmosCheckpointStore<T> and optionally releases the managed resources. (Inherited from CosmosCheckpointStore<T>) |
| RetrieveCheckpointAsync(String, CheckpointInfo) | (Inherited from CosmosCheckpointStore<T>) |
| RetrieveIndexAsync(String, CheckpointInfo) | (Inherited from CosmosCheckpointStore<T>) |