iControl REST Cookbook - LTM policy (ltm policy)
Updated Jun 06, 2023
Version 2.0Was this article helpful?
Is there a way to updaate policies associated to a VS and guarantee the order in which they are going to be executed. I have tried the following
curl -sku admin:admin https://<host>/mgmt/tm/ltm/virtual/~part1~VS1 \ -H "Content-type: application/json" -X PATCH \ -d '{"policiesReference":{ "items":[{"name":"policy1","partition":"part1"}, {"name":"policy2","partition":"Common"}] }}'
but when I look in the UI at the resources and policies assigned to the VS, the /Common/policy2 comes before "/part1/policy1" , where I want the/part1/policy1 to be executed first