Skip to main content

Class ExportedServiceEntry

Namespace: Consul
Assembly: Consul.dll

The Exported Service configuration entry enables Consul to export service instances to other clusters from a single file and connect services across clusters.

public class ExportedServiceEntry : IConfigurationEntry

Inheritance

objectExportedServiceEntry

Implements

IConfigurationEntry

Inherited Members

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

Properties

Kind

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Kind { get; set; }

Property Value

string

Meta

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, string> Meta { get; set; }

Property Value

Dictionary <string , string >

Name

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }

Property Value

string

Partition

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Partition { get; set; }

Property Value

string

Services

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public List<ServiceDefinition> Services { get; set; }

Property Value

List <ServiceDefinition >