Firewall
Firewall endpoints for your Cloud API integration.
Firewall settings
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.
Add rule
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.
Replace rule
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.
Delete rule
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.
Reorder rules
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.
Default policies
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as '443' or '8000-8010' and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. Use the separate [PATCH /vms/{vm_id}/firewall/smtp](./set-firewall-smtp) endpoint to open or close SMTP ports.