Class ACLEntry
Namespace: Consul
Assembly: Consul.dll
[Deprecated] ACLEntry is used to represent an ACL entry (Legacy Token)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public class ACLEntry
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
ACLEntry()
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ACLEntry()
ACLEntry(string, string)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ACLEntry(string name, string rules)
Parameters
name
string
rules
string
ACLEntry(string, string, string)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ACLEntry(string id, string name, string rules)
Parameters
id
string
name
string
rules
string
Properties
CreateIndex
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ulong CreateIndex { get; set; }
Property Value
ID
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string ID { get; set; }
Property Value
ModifyIndex
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ulong ModifyIndex { get; set; }
Property Value
Name
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string Name { get; set; }
Property Value
Rules
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string Rules { get; set; }
Property Value
Type
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
[JsonConverter(typeof(ACLTypeConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public ACLType Type { get; set; }
Property Value
Methods
ShouldSerializeCreateIndex()
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public bool ShouldSerializeCreateIndex()
Returns
ShouldSerializeModifyIndex()
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public bool ShouldSerializeModifyIndex()