Skip to main content

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

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <DiscoveryChainResponse >>

Get(string, CancellationToken)

Task<QueryResult<DiscoveryChainResponse>> Get(string name, CancellationToken ct = default)

Parameters

name string

ct CancellationToken

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

q WriteOptions

compileDataCenter string

ct CancellationToken

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

ct CancellationToken

Returns

Task <WriteResult <DiscoveryChainResponse >>

  • Methods
    • Get(string, QueryOptions, CancellationToken)
    • Get(string, CancellationToken)
    • Get(string, DiscoveryChainOptions, WriteOptions, string, CancellationToken)
    • Get(string, DiscoveryChainOptions, string, CancellationToken)