def list_types(location, publisher_name, custom_headers:nil)
      response = list_types_async(location, publisher_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_types(location, publisher_name, custom_headers:nil)
      response = list_types_async(location, publisher_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets a list of virtual machine extension image types.

 @param location [String] The name of a supported Azure region.
 @param publisher_name [String]
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array] operation results.