public function addResourceGroup($groupName, array $resources) {
        $this->validateResourceGroupName($groupName);

        if ($this->resourceGroupExists($groupName)) {
            throw new InvalidArgumentException(
                'Resource group with name "' . $groupName . '" already exists'
            );
        }

        return $this->editResourceGroup($groupName, $resources);
    }