Forum Discussion
iContorl Rest - Virtual Server Profile?
If I list an existing Virtual Server that has a Performance (Layer 4) profile applied, I would expect to see something to reflect this in the output but i don't?? Am I missing someting, see example below?
The real question is that when I create a virtual server using iControl Rest how to I see the "type" to be "Performance (Layer 4)" rather than the default "standard" that is selected. I would have expected something like payload['type'] = 'Performance (Layer 4)' for example.
curl -sk -u xxxx:xxxx -X GET https://x.x.x.x/mgmt/tm/ltm/virtual/AAAAAA | sed 's/,/\'$'\n/g'
{"kind":"tm:ltm:virtual:virtualstate" "name":"AAAAAA" "generation":0 "lastUpdatedMicros":0 "selfLink":"https://localhost/mgmt/tm/ltm/virtual/AAAAAA" "partition":"/Common/" "autoLasthop":"default" "cmpEnabled":"yes" "connectionLimit":0 "destination":"x.x.x.x:https" "enabled":null "gtmScore":0 "ipProtocol":"tcp" "mask":"255.255.255.255" "mirror":"disabled" "mobileAppTunnel":"disabled" "nat64":"disabled" "pool":"AAAAAA_Pool" "rateLimit":"disabled" "rateLimitDstMask":0 "rateLimitMode":"object" "rateLimitSrcMask":0 "source":"0.0.0.0/0" "sourceAddressTranslation":{"type":"automap"} "sourcePort":"preserve" "synCookieStatus":"not-activated" "translateAddress":"enabled" "translatePort":"enabled" "vlansEnabled":null "vsIndex":30 "vlans":["external"] "profilesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/AAAAAA"}}
1 Reply
- uni
Altocumulus
That is listed in the profiles collection. You will need to request this separately:
curl -sk -u xxxx:xxxx -X GET https://x.x.x.x/mgmt/tm/ltm/virtual/AAAAAA/profiles
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com