def list_by_resource_group(group_name, service_name, custom_headers:nil)
      first_page = list_by_resource_group_as_lazy(group_name, service_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_resource_group(group_name, service_name, custom_headers:nil)
      first_page = list_by_resource_group_as_lazy(group_name, service_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Get projects in a service

 The project resource is a nested resource representing a stored migration
 project. This method returns a list of projects owned by a service resource.

 @param group_name [String] Name of the resource group
 @param service_name [String] Name of the service
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<Project>] operation results.