Watch Aspire live streamsDocsTry Aspire

getTunnelEndpoint

Method
📦 Aspire.Hosting.DevTunnels v13.6.0
interface DevTunnelResource {
// ... omitted for brevity
getTunnelEndpoint(targetEndpointReference: EndpointReference): EndpointReference;
}

Signature

methodgetTunnelEndpoint
Gets the tunnel endpoint reference for the specified target endpoint.
getTunnelEndpoint(targetEndpointReference: EndpointReference): EndpointReference
targetEndpointReferenceEndpointReference
EndpointReference

Applies to

This method applies to the following types: