public ImageRegionCreateSummary createImageRegions(UUID projectId, CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter) {
        return createImageRegionsWithServiceResponseAsync(projectId, createImageRegionsOptionalParameter).toBlocking().single().body();
    }
public ImageRegionCreateSummary createImageRegions ( UUID projectId , CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter ) { return createImageRegionsWithServiceResponseAsync ( projectId , createImageRegionsOptionalParameter ) . toBlocking ( ) . single ( ) . body ( ) ; }
Create a set of image regions.
This API accepts a batch of image regions, and optionally tags, to update existing images with region information.
There is a limit of 64 entries in the batch.

@param projectId The project id
@param createImageRegionsOptionalParameter the object representing the optional parameters to be set before calling this API
@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 ImageRegionCreateSummary object if successful.