Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addClusterWithDestinations

Method
📦 Aspire.Hosting.Yarp v13.6.0
interface IYarpConfigurationBuilder {
// ... omitted for brevity
addClusterWithDestinations(
clusterName: string,
destinations: any[]): YarpCluster;
}

Signature

methodaddClusterWithDestinations
Adds a cluster from multiple destinations.
addClusterWithDestinations(
clusterName: string,
destinations: any[]): YarpCluster
clusterNamestring
destinationsany[]
YarpCluster

Applies to

This method applies to the following types: