12 references to WithBackend
Aspire.Hosting.Azure.Tests (8)
AzureApiManagementTests.cs (8)
1707
.
WithBackend
(primaryBackend, priority: 1, weight: 3)
1708
.
WithBackend
(secondaryBackend, priority: 2, weight: 1);
1760
.
WithBackend
(backend, priority: 0, weight: 0);
2423
api.WithBackend(apim.AddBackendPool("catalog-pool").
WithBackend
(backend));
2789
.
WithBackend
(primaryBackend, weight: 3)
2790
.
WithBackend
(secondaryBackend);
2880
var pool = apim.AddBackendPool("pool").
WithBackend
(storageBackend);
2882
var exception = Assert.Throws<InvalidOperationException>(() => pool.
WithBackend
(cognitiveBackend));
AzureApiManagementOpenAI.AppHost (4)
AppHost.cs (4)
32
.
WithBackend
(primaryFoundryBackend, priority: 1, weight: 3)
33
.
WithBackend
(secondaryFoundryBackend, priority: 1, weight: 1);
49
.
WithBackend
(primaryBlobBackend, priority: 1, weight: 3)
50
.
WithBackend
(secondaryBlobBackend, priority: 1, weight: 1);