def begin_create_or_update_with_http_info(device_name, name, share, resource_group_name, custom_headers:nil)
      begin_create_or_update_async(device_name, name, share, resource_group_name, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(device_name, name, share, resource_group_name, custom_headers:nil)
      begin_create_or_update_async(device_name, name, share, resource_group_name, custom_headers:custom_headers).value!
    end
Creates a new share or updates an existing share on the device.

 @param device_name [String] The device name.
 @param name [String] The share name.
 @param share [Share] The share properties.
 @param resource_group_name [String] The resource group name.
 @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.