code: public Observable<ContainerGroupInner> createOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, containerGroupName, containerGroup).map(new Func1<ServiceResponse<ContainerGroupInner>, ContainerGroupInner>() {
              @Override
              public ContainerGroupInner call(ServiceResponse<ContainerGroupInner> response) {
                  return response.body();
              }
          });
      }
docs: Create or update container groups.
  Create or update container groups with specified configurations.
  
  @param resourceGroupName The name of the resource group.
  @param containerGroupName The name of the container group.
  @param containerGroup The properties of the container group to be created or updated.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request