FileSystemOperationsExtensions.ListFileStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the list of file status objects specified by the file path, with optional pagination parameters
public static Microsoft.Azure.Management.DataLake.Store.Models.FileStatusesResult ListFileStatus (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string listFilePath, int? listSize = default, string listAfter = default, string listBefore = default, bool? tooId = default);
public static Microsoft.Azure.Management.DataLake.Store.Models.FileStatusesResult ListFileStatus (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, int? listSize = default, string listAfter = default, string listBefore = default, bool? tooId = default);
static member ListFileStatus : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<int> * string * string * Nullable<bool> -> Microsoft.Azure.Management.DataLake.Store.Models.FileStatusesResult
static member ListFileStatus : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<int> * string * string * Nullable<bool> -> Microsoft.Azure.Management.DataLake.Store.Models.FileStatusesResult
<Extension()>
Public Function ListFileStatus (operations As IFileSystemOperations, 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) As FileStatusesResult
<Extension()>
Public Function ListFileStatus (operations As IFileSystemOperations, 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) As FileStatusesResult
Parameters
- operations
- IFileSystemOperations
The operations group for this extension method.
- 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.
- 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.
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.
Returns
Applies to
Azure SDK for .NET