public Observable<ImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters) {
        return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, imageName, parameters).map(new Func1<ServiceResponse<ImageInner>, ImageInner>() {
            @Override
            public ImageInner call(ServiceResponse<ImageInner> response) {
                return response.body();
            }
        });
    }
public Observable < ImageInner > beginCreateOrUpdateAsync ( String resourceGroupName , String imageName , ImageInner parameters ) { return beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , imageName , parameters ) . map ( new Func1 < ServiceResponse < ImageInner > , ImageInner > ( ) { @ Override public ImageInner call ( ServiceResponse < ImageInner > response ) { return response . body ( ) ; } } ) ; }
Create or update an image.

@param resourceGroupName The name of the resource group.
@param imageName The name of the image.
@param parameters Parameters supplied to the Create Image operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the ImageInner object