Skip to main content

Class ServiceRouterEntry

Namespace: Consul
Assembly: Consul.dll

Service routers use L7 network information to redirect a traffic request for a service to one or more specific service instances.

public class ServiceRouterEntry : IConfigurationEntry

Inheritance

objectServiceRouterEntry

Implements

IConfigurationEntry

Inherited Members

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

Properties

Kind

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

Property Value

string

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

Partition

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

Property Value

string

Routes

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public List<Routes> Routes { get; set; }

Property Value

List <Routes >

  • Properties
    • Kind
    • Meta
    • Name
    • Namespace
    • Partition
    • Routes