22 references to ServiceName
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentExtensions.cs (2)
448&& !string.Equals(existingDelegation.ServiceName, AzureSubnetServiceDelegations.ApplicationGatewayForContainers, StringComparison.OrdinalIgnoreCase) 449? existingDelegation.ServiceName
Aspire.Hosting.Azure.Kubernetes.Tests (5)
AzureKubernetesEnvironmentExtensionsTests.cs (5)
475Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", delegation!.ServiceName); 541Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", delegation.ServiceName); 561Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", delegation.ServiceName); 581Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", delegation.ServiceName); 603Assert.Equal("Microsoft.ServiceNetworking/trafficControllers", delegation.ServiceName);
Aspire.Hosting.Azure.Network (3)
AzureSubnetResource.cs (1)
129ServiceName = serviceDelegationAnnotation.ServiceName
AzureVirtualNetworkExtensions.cs (2)
334existingDelegation.ServiceName, 339$"The subnet '{subnet.Resource.Name}' is already delegated to '{existingDelegation.ServiceName}' and cannot also be delegated to '{target.DelegatedSubnetServiceName}'.");
Aspire.Hosting.Azure.Tests (12)
AzureSqlDeploymentScriptTests.cs (1)
202Assert.Equal("Microsoft.ContainerInstance/containerGroups", delegation.ServiceName);
AzureVirtualNetworkExtensionsTests.cs (11)
159Assert.Equal("Microsoft.App/environments", delegationAnnotation.ServiceName); 174Assert.Equal("Microsoft.App/environments", delegationAnnotation.ServiceName); 189Assert.Equal("Microsoft.App/environments", delegationAnnotation.ServiceName); 203Assert.Equal("Microsoft.ContainerInstance/containerGroups", delegationAnnotation.ServiceName); 228Assert.Equal("Microsoft.Web/serverFarms", delegationAnnotation.ServiceName); 247Assert.Equal("Microsoft.App/environments", delegationAnnotation.ServiceName); 289Assert.Equal("Microsoft.Web/serverFarms", delegationAnnotation.ServiceName); 308Assert.Equal("Microsoft.Web/serverFarms", delegationAnnotation.ServiceName); 325Assert.Equal("Microsoft.Web/serverFarms", delegationAnnotation.ServiceName); 344Assert.Equal("Microsoft.Web/serverFarms", delegationAnnotation.ServiceName); 389Assert.Equal("Microsoft.App/environments", delegation.ServiceName);