Forum Discussion
Satoshi_Toyosa1
Sep 19, 2018Employee
Or you can add
expandSubcollections=true
query string to the request to expand the profilesReference
link. For example, the following curl command will get you the names of profiles attached to the virtual vs
(you can do better with Python than sh, of course).
curl -sku admin:admin https:///mgmt/tm/ltm/virtual/vs?\$select=profilesReference\&expandSubcollections=true \
| python -m json.tool \
| fgrep \"name\"
"name": "fastL4",
"name": "http",