5 instantiations of CosmosDBContainer
Aspire.Hosting.Azure.Tests (4)
AzureBicepResourceTests.cs (4)
251
cosmos.WithDatabase("mydatabase", db => db.Containers.Add(
new
("mycontainer", "mypartitionkeypath")));
362
cosmos.WithDatabase("mydatabase", db => db.Containers.Add(
new
("mycontainer", "mypartitionkeypath")));
483
cosmos.WithDatabase("mydatabase", db => db.Containers.Add(
new
("mycontainer", "mypartitionkeypath")));
594
cosmos.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)
30
public List<
CosmosDBContainer
> Containers { get; } = [];