Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ClusterConfig Class
Definition
- Namespace:
- Yarp.ReverseProxy.Configuration
- Assembly:
- Yarp.ReverseProxy.dll
- Package:
- Yarp.ReverseProxy v1.0.1
- Package:
- Yarp.ReverseProxy v1.1.2
- Package:
- Yarp.ReverseProxy v2.0.1
- Package:
- Yarp.ReverseProxy v2.1.0
- Package:
- Yarp.ReverseProxy v2.2.0
- Source:
- ClusterConfig.cs
- Source:
- ClusterConfig.cs
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.
A cluster is a group of equivalent endpoints and associated policies.
public sealed class ClusterConfig : IEquatable<Yarp.ReverseProxy.Configuration.ClusterConfig>
type ClusterConfig = class
interface IEquatable<ClusterConfig>
Public NotInheritable Class ClusterConfig
Implements IEquatable(Of ClusterConfig)
- Inheritance
-
ClusterConfig
- Implements
Constructors
| Name | Description |
|---|---|
| ClusterConfig() | |
Properties
| Name | Description |
|---|---|
| ClusterId |
The Id for this cluster. This needs to be globally unique. This field is required. |
| Destinations |
The set of destinations associated with this cluster. |
| HealthCheck |
Health checking config. |
| HttpClient |
Config for the HTTP client that is used to call destinations in this cluster. |
| HttpRequest |
Config for outgoing HTTP requests. |
| LoadBalancingPolicy |
Load balancing policy. |
| Metadata |
Arbitrary key-value pairs that further describe this cluster. |
| SessionAffinity |
Session affinity config. |
Methods
| Name | Description |
|---|---|
| <Clone>$() | |
| Equals(ClusterConfig) | |
| Equals(Object) | |
| GetHashCode() | |
| ToString() | |
Operators
| Name | Description |
|---|---|
| Equality(ClusterConfig, ClusterConfig) | |
| Inequality(ClusterConfig, ClusterConfig) | |
Applies to
Feedback
Was this page helpful?
