def datacenters=(datacenters_array)
      datacenter_data = datacenters_array.collect do |datacenter|
        { "id" => datacenter.id }
      end

      self.service.setAvailableLocations(datacenter_data.compact)
    end
def datacenters=(datacenters_array)
      datacenter_data = datacenters_array.collect do |datacenter|
        { "id" => datacenter.id }
      end

      self.service.setAvailableLocations(datacenter_data.compact)
    end
Accepts an array of datacenters (instances of SoftLayer::Datacenter) where this
 image should be made available. The call will kick off one or more transactions
 to make the image available in the given datacenters. These transactions can take
 some time to complete.

 Note that the template will be REMOVED from any datacenter that does not
 appear in this array! The list given must be comprehensive.

 The available_datacenters call returns a list of the values that are valid
 within this array.