def list_by_location(location_name, include:nil, custom_headers:nil)
      response = list_by_location_async(location_name, include:include, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_location(location_name, include:nil, custom_headers:nil)
      response = list_by_location_async(location_name, include:include, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the subscription capabilities available for the specified location.

 @param location_name [String] The location name whose capabilities are
 retrieved.
 @param include [CapabilityGroup] If specified, restricts the response to only
 include the selected item. Possible values include: 'supportedEditions',
 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions'
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [LocationCapabilities] operation results.