Zapora

Get VM firewall options

GET
/cloud/project/{project_uuid}/vm/{vmid}/firewall/config/

Returns whether the VM firewall is enabled and the default inbound/outbound policies.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

vmid*integer

VM identifier (VMID).

Response Body

application/json

curl -X GET "https://example.com/cloud/project/string/vm/0/firewall/config/"
{  "enable": true,  "policy_in": "ACCEPT",  "policy_out": "ACCEPT"}