Skip to content
Docs

Firewall Rules

Create Firewall Rule
$ nirvana networking:firewall-rules create
POST/v1/networking/vpcs/{vpc_id}/firewall_rules
Firewall Rule Details
$ nirvana networking:firewall-rules get
GET/v1/networking/vpcs/{vpc_id}/firewall_rules/{firewall_rule_id}
Update Firewall Rule
$ nirvana networking:firewall-rules update
PATCH/v1/networking/vpcs/{vpc_id}/firewall_rules/{firewall_rule_id}
Delete Firewall Rule
$ nirvana networking:firewall-rules delete
DELETE/v1/networking/vpcs/{vpc_id}/firewall_rules/{firewall_rule_id}
List Firewall Rules
$ nirvana networking:firewall-rules list
GET/v1/networking/vpcs/{vpc_id}/firewall_rules
ModelsExpand Collapse
firewall_rule: object { id, created_at, destination_address, 8 more }

Firewall rule details.

id: string

Unique identifier for the Firewall Rule.

created_at: string

When the Firewall Rule was created.

destination_address: string

Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.

destination_ports: array of string

Destination ports of the Firewall Rule.

name: string

Name of the Firewall Rule.

protocol: "tcp" or "udp"

Protocol of the Firewall Rule.

"tcp"
"udp"
source_address: string

Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask of 0.

status: "pending" or "creating" or "updating" or 4 more

Status of the resource.

"pending"
"creating"
"updating"
"ready"
"deleting"
"deleted"
"error"
tags: array of string

Tags to attach to the Firewall Rule.

updated_at: string

When the Firewall Rule was updated.

vpc_id: string

ID of the VPC the Firewall Rule belongs to.

firewall_rule_list: object { items, pagination }
items: array of FirewallRule { id, created_at, destination_address, 8 more }
id: string

Unique identifier for the Firewall Rule.

created_at: string

When the Firewall Rule was created.

destination_address: string

Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.

destination_ports: array of string

Destination ports of the Firewall Rule.

name: string

Name of the Firewall Rule.

protocol: "tcp" or "udp"

Protocol of the Firewall Rule.

"tcp"
"udp"
source_address: string

Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask of 0.

status: "pending" or "creating" or "updating" or 4 more

Status of the resource.

"pending"
"creating"
"updating"
"ready"
"deleting"
"deleted"
"error"
tags: array of string

Tags to attach to the Firewall Rule.

updated_at: string

When the Firewall Rule was updated.

vpc_id: string

ID of the VPC the Firewall Rule belongs to.