Skip to content
Docs Try Aspire

DevTunnelResource.withTunnelReference

Method
📦 Aspire.Hosting.DevTunnels v13.2.0-preview.1.26159.1
interface DevTunnelResource {
// ... omitted for brevity
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource;
}

Signature

method withTunnelReference builder
Configures the dev tunnel to expose a target endpoint.
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource
targetEndpoint EndpointReference
DevTunnelResource

Defined on

This method is defined on the following type: