Policy > Networking > Network Services > Advanced Load Balancing > Alb Waf Policy Psm Groups

Create or update a ALBWafPolicyPSMGroup

If a ALBWafPolicyPSMGroup with the alb-WafPolicyPSMGroup-id is not
already present, create a new ALBWafPolicyPSMGroup. If it already exists,
update the ALBWafPolicyPSMGroup. 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-waf-policy-psm-groups/<alb-wafpolicypsmgroup-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBWafPolicyPSMGroup+

Example Request:

{ "enable": true, "hit_action": "WAF_ACTION_ALLOW_PARAMETER", "is_learning_group": false, "miss_action": "WAF_ACTION_NO_OP", "name": "test-waf_policy_PSMGroup" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ALBWafPolicyPSMGroup+

Example Response:

{ "_create_time": 1598511209279, "_create_user": "admin", "_last_modified_time": 1598511209283, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-waf_policy_PSMGroup", "enable": true, "hit_action": "WAF_ACTION_ALLOW_PARAMETER", "id": "test-waf_policy_PSMGroup", "is_learning_group": false, "marked_for_delete": false, "miss_action": "WAF_ACTION_NO_OP", "name": "test-waf_policy_PSMGroup", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-waf-policy-psm-groups/test-waf_policy_PSMGroup", "relative_path": "test-waf_policy_PSMGroup", "resource_type": "ALBWafPolicyPSMGroup", "unique_id": "e5186310-629c-452d-bc25-81de40ff433a" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: