Skip to content
Docs Try Aspire
Docs Try

addClusterWithDestinations

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

Signature

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

Applies to

This method applies to the following types: