Share via


FileSystemOperationsExtensions.MkdirsAsync Method

Definition

Creates a directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult> MkdirsAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, int? permission = default, System.Threading.CancellationToken cancellationToken = default);
static member MkdirsAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Store.Models.FileOperationResult>
<Extension()>
Public Function MkdirsAsync (operations As IFileSystemOperations, accountName As String, path As String, Optional permission As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileOperationResult)

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

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

path
String

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

permission
Nullable<Int32>

Optional octal permission with which the directory should be created.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to