SoftLayer_Network_SecurityGroup_Rule


SoftLayer_Network_SecurityGroup_Rule

Description

The SoftLayer_Network_SecurityGroup_Rule data type contains general information for a single rule that belongs to a SoftLayer_Network_SecurityGroup. 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


createDate

The createDate field for a rule. It is essentially the date and time that the security group rule was created.
Type: dateTime


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. Otherwise ethertype will default based on the format of the specified remoteIp.
Type: string


id

The unique ID for a rule.
Type: int


modifyDate

The modifyDate field for a rule. It is essentially the date and time that the security group rule was last changed.
Type: dateTime


portRangeMax

The end of the port range for allowed traffic. When the protocol is icmp, this value specifies the icmp code to permit. When icmp code is specified, icmp type is required. When the protocol is vrrp, ports cannot be specified.
Type: int


portRangeMin

The start of the port range for allowed traffic. When the protocol is icmp, this value specifies the icmp type to permit.
Type: int


protocol

The protocol of packets (icmp, tcp, udp, or vrrp).
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: int


remoteIp

CIDR or IP address for allowed connections. This property is mutually exclusive with the remoteGroupId property. When the protocol is vrrp, ports cannot be specified.
Type: string


securityGroupId

The ID of the security group that owns the rule.
Type: int

Relational


remoteGroup

The remote security group allowed as part of this rule.
Type: SoftLayer_Network_SecurityGroup


securityGroup

The security group of this rule.
Type: SoftLayer_Network_SecurityGroup

Count