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

DevendraYadav's avatar
DevendraYadav
Icon for Nimbostratus rankNimbostratus
Oct 27, 2021

Creating virtual server of type performance_fastl4 using rest call

Team,

i am creating virtual server using rest call , Endpoint: https://<myserver>/mgmt/tm/ltm/virtual

Creation is working file but i want set

"vs_Type": "performance_fastl4"

"client_protocol_profile": "/Common/cust_fastL4_keepalive"

but these things are not getting honored and virtual server is getting created with of type standard.

 

I created a VS from the User interface with the desired type and profile but when I do get using rest JSON doesn't include these properties.

Can you please help how I can pass and set these properties for the virtual server using rest?

 

 

Thanks,

Devendra

4 Replies

  • Something like this I think

     

    {

    "name": "vip2",

    "description": "this is vip2",

    "destination": "10.128.60.3:80",

    "ipProtocol": "any",

    "mask": "255.255.255.255",

    "pool": "none",

    "profiles": [

    {

    "name": "fastL4"

    }

    ]

    }

      • Michael_Saleem's avatar
        Michael_Saleem
        Icon for MVP rankMVP

        To make it a standard virtual server, I'd imagine you would just need to replace the "fastL4" profile with a "tcp" profile.