Skip to main content

Interface IConfigurationEndpoint

Namespace: Consul.Interfaces
Assembly: Consul.dll

public interface IConfigurationEndpoint

Methods

ApplyConfig<TConfig>(WriteOptions, TConfig, CancellationToken)

Task<WriteResult> ApplyConfig<TConfig>(WriteOptions q, TConfig configurationEntry, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

q WriteOptions

configurationEntry TConfig

ct CancellationToken

Returns

Task <WriteResult >

Type Parameters

TConfig

ApplyConfig<TConfig>(TConfig, CancellationToken)

Task<WriteResult> ApplyConfig<TConfig>(TConfig configurationEntry, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

configurationEntry TConfig

ct CancellationToken

Returns

Task <WriteResult >

Type Parameters

TConfig

DeleteConfig(string, string, WriteOptions, CancellationToken)

Task<WriteResult> DeleteConfig(string kind, string name, WriteOptions q, CancellationToken ct = default)

Parameters

kind string

name string

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

DeleteConfig(string, string, CancellationToken)

Task<WriteResult> DeleteConfig(string kind, string name, CancellationToken ct = default)

Parameters

kind string

name string

ct CancellationToken

Returns

Task <WriteResult >

GetConfig<TConfig>(string, string, QueryOptions, CancellationToken)

Task<QueryResult<TConfig>> GetConfig<TConfig>(string kind, string name, QueryOptions q, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

kind string

name string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <TConfig>>

Type Parameters

TConfig

GetConfig<TConfig>(string, string, CancellationToken)

Task<QueryResult<TConfig>> GetConfig<TConfig>(string kind, string name, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

kind string

name string

ct CancellationToken

Returns

Task <QueryResult <TConfig>>

Type Parameters

TConfig

ListConfig<TConfig>(string, QueryOptions, CancellationToken)

Task<QueryResult<List<TConfig>>> ListConfig<TConfig>(string kind, QueryOptions q, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

kind string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <List <TConfig>>>

Type Parameters

TConfig

ListConfig<TConfig>(string, CancellationToken)

Task<QueryResult<List<TConfig>>> ListConfig<TConfig>(string kind, CancellationToken ct = default) where TConfig : IConfigurationEntry

Parameters

kind string

ct CancellationToken

Returns

Task <QueryResult <List <TConfig>>>

Type Parameters

TConfig

  • Methods
    • ApplyConfig<TConfig>(WriteOptions, TConfig, CancellationToken)
    • ApplyConfig<TConfig>(TConfig, CancellationToken)
    • DeleteConfig(string, string, WriteOptions, CancellationToken)
    • DeleteConfig(string, string, CancellationToken)
    • GetConfig<TConfig>(string, string, QueryOptions, CancellationToken)
    • GetConfig<TConfig>(string, string, CancellationToken)
    • ListConfig<TConfig>(string, QueryOptions, CancellationToken)
    • ListConfig<TConfig>(string, CancellationToken)