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

Create or update a LBMonitorProfile (Deprecated)

If a LBMonitorProfile with the lb-monitor-profile-id is not
already present, create a new LBMonitorProfile. If it already exists,
update the LBMonitorProfile. This is a full replace.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX. Deprecated:
NSX-T Load Balancer is deprecated.
Please take advantage of NSX Advanced Load Balancer.
Refer to Policy > Networking > Network Services > Advanced Load Balancing section of the API guide.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/lb-monitor-profiles/{lb-monitor-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBActiveMonitor+
LBHttpMonitorProfile+
LBHttpsMonitorProfile+
LBIcmpMonitorProfile+
LBPassiveMonitorProfile+
LBTcpMonitorProfile+
LBUdpMonitorProfile+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/lb-monitor-profiles/httpMonitor { "resource_type": "LBHttpMonitorProfile", "monitor_port": 80, "interval": 9, "timeout": 14, "rise_count": 4, "fall_count": 4, "request_url":"/default/", "request_method": "GET", "request_version": "HTTP_VERSION_1_1", "response_status_codes": [ 200, 300 ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: