DevTunnelResource.WithTunnelReference

Method
📦 Aspire.Hosting.DevTunnels v17.0.0
type DevTunnelResource interface {
// ... 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

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: