# glance.api.v2.metadef_resource_types module

class glance.api.v2.metadef_resource_types.RequestDeserializer(schema=None)

  Bases: `JSONRequestDeserializer`

  create(request)

class glance.api.v2.metadef_resource_types.ResourceTypeController(db_api=None, policy_enforcer=None, notifier=None)

  Bases: `object`

  create(req, resource_type, namespace)
  delete(req, namespace, resource_type)
  index(req)
  show(req, namespace)

class glance.api.v2.metadef_resource_types.ResponseSerializer(schema=None)

  Bases: `JSONResponseSerializer`

  create(response, result)
  delete(response, result)
  index(response, result)
  show(response, result)

glance.api.v2.metadef_resource_types.create_resource()

  ResourceTypeAssociation resource factory method

glance.api.v2.metadef_resource_types.get_collection_schema()

glance.api.v2.metadef_resource_types.get_schema()

this page last updated: 2026-08-19 03:42:39

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

found an error? report a bug