Replace all firewall rules in group
VPS_replaceAllFirewallRulesInGroupV1Atomically replace all firewall rules in a specified group with a complete new set, and optionally synchronize the update to attached virtual machines.
Instructions
Replaces all firewall rules within a specified firewall group with the provided set of rules in a single atomic operation, instead of creating or deleting rules one by one.
Any virtual machine using this firewall group will need to be synchronized after replacing rules; pass the "sync" parameter to trigger synchronization immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | Synchronize the firewall group to all its virtual machines after replacing the rules | |
| rules | Yes | The complete set of firewall rules that atomically replaces all existing rules in the group | |
| firewallId | Yes | Firewall ID |