SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATES

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

System functions

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).

Syntax

SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATES( '<domain>' )

Parameters

NameRequiredDescription
'domain'requiredSpecifies a type of resource. The function returns all resources of the specified type that can be added to a budget as shared resources. Currently, the only supported value is 'AI_FUNCTION', which lists all AI functions that can be added as shared resources to a budget.

Returns

The function returns an array of objects. Each object contains the following keys: