SYSTEM$SET_APPLICATION_RESTRICTED_FEATURE_ACCESS

functionsupportedNative apps, listings & sharing

docs.snowflake.com ↗

System functions

Enables a restricted feature for a Snowflake Native App. Currently, only external and Apache Iceberg™ tables are supported.

Syntax

SYSTEM$SET_APPLICATION_RESTRICTED_FEATURE_ACCESS(
  '<app_name>',
  '<type>',
  '<parameters>'
)

Parameters

NameRequiredDescription
app_namerequiredName of the Snowflake Native App.
typerequiredThe type of restricted feature. Currently only EXTERNAL_DATA is supported.
parametersrequiredA JSON object that contains configuration parameters for the restricted feature. Currently, only JSON objects of the following format are supported:Copy code {"allowed_cloud_providers" : "all"} The supported values for allowed_cloud_providers are all and none.

Returns

A JSON object containing a list of external features whose value the consumer has set. The JSON object has the following structure: