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

InstanceId

Gets the instance ID as registered by the discovery client.

string InstanceId { 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>

NonSecureUri

Gets the HTTP-based resolved address of the registered service instance, if available.

Uri? NonSecureUri { get; }

Property Value

Uri

Port

Gets the port of the registered service instance.

int Port { get; }

Property Value

int

SecureUri

Gets the HTTPS-based resolved address of the registered service instance, if available.

Uri? SecureUri { get; }

Property Value

Uri

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