Skip to main content

Security_Group_Rule

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Security Rule created successfully
security_rule object

Provides the firewall rule configuration that was sent in the request, along with additional information such as the time of rule creation, rule ID, and the status of the firewall rule that was created.

idinteger

Unique numeric identifier for the firewall rule.

Example: 5341
directionstring

Direction of traffic the rule applies to, ingress or egress.

Example: ingress
protocolstring

Protocol, one of tcp, udp, icmp, or any.

Example: tcp
port_range_mininteger

Lower bound (inclusive) of the port range the rule applies to.

Example: 22
port_range_maxinteger

Upper bound (inclusive) of the port range the rule applies to.

Example: 22
ethertypestring

Internet Protocol version, IPv4 or IPv6.

Example: IPv4
remote_ip_prefixstring

CIDR block the rule applies to.

Example: 0.0.0.0/0
statusstring

Status of the firewall rule.

Example: pending
created_atstring<date-time>

ISO 8601 UTC timestamp marking when the firewall rule was created.

Example: 2026-05-06T14:32:11Z
Security_Group_Rule
{
"status": true,
"message": "Security Rule created successfully",
"security_rule": {
"id": 5341,
"direction": "ingress",
"protocol": "tcp",
"port_range_min": 22,
"port_range_max": 22,
"ethertype": "IPv4",
"remote_ip_prefix": "0.0.0.0/0",
"status": "pending",
"created_at": "2026-05-06T14:32:11Z"
}
}