keystone.api.limits module¶
- class keystone.api.limits.LimitModelResource[source]¶
Bases:
flask_restful.Resource
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.limits.LimitsAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = [resource_map(resource=<class 'keystone.api.limits.LimitModelResource'>, url='/limits/model', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/rel/limit_model', status='experimental', path_vars={}))]¶
- resources = [<class 'keystone.api.limits.LimitsResource'>]¶
- class keystone.api.limits.LimitsResource[source]¶
Bases:
keystone.server.flask.common.ResourceBase
- collection_key = 'limits'¶
- get_member_from_driver¶
- json_home_resource_status = 'experimental'¶
- member_key = 'limit'¶
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.