# CosmosOptions

Package: [Microsoft.Orleans.Reminders.Cosmos](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Reminders.Cosmos) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Shared/Cosmos/CosmosOptions.cs#L22)

```csharp
public abstract class CosmosOptions
```

Options for Azure Cosmos DB storage.

## Properties

- [CleanResourcesOnInitialization](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/cleanresourcesoninitialization-aa8c8bbf/)
- [ClientOptions](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/clientoptions-84c7ca84/)
- [ContainerName](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/containername-8bb7fa81/)
- [ContainerThroughputProperties](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/containerthroughputproperties-5f3f0cd0/)
- [DatabaseName](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/databasename-5e20a791/)
- [DatabaseThroughput](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/databasethroughput-9765422d/)
- [IsResourceCreationEnabled](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/isresourcecreationenabled-fc4203aa/)
- [OperationExecutor](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/properties/operationexecutor-def04409/)

## Methods

- [ConfigureCosmosClient(Func&lt;IServiceProvider, ValueTask&lt;CosmosClient&gt;&gt;)](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/methods/configurecosmosclient-system-func-system-iserviceprovider-system-threading-tasks-c002f269/)
- [ConfigureCosmosClient(string, AzureKeyCredential)](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/methods/configurecosmosclient-string-azure-azurekeycredential-782d5798/)
- [ConfigureCosmosClient(string, TokenCredential)](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/methods/configurecosmosclient-string-azure-core-tokencredential-31411203/)
- [ConfigureCosmosClient(string, string)](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/methods/configurecosmosclient-string-string-b4d45115/)
- [ConfigureCosmosClient(string)](/orleans/docs/api/csharp/microsoft.orleans.reminders.cosmos/orleans.reminders.cosmos.cosmosoptions/methods/configurecosmosclient-string-b6dc50ea/)
