creating dataset -- particularly nested several deep -- from the API

Joined
Feb 18, 2024
Messages
9
Hello, folks.

I'm working on some SCALE set-up automation and would like to know how one would go about creating nested DataSets -- particularly nested more than 2 levels -- from the API so that I can port that logic into other automation tools. Ex: Terraform, Ansible.

So not just /<pool>/Sync/Media but /<pool>/Sync/Media/{Movies,TV,Music}.

I don't see params in the REST API for specifying parent DSes and I'm unsure if the TrueNAS middleware is clever enough to understand nested mount_point(s).

thx
 

Similar threads

J
Replies
21
Views
13K
Top