code: public List<VirtualMachineExtensionImageInner> listVersions(String location, String publisherName, String type, String filter, Integer top, String orderby) {
          return listVersionsWithServiceResponseAsync(location, publisherName, type, filter, top, orderby).toBlocking().single().body();
      }
docs: Gets a list of virtual machine extension image versions.
  
  @param location The name of a supported Azure region.
  @param publisherName the String value
  @param type the String value
  @param filter The filter to apply on the operation.
  @param top the Integer value
  @param orderby the String value
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;VirtualMachineExtensionImageInner&gt; object if successful.