Skip to content
Docs Try Aspire

addClusterWithDestinations

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

Signature

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

Applies to

This function is an extension method on the following types: