The magnumclient.v1.quotas Module

The magnumclient.v1.quotas Module

class magnumclient.v1.quotas.Quotas(manager, info, loaded=False)

Bases: magnumclient.v1.basemodels.BaseModel

model_name = 'Quotas'
class magnumclient.v1.quotas.QuotasManager(api)

Bases: magnumclient.v1.basemodels.BaseModelManager

api_name = 'quotas'
create(**kwargs)
delete(id, resource)
get(id, resource)
list(limit=None, marker=None, sort_key=None, sort_dir=None, all_tenants=False)

Retrieve a list of baymodels.

Parameters:
  • marker – Optional, the UUID of a baymodel, eg the last baymodel from a previous result set. Return the next result set.
  • limit
    The maximum number of results to return per
    request, if:
    1. limit > 0, the maximum number of baymodels to return.
    2. limit == 0, return the entire list of baymodels.
    3. limit param is NOT specified (None), the number of items returned respect the maximum imposed by the Magnum API (see Magnum’s api.max_limit option).
  • sort_key – Optional, field used for sorting.
  • sort_dir – Optional, direction of sorting, either ‘asc’ (the default) or ‘desc’.
  • detail – Optional, boolean whether to return detailed information about baymodels.
Returns:

A list of baymodels.

resource_class

alias of Quotas

update(id, resource, patch)
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.