Categories:

System functions (System Information)

SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATES

Returns the list of resources that can be added as shared resources to a budget.

For more information about configuring a budget to track consumption by shared resources, see Using budgets for AI features (shared resources).

语法

SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATES( '<domain>' )

实参

'domain'

指定资源类型。该函数返回可以作为共享资源添加到预算的指定类型的所有资源。

Currently, the only supported value is 'AI_FUNCTION', which lists all AI functions that can be added as shared resources to a budget.

返回

该函数返回一个对象数组。每个对象包含以下键:

KeyData typeDescription
idNUMBERInternal identifier for the resource.
nameVARCHARName of the resource (for example, the AI function name).
domainVARCHARType of resource (for example, AI_FUNCTION).

示例

列出可作为共享资源添加到预算的 AI 函数:

CALL SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATES('AI_FUNCTION');