Class EurekaInstanceOptions
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
Default_StatusPageUrlPath
public const string Default_StatusPageUrlPath = "/info"
Field Value
EUREKA_INSTANCE_CONFIGURATION_PREFIX
public const string EUREKA_INSTANCE_CONFIGURATION_PREFIX = "eureka:instance"
Field Value
Properties
AppGroup
public virtual string AppGroup { get; set; }
Property Value
HostName
public override string HostName { get; set; }
Property Value
InstanceEnabledOnInit
public virtual bool InstanceEnabledOnInit { get; set; }
Property Value
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
NonSecurePortEnabled
public virtual bool NonSecurePortEnabled { get; set; }
Property Value
Port
public virtual int Port { get; set; }
Property Value
RegistrationMethod
public virtual string RegistrationMethod { get; set; }
Property Value
SecureVipAddress
public virtual string SecureVipAddress { get; set; }
Property Value
VipAddress
public virtual string VipAddress { get; set; }
Property Value
Methods
ApplyConfigUrls(List<Uri>, string)
public void ApplyConfigUrls(List<Uri> addresses, string wildcard_hostname)
Parameters
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
boolrefresh hostname
Returns
- string
hostname