Skip to main content

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

ct CancellationToken

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

q WriteOptions

ct CancellationToken

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

ct CancellationToken

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

q WriteOptions

ct CancellationToken

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

ct CancellationToken

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

q WriteOptions

ct CancellationToken

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

ct CancellationToken

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

q QueryOptions

ct CancellationToken

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

ct CancellationToken

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

q QueryOptions

ct CancellationToken

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

ct CancellationToken

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

q QueryOptions

ct CancellationToken

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

ct CancellationToken

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

q WriteOptions

ct CancellationToken

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

ct CancellationToken

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

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

  • Methods
    • Clone(string, CancellationToken)
    • Clone(string, WriteOptions, CancellationToken)
    • Create(ACLEntry, CancellationToken)
    • Create(ACLEntry, WriteOptions, CancellationToken)
    • Destroy(string, CancellationToken)
    • Destroy(string, WriteOptions, CancellationToken)
    • Info(string, CancellationToken)
    • Info(string, QueryOptions, CancellationToken)
    • List(CancellationToken)
    • List(QueryOptions, CancellationToken)
    • TranslateLegacyTokenRules(string, CancellationToken)
    • TranslateLegacyTokenRules(string, QueryOptions, CancellationToken)
    • TranslateRules(string, CancellationToken)
    • TranslateRules(string, WriteOptions, CancellationToken)
    • Update(ACLEntry, CancellationToken)
    • Update(ACLEntry, WriteOptions, CancellationToken)