Skip to main content

Class Namespaces

Namespace: Consul
Assembly: Consul.dll

public class Namespaces : INamespacesEndpoint

Inheritance

objectNamespaces

Implements

INamespacesEndpoint

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Methods

Create(Namespace, WriteOptions, CancellationToken)

public 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)

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

Parameters

ns Namespace

ct CancellationToken

Returns

Task <WriteResult <NamespaceResponse >>

Delete(string, WriteOptions, CancellationToken)

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

Parameters

name string

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

Delete(string, CancellationToken)

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

Parameters

name string

ct CancellationToken

Returns

Task <WriteResult >

List(QueryOptions, CancellationToken)

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

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse []>>

List(CancellationToken)

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

Parameters

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse []>>

Read(string, QueryOptions, CancellationToken)

public 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)

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

Parameters

name string

ct CancellationToken

Returns

Task <QueryResult <NamespaceResponse >>

Update(Namespace, WriteOptions, CancellationToken)

public 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)

public 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)