共用方式為


ClusterConfig Class

Definition

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