- Categories:
System functions (System Control)
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS¶
Authorizes Snowflake to access the Microsoft Azure Private Endpoint for Azure private endpoints for internal stages for the current account.
Syntax¶
-- Azure
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS( '<privateEndpointResourceID>' )
Arguments¶
'privateEndpointResourceID'
The unique identifier for the Private Endpoint in Azure.
Snowflake uses this endpoint value to access the internal stage through the Azure internal network to avoid the public Internet.
For instructions on how to obtain this value, see Configuring private endpoints to access Snowflake internal stages.
Usage notes¶
Only account administrators (i.e. users with the ACCOUNTADMIN role) can execute this function.
This function can be used with Snowflake accounts on Azure. This function is not supported for Snowflake accounts on Amazon Web Services or Google Cloud Platform.
Examples¶
Authorize Snowflake to access the Private Endpoint in Azure:
use role accountadmin; select SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS('/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1');Copy