Skip to main content

Interface ICoordinateEndpoint

Namespace: Consul
Assembly: Consul.dll

The interface for the Coordinate API Endpoints

public interface ICoordinateEndpoint

Methods

Datacenters(CancellationToken)

Task<QueryResult<CoordinateDatacenterMap[]>> Datacenters(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <CoordinateDatacenterMap []>>

Node(string, QueryOptions, CancellationToken)

Task<QueryResult<CoordinateEntry[]>> Node(string node, QueryOptions q, CancellationToken ct = default)

Parameters

node string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <CoordinateEntry []>>

Node(string, CancellationToken)

Task<QueryResult<CoordinateEntry[]>> Node(string node, CancellationToken ct = default)

Parameters

node string

ct CancellationToken

Returns

Task <QueryResult <CoordinateEntry []>>

Nodes(CancellationToken)

Task<QueryResult<CoordinateEntry[]>> Nodes(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <CoordinateEntry []>>

Nodes(QueryOptions, CancellationToken)

Task<QueryResult<CoordinateEntry[]>> Nodes(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <CoordinateEntry []>>

Update(CoordinateEntry, WriteOptions, CancellationToken)

Task<WriteResult> Update(CoordinateEntry entry, WriteOptions q, CancellationToken ct = default)

Parameters

entry CoordinateEntry

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

Update(CoordinateEntry, CancellationToken)

Task<WriteResult> Update(CoordinateEntry entry, CancellationToken ct = default)

Parameters

entry CoordinateEntry

ct CancellationToken

Returns

Task <WriteResult >

  • Methods
    • Datacenters(CancellationToken)
    • Node(string, QueryOptions, CancellationToken)
    • Node(string, CancellationToken)
    • Nodes(CancellationToken)
    • Nodes(QueryOptions, CancellationToken)
    • Update(CoordinateEntry, WriteOptions, CancellationToken)
    • Update(CoordinateEntry, CancellationToken)