Aspire.Hosting.Azure.Network
Official
📦 Aspire.Hosting.Azure.Networkv17.0.0Import path
apphost/modules/aspire20Functions
16Types
16 types, 20 functions and 0 members
Handles
handle
AzureBicepResourceinterface
AzureDelegatedSubnetResource1 membershandle
AzureEnvironmentResourceinterface
AzureInternalIngressResource1 membershandle
AzureNatGatewayResource1 membershandle
AzureNetworkSecurityGroupResource1 membershandle
AzureNetworkSecurityPerimeterResource1 membershandle
AzurePrivateEndpointResourceinterface
AzurePrivateEndpointTargetmarkerhandle
AzureProvisioningResourcehandle
AzurePublicIPAddressResourcehandle
AzureSubnetResource8 membershandle
AzureUserAssignedIdentityResourcehandle
AzureVirtualNetworkResource1 membersDTOs
Functions
AzureDelegatedSubnetResource
AzureInternalIngressResource
AzureNatGatewayResource
AzureNetworkSecurityGroupResource
AzureNetworkSecurityPerimeterResource
AzureSubnetResource
method
AddPrivateEndpointbuilderAdds an Azure Private Endpoint resource to the subnet.
AddPrivateEndpoint(target AzurePrivateEndpointTarget) AzurePrivateEndpointResourcemethod
AllowInboundbuilderAdds an inbound allow rule to the subnet's Network Security Group.
AllowInbound(options ...*AllowInboundOptions) AzureSubnetResourcemethod
AllowOutboundbuilderAdds an outbound allow rule to the subnet's Network Security Group.
AllowOutbound(options ...*AllowOutboundOptions) AzureSubnetResourcemethod
DenyInboundbuilderAdds an inbound deny rule to the subnet's Network Security Group.
DenyInbound(options ...*DenyInboundOptions) AzureSubnetResourcemethod
DenyOutboundbuilderAdds an outbound deny rule to the subnet's Network Security Group.
DenyOutbound(options ...*DenyOutboundOptions) AzureSubnetResourcemethod
WithNatGatewaybuilderAssociates a NAT Gateway with the subnet.
WithNatGateway(natGateway AzureNatGatewayResource) AzureSubnetResourcemethod
WithNetworkSecurityGroupbuilderAssociates a Network Security Group with the subnet.
WithNetworkSecurityGroup(nsg AzureNetworkSecurityGroupResource) AzureSubnetResourcemethod
WithServiceDelegationbuilderDelegates the subnet to the specified Azure service.
WithServiceDelegation(serviceName string, options ...*WithServiceDelegationOptions) AzureSubnetResourceAzureVirtualNetworkResource
DistributedApplicationBuilder
method
AddAzureVirtualNetworkbuilderAdds an Azure Virtual Network resource to the application model.
AddAzureVirtualNetwork(name string, options ...*AddAzureVirtualNetworkOptions) AzureVirtualNetworkResourcemethod
AddNatGatewaybuilderAdds an Azure NAT Gateway resource to the application model.
AddNatGateway(name string) AzureNatGatewayResourcemethod
AddNetworkSecurityGroupbuilderAdds an Azure Network Security Group to the application model.
AddNetworkSecurityGroup(name string) AzureNetworkSecurityGroupResourcemethod
AddNetworkSecurityPerimeterbuilderAdds an Azure Network Security Perimeter to the application model.
AddNetworkSecurityPerimeter(name string) AzureNetworkSecurityPerimeterResourcemethod
AddPublicIPAddressbuilderAdds an Azure Public IP Address resource to the application model.
AddPublicIPAddress(name string) AzurePublicIPAddressResourceExported values
AzureServiceTags.AppServicestring= "AppService"Represents Azure App Service and Azure Functions service addresses.
AzureServiceTags.AzureActiveDirectorystring= "AzureActiveDirectory"Represents Microsoft Entra ID (formerly Azure Active Directory) service addresses.
AzureServiceTags.AzureContainerRegistrystring= "AzureContainerRegistry"Represents Azure Container Registry service addresses.
AzureServiceTags.AzureCosmosDBstring= "AzureCosmosDB"Represents Azure Cosmos DB service addresses.
AzureServiceTags.AzureKeyVaultstring= "AzureKeyVault"Represents Azure Key Vault service addresses.
AzureServiceTags.AzureLoadBalancerstring= "AzureLoadBalancer"Represents the Azure infrastructure load balancer. This tag is commonly used to allow health probe traffic from Azure.
AzureServiceTags.AzureMonitorstring= "AzureMonitor"Represents Azure Monitor service addresses, including Log Analytics, Application Insights, and Azure Monitor metrics.
AzureServiceTags.AzureTrafficManagerstring= "AzureTrafficManager"Represents Azure Traffic Manager probe IP addresses.
AzureServiceTags.EventHubstring= "EventHub"Represents Azure Event Hubs service addresses.
AzureServiceTags.GatewayManagerstring= "GatewayManager"Represents the Gateway Manager service, used for VPN Gateway and Application Gateway management traffic.
AzureServiceTags.Internetstring= "Internet"Represents the Internet address space, including all publicly routable IP addresses.
AzureServiceTags.ServiceBusstring= "ServiceBus"Represents Azure Service Bus service addresses.
AzureServiceTags.Sqlstring= "Sql"Represents Azure SQL Database, Azure Database for MySQL, Azure Database for PostgreSQL, Azure Database for MariaDB, and Azure Synapse Analytics.
AzureServiceTags.Storagestring= "Storage"Represents the Azure Storage service. This tag does not include specific Storage accounts; it covers all Azure Storage IP addresses.
AzureServiceTags.VirtualNetworkstring= "VirtualNetwork"Represents the address space for the virtual network, including all connected address spaces, all connected on-premises address spaces, and peered virtual networks.