def list_by_location(resource_group_name, location_name, custom_headers:nil)
      first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_location(resource_group_name, location_name, custom_headers:nil)
      first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists the failover groups in a location.

 @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 location_name [String] The name of the region where the resource is
 located.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<InstanceFailoverGroup>] operation results.