code: public ReplicationInner update(String resourceGroupName, String registryName, String replicationName, Map<String, String> tags) {
          return updateWithServiceResponseAsync(resourceGroupName, registryName, replicationName, tags).toBlocking().last().body();
      }
docs: Updates a replication for a container registry with the specified parameters.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param replicationName The name of the replication.
  @param tags The tags for the replication.
  @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 ReplicationInner object if successful.