Interface IDiscoveryChainEndpoint
Namespace: Consul.Interfaces
Assembly: Consul.dll
The interface for the Discovery Chain API Endpoints
public interface IDiscoveryChainEndpoint
Methods
Get(string, QueryOptions, CancellationToken)
Task<QueryResult<DiscoveryChainResponse>> Get(string name, QueryOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <DiscoveryChainResponse >>
Get(string, CancellationToken)
Task<QueryResult<DiscoveryChainResponse>> Get(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <DiscoveryChainResponse >>
Get(string, DiscoveryChainOptions, WriteOptions, string, CancellationToken)
Task<WriteResult<DiscoveryChainResponse>> Get(string name, DiscoveryChainOptions options, WriteOptions q, string compileDataCenter = null, CancellationToken ct = default)
Parameters
name
string
options
DiscoveryChainOptions
compileDataCenter
string
Returns
Task <WriteResult <DiscoveryChainResponse >>
Get(string, DiscoveryChainOptions, string, CancellationToken)
Task<WriteResult<DiscoveryChainResponse>> Get(string name, DiscoveryChainOptions options, string compileDataCenter = null, CancellationToken ct = default)
Parameters
name
string
options
DiscoveryChainOptions
compileDataCenter
string