def update(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:nil)
      response = update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def update(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:nil)
      response = update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Update a connection.

 @param resource_group_name [String] Name of an Azure Resource group.
 @param automation_account_name [String] The name of the automation account.
 @param connection_name [String] The parameters supplied to the update a
 connection operation.
 @param parameters [ConnectionUpdateParameters] The parameters supplied to the
 update a connection operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Connection] operation results.