Skip to main content

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

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <NamespaceResponse >>

Create(Namespace, CancellationToken)

Task<WriteResult<NamespaceResponse>> Create(Namespace ns, CancellationToken ct = default)

Parameters

ns Namespace

ct CancellationToken

Returns

Task <WriteResult <NamespaceResponse >>

Delete(string, WriteOptions, CancellationToken)

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

Parameters

name string

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

Delete(string, CancellationToken)

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

Parameters

name string

ct CancellationToken

Returns

Task <WriteResult >

List(QueryOptions, CancellationToken)

Task<QueryResult<NamespaceResponse[]>> List(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse []>>

List(CancellationToken)

Task<QueryResult<NamespaceResponse[]>> List(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse []>>

Read(string, QueryOptions, CancellationToken)

Task<QueryResult<NamespaceResponse>> Read(string name, QueryOptions q, CancellationToken ct = default)

Parameters

name string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse >>

Read(string, CancellationToken)

Task<QueryResult<NamespaceResponse>> Read(string name, CancellationToken ct = default)

Parameters

name string

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse >>

Update(Namespace, WriteOptions, CancellationToken)

Task<WriteResult<NamespaceResponse>> Update(Namespace ns, WriteOptions q, CancellationToken ct = default)

Parameters

ns Namespace

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <NamespaceResponse >>

Update(Namespace, CancellationToken)

Task<WriteResult<NamespaceResponse>> Update(Namespace ns, CancellationToken ct = default)

Parameters

ns Namespace

ct CancellationToken

Returns

Task <WriteResult <NamespaceResponse >>

  • Methods
    • Create(Namespace, WriteOptions, CancellationToken)
    • Create(Namespace, CancellationToken)
    • Delete(string, WriteOptions, CancellationToken)
    • Delete(string, CancellationToken)
    • List(QueryOptions, CancellationToken)
    • List(CancellationToken)
    • Read(string, QueryOptions, CancellationToken)
    • Read(string, CancellationToken)
    • Update(Namespace, WriteOptions, CancellationToken)
    • Update(Namespace, CancellationToken)