34 references to AzureServiceTags
Aspire.Hosting.Azure.Sql (2)
AzureSqlServerResource.cs (2)
570DestinationAddressPrefix = AzureServiceTags.AzureActiveDirectory, 582DestinationAddressPrefix = AzureServiceTags.Sql,
Aspire.Hosting.Azure.Tests (27)
AzureNetworkSecurityGroupExtensionsTests.cs (2)
246SourceAddressPrefix = AzureServiceTags.VirtualNetwork, 268.AllowInbound(port: "443", from: AzureServiceTags.AzureLoadBalancer);
AzureVirtualNetworkExtensionsTests.cs (25)
554.AllowOutbound(port: "443", to: AzureServiceTags.AzureActiveDirectory, protocol: SecurityRuleProtocol.Tcp) 555.AllowOutbound(port: "443", to: AzureServiceTags.Sql, protocol: SecurityRuleProtocol.Tcp); 570.AllowInbound(port: "443", from: AzureServiceTags.AzureLoadBalancer, to: AzureServiceTags.VirtualNetwork); 648.AllowInbound(port: "443", from: AzureServiceTags.AzureLoadBalancer, protocol: SecurityRuleProtocol.Tcp) 649.DenyInbound(from: AzureServiceTags.Internet) 650.AllowOutbound(port: "443", to: AzureServiceTags.Storage) 651.DenyOutbound(to: AzureServiceTags.VirtualNetwork); 672SourceAddressPrefix = AzureServiceTags.AzureLoadBalancer, 673DestinationAddressPrefix = AzureServiceTags.VirtualNetwork, 684Assert.Equal("Internet", AzureServiceTags.Internet); 685Assert.Equal("VirtualNetwork", AzureServiceTags.VirtualNetwork); 686Assert.Equal("AzureLoadBalancer", AzureServiceTags.AzureLoadBalancer); 687Assert.Equal("AzureTrafficManager", AzureServiceTags.AzureTrafficManager); 688Assert.Equal("Storage", AzureServiceTags.Storage); 689Assert.Equal("Sql", AzureServiceTags.Sql); 690Assert.Equal("AzureCosmosDB", AzureServiceTags.AzureCosmosDB); 691Assert.Equal("AzureKeyVault", AzureServiceTags.AzureKeyVault); 692Assert.Equal("EventHub", AzureServiceTags.EventHub); 693Assert.Equal("ServiceBus", AzureServiceTags.ServiceBus); 694Assert.Equal("AzureContainerRegistry", AzureServiceTags.AzureContainerRegistry); 695Assert.Equal("AppService", AzureServiceTags.AppService); 696Assert.Equal("AzureActiveDirectory", AzureServiceTags.AzureActiveDirectory); 697Assert.Equal("AzureMonitor", AzureServiceTags.AzureMonitor); 698Assert.Equal("GatewayManager", AzureServiceTags.GatewayManager);
AzureVirtualNetworkEndToEnd.AppHost (5)
AppHost.cs (5)
19.AllowInbound(port: "443", from: AzureServiceTags.AzureLoadBalancer, protocol: SecurityRuleProtocol.Tcp) 20.DenyInbound(from: AzureServiceTags.VirtualNetwork) 21.DenyInbound(from: AzureServiceTags.Internet); 28.AllowInbound(port: "443", from: AzureServiceTags.VirtualNetwork, protocol: SecurityRuleProtocol.Tcp) 29.DenyInbound(from: AzureServiceTags.Internet);