Interface IOperatorEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Operator API Endpoints
public interface IOperatorEndpoint
Methods
AreaCreate(AreaRequest, WriteOptions, CancellationToken)
Task<WriteResult<string>> AreaCreate(AreaRequest area, WriteOptions q, CancellationToken ct = default)
Parameters
area
AreaRequest
Returns
Task <WriteResult <string >>
AreaCreate(AreaRequest, CancellationToken)
Task<WriteResult<string>> AreaCreate(AreaRequest area, CancellationToken ct = default)
Parameters
area
AreaRequest
Returns
Task <WriteResult <string >>
AreaDelete(string, CancellationToken)
Task<WriteResult> AreaDelete(string areaId, CancellationToken cancellationToken = default)
Parameters
areaId
string
cancellationToken
CancellationToken
Returns
Task <WriteResult >
AreaDelete(string, WriteOptions, CancellationToken)
Task<WriteResult> AreaDelete(string areaId, WriteOptions q, CancellationToken cancellationToken = default)
Parameters
areaId
string
cancellationToken
CancellationToken
Returns
Task <WriteResult >
AreaGet(string, CancellationToken)
Task<QueryResult<Area[]>> AreaGet(string areaId, CancellationToken cancellationToken = default)
Parameters
areaId
string
cancellationToken
CancellationToken
Returns
Task <QueryResult <Area []>>
AreaGet(string, QueryOptions, CancellationToken)
Task<QueryResult<Area[]>> AreaGet(string areaId, QueryOptions q, CancellationToken cancellationToken = default)
Parameters
areaId
string
cancellationToken
CancellationToken
Returns
Task <QueryResult <Area []>>
AreaList(CancellationToken)
Task<QueryResult<List<Area>>> AreaList(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
Task <QueryResult <List <Area >>>
AreaList(QueryOptions, CancellationToken)
Task<QueryResult<List<Area>>> AreaList(QueryOptions q, CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
Task <QueryResult <List <Area >>>
AreaUpdate(AreaRequest, string, CancellationToken)
Task<WriteResult<string>> AreaUpdate(AreaRequest area, string areaId, CancellationToken cancellationToken = default)
Parameters
area
AreaRequest
areaId
string
cancellationToken
CancellationToken
Returns
Task <WriteResult <string >>
AreaUpdate(AreaRequest, string, WriteOptions, CancellationToken)
Task<WriteResult<string>> AreaUpdate(AreaRequest area, string areaId, WriteOptions q, CancellationToken cancellationToken = default)
Parameters
area
AreaRequest
areaId
string
cancellationToken
CancellationToken
Returns
Task <WriteResult <string >>
GetConsulLicense(string, CancellationToken)
Task<QueryResult<ConsulLicense>> GetConsulLicense(string datacenter = "", CancellationToken ct = default)
Parameters
datacenter
string
Returns
Task <QueryResult <ConsulLicense >>
KeyringInstall(string, CancellationToken)
Task<WriteResult> KeyringInstall(string key, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
KeyringInstall(string, WriteOptions, CancellationToken)
Task<WriteResult> KeyringInstall(string key, WriteOptions q, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
KeyringList(CancellationToken)
Task<QueryResult<KeyringResponse[]>> KeyringList(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <KeyringResponse []>>
KeyringList(QueryOptions, CancellationToken)
Task<QueryResult<KeyringResponse[]>> KeyringList(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <KeyringResponse []>>
KeyringRemove(string, CancellationToken)
Task<WriteResult> KeyringRemove(string key, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
KeyringRemove(string, WriteOptions, CancellationToken)
Task<WriteResult> KeyringRemove(string key, WriteOptions q, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
KeyringUse(string, CancellationToken)
Task<WriteResult> KeyringUse(string key, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
KeyringUse(string, WriteOptions, CancellationToken)
Task<WriteResult> KeyringUse(string key, WriteOptions q, CancellationToken ct = default)
Parameters
key
string
Returns
Task <WriteResult >
RaftGetConfiguration(CancellationToken)
Task<QueryResult<RaftConfiguration>> RaftGetConfiguration(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <RaftConfiguration >>
RaftGetConfiguration(QueryOptions, CancellationToken)
Task<QueryResult<RaftConfiguration>> RaftGetConfiguration(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <RaftConfiguration >>
RaftRemovePeerByAddress(string, CancellationToken)
Task<WriteResult> RaftRemovePeerByAddress(string address, CancellationToken ct = default)
Parameters
address
string
Returns
Task <WriteResult >
RaftRemovePeerByAddress(string, WriteOptions, CancellationToken)
Task<WriteResult> RaftRemovePeerByAddress(string address, WriteOptions q, CancellationToken ct = default)
Parameters
address
string
Returns
Task <WriteResult >
SegmentList(QueryOptions, CancellationToken)
Task<QueryResult<string[]>> SegmentList(QueryOptions q, CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
Task <QueryResult <string []>>
SegmentList(CancellationToken)
Task<QueryResult<string[]>> SegmentList(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
Task <QueryResult <string []>>