Skip to main content

Class AgentServiceProxy

Namespace: Consul
Assembly: Consul.dll

AgentServiceProxy specifies the configuration for a Connect service proxy instance. This is only valid if Kind defines a proxy or gateway.

public class AgentServiceProxy

Inheritance

objectAgentServiceProxy

Inherited Members

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

Properties

DestinationServiceID

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

Property Value

string

DestinationServiceName

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

Property Value

string

LocalServiceAddress

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

Property Value

string

LocalServicePort

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int LocalServicePort { get; set; }

Property Value

int

Upstreams

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AgentServiceProxyUpstream[] Upstreams { get; set; }

Property Value

AgentServiceProxyUpstream []

  • Properties
    • DestinationServiceID
    • DestinationServiceName
    • LocalServiceAddress
    • LocalServicePort
    • Upstreams