Skip to main content

Class AgentServiceRegistration

Namespace: Consul
Assembly: Consul.dll

AgentServiceRegistration is used to register a new service

public class AgentServiceRegistration

Inheritance​

object ← AgentServiceRegistration

Inherited Members​

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

Properties​

Address​

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

Property Value​

string

Check​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceCheck Check { get; set; }

Property Value​

AgentServiceCheck

Checks​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceCheck[] Checks { get; set; }

Property Value​

AgentServiceCheck []

Connect​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceConnect Connect { get; set; }

Property Value​

AgentServiceConnect

EnableTagOverride​

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

Property Value​

bool

ID​

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

Property Value​

string

Kind​

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

Property Value​

ServiceKind

Meta​

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

Property Value​

IDictionary <string , string >

Name​

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

Property Value​

string

Port​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int Port { get; set; }

Property Value​

int

Proxy​

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

Property Value​

AgentServiceProxy

TaggedAddresses​

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, ServiceTaggedAddress> TaggedAddresses { get; set; }

Property Value​

IDictionary <string , ServiceTaggedAddress >

Tags​

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

Property Value​

string []

  • Properties
    • Address
    • Check
    • Checks
    • Connect
    • EnableTagOverride
    • ID
    • Kind
    • Meta
    • Name
    • Port
    • Proxy
    • TaggedAddresses
    • Tags