Udostępnij za pośrednictwem


BlobContainersImpl.SetLegalHoldAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.ILegalHold> SetLegalHoldAsync (string resourceGroupName, string accountName, string containerName, System.Collections.Generic.IList<string> tags, System.Threading.CancellationToken cancellationToken = default);
member this.SetLegalHoldAsync : string * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.ILegalHold>
Public Function SetLegalHoldAsync (resourceGroupName As String, accountName As String, containerName As String, tags As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of ILegalHold)

Parameters

resourceGroupName
String
accountName
String
containerName
String
tags
IList<String>
cancellationToken
CancellationToken

Returns

Applies to