Share via


IFileSystemOperations.GetAclStatusWithHttpMessagesAsync Method

Definition

Gets Access Control List (ACL) entries for the specified file or directory.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>> GetAclStatusWithHttpMessagesAsync (string accountName, string aclFilePath, bool? tooId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>> GetAclStatusWithHttpMessagesAsync (string accountName, string path, bool? tooId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAclStatusWithHttpMessagesAsync : string * string * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>>
abstract member GetAclStatusWithHttpMessagesAsync : string * string * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.AclStatusResult>>
Public Function GetAclStatusWithHttpMessagesAsync (accountName As String, aclFilePath As String, Optional tooId As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AclStatusResult))
Public Function GetAclStatusWithHttpMessagesAsync (accountName As String, path As String, Optional tooId As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AclStatusResult))

Parameters

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

aclFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory for which to get the ACL.

tooId
Nullable<Boolean>

An optional switch to return friendly names in place of object ID for ACL entries. tooid=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to