Skip to content

CosmosOptions Properties

Options for Azure Cosmos DB storage.

ContainerName

getset
View source
public string ContainerName
The name of the container to use to store clustering information.

ContainerThroughputProperties

getset
View source
public ThroughputProperties? ContainerThroughputProperties
Throughput properties for containers. The default value is null, which indicates that the serverless throughput mode will be used.

DatabaseName

getset
View source
public string DatabaseName
The name of the database to use for clustering information. Defaults to Orleans.

DatabaseThroughput

getset
View source
public int? DatabaseThroughput
Database configured throughput. If set to null, which is the default value, it will not be configured.

IsResourceCreationEnabled

getset
View source
public bool IsResourceCreationEnabled
Tries to create the database and container used for clustering if it does not exist. Defaults to false.

OperationExecutor

getset
View source
public ICosmosOperationExecutor OperationExecutor
The operation executor used to execute operations using the Cosmos DB client.