"SoftLayer_" prefix removed for readability.
Retrieve a list of Pods; optionally filtered via datacenter and/or capabilities.
Filtering is supported for datacenterName
and capabilities
. When filtering on capabilities, use the in
operation. Pods fulfilling all capabilities provided will be returned. datacenterName
represents an operation against ``SoftLayer_Location_Datacenter.name`, such as dal05 when referring to Dallas 5.
Examples:
List Pods in a specific datacenter.
datacenterName.operation = ‘dal06’
List Pods in a geographical area.
datacenterName.operation = ‘^= dal’
List Pods in a region fulfilling capabilities.
datacenterName.operation = ‘^= dal’ capabilities.operation = ‘in’ capabilities.options = [ { name = data, value = [SOME_CAPABILITY, ANOTHER_CAPABILITY] } ]
None
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Pod/getAllObjects'