code: public RunInner update(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled) {
          return updateWithServiceResponseAsync(resourceGroupName, registryName, runId, isArchiveEnabled).toBlocking().last().body();
      }
docs: Patch the run properties.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param runId The run ID.
  @param isArchiveEnabled The value that indicates whether archiving is enabled or not.
  @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 RunInner object if successful.