Class Namespaces
Namespace: Consul
Assembly: Consul.dll
public class Namespaces : INamespacesEndpoint
Inheritance
Implements
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
Returns
Task <WriteResult <NamespaceResponse >>
Create(Namespace, CancellationToken)
public Task<WriteResult<NamespaceResponse>> Create(Namespace ns, CancellationToken ct = default)
Parameters
ns
Namespace
Returns
Task <WriteResult <NamespaceResponse >>
Delete(string, WriteOptions, CancellationToken)
public Task<WriteResult> Delete(string name, WriteOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <WriteResult >
Delete(string, CancellationToken)
public Task<WriteResult> Delete(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <WriteResult >
List(QueryOptions, CancellationToken)
public Task<QueryResult<NamespaceResponse[]>> List(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <NamespaceResponse []>>
List(CancellationToken)
public Task<QueryResult<NamespaceResponse[]>> List(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <NamespaceResponse []>>
Read(string, QueryOptions, CancellationToken)
public Task<QueryResult<NamespaceResponse>> Read(string name, QueryOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <NamespaceResponse >>
Read(string, CancellationToken)
public Task<QueryResult<NamespaceResponse>> Read(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <NamespaceResponse >>
Update(Namespace, WriteOptions, CancellationToken)
public Task<WriteResult<NamespaceResponse>> Update(Namespace ns, WriteOptions q, CancellationToken ct = default)
Parameters
ns
Namespace
Returns
Task <WriteResult <NamespaceResponse >>
Update(Namespace, CancellationToken)
public Task<WriteResult<NamespaceResponse>> Update(Namespace ns, CancellationToken ct = default)
Parameters
ns
Namespace