Share via


IYarpConfigurationBuilder Interface

Definition

Interface to build a configuration file for YARP

public interface IYarpConfigurationBuilder
type IYarpConfigurationBuilder = interface
Public Interface IYarpConfigurationBuilder

Methods

AddCluster(EndpointReference)

Add a new cluster to YARP.

AddCluster(IResourceBuilder<ExternalServiceResource>)

Add a new cluster to YARP based on an external service resource.

AddCluster(IResourceBuilder<IResourceWithServiceDiscovery>)

Add a new cluster to YARP based on a resource that supports service discovery.

AddCluster(String, Object)

Add a new cluster to YARP based on a collection of urls.

AddCluster(String, Object[])

Add a new cluster to YARP based on a collection of urls.

AddRoute(String, YarpCluster)

Add a new route to YARP that will target the cluster in parameter.

Extension Methods

AddRoute(IYarpConfigurationBuilder, EndpointReference)

Add a new catch all route to YARP that will target the cluster in parameter.

AddRoute(IYarpConfigurationBuilder, IResourceBuilder<ExternalServiceResource>)

Add a new catch all route to YARP that will target the cluster in parameter.

AddRoute(IYarpConfigurationBuilder, IResourceBuilder<IResourceWithServiceDiscovery>)

Add a new catch all route to YARP that will target the cluster in parameter.

AddRoute(IYarpConfigurationBuilder, YarpCluster)

Add a new catch all route to YARP that will target the cluster in parameter.

AddRoute(IYarpConfigurationBuilder, String, EndpointReference)

Add a new route to YARP that will target the cluster in parameter.

AddRoute(IYarpConfigurationBuilder, String, IResourceBuilder<ExternalServiceResource>)

Add a new route to YARP that will target the external service in parameter.

AddRoute(IYarpConfigurationBuilder, String, IResourceBuilder<IResourceWithServiceDiscovery>)

Add a new route to YARP that will target the cluster in parameter.

Applies to