Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

ASM Policy from iControl

I was trying to find if there is an easy way to query the the Polices that are assigned to the Virtual Server under the Resources section using the iControl API. I have been reviewing the Docs and I am just not finding it.

Thanks

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

if you are using 11.5/11.6 you need to look for policiesReference in the LTM virtual uri. then check if this ltm policy is referencing an asm policy

an alternative would be to look asm policies and filter for associated virtual : /mgmt/tm/asm/policies?$select=virtualServers

0
Comments on this Answer
Comment made 24-Nov-2015 by Connor Spiess 55
I was originally trying to do it with the SOAP API. I had some free time and I started playing with the REST API, I decided I will do it through the REST API. Thanks --Connor
0
Comment made 24-Nov-2015 by Connor Spiess 55
I was originally trying to do it with the SOAP API. I had some free time and I started playing with the REST API, I decided I will do it through the REST API. Thanks --Connor
0