Exemple #1
0
 /// <summary>
 /// Deletes a management lock at the resource group level.
 /// </summary>
 /// <remarks>
 /// To delete management locks, you must have access to
 /// Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of
 /// the built-in roles, only Owner and User Access Administrator are granted
 /// those actions.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group containing the lock.
 /// </param>
 /// <param name='lockName'>
 /// The name of lock to delete.
 /// </param>
 public static void DeleteAtResourceGroupLevel(this IManagementLocksOperations operations, string resourceGroupName, string lockName)
 {
     operations.DeleteAtResourceGroupLevelAsync(resourceGroupName, lockName).GetAwaiter().GetResult();
 }