addClusterFromResource
Method
interface IYarpConfigurationBuilder { // ... omitted for brevity addClusterFromResource(resource: IResourceWithServiceDiscovery): YarpCluster;}Signature
method
addClusterFromResource Adds a cluster for a resource that supports service discovery.
addClusterFromResource(resource: IResourceWithServiceDiscovery): YarpClusterParameters
resource IResourceWithServiceDiscovery Returns
YarpCluster Applies to
This method applies to the following types: