Network
SoftLayer_Network_SecurityGroup_Rule

Overview

The SoftLayer_Network_SecurityGroup_Rule data type contains general information for a single rule that belongs to a security group. By default, all traffic (both inbound and
 outbound) to a virtual server instance is blocked. Security group rules are permissive, and define the allowed incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of a
 virtual server instance. The order of rules within a security group does not matter and priority always falls to the least restrictive rule.

Local Properties

direction

The direction of traffic (ingress or egress).

Type:

string

ethertype

IPv4 or IPv6. If the remoteIp or ethertype properties are not specified, the default is IPv4.

Type:

string

id

The unique ID for a rule.

Type:

integer

portRangeMax

The end of the port range for allowed traffic.

Type:

integer

portRangeMin

The start of the port range for allowed traffic.

Type:

integer

protocol

The protocol of packets (icmp, tcp, or udp).

Type:

string

remoteGroupId

The ID of the remote security group allowed as part of the rule. This property is mutually exclusive with the remoteIp property.

Type:

integer

remoteIp

CIDR or IP address for allowed connections. This property is mutually exclusive with the remoteGroupId property.

Type:

string

securityGroupId

The ID of the security group that owns the rule.

Type:

integer

Relational & Count Properties

Relational Properties can be queried by object mask
remoteGroup

The remote security group allowed as part of this rule.

securityGroup

The security group of this rule.