Table of Contents

Interface IServiceInstance

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

Properties

Host

Gets the hostname of the registered service instance.

string Host { get; }

Property Value

string

IsSecure

Gets a value indicating whether the scheme of the registered service instance is https.

bool IsSecure { get; }

Property Value

bool

Metadata

Gets the key/value metadata associated with this service instance.

IReadOnlyDictionary<string, string?> Metadata { get; }

Property Value

IReadOnlyDictionary<string, string>

Port

Gets the port of the registered service instance.

int Port { get; }

Property Value

int

ServiceId

Gets the service ID as registered by the discovery client.

string ServiceId { get; }

Property Value

string

Uri

Gets the resolved address of the registered service instance.

Uri Uri { get; }

Property Value

Uri