Skip to main content

Class AreaRequest

Namespace: Consul
Assembly: Consul.dll

public class AreaRequest

Inheritance​

object ← AreaRequest

Derived​

Area

Inherited Members​

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

Properties​

PeerDatacenter​

PeerDatacenter is the peer Consul datacenter that will make up the other side of this network area. Network areas always involve a pair of datacenters: the datacenter where the area was created, and the peer datacenter. This is required.

public string PeerDatacenter { get; set; }

Property Value​

string

RetryJoin​

RetryJoin specifies the address of Consul servers to join to, such as an IPs or hostnames with an optional port number. This is optional.

public string[] RetryJoin { get; set; }

Property Value​

string []

UseTLS​

UseTLS specifies whether gossip over this area should be encrypted with TLS if possible.

public bool UseTLS { get; set; }

Property Value​

bool