August 9, 2017

Get Security Group Details

Get the rules and associated servers in a Security Group.

@author Ryan Tiffany

require 'softlayer_api'
require 'pp'

client = => 120)
secGroupId = 70501

getAll = client['SoftLayer_Network_SecurityGroup'].object_with_id(secGroupId).getAllObjects
pp getAll


If this article contains any error, or leaves any of your questions unanswered, please help us out by opening up a github issue.
Open an issue