Freigeben über


DataLakePathClient.UpdateAccessControlRecursiveAsync Methode

Definition

Der UpdateAccessControlRecursiveAsync(IList<PathAccessControlItem>, String, AccessControlChangeOptions, CancellationToken) Vorgang ändert die Access Control für einen Pfad und unterpfade.

Weitere Informationen finden Sie unter Updatepfad.

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))

Parameter

accessControlList
IList<PathAccessControlItem>

Die POSIX-Zugriffssteuerungsliste für die Datei oder das Verzeichnis.

continuationToken
String

Optionales Fortsetzungstoken, das verwendet werden kann, um den zuvor beendeten Vorgang fortzusetzen.

options
AccessControlChangeOptions

Optional AccessControlChangeOptions mit zusätzlichen Steuerelementen.

cancellationToken
CancellationToken

Optional CancellationToken zur Weitergabe von Benachrichtigungen, dass der Vorgang abgebrochen werden soll.

Gibt zurück

Eine Response<T> , die Zusammenfassungsstatistiken des Vorgangs enthält.

Hinweise

Ein DataLakeAclChangeFailedException wird ausgelöst, wenn eine Speicheranforderung einen RequestFailedException oder Exceptionauslöst.

Tritt andernfalls ein Fehler außerhalb der Anforderung auf, wird der jeweilige Exception Typ ausgelöst, wenn ein Fehler auftritt.

Gilt für: