update_dfw_policy
Partially update a DFW security policy by changing only the provided fields. Use it to rename or re-prioritize the policy while leaving other settings unchanged.
Instructions
[WRITE] Partially update a DFW security policy (PATCH — only provided fields change).
Returns the updated policy dict; omitted arguments keep their values, so read them with get_dfw_policy first. Use it to rename or re-prioritise the policy itself — to change a rule inside use update_dfw_rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional NSX Manager target from config. | |
| stateful | No | New stateful flag. | |
| policy_id | Yes | ID of the policy to update. | |
| description | No | New description. | |
| display_name | No | New display name. | |
| sequence_number | No | New sequence number. |