code: public ServiceFuture<GalleryImageInner> updateAsync(String resourceGroupName, String labAccountName, String galleryImageName, GalleryImageFragment galleryImage, final ServiceCallback<GalleryImageInner> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, labAccountName, galleryImageName, galleryImage), serviceCallback);
      }
docs: Modify properties of gallery images.
  
  @param resourceGroupName The name of the resource group.
  @param labAccountName The name of the lab Account.
  @param galleryImageName The name of the gallery Image.
  @param galleryImage Represents an image from the Azure Marketplace
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object