NSX-T Data Center REST API
Create or update a ALBSecurityPolicy
If a ALBSecurityPolicy with the alb-SecurityPolicy-id is notalready present, create a new ALBSecurityPolicy. If it already exists,
update the ALBSecurityPolicy. This is a full replace.
This API is only available when using VMware NSX-T.
Request:
Method:
              PUT
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/alb-security-policies/<alb-securitypolicy-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    ALBSecurityPolicy+
  Example Request:
{ "display_name": "test-security_policy", "dns_attacks": { "attacks": [ { "attack_vector": "DNS_NXDOMAIN", "enabled": true, "max_mitigation_age": 0, "mitigation_action": { "deny": true }, "threshold": 0 } ], "oper_mode": "DETECTION" }, "dns_policy_index": 0, "network_security_policy_index": 0, "oper_mode": "DETECTION" }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    ALBSecurityPolicy+
  