Security_Group_Rule
statusboolean
Whether the request succeeded.
Example:
truemessagestring
Human-readable description of the result.
Example:
Security Rule created successfullysecurity_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:
5341directionstring
Direction of traffic the rule applies to, ingress or egress.
Example:
ingressprotocolstring
Protocol, one of tcp, udp, icmp, or any.
Example:
tcpport_range_mininteger
Lower bound (inclusive) of the port range the rule applies to.
Example:
22port_range_maxinteger
Upper bound (inclusive) of the port range the rule applies to.
Example:
22ethertypestring
Internet Protocol version, IPv4 or IPv6.
Example:
IPv4remote_ip_prefixstring
CIDR block the rule applies to.
Example:
0.0.0.0/0statusstring
Status of the firewall rule.
Example:
pendingcreated_atstring<date-time>
ISO 8601 UTC timestamp marking when the firewall rule was created.
Example:
2026-05-06T14:32:11ZSecurity_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"
}
}
Was this page helpful?