keystone.api.limits module¶
- class keystone.api.limits.LimitModelResource[source]¶
Bases:
Resource
- methods: t.ClassVar[t.Collection[str] | None] = {'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.LimitResource[source]¶
Bases:
ResourceBase
- collection_key: str = 'limits'¶
- get_member_from_driver¶
- json_home_resource_status = 'experimental'¶
- member_key: str = 'limit'¶
- methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH'}¶
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:
APIBase
- resource_mapping = [(<class 'keystone.api.limits.LimitsResource'>, '/limits', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limits', 'experimental', {})), (<class 'keystone.api.limits.LimitResource'>, '/limits/<string:limit_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limit', 'experimental', {'limit_id': 'https://docs.openstack.org/api/openstack-identity/3/param/limit_id'})), (<class 'keystone.api.limits.LimitModelResource'>, '/limits/model', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/limit_model', 'experimental', {}))]¶
- class keystone.api.limits.LimitsResource[source]¶
Bases:
ResourceBase
- collection_key: str = 'limits'¶
- get_member_from_driver¶
- json_home_resource_status = 'experimental'¶
- member_key: str = 'limit'¶
- methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.