Getting Started with the f5-common-python SDK
Updated Jun 06, 2023
Version 2.0Was this article helpful?
yes Jason.
With partition='Common' parameter, .exists() call works as expected.
Now it brought me up another question. How do I know if I need to specify additional parameter like partition='xxx' parameter for exist() call to works?
Based on my test, I didn't need to specify partition='xxx' parameter for exists() and it worked. For example, most of protocol profile resources; http, tcp, udp, http and persistence profile resources; source, destination, hash persistence )
didn't require any additional parameters like partition='xxx'.
One exception so far I found was the exists() of Local traffic policy profile resource which requires two additional parameter (partition='xxx' and subPath='xxx') as well as name='xxx'.
Do you know any easy way of figuring out required parameters of each methods call (Create(), Refresh(), Update(), Delete(), Load(), Exists())?