Class ClusterConfig
A cluster is a group of equivalent endpoints and associated policies.
Inheritance
ClusterConfig
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class ClusterConfig : object
Properties
|
Improve this Doc
View Source
ClusterId
The Id for this cluster. This needs to be globally unique.
This field is required.
Declaration
public string ClusterId { get; set; }
Property Value
|
Improve this Doc
View Source
Destinations
The set of destinations associated with this cluster.
Declaration
public IReadOnlyDictionary<string, DestinationConfig>? Destinations { get; set; }
Property Value
|
Improve this Doc
View Source
HealthCheck
Declaration
public HealthCheckConfig HealthCheck { get; set; }
Property Value
|
Improve this Doc
View Source
HttpClient
Config for the HTTP client that is used to call destinations in this cluster.
Declaration
public HttpClientConfig HttpClient { get; set; }
Property Value
|
Improve this Doc
View Source
HttpRequest
Config for outgoing HTTP requests.
Declaration
public ForwarderRequestConfig HttpRequest { get; set; }
Property Value
|
Improve this Doc
View Source
LoadBalancingPolicy
Declaration
public string? LoadBalancingPolicy { get; set; }
Property Value
|
Improve this Doc
View Source
Arbitrary key-value pairs that further describe this cluster.
Declaration
public IReadOnlyDictionary<string, string>? Metadata { get; set; }
Property Value
|
Improve this Doc
View Source
SessionAffinity
Declaration
public SessionAffinityConfig SessionAffinity { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(ClusterConfig)
Declaration
public bool Equals(ClusterConfig other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Implements