For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

BPRIDE's avatar
BPRIDE
Icon for Nimbostratus rankNimbostratus
May 17, 2020

RESTAPI

Hi, I'm trying to setup a request body as shown below. I'm facing some challenges.

  1. " Looking forward to setup a variable instead of static IP while creating Virtual Server"
  2. 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"

  ]

}

 

No RepliesBe the first to reply