The novaclient.v2.quotas Module

The novaclient.v2.quotas Module

class novaclient.v2.quotas.QuotaSet(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
update(*args, **kwargs)
class novaclient.v2.quotas.QuotaSetManager(api)

Bases: novaclient.base.Manager

defaults(tenant_id)
delete(tenant_id, user_id=None)

Delete quota for a tenant or for a user.

Parameters:
  • tenant_id – A tenant for which quota is to be deleted
  • user_id – A user for which quota is to be deleted
Returns:

An instance of novaclient.base.TupleWithMeta

get(tenant_id, user_id=None, detail=False)
resource_class

alias of QuotaSet

update(obj, *args, **kwargs)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.