Forum Discussion
Sorry, but I forgot that you were running 11.6.1, and my lab tests were done in 14.1.2.3.
You are running a very old version, specially taking into account that iControl REST started as in 11.4.0 as beta (I think).
Anyway, let me answer you questions...
1 - In v12 GTM change the name for DNS and also started to support more types of resource types.
The A indicates an A record, so name to IPv4. That does not exists before v12.
2 - GTM server object.
A GTM pool has a pool member that is referenced by the GTM server object + virtual server.
3 - Virtual server name, that in the GTM context, with the server object will represent the GTM pool member.
Here is relevant part of the my GTM configuration.
gtm wideip a www.lab.local {
pools {
pool_www {
order 0
}
}
}
gtm pool a pool_www {
members {
LABBIGIP1.lab.local:www_lab_local {
member-order 0
}
}
}
gtm server LABBIGIP1.lab.local {
addresses {
10.0.0.1 {
device-name LABBIGIP1.lab.local
}
}
datacenter LABBIGIP1
devices {
LABBIGIP1.lab.local {
addresses {
10.0.0.1 { }
}
}
}
monitor bigip
product bigip
virtual-servers {
www_lab_local {
destination 10.0.0.103:http
ltm-name /Common/vs_www
}
}
}
The error is very explicit, either you are not sending the correct header with type, or there is a bug for the version you are using.
It would be a major bug, so I doubt that is the case.
Try with different software, like curl or Postman.
Here is the full guide for the version you have.
I think if you remove the /a in my initial commands, it should be the correct command for your version.
https://cdn.f5.com/websites/devcentral.f5.com/downloads/icontrol-rest-user-11-6-0_15.pdf