August 9, 2017


Get Security Group Details

Get the rules and associated servers in a Security Group.

=begin
@author Ryan Tiffany
=end

require 'softlayer_api'
require 'pp'

client = SoftLayer::Client.new(:timeout => 120)
secGroupId = 70501

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