Forum Discussion

julian_mata_164's avatar
julian_mata_164
Icon for Nimbostratus rankNimbostratus
Dec 14, 2015

LTM RestAPI Help V12

Hey Guys trying to find a way to pull up information on my current configuration from the F5 via API.

I just modified HTTP Profile, and both SSL PROFILES(Client,Server) and finally added an Irule.

I tried, , but this did not include the info I needed.

{"kind":"tm:ltm:virtual:virtualstate","name":"MYVIRTUALSERVER","fullPath":"MYVIRTUALSERVER","generation":1,"selfLink":"https://localhost/mgmt/tm/ltm/virtual/MYVIRTUALSERVER?ver=12.0.0","addressStatus":"yes","autoLasthop":"default","cmpEnabled":"yes","connectionLimit":0,"destination":"/Common/172.20.5.115:9467","enabled":true,"gtmScore":0,"ipProtocol":"tcp","mask":"255.255.255.255","mirror":"disabled","mobileAppTunnel":"disabled","nat64":"disabled","pool":"/Common/MYVIRTUALSERVER","poolReference":{"link":"https://localhost/mgmt/tm/ltm/pool/~Common~MYVIRTUALSERVER?ver=12.0.0"},"rateLimit":"disabled","rateLimitDstMask":0,"rateLimitMode":"object","rateLimitSrcMask":0,"serviceDownImmediateAction":"none","source":"0.0.0.0/0","sourceAddressTranslation":{"type":"automap"},"sourcePort":"preserve","synCookieStatus":"not-activated","translateAddress":"enabled","translatePort":"enabled","vlansDisabled":true,"vsIndex":599,"rules":["/Common/URL_reWrite"],"rulesReference":[{"link":"https://localhost/mgmt/tm/ltm/rule/~Common~URL_reWrite?ver=12.0.0"}],"policiesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/~Common~MYVIRTUALSERVER/policies?ver=12.0.0","isSubcollection":true},"profilesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/~Common~AIB_115_PayLite_WS_Graph/profiles?ver=12.0.0","isSubcollection":true}}

Any help would be appreciated.

Thanks

  • Not quite sure what you want to see, but maybe adding a "?expandSubCollection=true" will do the job?