Interface IServiceInstance
Namespace: Steeltoe.Common.Discovery
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IServiceInstance
Properties
| Edit this page View SourceHost
Gets the hostname of the registered ServiceInstance
Declaration
string Host { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSecure
Gets a value indicating whether if the port of the registered ServiceInstance is https or not
Declaration
bool IsSecure { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Metadata
Gets the key value pair metadata associated with the service instance
Declaration
IDictionary<string, string> Metadata { get; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.String> |
Port
Gets the port of the registered ServiceInstance
Declaration
int Port { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ServiceId
Gets the service id as register by the DiscoveryClient
Declaration
string ServiceId { get; }
Property Value
Type | Description |
---|---|
System.String |
Uri
Gets the service uri address
Declaration
Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri |