YarpConfigurationBuilder.AddClusterWithDestinations

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpConfigurationBuilder interface {
// ... omitted for brevity
AddClusterWithDestinations(
clusterName string,
destinations []any,
) YarpCluster
}

Signature

methodAddClusterWithDestinations
Adds a cluster from multiple destinations.
AddClusterWithDestinations(
clusterName string,
destinations []any,
) YarpCluster
clusterNamestringThe name of the cluster.
destinations[]anyThe destinations used by this cluster.
YarpCluster

The created cluster.

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

Defined on

This method is defined on the following type: