VMware Cloud Community
vharry
Contributor
Contributor

Create Policies using XML or RESTAPI

Hi all, I am looking for a way to create policy's for my clusters using a faster way than using the web interface. I put together a policy which had most settings that I needed, exported it and tried to modify the name and reimport however this failed. Has anyone done something similar or can suggest alternate methods? We have around 30 clusters. Ideally it would done via the RESTAPI but couldn't find anything in the documentation to suggest its possibility.

0 Kudos
1 Reply
aaghabekyan
VMware Employee
VMware Employee

Hi

Unfortunately we are not supporting Policy functionality via RestAPI

But you should be able to done it by the way, that you have tried, if you can share the modified xml file that you have tried to reimport, I can have a look

0 Kudos