YarpConfigurationBuilderExtensions Methods
ClassMethods7 members
Collection of extensions methods for
IYarpConfigurationBuilder AddRoute(IYarpConfigurationBuilder, YarpCluster) Section titled AddRoute(IYarpConfigurationBuilder, YarpCluster)extensionYarp Add a new catch all route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, YarpCluster cluster) { // ... }}Parameters
builderIclusterYarpReturns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, EndpointReference) Section titled AddRoute(IYarpConfigurationBuilder, EndpointReference)extensionYarp Add a new catch all route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, EndpointReference endpoint) { // ... }}Parameters
builderIendpointEndpointReference The target endpoint for this route.Returns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, IResourceBuilder<IResourceWithServiceDiscovery>) Section titled AddRoute(IYarpConfigurationBuilder, IResourceBuilder<IResourceWithServiceDiscovery>)extensionYarp Add a new catch all route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, IResourceBuilder<IResourceWithServiceDiscovery> resource) { // ... }}Parameters
builderIresourceIResourceBuilder<IResourceWithServiceDiscovery> The target resource for this route.Returns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, string, EndpointReference) Section titled AddRoute(IYarpConfigurationBuilder, string, EndpointReference)extensionYarp Add a new route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, string path, EndpointReference endpoint) { // ... }}Parameters
builderIpathstringThe path to match for this route.endpointEndpointReference The target endpoint for this route.Returns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, string, IResourceBuilder<IResourceWithServiceDiscovery>) Section titled AddRoute(IYarpConfigurationBuilder, string, IResourceBuilder<IResourceWithServiceDiscovery>)extensionYarp Add a new route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, string path, IResourceBuilder<IResourceWithServiceDiscovery> resource) { // ... }}Parameters
builderIpathstringThe path to match for this route.resourceIResourceBuilder<IResourceWithServiceDiscovery> The target endpoint for this route.Returns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, string, IResourceBuilder<ExternalServiceResource>) Section titled AddRoute(IYarpConfigurationBuilder, string, IResourceBuilder<ExternalServiceResource>)extensionYarp Add a new route to YARP that will target the external service in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, string path, IResourceBuilder<ExternalServiceResource> externalService) { // ... }}Parameters
builderIpathstringThe path to match for this route.externalService IResourceBuilder<ExternalServiceResource> The target external service for this route.Returns
YarpRoute The created route for further configuration.AddRoute(IYarpConfigurationBuilder, IResourceBuilder<ExternalServiceResource>) Section titled AddRoute(IYarpConfigurationBuilder, IResourceBuilder<ExternalServiceResource>)extensionYarp Add a new catch all route to YARP that will target the cluster in parameter.
public static class YarpConfigurationBuilderExtensions{ public static YarpRoute AddRoute( this IYarpConfigurationBuilder builder, IResourceBuilder<ExternalServiceResource> externalService) { // ... }}Parameters
builderIexternalService IResourceBuilder<ExternalServiceResource> The target external service for this route.Returns
YarpRoute The created route for further configuration.