你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataLakeDirectoryClient.SetAccessControlList 方法

定义

public override Azure.Response<Azure.Storage.Files.DataLake.Models.PathInfo> SetAccessControlList (System.Collections.Generic.IList<Azure.Storage.Files.DataLake.Models.PathAccessControlItem> accessControlList, string owner = default, string group = default, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
override this.SetAccessControlList : System.Collections.Generic.IList<Azure.Storage.Files.DataLake.Models.PathAccessControlItem> * string * string * Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.PathInfo>
Public Overrides Function SetAccessControlList (accessControlList As IList(Of PathAccessControlItem), Optional owner As String = Nothing, Optional group As String = Nothing, Optional conditions As DataLakeRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PathInfo)

参数

accessControlList
IList<PathAccessControlItem>

文件或目录的 POSIX 访问控制列表。

owner
String

文件或目录的所有者。

group
String

文件或目录的拥有组。

conditions
DataLakeRequestConditions

可选 DataLakeRequestConditions ,用于添加设置路径访问控制的条件。

cancellationToken
CancellationToken

可选 CancellationToken ,用于传播应取消操作的通知。

返回

描述 Response<T> 更新路径的 。

注解

RequestFailedException如果失败,将引发 。

适用于