YarpClusterExtensions.WithLoadBalancingPolicy(YarpCluster, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the LoadBalancingPolicy for the cluster.
public static Aspire.Hosting.Yarp.YarpCluster WithLoadBalancingPolicy(this Aspire.Hosting.Yarp.YarpCluster cluster, string policy);
static member WithLoadBalancingPolicy : Aspire.Hosting.Yarp.YarpCluster * string -> Aspire.Hosting.Yarp.YarpCluster
<Extension()>
Public Function WithLoadBalancingPolicy (cluster As YarpCluster, policy As String) As YarpCluster
Parameters
- cluster
- YarpCluster
- policy
- String