NSX-T Data Center REST API
Update a load balancer rule (Deprecated)
Update a load balancer rule.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:
              PUT
            URI Path(s):
              
                /api/v1/loadbalancer/rules/{rule-id}
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    LbRule+
  Example Request:
PUT https://<nsx-mgr>/api/v1/loadbalancer/rules/b6a5bffa-f6a9-447c-936f-4633f9eb43a6 { "resource_type" : "LbRule", "id" : "b6a5bffa-f6a9-447c-936f-4633f9eb43a6", "display_name": "ServiceMaintenanceRule", "description": "LbRule to be used while system is down", "match_conditions" : [], "match_strategy" : "ANY", "phase" : "HTTP_FORWARDING", "actions" : [{ "type": "LbHttpRejectAction", "reply_status": "503", }] "_create_time" : 1478304339963, "_create_user" : "admin", "_last_modified_user" : "admin", "_system_owned" : false, "_last_modified_time" : 1478304339963, "_revision" : 0 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    LbRule+