AspireMicrosoftAzureCosmosExtensions
AddAzureCosmosClient(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddAzureCosmosClient(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
AddAzureCosmosContainer(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddAzureCosmosContainer(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
AddAzureCosmosDatabase(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddAzureCosmosDatabase(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
AddKeyedAzureCosmosClient(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddKeyedAzureCosmosClient(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
AddKeyedAzureCosmosContainer(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddKeyedAzureCosmosContainer(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
AddKeyedAzureCosmosDatabase(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<CosmosClientOptions>)
AddKeyedAzureCosmosDatabase(IHostApplicationBuilder, String, Action<MicrosoftAzureCosmosSettings>, Action<IServiceProvider, CosmosClientOptions>)
net11.0
namespace Microsoft.Extensions.Hosting
{
public static class AspireMicrosoftAzureCosmosExtensions
{
public static void AddKeyedAzureCosmosContainer(this IHostApplicationBuilder! builder, string! name, Action<MicrosoftAzureCosmosSettings!>? configureSettings = null, Action<IServiceProvider!, CosmosClientOptions!>? configureClientOptions = null);
}
}
| .NET | 10.011.0 |
|---|---|
Information specific to net11.0 | |
| Assembly | Aspire.Microsoft.Azure.Cosmos , Version=17.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
| Referencing | Your project needs a package reference to |
| Package | Aspire.Microsoft.Azure.Cosmos (17.0.0-preview.1.26526.2) net11.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API