Skip to content
DocsTry Aspire
DocsTry

addClusterWithDestinations

Method
📦 Aspire.Hosting.Yarp v13.4.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: