code: public ContainerGroupInner update(String resourceGroupName, String containerGroupName, Resource resource) {
          return updateWithServiceResponseAsync(resourceGroupName, containerGroupName, resource).toBlocking().single().body();
      }
docs: Update container groups.
  Updates container group tags with specified values.
  
  @param resourceGroupName The name of the resource group.
  @param containerGroupName The name of the container group.
  @param resource The container group resource with just the tags to be updated.
  @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 ContainerGroupInner object if successful.