Skip to main content

Class ServiceResolverEntry

Namespace: Consul
Assembly: Consul.dll

Configures and apply service resolvers to create named subsets of service instances and define their behavior when satisfying upstream requests.

public class ServiceResolverEntry : IConfigurationEntry

Inheritance

objectServiceResolverEntry

Implements

IConfigurationEntry

Inherited Members

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

Properties

ConnectTimeout

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string ConnectTimeout { get; set; }

Property Value

string

DefaultSubset

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string DefaultSubset { get; set; }

Property Value

string

Filter

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Filter { get; set; }

Property Value

string

Kind

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Kind { get; set; }

Property Value

string

LoadBalancer

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public LoadBalancerConfig LoadBalancer { get; set; }

Property Value

LoadBalancerConfig

Meta

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> Meta { get; set; }

Property Value

Dictionary <string , string >

Name

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }

Property Value

string

Namespace

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Namespace { get; set; }

Property Value

string

OnlyPassing

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool OnlyPassing { get; set; }

Property Value

bool

Partition

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Partition { get; set; }

Property Value

string

Redirect

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> Redirect { get; set; }

Property Value

Dictionary <string , string >

RequestTimeout

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string RequestTimeout { get; set; }

Property Value

string

Subsets

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> Subsets { get; set; }

Property Value

Dictionary <string , string >

  • Properties
    • ConnectTimeout
    • DefaultSubset
    • Filter
    • Kind
    • LoadBalancer
    • Meta
    • Name
    • Namespace
    • OnlyPassing
    • Partition
    • Redirect
    • RequestTimeout
    • Subsets