Skip to main content

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

objectACLEntry

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

ulong

ID

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string ID { get; set; }

Property Value

string

ModifyIndex

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public ulong ModifyIndex { get; set; }

Property Value

ulong

Name

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string Name { get; set; }

Property Value

string

Rules

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public string Rules { get; set; }

Property Value

string

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

ACLType

Methods

ShouldSerializeCreateIndex()

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public bool ShouldSerializeCreateIndex()

Returns

bool

ShouldSerializeModifyIndex()

[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public bool ShouldSerializeModifyIndex()

Returns

bool

  • Constructors
    • ACLEntry()
    • ACLEntry(string, string)
    • ACLEntry(string, string, string)
  • Properties
    • CreateIndex
    • ID
    • ModifyIndex
    • Name
    • Rules
    • Type
  • Methods
    • ShouldSerializeCreateIndex()
    • ShouldSerializeModifyIndex()