CosmosGrainStorageOptions
class
Namespace: Orleans.Persistence.Cosmos
Options for Azure Cosmos DB grain persistence.
public class CosmosGrainStorageOptions : CosmosOptionsConstructors
CosmosGrainStorageOptionsInitializes a newCosmosGrainStorageOptionsinstance.
Properties
DeleteStateOnClearGets or sets a value indicating whether state should be deleted whenIStorageis called.InitStageStage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.PartitionKeyPathGets or sets the partition key path for the Cosmos DB container.StateFieldsToIndexList 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
DEFAULT_INIT_STAGEThe default silo lifecycle stage at which the storage provider is initialized.
