Interface IACLEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Legacy ACL System API Endpoints
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
public interface IACLEndpoint
Methods
Clone(string, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> Clone(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <string >>
Clone(string, WriteOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> Clone(string id, WriteOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <string >>
Create(ACLEntry, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> Create(ACLEntry acl, CancellationToken ct = default)
Parameters
acl
ACLEntry
Returns
Task <WriteResult <string >>
Create(ACLEntry, WriteOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> Create(ACLEntry acl, WriteOptions q, CancellationToken ct = default)
Parameters
acl
ACLEntry
Returns
Task <WriteResult <string >>
Destroy(string, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<bool>> Destroy(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <bool >>
Destroy(string, WriteOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<bool>> Destroy(string id, WriteOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <bool >>
Info(string, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<ACLEntry>> Info(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <ACLEntry >>
Info(string, QueryOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<ACLEntry>> Info(string id, QueryOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <ACLEntry >>
List(CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<ACLEntry[]>> List(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <ACLEntry []>>
List(QueryOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<ACLEntry[]>> List(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <ACLEntry []>>
TranslateLegacyTokenRules(string, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<string>> TranslateLegacyTokenRules(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <string >>
TranslateLegacyTokenRules(string, QueryOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<QueryResult<string>> TranslateLegacyTokenRules(string id, QueryOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <string >>
TranslateRules(string, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> TranslateRules(string rules, CancellationToken ct = default)
Parameters
rules
string
Returns
Task <WriteResult <string >>
TranslateRules(string, WriteOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult<string>> TranslateRules(string rules, WriteOptions q, CancellationToken ct = default)
Parameters
rules
string
Returns
Task <WriteResult <string >>
Update(ACLEntry, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult> Update(ACLEntry acl, CancellationToken ct = default)
Parameters
acl
ACLEntry
Returns
Task <WriteResult >
Update(ACLEntry, WriteOptions, CancellationToken)
[Obsolete("The Legacy ACL system has been deprecated, please use Token, Role and Policy instead.")]
Task<WriteResult> Update(ACLEntry acl, WriteOptions q, CancellationToken ct = default)
Parameters
acl
ACLEntry
Returns
Task <WriteResult >