Table of Contents

Interface IServiceInstance

Namespace
Steeltoe.Common.Discovery
Assembly
Steeltoe.Common.Abstractions.dll
public interface IServiceInstance

Properties

Host

Gets the hostname of the registered ServiceInstance

string Host { get; }

Property Value

string

IsSecure

Gets a value indicating whether if the port of the registered ServiceInstance is https or not

bool IsSecure { get; }

Property Value

bool

Metadata

Gets the key value pair metadata associated with the service instance

IDictionary<string, string> Metadata { get; }

Property Value

IDictionary<string, string>

Port

Gets the port of the registered ServiceInstance

int Port { get; }

Property Value

int

ServiceId

Gets the service id as register by the DiscoveryClient

string ServiceId { get; }

Property Value

string

Uri

Gets the service uri address

Uri Uri { get; }

Property Value

Uri