IAvailableDestinationsPolicy.GetAvailalableDestinations 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.
Reviews all given destinations and returns the ones available for proxying requests to.
public System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Model.DestinationState> GetAvailalableDestinations (Yarp.ReverseProxy.Configuration.ClusterConfig config, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Model.DestinationState> allDestinations);
abstract member GetAvailalableDestinations : Yarp.ReverseProxy.Configuration.ClusterConfig * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Model.DestinationState> -> System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Model.DestinationState>
Public Function GetAvailalableDestinations (config As ClusterConfig, allDestinations As IReadOnlyList(Of DestinationState)) As IReadOnlyList(Of DestinationState)
Parameters
- config
- ClusterConfig
Target cluster.
- allDestinations
- IReadOnlyList<DestinationState>
All destinations configured for the target cluster.