attachNetworkComponents


SoftLayer_Network_SecurityGroup::attachNetworkComponents

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

Description

Attach virtual guest network components to a security group by creating SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding objects.

Parameters

Name Type Description
networkComponentIds int[] An array of SoftLayer_Virtual_Guest_Network_Component IDs for components you want to attach

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_SecurityGroup/{SoftLayer_Network_SecurityGroupID}/attachNetworkComponents'