Skip to main content

Class DiscoveryChainOptions

Namespace: Consul
Assembly: Consul.dll

public class DiscoveryChainOptions

Inheritance

objectDiscoveryChainOptions

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Properties

OverrideConnectTimeout

OverrideConnectTimeout allows for the ConnectTimeout setting to be Overridden for any resolver in the compiled chain.

[JsonConverter(typeof(DurationTimespanConverter))]
public TimeSpan? OverrideConnectTimeout { get; set; }

Property Value

TimeSpan ?

OverrideMeshGateway

OverrideMeshGateway allows for the mesh gateway setting to be overridden For any resolver in the compiled chain.

public MeshGatewayConfig OverrideMeshGateway { get; set; }

Property Value

MeshGatewayConfig

OverrideProtocol

OverrideProtocol allows for the final protocol for the chain to be altered.

  • If the chain ordinarily would be TCP and an L7 protocol is passed here the chain will not include Routers or Splitters.

  • If the chain ordinarily would be L7 and TCP is passed here the chain will not include Routers or Splitters.

public string OverrideProtocol { get; set; }

Property Value

string

  • Properties
    • OverrideConnectTimeout
    • OverrideMeshGateway
    • OverrideProtocol