Skip to main content

Class RoleEntry

Namespace: Consul
Assembly: Consul.dll

RoleEntry represents an ACL Role in Consul

public class RoleEntry

Inheritance

objectRoleEntry

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

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 []

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

string

ID

public string ID { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

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

ServiceIdentity []

Methods

ShouldSerializeCreateIndex()

public static bool ShouldSerializeCreateIndex()

Returns

bool

ShouldSerializeModifyIndex()

public static bool ShouldSerializeModifyIndex()

Returns

bool

Operators

implicit operator RoleLink(RoleEntry)

public static implicit operator RoleLink(RoleEntry r)

Parameters

r RoleEntry

Returns

RoleLink

  • Constructors
    • RoleEntry()
    • RoleEntry(string)
    • RoleEntry(string, string)
    • RoleEntry(string, string, string)
    • RoleEntry(string, string, string, PolicyLink[])
    • RoleEntry(string, string, string, ServiceIdentity[])
    • RoleEntry(string, string, string, PolicyLink[], ServiceIdentity[])
  • Properties
    • Description
    • ID
    • Name
    • Policies
    • ServiceIdentities
  • Methods
    • ShouldSerializeCreateIndex()
    • ShouldSerializeModifyIndex()
  • Operators
    • implicit operator RoleLink(RoleEntry)