Share via


Core.ModifyAclEntriesAsync Method

Definition

Overloads

ModifyAclEntriesAsync(String, List<AclEntry>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Modifies acl entries of a file or directory with given ACL list. It merges the exisitng ACL list with given list.

ModifyAclEntriesAsync(String, String, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Modifies acl entries of a file or directory with given ACL list. It merges the exisitng ACL list with given list.

ModifyAclEntriesAsync(String, List<AclEntry>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Modifies acl entries of a file or directory with given ACL list. It merges the exisitng ACL list with given list.

public static System.Threading.Tasks.Task ModifyAclEntriesAsync (string path, System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.Acl.AclEntry> aclSpecList, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ModifyAclEntriesAsync : string * System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.Acl.AclEntry> * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ModifyAclEntriesAsync (path As String, aclSpecList As List(Of AclEntry), client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

Parameters

path
String

Path of the file or directory

aclSpecList
List<AclEntry>

List of Acl Entries to modify

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to

ModifyAclEntriesAsync(String, String, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

Modifies acl entries of a file or directory with given ACL list. It merges the exisitng ACL list with given list.

public static System.Threading.Tasks.Task ModifyAclEntriesAsync (string path, string aclSpec, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ModifyAclEntriesAsync : string * string * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ModifyAclEntriesAsync (path As String, aclSpec As String, client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

Parameters

path
String

Path of the file or directory

aclSpec
String

AclSpec string that contains the ACL entries delimited by comma

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to