Forum Discussion
RESTAPI
Hi, I'm trying to setup a request body as shown below. I'm facing some challenges.
- " Looking forward to setup a variable instead of static IP while creating Virtual Server"
- Trying to setup a specific NAT pool "instead of automap"
https://{{bigip_mgmt_ip}}/mgmt/tm/ltm/virtual
{
"name":"{{Customer}}-Custom-{{Service}}-Extenal-VIP-HTTP",
"partition":"{{Partition}}",
"fullPath": "/{{Partition}}/{{Customer}}-Custom-{{Service}}-VIP-HTTP",
"destination": "10.1.10.20:80", " Looking forward to setup a variable instead of static IP while creating Virtual Server"
"ipProtocol":"tcp",
"pool":"/{{Partition}}/{{Customer}}-Custom-{{Service}}-HTTP-Pool",
"sourceAddressTranslation": { "type":"{{Partition}}/{{Customer}}-Custom-{{Service}}-SNAT" }, "instead of automap"
"profiles": [
{ "name":"/{{Partition}}/{{Customer}}-Custom-{{Service}}-TCP-Profile", "context":"clientside"},
{ "name":"/Common/tcp-wan-optimized", "context":"serverside"},
"/{{Partition}}/{{Customer}}-Custom-{{Service}}-HTTP-Profile"
]
}
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