Skip to main content

Class AgentService

Namespace: Consul
Assembly: Consul.dll

AgentService represents a service known to the agent

public class AgentService

Inheritance​

object ← AgentService

Inherited Members​

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

Properties​

Address​

public string Address { get; set; }

Property Value​

string

EnableTagOverride​

public bool EnableTagOverride { get; set; }

Property Value​

bool

ID​

public string ID { get; set; }

Property Value​

string

Kind​

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

Property Value​

ServiceKind

Meta​

public IDictionary<string, string> Meta { get; set; }

Property Value​

IDictionary <string , string >

Port​

public int Port { get; set; }

Property Value​

int

Proxy​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceProxy Proxy { get; set; }

Property Value​

AgentServiceProxy

Service​

public string Service { get; set; }

Property Value​

string

TaggedAddresses​

public IDictionary<string, ServiceTaggedAddress> TaggedAddresses { get; set; }

Property Value​

IDictionary <string , ServiceTaggedAddress >

Tags​

public string[] Tags { get; set; }

Property Value​

string []

  • Properties
    • Address
    • EnableTagOverride
    • ID
    • Kind
    • Meta
    • Port
    • Proxy
    • Service
    • TaggedAddresses
    • Tags