Management Plane API > Networking > Services > Loadbalancer

Create a load balancer application profile

Create a load balancer application profile.

Request:

Method:
POST
URI Path(s):
/api/v1/loadbalancer/application-profiles
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LbFastTcpProfile+
LbFastUdpProfile+
LbHttpProfile+

Example Request:

POST https://<nsx-mgr>/api/v1/loadbalancer/application-profiles { "display_name":"LB_HTTP_Application_Profile", "description":"LB_HTTP_Application_Profile", "resource_type":"LbHttpProfile" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
LbFastTcpProfile+
LbFastUdpProfile+
LbHttpProfile+

Example Response:

{ "resource_type" : "LbHttpProfile", "description" : "LB_HTTP_Application_Profile", "id" : "1cab1491-a058-48fd-ac55-ea412adb3283", "display_name" : "LB_HTTP_Application_Profile", "ntlm" : false, "request_header_size" : 1024, "http_redirect_to_https" : false, "idle_timeout" : 15, "_create_time" : 1515741466296, "_last_modified_user" : "admin", "_last_modified_time" : 1515741466296, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Required Permissions:

crud

Feature:

lb_application_profiles

Additional Errors: