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
Check
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceCheck Check { get; set; }
Property Value
Checks
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceCheck[] Checks { get; set; }
Property Value
Connect
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceConnect Connect { get; set; }
Property Value
EnableTagOverride
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool EnableTagOverride { get; set; }
Property Value
ID
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string ID { get; set; }
Property Value
Kind
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public ServiceKind Kind { get; set; }
Property Value
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
Port
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int Port { get; set; }
Property Value
Proxy
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceProxy Proxy { get; set; }
Property Value
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 []