def list_locations(subscription_id, custom_headers:nil)
      response = list_locations_async(subscription_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_locations(subscription_id, custom_headers:nil)
      response = list_locations_async(subscription_id, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets all available geo-locations.

 This operation provides all the locations that are available for resource
 providers; however, each resource provider may support a subset of this list.

 @param subscription_id [String] The ID of the target subscription.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [LocationListResult] operation results.