Class PolicyEntry
Namespace: Consul
Assembly: Consul.dll
PolicyEntry represents an ACL Policy in Consul
public class PolicyEntry
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
PolicyEntry()
public PolicyEntry()
PolicyEntry(string)
public PolicyEntry(string id)
Parameters
id
string
PolicyEntry(string, string)
public PolicyEntry(string id, string name)
Parameters
id
string
name
string
PolicyEntry(string, string, string, string, string[])
public PolicyEntry(string id, string name, string description, string rules, string[] datacenters)
Parameters
id
string
name
string
description
string
rules
string
datacenters
string []
Properties
Datacenters
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string[] Datacenters { get; set; }
Property Value
string []
Description
public string Description { get; set; }
Property Value
ID
public string ID { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Rules
public string Rules { get; set; }
Property Value
Methods
ShouldSerializeCreateIndex()
public static bool ShouldSerializeCreateIndex()
Returns
ShouldSerializeModifyIndex()
public static bool ShouldSerializeModifyIndex()
Returns
Operators
implicit operator PolicyLink(PolicyEntry)
public static implicit operator PolicyLink(PolicyEntry p)