def list_at_resource_group_level(resource_group_name, filter:nil, custom_headers:nil)
      first_page = list_at_resource_group_level_as_lazy(resource_group_name, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_at_resource_group_level(resource_group_name, filter:nil, custom_headers:nil)
      first_page = list_at_resource_group_level_as_lazy(resource_group_name, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all the management locks of a resource group.

 @param resource_group_name [String] Resource group name.
 @param filter [String] The filter to apply on the operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<ManagementLockObject>] operation results.