# Aspire.Hosting.DevTunnels

- Module: `Aspire.Hosting.DevTunnels`
- Version: `13.4.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 tunnel endpoint reference for the specified target endpoint.
- [withAnonymousAccess](/reference/api/typescript/aspire.hosting.devtunnels/withanonymousaccess.md) -- `method` -- Allows the tunnel to be publicly accessed without authentication.
- [withTunnelReference](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreference.md) -- `method` -- Exposes the specified endpoint via the dev tunnel.
- [withTunnelReferenceAll](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreferenceall.md) -- `method` -- Adds ports on the dev tunnel for all endpoints found on the referenced resource and sets whether anonymous access is allowed.
- [withTunnelReferenceAnonymous](/reference/api/typescript/aspire.hosting.devtunnels/withtunnelreferenceanonymous.md) -- `method` -- Exposes the specified endpoint via the dev tunnel and sets whether anonymous access is allowed.
