Lake Directory Client. Get Paths Async(Boolean, Boolean, CancellationToken) Method
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.
public virtual Azure.AsyncPageable<Azure.Storage.Files.DataLake.Models.PathItem> GetPathsAsync (bool recursive = false, bool userPrincipalName = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPathsAsync : bool * bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Files.DataLake.Models.PathItem> override this.GetPathsAsync : bool * bool * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Files.DataLake.Models.PathItem>
Public Overridable Function GetPathsAsync (Optional recursive As Boolean = false, Optional userPrincipalName As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PathItem)
If "true", all paths are listed; otherwise, only paths at the root of the filesystem are listed.
Optional. Valid only when Hierarchical Namespace is enabled for the account. If "true", the user identity values returned in the owner and group fields of each list entry will be transformed from Azure Active Directory Object IDs to User Principal Names. If "false", the values will be returned as Azure Active Directory Object IDs. The default value is false. Note that group and application Object IDs are not translated because they do not have unique friendly names.
Optional CancellationToken to propagate notifications that the operation should be cancelled.
An Pageable<T> describing the paths in the directory.
A RequestFailedException will be thrown if a failure occurs.