def list_resource_types(self, cnxt, support_status=None): """ Get a list of supported resource types. :param cnxt: RPC context. """ return resource.get_types(support_status)
def list_resource_types(self, cnxt): """ Get a list of supported resource types. :param cnxt: RPC context. """ return list(resource.get_types())
def list_resource_types(self, context): """ Get a list of supported resource types. arg1 -> RPC context. """ return list(resource.get_types())