delete_dfw_policy
Delete a DFW security policy. Remove all rules first to prevent errors.
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 |
|---|---|---|---|
| policy_id | Yes | ||
| target | No |