- Catégories :
Fonctions système (Contrôle du système)
SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS¶
Revokes the authorization for Snowflake to access the private endpoint for Points de terminaison privés Azure pour les zones de préparation internes and Google Private Service Connect endpoints for internal stages for the current account.
- Voir aussi :
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS , Révoquer des points de terminaison privés pour accéder à des zones de préparation internes Snowflake
Syntaxe¶
Azure
SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS( '<private_endpoint_resource_id>' )
Google Cloud
SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS( '<google_cloud_vpc_network_name>' )
Arguments¶
'private_endpoint_resource_id'The unique identifier for the Azure Private Endpoint.
'google_cloud_vpc_network_name'The fully qualified path value for the Google Cloud VPC Network.
This value is 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 these values on Azure, see Configuration de points de terminaison privés pour accéder à des zones de préparation internes Snowflake; for Google Cloud, see Configure private endpoints to access Snowflake internal stages.
Notes sur l’utilisation¶
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).
Exemples¶
Revoke Snowflake to access the Private Endpoint on Azure:
USE ROLE ACCOUNTADMIN; SELECT SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS('/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1');
Revoke Snowflake to access the private endpoint on Google Cloud:
USE ROLE ACCOUNTADMIN; SELECT SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS('projects/vpc_network_name/global/networks/network_name');