sophos_update_nat_rule
Update status or translation parameters on existing NAT or port-forwarding rules in a Sophos Firewall.
Instructions
Update fields on an existing NAT rule.
Use when updating status or target translation parameters on an existing NAT or port-forwarding rule.
Args: name: Name of the NAT rule to update. status: Optional new status ('Enable' or 'Disable'). translated_source: Optional new translated source object. translated_destination: Optional new translated destination object. translated_service: Optional new translated service object. client: Optional SophosFirewallClient instance.
Returns: API response status dictionary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the NAT rule to update. | |
| client | No | ||
| status | No | Optional new status: 'Enable' or 'Disable'. | |
| translated_source | No | Optional new translated source object. | |
| translated_service | No | Optional new translated service object. | |
| translated_destination | No | Optional new translated destination object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |