Interface IServiceInstance
Namespace: Steeltoe.Common.Discovery
Assembly: Steeltoe.Common.dll
Syntax
public interface IServiceInstance
Properties
| Edit this page View SourceHost
Gets the hostname of the registered service instance.
Declaration
string Host { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSecure
Gets a value indicating whether the scheme of the registered service instance is https.
Declaration
bool IsSecure { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Metadata
Gets the key/value metadata associated with this service instance.
Declaration
IReadOnlyDictionary<string, string?> Metadata { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, System.Nullable<System.String>> |
Port
Gets the port of the registered service instance.
Declaration
int Port { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ServiceId
Gets the service ID as registered by the discovery client.
Declaration
string ServiceId { get; }
Property Value
Type | Description |
---|---|
System.String |
Uri
Gets the resolved address of the registered service instance.
Declaration
Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri |