Skip to content

CosmosGrainStorageOptions

class

Namespace: Orleans.Persistence.Cosmos

Options for Azure Cosmos DB grain persistence.
public class CosmosGrainStorageOptions : CosmosOptions

Constructors

Properties

  • DeleteStateOnClear Gets or sets a value indicating whether state should be deleted when IStorage is called.
  • InitStage Stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.
  • PartitionKeyPath
  • StateFieldsToIndex List of JSON path strings. Each entry on this list represents a property in the State Object that will be included in the document index. The default is to not add any property in the State object.

Fields