Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ResourceUrlsCallbackContext.GetEndpoint

Method
📦 Aspire.Hosting v17.0.0
type ResourceUrlsCallbackContext interface {
// ... omitted for brevity
GetEndpoint(name string) EndpointReference
}

Signature

methodGetEndpoint
Gets an endpoint reference from the associated resource
GetEndpoint(name string) EndpointReference
namestringThe name of the endpoint.
EndpointReference

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

Defined on

This method is defined on the following type: