f5-common-python
f5-common-python copied to clipboard
load an ASM resource
Hi All,
I'm trying to interact with ASM module through f5-sdk. Unfortunately I'm not able to .load() or test if resource exitsts without passing id param. The same functionality although is working in LTM module.
Could you please advice where am I doing anything wrong (it doesn't make sense to pass id to load or exists)?
Working on LTM module
pool = mgmt.tm.ltm.pools.pool.load(name='mypool', partition='Common')
NOT working on ASM module
policy = mgmt.tm.asm.policies_s.policy.load(name='test', partition='Common')
Raises:
f5.sdk_exception.MissingRequiredReadParameter: Missing required params: ['id']
Thx
Y