# Aspire.Hosting.DocumentDB

- Package: `Aspire.Hosting.DocumentDB`
- Version: `0.111.0`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/azure-databases-aspire/tree/d8d44d4322ce04a98c27e15113a2ecacf12152d8//home/runner/work/azure-databases-aspire/azure-databases-aspire/src/Aspire.Hosting.DocumentDB)
- NuGet: [Aspire.Hosting.DocumentDB](https://www.nuget.org/packages/Aspire.Hosting.DocumentDB)

## Namespaces

### Aspire.Hosting

- [DocumentDBBuilderExtensions](/reference/api/csharp/aspire.hosting.documentdb/documentdbbuilderextensions.md) -- `class` `static` -- Provides extension methods for adding DocumentDB resources to an `Hosting.IDistributedApplicationBuilder`.
- [DocumentDBLogLevel](/reference/api/csharp/aspire.hosting.documentdb/documentdbloglevel.md) -- `enum` -- Represents the supported DocumentDB Local container log levels.

### Aspire.Hosting.ApplicationModel

- [DocumentDBDatabaseResource](/reference/api/csharp/aspire.hosting.documentdb/documentdbdatabaseresource.md) -- `class` -- A resource that represents a DocumentDB database. This is a child resource of a [DocumentDBServerResource](/reference/api/csharp/aspire.hosting.documentdb/documentdbserverresource.md).
- [DocumentDBPostgresVersion](/reference/api/csharp/aspire.hosting.documentdb/documentdbpostgresversion.md) -- `enum` -- Selects which PostgreSQL major version of the `documentdb-local` container image to use.
- [DocumentDBServerResource](/reference/api/csharp/aspire.hosting.documentdb/documentdbserverresource.md) -- `class` -- A resource that represents a DocumentDB container.
- [DocumentDBVersion](/reference/api/csharp/aspire.hosting.documentdb/documentdbversion.md) -- `enum` -- Curated set of DocumentDB versions known to this build of the package. Each member maps to a published `documentdb-local` container tag of the form `pgN-X.Y.Z`.
- [DocumentDBVersions](/reference/api/csharp/aspire.hosting.documentdb/documentdbversions.md) -- `class` `static` -- String constants and lookup helpers for the DocumentDB versions known to this build of the package.
