Condividi tramite


IFileSystemOperations.ListFileStatusWithHttpMessagesAsync Method

Definition

Get the list of file status objects specified by the file path, with optional pagination parameters

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.FileStatusesResult>> ListFileStatusWithHttpMessagesAsync (string accountName, string listFilePath, int? listSize = default, string listAfter = default, string listBefore = default, 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.FileStatusesResult>> ListFileStatusWithHttpMessagesAsync (string accountName, string path, int? listSize = default, string listAfter = default, string listBefore = default, bool? tooId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListFileStatusWithHttpMessagesAsync : string * string * Nullable<int> * 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.FileStatusesResult>>
abstract member ListFileStatusWithHttpMessagesAsync : string * string * Nullable<int> * 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.FileStatusesResult>>
Public Function ListFileStatusWithHttpMessagesAsync (accountName As String, listFilePath As String, Optional listSize As Nullable(Of Integer) = Nothing, Optional listAfter As String = Nothing, Optional listBefore As String = Nothing, 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 FileStatusesResult))
Public Function ListFileStatusWithHttpMessagesAsync (accountName As String, path As String, Optional listSize As Nullable(Of Integer) = Nothing, Optional listAfter As String = Nothing, Optional listBefore As String = Nothing, 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 FileStatusesResult))

Parameters

accountName
String

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

listFilePathpath
String

The Data Lake Store path (starting with '/') of the directory to list.

listSize
Nullable<Int32>

Gets or sets the number of items to return. Optional.

listAfter
String

Gets or sets the item or lexographical index after which to begin returning results. For example, a file list of 'a','b','d' and listAfter='b' will return 'd', and a listAfter='c' will also return 'd'. Optional.

listBefore
String

Gets or sets the item or lexographical index before which to begin returning results. For example, a file list of 'a','b','d' and listBefore='d' will return 'a','b', and a listBefore='c' will also return 'a','b'. Optional.

tooId
Nullable<Boolean>

An optional switch to return friendly names in place of owner and group. 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