FileSystemOperationsExtensions.SetAclAsync Método

Definição

Define a ACL (Lista de Controle de Acesso) para um arquivo ou pasta.

public static System.Threading.Tasks.Task SetAclAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string setAclFilePath, string aclspec, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task SetAclAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, string aclspec, System.Threading.CancellationToken cancellationToken = default);
static member SetAclAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
static member SetAclAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SetAclAsync (operations As IFileSystemOperations, accountName As String, setAclFilePath As String, aclspec As String, Optional cancellationToken As CancellationToken = Nothing) As Task
<Extension()>
Public Function SetAclAsync (operations As IFileSystemOperations, accountName As String, path As String, aclspec As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IFileSystemOperations

O grupo de operações para esse método de extensão.

accountName
String

A conta do Azure Data Lake Store na qual executar operações do sistema de arquivos.

setAclFilePathpath
String

O caminho do Data Lake Store (começando com '/') do arquivo ou diretório no qual definir a ACL.

aclspec
String

A especificação de ACL incluída nas operações de criação de ACL no formato '[default:]user|group|other::r|-w|-x|-'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a