Share via


ManagementLocksOperationsExtensions.GetByScopeAsync Method

Definition

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

Parameters

scope
String
lockName
String
cancellationToken
CancellationToken

Returns

Applies to