Forum Discussion
Yaron_Pdut_3163
Nimbostratus
Apr 04, 2017Python SDK create ltm monitor tcp sample
Can someone post a piece of code creating TCP LTM monitor using Python SDK?
Thanks!
Leonardo_Souza
Cirrocumulus
Apr 04, 2017First you need to decide if you want to use iControl SOAP or REST. From v9 you have iControl SOAP available, from v11.5.0 you have iControl REST.
I could not find an example about monitor, but you can get the idea from creating another object.
iControl SOAP and pyControl:
https://devcentral.f5.com/codeshare?sid=216
You don't need a SDK for iControl REST, but there is a Python SDK to simplify the things:
https://github.com/F5Networks/f5-common-python
The page has an example about how to create a pool.
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