Package org.openstack4j.api.manila
Interface QuotaSetService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
QuotaSetServiceImpl
public interface QuotaSetService extends RestService
Quota Set Service for Manila Shared Filesystems.- Author:
- Daniel Gonzalez Nothnagel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionResponsedelete(String tenantId)Deletes quotas for a tenant.ActionResponsedelete(String tenantId, String userId)Deletes quotas for a user in a tenant.QuotaSetget(String tenantId)Shows quotas for a tenant.QuotaSetget(String tenantId, String userId)Shows quotas for a user in a tenant.QuotaSetgetDefault(String tenantId)Shows default quotas for a tenant.QuotaSetupdate(String tenantId, String userId, QuotaSetUpdateOptions options)Updates quotas for a user in a tenant.QuotaSetupdate(String tenantId, QuotaSetUpdateOptions options)Updates quotas for a tenant.
-
-
-
Method Detail
-
get
QuotaSet get(String tenantId)
Shows quotas for a tenant.- Parameters:
tenantId- the UUID for the tenant for which you want to show quotas- Returns:
- the quota set
-
get
QuotaSet get(String tenantId, String userId)
Shows quotas for a user in a tenant.- Parameters:
tenantId- the UUID for the tenant for which you want to show quotasuserId- the UUID of the user- Returns:
- the quota set
-
update
QuotaSet update(String tenantId, QuotaSetUpdateOptions options)
Updates quotas for a tenant.- Parameters:
tenantId- the UUID for the tenant for which you want to update quotasoptions- the options to update- Returns:
- the updated quota set
-
update
QuotaSet update(String tenantId, String userId, QuotaSetUpdateOptions options)
Updates quotas for a user in a tenant.- Parameters:
tenantId- the UUID for the tenant for which you want to update quotasuserId- the UUID of the useroptions- the options to update- Returns:
- the updated quota set
-
delete
ActionResponse delete(String tenantId)
Deletes quotas for a tenant. The quota reverts to the default quota.- Parameters:
tenantId- the UUID for the tenant for which you want to delete quotas- Returns:
- the action response
-
delete
ActionResponse delete(String tenantId, String userId)
Deletes quotas for a user in a tenant. The quota reverts to the default quota.- Parameters:
tenantId- the UUID for the tenant for which you want to delete quotasuserId- the UUID of the user- Returns:
- the action response
-
-