delete_dfw_policy
Remove a distributed firewall security policy from VMware NSX. Ensure all rules are deleted from the policy first to avoid errors.
Instructions
Delete a DFW security policy.
Raises ValueError if the policy still contains active rules. Delete all rules in the policy first before deleting the policy itself.
Args: policy_id: ID of the policy to delete. target: Optional NSX Manager target name from config.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | ||
| target | No |