Package org.jclouds.softlayer.features
Interface DatacenterApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Datacenter
getDatacenter(long id)
Set<Datacenter>
listDatacenters()
-
-
-
Method Detail
-
listDatacenters
@GET @Path("/SoftLayer_Location_Datacenter/Datacenters") Set<Datacenter> listDatacenters()
- Returns:
- an account's associated datacenter objects.
-
getDatacenter
@GET @Path("/SoftLayer_Location_Datacenter/{id}") Datacenter getDatacenter(@PathParam("id") long id)
- Parameters:
id
- id of the datacenter- Returns:
- datacenter or null if not found
-
-