Class RoleEntry
Namespace: Consul
Assembly: Consul.dll
RoleEntry represents an ACL Role in Consul
public class RoleEntry
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
RoleEntry()
public RoleEntry()
RoleEntry(string)
public RoleEntry(string name)
Parameters
name
string
RoleEntry(string, string)
public RoleEntry(string name, string description)
Parameters
name
string
description
string
RoleEntry(string, string, string)
public RoleEntry(string id, string name, string description)
Parameters
id
string
name
string
description
string
RoleEntry(string, string, string, PolicyLink[])
public RoleEntry(string id, string name, string description, PolicyLink[] policies)
Parameters
id
string
name
string
description
string
policies
PolicyLink []
RoleEntry(string, string, string, ServiceIdentity[])
public RoleEntry(string id, string name, string description, ServiceIdentity[] serviceIdentities)
Parameters
id
string
name
string
description
string
serviceIdentities
ServiceIdentity []
RoleEntry(string, string, string, PolicyLink[], ServiceIdentity[])
public RoleEntry(string id, string name, string description, PolicyLink[] policies, ServiceIdentity[] serviceIdentities)
Parameters
id
string
name
string
description
string
policies
PolicyLink []
serviceIdentities
ServiceIdentity []
Properties
Description
public string Description { get; set; }
Property Value
ID
public string ID { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Policies
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public PolicyLink[] Policies { get; set; }
Property Value
PolicyLink []
ServiceIdentities
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public ServiceIdentity[] ServiceIdentities { get; set; }
Property Value
Methods
ShouldSerializeCreateIndex()
public static bool ShouldSerializeCreateIndex()
Returns
ShouldSerializeModifyIndex()
public static bool ShouldSerializeModifyIndex()
Returns
Operators
implicit operator RoleLink(RoleEntry)
public static implicit operator RoleLink(RoleEntry r)