SoftLayer_Network_SecurityGroup


SoftLayer_Network_SecurityGroup

Description

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. Security groups can be assigned to one or more virtual servers by attaching virtual guest network components through 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/

Methods

addRules

Add new rules to a security group.

attachNetworkComponents

Attach network components to a security group by creating a network component binding.

createObject

Create a new security group.

createObjects

Create new security groups.

deleteObject

Delete a security group.

deleteObjects

Delete security groups.

detachNetworkComponents

Detach network components from a security group by deleting its network component binding.

editObject

Edit a security group.

editObjects

Edit security groups.

editRules

Edit rules that belong to a security group.

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.