cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

RESTAPI

BALAJIRAJAH_P_1
Nimbostratus
Nimbostratus

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"

  ]

}

 

0 REPLIES 0