Skip to content

CosmosOptions

class

Namespace: Orleans.Clustering.Cosmos

Options for Azure Cosmos DB storage.
public abstract class CosmosOptions

Properties

  • CleanResourcesOnInitialization Delete the database on initialization. Intended only for testing scenarios.
  • ClientOptions The options passed to the Cosmos DB client.
  • ContainerName The name of the container to use to store clustering information.
  • ContainerThroughputProperties Throughput properties for containers. The default value is null, which indicates that the serverless throughput mode will be used.
  • DatabaseName The name of the database to use for clustering information. Defaults to Orleans.
  • DatabaseThroughput Database configured throughput. If set to null, which is the default value, it will not be configured.
  • IsResourceCreationEnabled Tries to create the database and container used for clustering if it does not exist. Defaults to false.
  • OperationExecutor The operation executor used to execute operations using the Cosmos DB client.

Methods