Class ConfigurationServiceInstance
- Namespace
- Steeltoe.Discovery.Configuration
- Assembly
- Steeltoe.Discovery.Configuration.dll
Represents an IServiceInstance inside ConfigurationDiscoveryOptions that was loaded from app configuration.
public sealed class ConfigurationServiceInstance : IServiceInstance
- Inheritance
-
ConfigurationServiceInstance
- Implements
- Inherited Members
Properties
Host
Gets the hostname of the registered service instance.
[Required]
public string? Host { get; set; }
Property Value
InstanceId
Gets the instance ID as registered by the discovery client.
public string InstanceId { get; }
Property Value
IsSecure
Gets a value indicating whether the scheme of the registered service instance is https.
public bool IsSecure { get; set; }
Property Value
Metadata
Gets the key/value metadata associated with this service instance.
public IDictionary<string, string?> Metadata { get; }
Property Value
NonSecureUri
Gets the HTTP-based resolved address of the registered service instance, if available.
public Uri? NonSecureUri { get; }
Property Value
Port
Gets the port of the registered service instance.
public int Port { get; set; }
Property Value
SecureUri
Gets the HTTPS-based resolved address of the registered service instance, if available.
public Uri? SecureUri { get; }
Property Value
ServiceId
Gets the service ID as registered by the discovery client.
[Required]
public string? ServiceId { get; set; }
Property Value
Uri
Gets the resolved address of the registered service instance.
public Uri Uri { get; }