Interface INamespacesEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Namespaces API Endpoints
public interface INamespacesEndpoint
Methods
Create(Namespace, WriteOptions, CancellationToken)
Task<WriteResult<NamespaceResponse>> Create(Namespace ns, WriteOptions q, CancellationToken ct = default)
Parameters
ns
Namespace
Returns
Task <WriteResult <NamespaceResponse >>
Create(Namespace, CancellationToken)
Task<WriteResult<NamespaceResponse>> Create(Namespace ns, CancellationToken ct = default)
Parameters
ns
Namespace
Returns
Task <WriteResult <NamespaceResponse >>
Delete(string, WriteOptions, CancellationToken)
Task<WriteResult> Delete(string name, WriteOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <WriteResult >
Delete(string, CancellationToken)
Task<WriteResult> Delete(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <WriteResult >
List(QueryOptions, CancellationToken)
Task<QueryResult<NamespaceResponse[]>> List(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <NamespaceResponse []>>
List(CancellationToken)
Task<QueryResult<NamespaceResponse[]>> List(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <NamespaceResponse []>>
Read(string, QueryOptions, CancellationToken)
Task<QueryResult<NamespaceResponse>> Read(string name, QueryOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <NamespaceResponse >>
Read(string, CancellationToken)
Task<QueryResult<NamespaceResponse>> Read(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <NamespaceResponse >>
Update(Namespace, WriteOptions, CancellationToken)
Task<WriteResult<NamespaceResponse>> Update(Namespace ns, WriteOptions q, CancellationToken ct = default)
Parameters
ns
Namespace
Returns
Task <WriteResult <NamespaceResponse >>
Update(Namespace, CancellationToken)
Task<WriteResult<NamespaceResponse>> Update(Namespace ns, CancellationToken ct = default)
Parameters
ns
Namespace