code: public Observable<ContainerGroupInner> updateAsync(String resourceGroupName, String containerGroupName, Resource resource) {
          return updateWithServiceResponseAsync(resourceGroupName, containerGroupName, resource).map(new Func1<ServiceResponse<ContainerGroupInner>, ContainerGroupInner>() {
              @Override
              public ContainerGroupInner call(ServiceResponse<ContainerGroupInner> response) {
                  return response.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
  @return the observable to the ContainerGroupInner object