Interface AutoscaleApi
-
- All Superinterfaces:
AutoCloseable
,Closeable
public interface AutoscaleApi extends Closeable
Provides access to Rackspace Auto Scale v1 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<Tenant>
getCurrentTenantId()
Provides the Tenant.GroupApi
getGroupApi(String region)
Provides access to all scaling Group features.PolicyApi
getPolicyApi(String region, String groupId)
Provides access to all policy features for scaling Groups.PolicyApi
getPolicyApiForGroup(String region, String groupId)
Deprecated.Please usegetPolicyApi(String, String)
instead.WebhookApi
getWebhookApi(String region, String groupId, String policyId)
Provides access to webhook management features.WebhookApi
getWebhookApiForGroupAndPolicy(String region, String groupId, String policyId)
Deprecated.Please usegetWebhookApi(String, String, String)
instead.
-
-
-
Method Detail
-
getConfiguredRegions
@Provides Set<String> getConfiguredRegions()
Provides a set of all regions available.- Returns:
- the Region codes configured
-
getPolicyApi
@Path("/groups/{groupId}") PolicyApi getPolicyApi(String region, @PathParam("groupId") String groupId)
Provides access to all policy features for scaling Groups.
-
getWebhookApi
@Path("/groups/{groupId}/policies/{policyId}") WebhookApi getWebhookApi(String region, @PathParam("groupId") String groupId, @PathParam("policyId") String policyId)
Provides access to webhook management features.
-
getCurrentTenantId
@Provides com.google.common.base.Optional<Tenant> getCurrentTenantId()
Provides the Tenant.
-
getConfiguredZones
@Deprecated @Provides Set<String> getConfiguredZones()
Deprecated.Please usegetConfiguredRegions()
instead. To be removed in jclouds 2.0.- Returns:
- the configured zone codes
-
getPolicyApiForGroup
@Deprecated @Path("/groups/{groupId}") PolicyApi getPolicyApiForGroup(String region, @PathParam("groupId") String groupId)
Deprecated.Please usegetPolicyApi(String, String)
instead. To be removed in jclouds 2.0.Provides access to all policy features for scaling Groups.
-
getWebhookApiForGroupAndPolicy
@Deprecated @Path("/groups/{groupId}/policies/{policyId}") WebhookApi getWebhookApiForGroupAndPolicy(String region, @PathParam("groupId") String groupId, @PathParam("policyId") String policyId)
Deprecated.Please usegetWebhookApi(String, String, String)
instead. To be removed in jclouds 2.0.Provides access to webhook management features.
-
-