Forum Discussion
Unable to delete and create virtual server in the same transaction via iControl api
@Brad Parker
Thanks for taking interest in this post. Duplicate profile was my initial thought as well. But running the code without transactions works fine, which suggests that there is more to it. I think we're on the right track, but the create(serveDef, wMasks, serveRes, serverProf) method does not create* the profiles based on args passed in, it just creates the virtual servers with the profiles passed in as arg according to docs. https://devcentral.f5.com/wiki/iControl.LocalLB__VirtualServer__create.ashx
btw the args in create() were prepared before the transaction began so it occurs real-time and no errors were thrown because of them.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com