Verb | URI | Description |
POST | /fw/firewalls | Creates a new Firewall. |
Normal Response Code: 201
Error Response Codes: Unauthorized (401), Bad Request (400)
This operation requires a request body.
This operation returns a response body.
Example 4.144. Create Firewall: Request
POST /v2.0/fw/firewalls.json User-Agent: python-neutronclient Accept: application/json
{ "firewall": { "admin_state_up": true, "firewall_policy_id": "c69933c1-b472-44f9-8226-30dc4ffd454c" } }
Example 4.145. Create Firewall: Response
HTTP/1.1 201 Created Content-Type: application/json; charset=UTF-8
{ "firewall": { "admin_state_up": true, "description": "", "firewall_policy_id": "c69933c1-b472-44f9-8226-30dc4ffd454c", "id": "3b0ef8f4-82c7-44d4-a4fb-6177f9a21977", "name": "", "status": "PENDING_CREATE", "tenant_id": "45977fa2dbd7482098dd68d0d8970117" } }