def list_all_in_resource_group(resource_group_name, custom_headers:nil)
      response = list_all_in_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_all_in_resource_group(resource_group_name, custom_headers:nil)
      response = list_all_in_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Lists all Traffic Manager profiles within a resource group.

 @param resource_group_name [String] The name of the resource group containing
 the Traffic Manager profiles to be listed.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ProfileListResult] operation results.