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

DataLakePathClient.UpdateAccessControlRecursiveAsync Method

Definition

The UpdateAccessControlRecursiveAsync(IList<PathAccessControlItem>, String, AccessControlChangeOptions, CancellationToken) operation modifies the Access Control on a path and subpaths

For more information, see Update Path.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.AccessControlChangeResult>> UpdateAccessControlRecursiveAsync(System.Collections.Generic.IList<Azure.Storage.Files.DataLake.Models.PathAccessControlItem> accessControlList, string continuationToken = default, Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAccessControlRecursiveAsync : System.Collections.Generic.IList<Azure.Storage.Files.DataLake.Models.PathAccessControlItem> * string * Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.AccessControlChangeResult>>
override this.UpdateAccessControlRecursiveAsync : System.Collections.Generic.IList<Azure.Storage.Files.DataLake.Models.PathAccessControlItem> * string * Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.AccessControlChangeResult>>
Public Overridable Function UpdateAccessControlRecursiveAsync (accessControlList As IList(Of PathAccessControlItem), Optional continuationToken As String = Nothing, Optional options As AccessControlChangeOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccessControlChangeResult))

Parameters

accessControlList
IList<PathAccessControlItem>

The POSIX access control list for the file or directory.

continuationToken
String

Optional continuation token that can be used to resume previously stopped operation.

options
AccessControlChangeOptions

Optional AccessControlChangeOptions with additional controls.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response<T> that contains summary stats of the operation.

Remarks

A DataLakeAclChangeFailedException will be thrown if a request to storage throws a RequestFailedException or Exception.

Otherwise if a failure occurs outside the request, the respective Exception type will be thrown if a failure occurs.

Applies to