IManagementLockOperations.GetAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the management lock of a scope.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult> GetAsync (string lockName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult>
Public Function GetAsync (lockName As String, cancellationToken As CancellationToken) As Task(Of ManagementLockReturnResult)
Parameters
- lockName
- String
Name of the management lock.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Management lock information.