Sdílet prostřednictvím


ManagementLockOperationsExtensions.GetAsync Method

Definition

Gets the management lock of a scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult> GetAsync (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string lockName);
static member GetAsync : Microsoft.Azure.Management.Resources.IManagementLockOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult>
<Extension()>
Public Function GetAsync (operations As IManagementLockOperations, lockName As String) As Task(Of ManagementLockReturnResult)

Parameters

operations
IManagementLockOperations

Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.

lockName
String

Required. Name of the management lock.

Returns

Management lock information.

Applies to