VPS_syncFirewallV1
Synchronize updated firewall rules with a specified virtual machine to ensure consistent security configurations. Use this action to apply changes when firewall rules are added, removed, or modified.
Instructions
Sync a firewall for a specified virtual machine.
Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.
Use this endpoint to apply updated firewall rules to VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firewallId | Yes | Firewall ID | |
| virtualMachineId | Yes | Virtual Machine ID |
Input Schema (JSON Schema)
{
"properties": {
"firewallId": {
"description": "Firewall ID",
"type": "integer"
},
"virtualMachineId": {
"description": "Virtual Machine ID",
"type": "integer"
}
},
"required": [
"firewallId",
"virtualMachineId"
],
"type": "object"
}
Implementation Reference
- types.d.ts:1568-1587 (schema)TypeScript interface definition (schema) for the 'VPS_syncFirewallV1' tool, describing its input parameters (firewallId and virtualMachineId) and response type. This is part of the APITools interface, likely auto-generated from OpenAPI spec./** * Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances. */ "VPS_syncFirewallV1": { params: { /** * Firewall ID */ firewallId: number; /** * Virtual Machine ID */ virtualMachineId: number; }; response: any; // Response structure will depend on the API };