net11.0
namespace Microsoft.Extensions.Hosting
{
    public static class AspireMicrosoftAzureCosmosExtensions
    {
        public static void AddKeyedAzureCosmosClient(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 Aspire.Microsoft.Azure.Cosmos.

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