code: public ImageInner beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters) {
          return beginUpdateWithServiceResponseAsync(resourceGroupName, imageName, parameters).toBlocking().single().body();
      }
docs: Update an image.
  
  @param resourceGroupName The name of the resource group.
  @param imageName The name of the image.
  @param parameters Parameters supplied to the Update Image operation.
  @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 ImageInner object if successful.