# Aspire.Hosting.Azure.Network

- Module: `Aspire.Hosting.Azure.Network`
- Version: `13.3.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `18`
- Types: `9`

## Types

- [AzureNatGatewayResource](/reference/api/typescript/aspire.hosting.azure.network/azurenatgatewayresource.md) -- `handle` - 1 members
- [AzureNetworkSecurityGroupResource](/reference/api/typescript/aspire.hosting.azure.network/azurenetworksecuritygroupresource.md) -- `handle` - 1 members
- [AzureNetworkSecurityPerimeterResource](/reference/api/typescript/aspire.hosting.azure.network/azurenetworksecurityperimeterresource.md) -- `handle` - 1 members
- [AzureNspAccessRule](/reference/api/typescript/aspire.hosting.azure.network/azurenspaccessrule.md) -- `type` - 8 fields
- [AzurePrivateEndpointResource](/reference/api/typescript/aspire.hosting.azure.network/azureprivateendpointresource.md) -- `handle` - 0 members
- [AzurePublicIPAddressResource](/reference/api/typescript/aspire.hosting.azure.network/azurepublicipaddressresource.md) -- `handle` - 0 members
- [AzureSecurityRule](/reference/api/typescript/aspire.hosting.azure.network/azuresecurityrule.md) -- `type` - 12 fields
- [AzureSubnetResource](/reference/api/typescript/aspire.hosting.azure.network/azuresubnetresource.md) -- `handle` - 7 members
- [AzureVirtualNetworkResource](/reference/api/typescript/aspire.hosting.azure.network/azurevirtualnetworkresource.md) -- `handle` - 1 members

## Functions

- [addAzureVirtualNetwork](/reference/api/typescript/aspire.hosting.azure.network/addazurevirtualnetwork.md) -- `method` -- Adds an Azure Virtual Network resource to the application model.
- [addNatGateway](/reference/api/typescript/aspire.hosting.azure.network/addnatgateway.md) -- `method` -- Adds an Azure NAT Gateway resource to the application model.
- [addNetworkSecurityGroup](/reference/api/typescript/aspire.hosting.azure.network/addnetworksecuritygroup.md) -- `method` -- Adds an Azure Network Security Group resource to the application model.
- [addNetworkSecurityPerimeter](/reference/api/typescript/aspire.hosting.azure.network/addnetworksecurityperimeter.md) -- `method` -- Adds an Azure Network Security Perimeter resource to the application model.
- [addPrivateEndpoint](/reference/api/typescript/aspire.hosting.azure.network/addprivateendpoint.md) -- `method` -- Adds an Azure Private Endpoint resource to an Azure subnet resource.
- [addPublicIPAddress](/reference/api/typescript/aspire.hosting.azure.network/addpublicipaddress.md) -- `method` -- Adds an Azure Public IP Address resource to the application model.
- [addSubnet](/reference/api/typescript/aspire.hosting.azure.network/addsubnet.md) -- `method` -- Adds an Azure subnet resource to an Azure Virtual Network resource.
- [allowInbound](/reference/api/typescript/aspire.hosting.azure.network/allowinbound.md) -- `method` -- Adds an inbound allow rule to the Azure subnet resource's Network Security Group.
- [allowOutbound](/reference/api/typescript/aspire.hosting.azure.network/allowoutbound.md) -- `method` -- Adds an outbound allow rule to the Azure subnet resource's Network Security Group.
- [denyInbound](/reference/api/typescript/aspire.hosting.azure.network/denyinbound.md) -- `method` -- Adds an inbound deny rule to the Azure subnet resource's Network Security Group.
- [denyOutbound](/reference/api/typescript/aspire.hosting.azure.network/denyoutbound.md) -- `method` -- Adds an outbound deny rule to the Azure subnet resource's Network Security Group.
- [withAccessRule](/reference/api/typescript/aspire.hosting.azure.network/withaccessrule.md) -- `method` -- Adds an access rule to an Azure Network Security Perimeter resource.
- [withDelegatedSubnet](/reference/api/typescript/aspire.hosting.azure.network/withdelegatedsubnet.md) -- `method` -- Associates a delegated Azure subnet resource with an Azure resource that supports subnet delegation.
- [withNatGateway](/reference/api/typescript/aspire.hosting.azure.network/withnatgateway.md) -- `method` -- Associates an Azure NAT Gateway resource with an Azure subnet resource.
- [withNetworkSecurityGroup](/reference/api/typescript/aspire.hosting.azure.network/withnetworksecuritygroup.md) -- `method` -- Associates an Azure Network Security Group resource with an Azure subnet resource.
- [withNetworkSecurityPerimeter](/reference/api/typescript/aspire.hosting.azure.network/withnetworksecurityperimeter.md) -- `method` -- Associates an Azure PaaS resource with a Network Security Perimeter.
- [withPublicIPAddress](/reference/api/typescript/aspire.hosting.azure.network/withpublicipaddress.md) -- `method` -- Associates an Azure Public IP Address resource with an Azure NAT Gateway resource.
- [withSecurityRule](/reference/api/typescript/aspire.hosting.azure.network/withsecurityrule.md) -- `method` -- Adds a security rule to an Azure Network Security Group resource.
