Partager via


ManagementLocksOperationsExtensions.GetByScopeAsync Méthode

Définition

Obtenez un verrou de gestion par étendue.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject> GetByScopeAsync (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string scope, string lockName, System.Threading.CancellationToken cancellationToken = default);
static member GetByScopeAsync : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject>
<Extension()>
Public Function GetByScopeAsync (operations As IManagementLocksOperations, scope As String, lockName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementLockObject)

Paramètres

operations
IManagementLocksOperations

Groupe d’opérations pour cette méthode d’extension.

scope
String

Étendue du verrou.

lockName
String

Nom du verrou.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à