Class EurekaApplicationsHealthContributor
public class EurekaApplicationsHealthContributor : IHealthContributor
- Inheritance
-
EurekaApplicationsHealthContributor
- Implements
- Inherited Members
Constructors
EurekaApplicationsHealthContributor(EurekaDiscoveryClient, ILogger<EurekaApplicationsHealthContributor>)
public EurekaApplicationsHealthContributor(EurekaDiscoveryClient discoveryClient, ILogger<EurekaApplicationsHealthContributor> logger = null)
Parameters
discoveryClient
EurekaDiscoveryClientlogger
ILogger<EurekaApplicationsHealthContributor>
Properties
Id
Gets an identifier for the type of check being performed
public string Id { get; }
Property Value
Methods
Health()
Check the health of a resource
public HealthCheckResult Health()
Returns
- HealthCheckResult
The result of checking the health of a resource