Policy > Networking > Network Services > Load Balancing > Load Balancer Profiles > Load Balancer Application Profiles

Create or update a LBAppProfile

If a LBAppProfile with the lb-app-profile-id is not already present, create
a new LBAppProfile. If it already exists, update the LBAppProfile. This
is a full replace.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/lb-app-profiles/<lb-app-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBFastTcpProfile+
LBFastUdpProfile+
LBHttpProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/lb-app-profiles/my-http-profile { "resource_type": "LBHttpProfile", "x_forwarded_for":"INSERT" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LBFastTcpProfile+
LBFastUdpProfile+
LBHttpProfile+

Example Response:

{ "resource_type": "LBHttpProfile", "id": "my-http-profile", "display_name": "my-http-profile", "path": "/infra/lb-app-profiles/my-http-profile", "parent_path": "/infra/lb-app-profiles/my-http-profile", "relative_path": "my-http-profile", "marked_for_delete": false, "x_forwarded_for": "INSERT", "http_redirect_to_https": false, "ntlm": false, "idle_timeout": 15, "request_header_size": 1024, "response_timeout": 60, "response_header_size": 4096, "_create_user": "admin", "_create_time": 1531111619449, "_last_modified_user": "admin", "_last_modified_time": 1531111619449, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: