Forum Discussion
How can I update the VirtualServer using IControl?
The VirtualServer::Create method API says: Creates or updates virtual servers from the specified resources. Takes additional, optional parameters that enable you to override the default optional values. How can I update virtual server? I always get the error message 'The requested virtual server (xxxx) already exists in partition Common'. I want to update lots of properties once time. Does anyone know of anything that can help me? thx~
3 Replies
- Michael_Yates
Nimbostratus
It all depends on what you are wanting to update.
Go here: LocalLB::VirtualServer
Look at the set options which will require you to input the Virtual Server that you are wanting to set the properties on. You cannot use the Create Options for an existing item (if you want to go down that road and create it from scratch you will need to delete it first).
- bes_newer_14056
Nimbostratus
Michael, Thanks for the clarification. I see the LocalLB::VirtualServer::create method, Perhaps the description of the create method is ambiguous.
- mhite_60883
Cirrocumulus
Yeah, the documentation is wrong as far as I can tell.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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