Firewalls
Operations for managing virtual machine firewalls.
Endpoint Name | URL | Description |
---|---|---|
List firewalls | GET /core/firewalls | Returns a list of your existing firewalls. |
Retrieve firewall details | GET /core/firewalls/{id} | Retrieves the details for a firewall. |
Create firewall | POST /core/firewalls | Creates a firewall. |
Delete firewall | DELETE /core/firewalls/{id} | Deletes a firewall. |
Add firewall rule to firewall | POST /core/firewalls/{firewall_id}/firewall-rules | Adds firewall rules to a firewall. |
Remove firewall rule from firewall | DELETE /core/firewalls/{firewall_id}/firewall-rules/{firewall_rule_id} | Deletes a firewall rule from a firewall. |
Attach firewall to virtual machines | POST /core/firewalls/{firewall_id}/update-attachments | Attaches a firewall to one or more virtual machines. |
The firewall object
Firewall endpoints return the firewall
object or an array of firewalls
objects, providing detailed information about your virtual machine firewalls. This information includes the name, ID, description, environment, creation timestamp, the configuration of each firewall rule, and the details of the virtual machines to which they are attached.
Attributes of the Firewall object
id integer
The unique identifier for the firewall.
name string
The name of the firewall.
description string
A description of the firewall.
environment object
An object containing information about the environment in which the firewall is deployed.