# Aspire.Hosting.Azure.Network

- Module: `Aspire.Hosting.Azure.Network`
- Version: `13.4.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 -- Represents an access rule configuration for an Azure Network Security Perimeter.
- [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 -- Represents a security rule configuration for an Azure Network Security Group.
- [AzureSubnetResource](/reference/api/typescript/aspire.hosting.azure.network/azuresubnetresource.md) -- `handle` - 7 members -- Represents an Azure Subnet resource.
- [AzureVirtualNetworkResource](/reference/api/typescript/aspire.hosting.azure.network/azurevirtualnetworkresource.md) -- `handle` - 1 members -- Represents an Azure Virtual Network resource.

## 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 to the application model.
- [addNetworkSecurityPerimeter](/reference/api/typescript/aspire.hosting.azure.network/addnetworksecurityperimeter.md) -- `method` -- Adds an Azure Network Security Perimeter to the application model.
- [addPrivateEndpoint](/reference/api/typescript/aspire.hosting.azure.network/addprivateendpoint.md) -- `method` -- Adds an Azure Private Endpoint resource to the subnet.
- [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 subnet's Network Security Group.
- [allowOutbound](/reference/api/typescript/aspire.hosting.azure.network/allowoutbound.md) -- `method` -- Adds an outbound allow rule to the subnet's Network Security Group.
- [denyInbound](/reference/api/typescript/aspire.hosting.azure.network/denyinbound.md) -- `method` -- Adds an inbound deny rule to the subnet's Network Security Group.
- [denyOutbound](/reference/api/typescript/aspire.hosting.azure.network/denyoutbound.md) -- `method` -- Adds an outbound deny rule to the subnet's Network Security Group.
- [withAccessRule](/reference/api/typescript/aspire.hosting.azure.network/withaccessrule.md) -- `method` -- Adds an access rule to the Network Security Perimeter.
- [withDelegatedSubnet](/reference/api/typescript/aspire.hosting.azure.network/withdelegatedsubnet.md) -- `method` -- Configures the resource to use the specified subnet with appropriate service delegation.
- [withNatGateway](/reference/api/typescript/aspire.hosting.azure.network/withnatgateway.md) -- `method` -- Associates a NAT Gateway with the subnet.
- [withNetworkSecurityGroup](/reference/api/typescript/aspire.hosting.azure.network/withnetworksecuritygroup.md) -- `method` -- Associates a Network Security Group with the subnet.
- [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 explicit Public IP Address resource with the NAT Gateway.
- [withSecurityRule](/reference/api/typescript/aspire.hosting.azure.network/withsecurityrule.md) -- `method` -- Adds a security rule to the Network Security Group.
