示例#1
0
 /// <summary>
 /// Gets a management lock at the resource group level.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the locked resource group.
 /// </param>
 /// <param name='lockName'>
 /// The name of the lock to get.
 /// </param>
 public static ManagementLockObject GetAtResourceGroupLevel(this IManagementLocksOperations operations, string resourceGroupName, string lockName)
 {
     return(operations.GetAtResourceGroupLevelAsync(resourceGroupName, lockName).GetAwaiter().GetResult());
 }