November 23, 2017
Get valid datacenters to order a replica.

Important manual pages:

Author: SoftLayer Technologies, Inc. <>

import SoftLayer

USERNAME = 'set me'
API_KEY = 'set me'

# The id of the endurance storage you wish to create a replica.
enduranceStorageId = 6548079

# Declare the API client
client = SoftLayer.Client(username=USERNAME, api_key=API_KEY)
storageService = client['SoftLayer_Network_Storage']

    result = storageService.getValidReplicationTargetDatacenterLocations(id=enduranceStorageId)
except SoftLayer.SoftLayerAPIError as e:
    print("Unable to get the locations. faultCode=%s, faultString=%s" % (e.faultCode, e.faultString))


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