Forum Discussion
syncretism
Nimbostratus
Jul 07, 2017Querying VIPs' Details When the Name Attribute is Unreliable
I’m tasked with automating some basic f5 tasks, but am not a network admin. I’ll start by thanking this community for the the friendly tips I’ve received since I started this project; y’all have been...
Satoshi_Toyosa1
Jul 10, 2017Ret. Employee
selfLink is also a good option. e.g.,
curl -sku admin: https:///mgmt/tm/ltm/virtual?\$select=selfLink
{ kind: 'tm:ltm:virtual:virtualcollectionstate',
selfLink: 'https://localhost/mgmt/tm/ltm/virtual?$select=selfLink&ver=11.6.1',
items:
[ { selfLink: 'https://localhost/mgmt/tm/ltm/virtual/~Common~TestApp.app~TestApp_vs?ver=11.6.1' },
{ selfLink: 'https://localhost/mgmt/tm/ltm/virtual/~Common~http?ver=11.6.1' } ]
}
Obviously, you need to change the localhost part but it's easier than selectively replacing / to ~ (i.e., | sed 's/localhost/myHost/').
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects