共用方式為


DataLakePathClient.RemoveAccessControlRecursive Method

Definition

The RemoveAccessControlRecursive(IList<RemovePathAccessControlItem>, String, AccessControlChangeOptions, CancellationToken) operation removes the Access Control on a path and subpaths

For more information, see Update Path.

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

Parameters

accessControlList
IList<RemovePathAccessControlItem>

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