DestinationState Class
Definition
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.
Representation of a cluster's destination for use at runtime.
public sealed class DestinationState : System.Collections.Generic.IEnumerable<Yarp.ReverseProxy.Model.DestinationState>, System.Collections.Generic.IReadOnlyCollection<Yarp.ReverseProxy.Model.DestinationState>, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Model.DestinationState>
type DestinationState = class
interface IReadOnlyList<DestinationState>
interface seq<DestinationState>
interface IEnumerable
interface IReadOnlyCollection<DestinationState>
Public NotInheritable Class DestinationState
Implements IEnumerable(Of DestinationState), IReadOnlyCollection(Of DestinationState), IReadOnlyList(Of DestinationState)
- Inheritance
-
DestinationState
- Implements
Constructors
DestinationState(String, DestinationModel) |
Constructor overload to additionally initialize the DestinationModel for tests and infrastructure, such as updating the ReverseProxyFeature via HttpContextFeaturesExtensions |
DestinationState(String) |
Creates a new instance. This constructor is for tests and infrastructure, this type is normally constructed by the configuration loading infrastructure. |
Properties
ConcurrentRequestCount |
Keeps track of the total number of concurrent requests on this endpoint. The setter should only be used for testing purposes. |
DestinationId |
The destination's unique id. |
Health |
Mutable health state for this destination. |
Model |
A snapshot of the current configuration |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | |
IEnumerable<DestinationState>.GetEnumerator() | |
IReadOnlyCollection<DestinationState>.Count | |
IReadOnlyList<DestinationState>.Item[Int32] |