18 references to WithDelegatedSubnet
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
240/// Unlike <see cref="AzureVirtualNetworkExtensions.WithDelegatedSubnet{T}"/>, this does NOT
Aspire.Hosting.Azure.Network (1)
AzureVirtualNetworkExtensions.cs (1)
366/// or combining it with <see cref="WithDelegatedSubnet{T}"/>, therefore replaces any previously
Aspire.Hosting.Azure.Tests (15)
AzureAppServiceTests.cs (3)
89.WithDelegatedSubnet(subnet) 130.WithDelegatedSubnet(subnet); 170.WithDelegatedSubnet(subnet)
AzureContainerAppEnvironmentExtensionsTests.cs (2)
150.WithDelegatedSubnet(subnet); 472.WithDelegatedSubnet(subnet);
AzureVirtualNetworkExtensionsTests.cs (10)
149.WithDelegatedSubnet(subnet); 281.WithDelegatedSubnet(subnet); 301.WithDelegatedSubnet(subnet) 302.WithDelegatedSubnet(subnet); 321.WithDelegatedSubnet(subnet); 339.WithDelegatedSubnet(subnet); 357.WithDelegatedSubnet(firstSubnet); 359var exception = Assert.Throws<InvalidOperationException>(() => environment.WithDelegatedSubnet(secondSubnet)); 377.WithDelegatedSubnet(subnet); 381var exception = Assert.Throws<InvalidOperationException>(() => appServiceEnvironment.WithDelegatedSubnet(subnet));
AzureVirtualNetworkEndToEnd.AppHost (1)
AppHost.cs (1)
33.WithDelegatedSubnet(containerAppsSubnet);