def begin_create_or_update_with_http_info(resource_group_name, gallery_name, gallery, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(resource_group_name, gallery_name, gallery, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, gallery_name, gallery, custom_headers:custom_headers).value!
    end
Create or update a Shared Image Gallery.

 @param resource_group_name [String] The name of the resource group.
 @param gallery_name [String] The name of the Shared Image Gallery. The
 allowed characters are alphabets and numbers with dots and periods allowed in
 the middle. The maximum length is 80 characters.
 @param gallery [Gallery] Parameters supplied to the create or update Shared
 Image Gallery operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.