org.jclouds.openstack.nova.v2_0.extensions
Interface QuotaApi


public interface QuotaApi

The quotas extension enables limiters placed on the resources used per tenant (project) for virtual instances. It is used with the OpenStack Compute API 1.1 for administrators who need to control the amount of volumes, memory, floating IP addresses, instances, or cores allowed within a defined tenant or project.

To use this extension, you need to have administrative rights to the tenants upon which you are placing quotas.

Author:
Adam Lowe
See Also:
QuotaAsyncApi,

Method Summary
 Quotas getDefaultQuotasForTenant(String tenantId)
           
 Quotas getQuotasForTenant(String tenantId)
           
 Boolean updateQuotasForTenant(String tenantId, Quotas quotas)
          Update the quotas for a given tenant
 

Method Detail

getQuotasForTenant

Quotas getQuotasForTenant(String tenantId)
Returns:
the quota settings for the tenant

updateQuotasForTenant

Boolean updateQuotasForTenant(String tenantId,
                              Quotas quotas)
Update the quotas for a given tenant

Returns:
true if successful

getDefaultQuotasForTenant

Quotas getDefaultQuotasForTenant(String tenantId)
Returns:
the set of default quotas for the tenant


Copyright © 2009-2012 jclouds. All Rights Reserved.