# Aspire.Hosting.DevTunnels

- Module: `Aspire.Hosting.DevTunnels`
- Version: `13.2.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `6`
- Types: `1`

## Types

- [DevTunnelResource](/reference/api/typescript/aspire.hosting.devtunnels/devtunnelresource.md) -- `handle` - 5 members

## Functions

- [addDevTunnel](/reference/api/typescript/aspire.hosting.devtunnels/adddevtunnel.md) -- `method` -- Adds a Dev Tunnel resource to the distributed application model.
- [getTunnelEndpoint](/reference/api/typescript/aspire.hosting.devtunnels/gettunnelendpoint.md) -- `method` -- Gets the public endpoint exposed by the dev tunnel.
- [withAnonymousAccess](/reference/api/typescript/aspire.hosting.devtunnels/withanonymousaccess.md) -- `method` -- Configures the dev tunnel to allow anonymous access.
- [withTunnelReference](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreference.md) -- `method` -- Configures the dev tunnel to expose a target endpoint.
- [withTunnelReferenceAll](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreferenceall.md) -- `method` -- Configures the dev tunnel to expose all endpoints on the referenced resource.
- [withTunnelReferenceAnonymous](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreferenceanonymous.md) -- `method` -- Configures the dev tunnel to expose a target endpoint with access control.
