DevTunnelResource.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

Defined on

This method is defined on the following type: