- Kategorien:
Systemfunktionen (Systemsteuerung)
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS¶
Authorizes Snowflake to access the private endpoint for Private Azure-Endpunkte für interne Stagingbereiche and Google Private Service Connect-Endpunkte für interne Stagingbereiche for the current account.
- Siehe auch:
Syntax¶
Azure
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS( '<private_endpoint_resource_id>' )
Google Cloud
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS( '<google_cloud_vpc_network_name>' )
Argumente¶
'private_endpoint_resource_id'The unique identifier for the Azure Private Endpoint.
'google_cloud_vpc_network_name'Der Wert des vollqualifizierten Pfads für das Google Cloud VPC-Netzwerk.
This value is from the Google Cloud VPC network path that Snowflake uses to limit access to your internal stage through the cloud provider’s internal network and avoid using the public internet.
For instructions on how to obtain this value on Azure, see Konfigurieren von privaten Endpunkten für den Zugriff auf interne Snowflake-Stagingbereiche; for Google Cloud, see Konfigurieren von privaten Endpunkten für den Zugriff auf interne Snowflake-Stagingbereiche.
Nutzungshinweise¶
Only account administrators (that is, users with the ACCOUNTADMIN role) can call this function.
This function is not supported for Snowflake accounts on Amazon Web Services (AWS).
Beispiele¶
Azure
Authorize Snowflake to access an Azure private endpoint:
USE ROLE ACCOUNTADMIN; SELECT SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS('/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1');Copy
Google Cloud
Authorize Snowflake to access a Google Private Service Connect endpoint:
USE ROLE ACCOUNTADMIN; SELECT SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS('projects/vpc_network_name/global/networks/network_name');Copy