Programmatically create a Resource Limit

How do you create a new resource limit from deadlinecommand?

The only thing I can find in the help and documentation is this parameter:

deadlinecommand -SetLimitGroup test_limit 100 mymachinename true

which creates a license limit only. Is there a way to create a resource limit?

The command for setting the Limit group does only create the License limit. The License Limit and the Resource Limit are not very different and the License limit can be used as resource limit.

I don’t think we have a programmatic way to create a Resource Limit.