-
addRules
Add new rules to a security group by sending in an array of template [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule) objects to be created.
-
attachNetworkComponents
Attach virtual guest network components to a security group by creating [SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding](/reference/datatypes/SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding) objects.
-
createObject
Create a new security group.
-
createObjects
Create new security groups.
-
deleteObject
Delete a security group for an account. A security group cannot be deleted if any network components are attached or if the security group is a remote security group for a [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule).
-
deleteObjects
Delete security groups for an account. A security group cannot be deleted if any network components are attached or if the security group is a remote security group for a [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule).
-
detachNetworkComponents
Detach virtual guest network components from a security group by deleting its [SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding](/reference/datatypes/SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding).
-
editObject
Edit a security group.
-
editObjects
Edit security groups.
-
editRules
Edit rules that belong to the security group. An array of skeleton [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule) objects must be sent in with only the properties defined that you want to change. To edit a property to null, send in -1 for integer properties and '' for string properties. Unchanged properties are left alone.
-
getAccount
The account this security group belongs to.
-
getAllObjects
Get all security groups.
-
getLimits
List the current security group limits
-
getNetworkComponentBindings
The network component bindings for this security group.
-
getObject
Retrieve a SoftLayer_Network_SecurityGroup record.
-
getOrderBindings
The order bindings for this security group
-
getRules
The rules for this security group.
-
getSupportedDataCenters
List the data centers that currently support the use of security groups.
-
removeRules
Remove rules from a security group.
-
SoftLayer_Network_SecurityGroup
The SoftLayer_Network_SecurityGroup data type contains general information for a single security group. A security group contains a set of IP filter [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule) that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of a virtual server instance and a set of [SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding](/reference/datatypes/SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding) to associate virtual guest network components with the security group.
-
SoftLayer_Network_SecurityGroup
The Security Group service provides a common interface to interact with an account's security groups, their rules, and virtual guest instances associated with the groups. A security group contains a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of a virtual server instance. The rules that you add to a security group are known as [SoftLayer_Network_SecurityGroup_Rule](/reference/datatypes/SoftLayer_Network_SecurityGroup_Rule). Security groups can be assigned to one or more virtual servers by attaching virtual guest network components through [SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding](/reference/datatypes/SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding).
Additional information can be found in IBM Cloud Docs and SoftLayer API Examples https://console.bluemix.net/docs/infrastructure/security-groups/sg_index.html https://softlayer.github.io/classes/softlayer_network_securitygroup/