keystone.api.endpoints 模块

class keystone.api.endpoints.EndpointAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[源代码]

基类: APIBase

resource_mapping = [(<class 'keystone.api.endpoints.EndpointsResource'>, '/endpoints', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/endpoints', 'stable', {})), (<class 'keystone.api.endpoints.EndpointResource'>, '/endpoints/<string:endpoint_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/endpoint', 'stable', {'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'})), (<class 'keystone.api.endpoints.EndpointPolicyEndpointResource'>, '/endpoints/<string:endpoint_id>/OS-ENDPOINT-POLICY/policy', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-ENDPOINT-POLICY/1.0/rel/endpoint_policy', 'stable', {'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'}))]
class keystone.api.endpoints.EndpointPolicyEndpointResource[源代码]

基类: Resource

get(endpoint_id)[源代码]
methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

此视图注册的方法。默认情况下,与 routeadd_url_rule 相同(["GET", "HEAD", "OPTIONS"])。

class keystone.api.endpoints.EndpointResource[源代码]

基类: ResourceBase

collection_key: str = 'endpoints'
delete(endpoint_id)[源代码]
get(endpoint_id)[源代码]

显示端点详情

GET /v3/endpoints/{endpoint_id}

member_key: str = 'endpoint'
methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH'}

此视图注册的方法。默认情况下,与 routeadd_url_rule 相同(["GET", "HEAD", "OPTIONS"])。

patch(endpoint_id)[源代码]

更新现有端点。

PATCH /v3/endpoints/{endpoint_id}

class keystone.api.endpoints.EndpointsResource[源代码]

基类: ResourceBase

collection_key: str = 'endpoints'
get()[源代码]

列出所有端点。

GET /v3/endpoints

get_member_from_driver
member_key: str = 'endpoint'
methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}

此视图注册的方法。默认情况下,与 routeadd_url_rule 相同(["GET", "HEAD", "OPTIONS"])。

post()[源代码]

创建新的端点。

POST /v3/endpoints