From ed5166a2926d6cb0bc4b1e9bbfcc6c2b29026514 Mon Sep 17 00:00:00 2001 From: zhijie wang Date: Mon, 17 Dec 2018 20:19:24 +0800 Subject: [PATCH] add new property for AgentServiceCheck --- Consul/Agent.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Consul/Agent.cs b/Consul/Agent.cs index 1350f84..46fc457 100644 --- a/Consul/Agent.cs +++ b/Consul/Agent.cs @@ -257,6 +257,12 @@ public class AgentServiceCheck [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public bool TLSSkipVerify { get; set; } + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public string AliasNode { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public string AliasService { get; set; } + /// /// In Consul 0.7 and later, checks that are associated with a service /// may also contain this optional DeregisterCriticalServiceAfter field,