delete_dfw_policy
Deletes a DFW security policy. All rules must be removed from the policy before deletion.
Instructions
[WRITE] 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
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| policy_id | Yes |