def list_current_by_database_as_lazy(resource_group_name, server_name, database_name, filter:nil, custom_headers:nil)
      response = list_current_by_database_async(resource_group_name, server_name, database_name, filter:filter, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_current_by_database_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_current_by_database_as_lazy(resource_group_name, server_name, database_name, filter:nil, custom_headers:nil)
      response = list_current_by_database_async(resource_group_name, server_name, database_name, filter:filter, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_current_by_database_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
Gets the sensitivity labels of a given database

 @param resource_group_name [String] The name of the resource group that
 contains the resource. You can obtain this value from the Azure Resource
 Manager API or the portal.
 @param server_name [String] The name of the server.
 @param database_name [String] The name of the database.
 @param filter [String] An OData filter expression that filters elements in
 the collection.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SensitivityLabelListResult] which provide lazy access to pages of
 the response.