Forum Discussion
Joel_Newton
Jun 03, 2015Cirrus
Examples of JSON for adding an iRule for a virtual server via the REST API
I'm looking for examples of how to do this. I came across the post below, but it wasn't clear that it actually worked.
https://devcentral.f5.com/questions/assign-irule-to-virtual-server-via-ico...
Marga_Garrido_9
Nimbostratus
Hi every one!
Any other examples of this? i' so interested to deploy an automatic system to create irules, but it is difficult to find info about how to do it.
Thank in advance.
Joel_Newton
Aug 09, 2017Cirrus
Hi, Marga, your best bet is to figure out what language you want to use (Python, PowerShell, straight curl calls), and then review the docs for it.
 
A lot of work has been done on the Python SDK for working with iControlRest - examples here and here) as has on using PowerShell with iControlRest. There are examples here for using curl.
 
All the best, Joel
 
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