Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

GetTunnelEndpoint

Method
📦 Aspire.Hosting.DevTunnels v17.0.0
func (DevTunnelResource) GetTunnelEndpoint(targetEndpointReference EndpointReference) EndpointReference

Signature

methodGetTunnelEndpoint
Gets the tunnel endpoint reference for the specified target endpoint.
GetTunnelEndpoint(targetEndpointReference EndpointReference) EndpointReference
targetEndpointReferenceEndpointReferenceThe target endpoint reference.
EndpointReference

An EndpointReference representing the public tunnel endpoint.

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

Applies to

This method applies to the following types: