Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddClusterFromEndpoint

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpConfigurationBuilder) AddClusterFromEndpoint(endpoint EndpointReference) YarpCluster

Signature

methodAddClusterFromEndpoint
Adds a cluster for an endpoint reference.
AddClusterFromEndpoint(endpoint EndpointReference) YarpCluster
endpointEndpointReferenceThe endpoint target for this cluster.
YarpCluster

The created cluster.

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

Applies to

This method applies to the following types: