Andy_Edwards_25
May 01, 2016Nimbostratus
Using iControlREST version 11.6 how can I get a gtm pool member's IP address
As I am looking through the documentation it seems that 'address' is one of the fields that is typically returned from the API. When I request the pool member there is no address key at all in the returned JSON.
Example of the JSON:
{
"enabled": true,
"fullPath": "/Common/BigIP:www-v6-site",
"generation": 2735,
"kind": "tm:gtm:pool:members:membersstate",
"limitMaxBps": 0,
"limitMaxBpsStatus": "disabled",
"limitMaxConnections": 0,
"limitMaxConnectionsStatus": "disabled",
"limitMaxPps": 0,
"limitMaxPpsStatus": "disabled",
"monitor": "default",
"name": "BigIP:www-v6-site",
"order": 2,
"partition": "Common",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/gtm/pool/~Common~www-site-pool/members/~Common~BigIP:www-v6-site?ver=11.6.0"
}
I would really like to be able to use the information in the address key but I do not know how to have that included in the returned data. It certainly seems to be included by default in the ltm methods but not in the gtm as you can see above.
Thanks for your time