Interface DatacenterApi


  • @Path("/v{jclouds.api-version}")
    @Consumes("application/json")
    public interface DatacenterApi
    Provides access to LocationDatacenter via their REST API.

    See Also:
    • 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