withTunnelReference

Method
📦 Aspire.Hosting.DevTunnels v17.0.0
interface DevTunnelResource {
// ... omitted for brevity
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource;
}

Signature

methodwithTunnelReferencebuilder
Exposes the specified endpoint via the dev tunnel.
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource
targetEndpointEndpointReferenceThe endpoint to expose via the dev tunnel.
DevTunnelResource

Applies to

This method applies to the following types: