Class QueryTemplate
Namespace: Consul
Assembly: Consul.dll
QueryTemplate carries the arguments for creating a templated query.
public class QueryTemplate
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
QueryTemplate()
public QueryTemplate()
Properties
Regexp
Regexp allows specifying a regex pattern to match against the name of the query being executed.
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Regexp { get; set; }
Property Value
Type
Type specifies the type of the query template. Currently only "name_prefix_match" is supported. This field is required.
[JsonProperty(NullValueHandling = NullValueHandling.Include)]
public string Type { get; set; }