Package org.jclouds.openstack.trove.v1
Interface TroveApi
-
- All Superinterfaces:
AutoCloseable
,Closeable
public interface TroveApi extends Closeable
Provides access to the OpenStack Trove (Database) v2 API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Set<String>
getConfiguredRegions()
Provides a set of all regions available.Set<String>
getConfiguredZones()
Deprecated.Please usegetConfiguredRegions()
instead.com.google.common.base.Optional<String>
getCurrentTenantId()
Provides the Tenant.DatabaseApi
getDatabaseApi(String region, String instanceId)
Provides access to Database features.DatabaseApi
getDatabaseApiForZoneAndInstance(String zone, String instanceId)
Deprecated.Please usegetDatabaseApi(String region, String instanceId)
instead.FlavorApi
getFlavorApi(String region)
Provides access to Flavor features.FlavorApi
getFlavorApiForZone(String zone)
Deprecated.Please usegetFlavorApi(String region)
instead.InstanceApi
getInstanceApi(String region)
Provides access to Instance features.InstanceApi
getInstanceApiForZone(String zone)
Deprecated.Please usegetInstanceApi(String region)
instead.UserApi
getUserApi(String region, String instanceId)
Provides access to User features.UserApi
getUserApiForZoneAndInstance(String zone, String instanceId)
Deprecated.Please usegetUserApi(String region, String instanceId)
instead.
-
-
-
Method Detail
-
getConfiguredRegions
@Provides Set<String> getConfiguredRegions()
Provides a set of all regions available.- Returns:
- the Region codes configured
-
getInstanceApi
InstanceApi getInstanceApi(String region)
Provides access to Instance features.
-
getUserApi
@Path("/instances/{instanceId}") UserApi getUserApi(String region, @PathParam("instanceId") String instanceId)
Provides access to User features.
-
getDatabaseApi
@Path("/instances/{instanceId}") DatabaseApi getDatabaseApi(String region, @PathParam("instanceId") String instanceId)
Provides access to Database features.
-
getConfiguredZones
@Deprecated @Provides Set<String> getConfiguredZones()
Deprecated.Please usegetConfiguredRegions()
instead. To be removed in jclouds 2.0.Provides a set of all zones available.- Returns:
- the Zone codes configured
-
getFlavorApiForZone
@Deprecated FlavorApi getFlavorApiForZone(String zone)
Deprecated.Please usegetFlavorApi(String region)
instead. To be removed in jclouds 2.0.Provides access to Flavor features.
-
getInstanceApiForZone
@Deprecated InstanceApi getInstanceApiForZone(String zone)
Deprecated.Please usegetInstanceApi(String region)
instead. To be removed in jclouds 2.0.Provides access to Instance features.
-
getUserApiForZoneAndInstance
@Deprecated @Path("/instances/{instanceId}") UserApi getUserApiForZoneAndInstance(String zone, @PathParam("instanceId") String instanceId)
Deprecated.Please usegetUserApi(String region, String instanceId)
instead. To be removed in jclouds 2.0.Provides access to User features.
-
getDatabaseApiForZoneAndInstance
@Deprecated @Path("/instances/{instanceId}") DatabaseApi getDatabaseApiForZoneAndInstance(String zone, @PathParam("instanceId") String instanceId)
Deprecated.Please usegetDatabaseApi(String region, String instanceId)
instead. To be removed in jclouds 2.0.Provides access to Database features.
-
getCurrentTenantId
@Provides com.google.common.base.Optional<String> getCurrentTenantId()
Provides the Tenant.
-
-