Interface IHealthEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Health API Endpoints
public interface IHealthEndpoint
Methods
Checks(string, CancellationToken)
Task<QueryResult<HealthCheck[]>> Checks(string service, CancellationToken ct = default)
Parameters
service
string
Returns
Task <QueryResult <HealthCheck []>>
Checks(string, QueryOptions, CancellationToken)
Task<QueryResult<HealthCheck[]>> Checks(string service, QueryOptions q, CancellationToken ct = default)
Parameters
service
string
Returns
Task <QueryResult <HealthCheck []>>
Connect(string, string, bool, QueryOptions, Filter, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Connect(string service, string tag, bool passingOnly, QueryOptions q, Filter filter, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
filter
Filter
Returns
Task <QueryResult <ServiceEntry []>>
Connect(string, string, bool, QueryOptions, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Connect(string service, string tag, bool passingOnly, QueryOptions q, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
Returns
Task <QueryResult <ServiceEntry []>>
Ingress(string, string, bool, QueryOptions, Filter, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Ingress(string service, string tag, bool passingOnly, QueryOptions q, Filter filter, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
filter
Filter
Returns
Task <QueryResult <ServiceEntry []>>
Ingress(string, string, bool, QueryOptions, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Ingress(string service, string tag, bool passingOnly, QueryOptions q, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
Returns
Task <QueryResult <ServiceEntry []>>
Ingress(string, string, bool, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Ingress(string service, string tag, bool passingOnly, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
Returns
Task <QueryResult <ServiceEntry []>>
Node(string, CancellationToken)
Task<QueryResult<HealthCheck[]>> Node(string node, CancellationToken ct = default)
Parameters
node
string
Returns
Task <QueryResult <HealthCheck []>>
Node(string, QueryOptions, CancellationToken)
Task<QueryResult<HealthCheck[]>> Node(string node, QueryOptions q, CancellationToken ct = default)
Parameters
node
string
Returns
Task <QueryResult <HealthCheck []>>
Service(string, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Service(string service, CancellationToken ct = default)
Parameters
service
string
Returns
Task <QueryResult <ServiceEntry []>>
Service(string, string, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Service(string service, string tag, CancellationToken ct = default)
Parameters
service
string
tag
string
Returns
Task <QueryResult <ServiceEntry []>>
Service(string, string, bool, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Service(string service, string tag, bool passingOnly, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
Returns
Task <QueryResult <ServiceEntry []>>
Service(string, string, bool, QueryOptions, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Service(string service, string tag, bool passingOnly, QueryOptions q, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
Returns
Task <QueryResult <ServiceEntry []>>
Service(string, string, bool, QueryOptions, Filter, CancellationToken)
Task<QueryResult<ServiceEntry[]>> Service(string service, string tag, bool passingOnly, QueryOptions q, Filter filter, CancellationToken ct = default)
Parameters
service
string
tag
string
passingOnly
bool
filter
Filter
Returns
Task <QueryResult <ServiceEntry []>>
State(HealthStatus, CancellationToken)
Task<QueryResult<HealthCheck[]>> State(HealthStatus status, CancellationToken ct = default)
Parameters
status
HealthStatus
Returns
Task <QueryResult <HealthCheck []>>
State(HealthStatus, QueryOptions, CancellationToken)
Task<QueryResult<HealthCheck[]>> State(HealthStatus status, QueryOptions q, CancellationToken ct = default)
Parameters
status
HealthStatus
Returns
Task <QueryResult <HealthCheck []>>