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
configurationEntry
TConfig
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
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
Returns
Task <WriteResult >
DeleteConfig(string, string, CancellationToken)
Task<WriteResult> DeleteConfig(string kind, string name, CancellationToken ct = default)
Parameters
kind
string
name
string
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
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
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
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
Returns
Task <QueryResult <List <TConfig>>>
Type Parameters
TConfig