Hi All!
I am creating a bulk number of volumes with python / Rest api.
The problem is how to create a volume where a thin provisioning is enabled by default?
I am using python / rest api / ontap library. Could you share the code snippets?
Here is my code snippet:
volume = Volume()
volume.name = x["volname"]
volume.aggregates = [{"name": self.data["aggr"]}]
volume.size = x["size"]
volume.svm = {"name": self.data["svm"]}
pather = "/" + x["volname"]
volume.nas = {"security_style": "ntfs", "path": pather}
volume.efficiency = {"compression": "both"}
BR:
Pal