ManagementLocksOperationsExtensions.GetByScope Method

Definition

Get a management lock by scope.

public static Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject GetByScope (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string scope, string lockName);
static member GetByScope : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string -> Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject
<Extension()>
Public Function GetByScope (operations As IManagementLocksOperations, scope As String, lockName As String) As ManagementLockObject

Parameters

operations
IManagementLocksOperations

The operations group for this extension method.

scope
String

The scope for the lock.

lockName
String

The name of lock.

Returns

Applies to