Compartilhar via


ManagementLocksOperationsExtensions.GetByScopeAsync Método

Definição

Obter um bloqueio de gerenciamento por escopo.

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)

Parâmetros

operations
IManagementLocksOperations

O grupo de operações para esse método de extensão.

scope
String

O escopo do bloqueio.

lockName
String

O nome do bloqueio.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a