NSX-T Data Center REST API

Create or update a LBMonitorProfile

If a LBMonitorProfile with the vpc-lb-monitor-profile-id is not
already present, create a new LBMonitorProfile. If it already exists,
update the LBMonitorProfile. This is a full replace.

NSX Load Balancer availability in terms of use-cases and editions is
specified in NSX Feature and Edition Guide. Please review before consuming
those APIs.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/vpc-lb-monitor-profiles/{vpc-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/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-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: