def create_or_update(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers:nil)
      response = create_or_update_async(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers:nil)
      response = create_or_update_async(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Create or update a gallery Image Version.

 @param resource_group_name [String] The name of the resource group.
 @param gallery_name [String] The name of the Shared Image Gallery in which
 the Image Definition resides.
 @param gallery_image_name [String] The name of the gallery Image Definition
 in which the Image Version is to be created.
 @param gallery_image_version_name [String] The name of the gallery Image
 Version to be created. Needs to follow semantic version name pattern: The
 allowed characters are digit and period. Digits must be within the range of a
 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
 @param gallery_image_version [GalleryImageVersion] Parameters supplied to the
 create or update gallery Image Version operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [GalleryImageVersion] operation results.