Forum Discussion
HankLiu_159320
Nov 21, 2014Nimbostratus
Unable to delete and create virtual server in the same transaction via iControl api
Hello guys! I'm hitting this issue and is a bit frustrating... Any help is appreciated!
I'm trying to simulate an "update" virtual server feature by combining the removal and creation of virtual...
What_Lies_Bene1
Nov 25, 2014Cirrostratus
I'm not sure this would work. From a logical perspective, the VS exists before the transaction, then doesn't exist, then does again. Can the deletion be rolled back if the roll back (on a failure) and a successful transaction both produce the same result (the VS exists).
I'd suggest it would be better (or at least possible) to add and remove profiles as necessary. More code but something that can be reasonably rolled back.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects