CosmosOptions
class
Namespace: Orleans.Reminders.Cosmos
Options for Azure Cosmos DB storage.
public abstract class CosmosOptionsProperties
CleanResourcesOnInitializationDelete the database on initialization. Intended only for testing scenarios.ClientOptionsThe options passed to the Cosmos DB client.ContainerNameThe name of the container to use to store clustering information.ContainerThroughputPropertiesThroughput properties for containers. The default value isnull, which indicates that the serverless throughput mode will be used.DatabaseNameThe name of the database to use for clustering information. Defaults toOrleans.DatabaseThroughputDatabase configured throughput. If set tonull, which is the default value, it will not be configured.IsResourceCreationEnabledTries to create the database and container used for clustering if it does not exist. Defaults tofalse.OperationExecutorThe operation executor used to execute operations using the Cosmos DB client.
Methods
ConfigureCosmosClient(Func<IServiceProvider, ValueTask<CosmosClient>>)Configures the Cosmos DB client.ConfigureCosmosClient(string, AzureKeyCredential)Configures the Cosmos DB client.ConfigureCosmosClient(string, TokenCredential)Configures the Cosmos DB client.ConfigureCosmosClient(string, string)Configures the Cosmos DB client.ConfigureCosmosClient(string)Configures the Cosmos DB client.
