29 references to WithDelegatedSubnet
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
431/// Unlike <see cref="AzureVirtualNetworkExtensions.WithDelegatedSubnet{T}"/>, this does NOT
Aspire.Hosting.Azure.Network (1)
AzureVirtualNetworkExtensions.cs (1)
368/// or combining it with <see cref="WithDelegatedSubnet{T}"/>, therefore replaces any previously
Aspire.Hosting.Azure.Tests (25)
AzureApiManagementTests.cs (8)
74.WithDelegatedSubnet(subnet) 1238.WithDelegatedSubnet(containerAppsSubnet) 1624.WithDelegatedSubnet(containerAppsSubnet) 2727.WithDelegatedSubnet(backendSubnet) 2937.WithDelegatedSubnet(subnet) 2975.WithDelegatedSubnet(subnet) 3001.WithDelegatedSubnet(subnet) 3023.WithDelegatedSubnet(subnet);
AzureAppServiceTests.cs (3)
130.WithDelegatedSubnet(subnet) 171.WithDelegatedSubnet(subnet); 211.WithDelegatedSubnet(subnet)
AzureContainerAppEnvironmentExtensionsTests.cs (2)
150.WithDelegatedSubnet(subnet); 472.WithDelegatedSubnet(subnet);
AzureContainerAppExpressTests.cs (2)
113environment.AsExpress().WithDelegatedSubnet(subnet).WithInternalLoadBalancer(vnet); 117environment.WithDelegatedSubnet(subnet).WithInternalLoadBalancer(vnet).AsExpress();
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));
AzureApiManagement.AppHost (1)
AppHost.cs (1)
39.WithDelegatedSubnet(containerAppsSubnet)
AzureVirtualNetworkEndToEnd.AppHost (1)
AppHost.cs (1)
33.WithDelegatedSubnet(containerAppsSubnet);