org.jclouds.dynect.v3.features
Interface GeoServiceApi


public interface GeoServiceApi

See Also:

Method Summary
 GeoService get(String serviceName)
          Retrieves information about the specified geo service.
 com.google.common.collect.FluentIterable<String> list()
          Lists all geo service names.
 

Method Detail

list

@Named(value="ListGeoServiceNames")
com.google.common.collect.FluentIterable<String> list()
                                                      throws DynECTExceptions.JobStillRunningException
Lists all geo service names.

Throws:
DynECTExceptions.JobStillRunningException - if a different job in the session is still running

get

@Named(value="GetGeoService")
@Nullable
GeoService get(String serviceName)
               throws DynECTExceptions.JobStillRunningException
Retrieves information about the specified geo service.

Parameters:
serviceName - name of the service to get information about. ex api-prod
Returns:
null if not found
Throws:
DynECTExceptions.JobStillRunningException - if a different job in the session is still running


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.