Skip to content
Docs Try Aspire
Docs Try

DocumentDBVersion

Enum net10.0
📦 Aspire.Hosting.DocumentDB v0.111.0
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.
namespace Aspire.Hosting.ApplicationModel;
public enum DocumentDBVersion

This enum is append-only. Members are added by the check-documentdb-version workflow when a new upstream version is published. Existing members and their explicit numeric values must never be renamed, removed, or reordered, as that would be a binary breaking change for callers compiled against earlier versions of this package. Members that should no longer be used are marked ObsoleteAttribute rather than removed.

Use with DocumentDBBuilderExtensions.WithDocumentDBVersion to pin a specific version. Use DocumentDBVersions to enumerate all known versions or read the latest version known to this build.

V0_109_0 = 1
DocumentDB 0.109.0.
V0_110_0 = 2
DocumentDB 0.110.0.
V0_111_0 = 3
DocumentDB 0.111.0.