12 references to AzureSubnetServiceDelegations
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppEnvironmentResource.cs (1)
30string IAzureDelegatedSubnetResource.DelegatedSubnetServiceName => AzureSubnetServiceDelegations.ContainerAppEnvironments;
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
38string IAzureDelegatedSubnetResource.DelegatedSubnetServiceName => AzureSubnetServiceDelegations.AppServiceEnvironments;
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentExtensions.cs (2)
448&& !string.Equals(existingDelegation.ServiceName, AzureSubnetServiceDelegations.ApplicationGatewayForContainers, StringComparison.OrdinalIgnoreCase) 454subnet.WithServiceDelegation(AzureSubnetServiceDelegations.ApplicationGatewayForContainers);
Aspire.Hosting.Azure.Network (2)
AzureVirtualNetworkExtensions.cs (2)
358/// <param name="serviceName">The service name to delegate the subnet to (e.g., "Microsoft.App/environments"). See <see cref="AzureSubnetServiceDelegations"/> for well-known values.</param> 371/// <see cref="AzureSubnetServiceDelegations"/>:
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
724.WithServiceDelegation(AzureSubnetServiceDelegations.ContainerInstances);
Aspire.Hosting.Azure.Tests (5)
AzureVirtualNetworkExtensionsTests.cs (5)
199.WithServiceDelegation(AzureSubnetServiceDelegations.ContainerInstances); 210Assert.Equal("Microsoft.ContainerInstance/containerGroups", AzureSubnetServiceDelegations.ContainerInstances); 211Assert.Equal("Microsoft.App/environments", AzureSubnetServiceDelegations.ContainerAppEnvironments); 212Assert.Equal("Microsoft.Web/serverFarms", AzureSubnetServiceDelegations.AppServiceEnvironments); 213Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", AzureSubnetServiceDelegations.ApplicationGatewayForContainers);