Skip to main content

Class NodeIdentity

Namespace: Consul
Assembly: Consul.dll

public class NodeIdentity

Inheritance​

object ← NodeIdentity

Inherited Members​

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Constructors​

NodeIdentity()​

public NodeIdentity()

NodeIdentity(string, string)​

public NodeIdentity(string nodeName, string datacenter)

Parameters​

nodeName string

datacenter string

Properties​

Datacenter​

Name of the datacenter in which the node identity applies

public string Datacenter { get; set; }

Property Value​

string

NodeName​

Name of the node you want to associate with the policy

public string NodeName { get; set; }

Property Value​

string