Forum Discussion
Michael_Jenkins
Cirrostratus
Jan 20, 2015iControlREST - Update virtual access profile
I've got a bunch of virtuals set up that reference the same Access Profile. Instead of having to go through one by one and change the profile to a different one, I'd like to try to script it with iCo...
Arnaud_Lemaire
Employee
Jan 21, 2015Hello Michael, i'm not a powershell user, so limited help here. What i can tell you is that apm profile is attached as a ... profile so you will find it here : https://example.com/mgmt/tm/ltm/virtual/MY_VIRTUAL/profiles
i think you will need :
- to get the item list, because you will have multiple profiles (http, tcp, ssl ...)
- remove the existing profile entry from the list
- add your new profile to it
- post back to the uri your updated profile list
will try to play a little bit with ps to see how it works.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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