5 instantiations of CosmosDBContainer
Aspire.Hosting.Azure.Tests (4)
AzureBicepResourceTests.cs (4)
251cosmos.WithDatabase("mydatabase", db => db.Containers.Add(new("mycontainer", "mypartitionkeypath"))); 362cosmos.WithDatabase("mydatabase", db => db.Containers.Add(new("mycontainer", "mypartitionkeypath"))); 483cosmos.WithDatabase("mydatabase", db => db.Containers.Add(new("mycontainer", "mypartitionkeypath"))); 594cosmos.WithDatabase("mydatabase", db => db.Containers.Add(new("mycontainer", "mypartitionkeypath")));
CosmosEndToEnd.AppHost (1)
Program.cs (1)
8.WithDatabase("db", database => database.Containers.Add(new("entries", "/id")))
2 references to CosmosDBContainer
Aspire.Hosting.Azure.CosmosDB (2)
CosmosDBContainer.cs (1)
15/// Initializes a new instance of the <see cref="CosmosDBContainer"/> class.
CosmosDBDatabase.cs (1)
30public List<CosmosDBContainer> Containers { get; } = [];