Skip to main content

Definition

Assembly: CloudNimble.McpEssentials.Cosmos.dll Namespace: CloudNimble.McpEssentials.Cosmos.Tasks Inheritance: CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreOptions

Syntax

Summary

Registration knobs for CosmosMcpTaskStore.

Constructors

.ctor

Initializes a new instance with Cosmos defaults: no request-path sweep (McpTaskStoreOptions.AutoSweep is false). Cosmos expires documents from the ttl property.

Syntax

Properties

DatabaseId

Gets or sets the Cosmos database id.

Syntax

Property Value

Type: string The default is mcpessentials.

IndexContainerId

Gets or sets the index container id. Partition key is /id (the task id).

Syntax

Property Value

Type: string The default is McpTaskIndex.

TasksContainerId

Gets or sets the tasks container id. Partition key is /ownerUserId.

Syntax

Property Value

Type: string The default is McpTasks.

Throughput

Gets or sets the RU/s used when CosmosMcpTaskStore creates containers.

Syntax

Property Value

Type: System.Nullable<int> The default is 400. Set to null on serverless accounts (or pre-create the containers yourself).

Methods

ApplyTo Override

Syntax

Parameters