Forum Discussion
James_Thomson
Sep 26, 2016Employee
You're looking for the profile associated with the virtual server. They are in a subcollection.
This GET https://192.168.153.234/mgmt/tm/ltm/virtual/testssl
gives me
"profilesReference": {
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~testssl/profiles?ver=12.1.0",
"isSubcollection": true
}
so if I then send GET to that:
https://192.168.153.234/mgmt/tm/ltm/virtual/~Common~testssl/profiles
I get the following:
{
"kind": "tm:ltm:virtual:profiles:profilescollectionstate",
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~testssl/profiles?ver=12.1.0",
"items": [
{
"kind": "tm:ltm:virtual:profiles:profilesstate",
"name": "clientssl",
"partition": "Common",
"fullPath": "/Common/clientssl",
"generation": 284,
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~testssl/profiles/~Common~clientssl?ver=12.1.0",
"context": "clientside"
},
{
"kind": "tm:ltm:virtual:profiles:profilesstate",
"name": "serverssl",
"partition": "Common",
"fullPath": "/Common/serverssl",
"generation": 284,
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~testssl/profiles/~Common~serverssl?ver=12.1.0",
"context": "serverside"
},