Table of Contents

Class EurekaInstanceOptions

Namespace
Steeltoe.Discovery.Eureka
Assembly
Steeltoe.Discovery.Eureka.dll
public class EurekaInstanceOptions : EurekaInstanceConfig, IEurekaInstanceConfig, IDiscoveryRegistrationOptions
Inheritance
EurekaInstanceOptions
Implements
Inherited Members

Constructors

EurekaInstanceOptions()

public EurekaInstanceOptions()

Fields

Default_HealthCheckUrlPath

public const string Default_HealthCheckUrlPath = "/health"

Field Value

string

Default_StatusPageUrlPath

public const string Default_StatusPageUrlPath = "/info"

Field Value

string

EUREKA_INSTANCE_CONFIGURATION_PREFIX

public const string EUREKA_INSTANCE_CONFIGURATION_PREFIX = "eureka:instance"

Field Value

string

Properties

AppGroup

public virtual string AppGroup { get; set; }

Property Value

string

HostName

public override string HostName { get; set; }

Property Value

string

InstanceEnabledOnInit

public virtual bool InstanceEnabledOnInit { get; set; }

Property Value

bool

IpAddress

Gets or sets the IPAdress of the instance. This information is for academic purposes only as the communication from other instances primarily happen using the information supplied in GetHostName(bool)

public override string IpAddress { get; set; }

Property Value

string

NonSecurePortEnabled

public virtual bool NonSecurePortEnabled { get; set; }

Property Value

bool

Port

public virtual int Port { get; set; }

Property Value

int

RegistrationMethod

public virtual string RegistrationMethod { get; set; }

Property Value

string

SecureVipAddress

public virtual string SecureVipAddress { get; set; }

Property Value

string

VipAddress

public virtual string VipAddress { get; set; }

Property Value

string

Methods

ApplyConfigUrls(List<Uri>, string)

public void ApplyConfigUrls(List<Uri> addresses, string wildcard_hostname)

Parameters

addresses List<Uri>
wildcard_hostname string

GetHostName(bool)

Gets the hostname associated with this instance. This is the exact name that would be used by other instances to make calls.

public override string GetHostName(bool refresh)

Parameters

refresh bool

refresh hostname

Returns

string

hostname