REST API: Determine what type of profile each profile is in the list for a virtual server
I'm using the REST API to do some automation. I'm currently on OS version 12.1. When I use the REST API to retrieve a list of profiles on a virtual server, I can successfully retrieve the list, but there doesn't seem to be any way to determine what kind of profile each one is. Not all my profiles use a standard naming scheme, so I can't rely on the suffix to determine what it is. What do I do to retrieve the type of profile? (SSL, web acceleration, compression etc.).
- Example URL for retrieving the profile list:
https://f5lab01.domain.com/mgmt/tm/ltm/virtual/~Common~Test.app~Test_vs/profiles
-
Example Output:
kind : tm:ltm:virtual:profiles:profilesstate name : Test_client-ssl partition : Common subPath : Test.app fullPath : /Common/Test.app/Test_client-ssl generation : 541 selfLink : context : clientside
kind : tm:ltm:virtual:profiles:profilesstate name : Test_http partition : Common subPath : Test.app fullPath : /Common/Test.app/Test_http generation : 541 selfLink : context : all
kind : tm:ltm:virtual:profiles:profilesstate name : Test_oneconnect partition : Common subPath : Test.app fullPath : /Common/Test.app/Test_oneconnect generation : 541 selfLink : context : all