addClusterFromResource
Function
interface IYarpConfigurationBuilder { // ... omitted for brevity addClusterFromResource(resource: IResourceWithServiceDiscovery): YarpCluster;}Signature
method
addClusterFromResource Adds a YARP cluster for a resource that supports service discovery.
addClusterFromResource(resource: IResourceWithServiceDiscovery): YarpClusterParameters
resource IResourceWithServiceDiscovery Returns
YarpCluster Applies to
This function is an extension method on the following types: