Class ConsulServiceInstance
A Consul service instance constructed from a ServiceEntry
Inheritance
System.Object
ConsulServiceInstance
Assembly: Steeltoe.Discovery.Consul.dll
Syntax
public class ConsulServiceInstance : IServiceInstance
Constructors
|
Edit this page
View Source
ConsulServiceInstance(ServiceEntry)
Declaration
public ConsulServiceInstance(ServiceEntry serviceEntry)
Parameters
Type |
Name |
Description |
ServiceEntry |
serviceEntry |
the service entry from the Consul server
|
Properties
|
Edit this page
View Source
Host
Declaration
public string Host { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
IsSecure
Declaration
public bool IsSecure { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public IDictionary<string, string> Metadata { get; }
Property Value
Type |
Description |
IDictionary<System.String, System.String> |
|
|
Edit this page
View Source
Port
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ServiceId
Declaration
public string ServiceId { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public string[] Tags { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
Uri
Declaration
Property Value