Skip to content
Docs Try Aspire

IYarpConfigurationBuilder.addClusterWithDestination

Method
📦 Aspire.Hosting.Yarp v13.2.0
interface IYarpConfigurationBuilder {
// ... omitted for brevity
addClusterWithDestination(
clusterName: string,
destination: any): YarpCluster;
}

Signature

method addClusterWithDestination
Adds a YARP cluster with a single destination.
addClusterWithDestination(
clusterName: string,
destination: any): YarpCluster
clusterName string
destination any
YarpCluster

Defined on

This method is defined on the following type: