SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT
functionnot supportedIntegrations, network & secretsBusiness Critical+Deprovisions a private connectivity endpoint in the Snowflake VPC or VNet to prevent Snowflake from connecting to an external service by using private connectivity. The endpoint can be a service endpoint or a resource endpoint depending on the cloud platform that hosts your Snowflake account. If you call this function and specify the wrong private connectivity endpoint, call the SYSTEM$RESTORE_PRIVATELINK_ENDPOINT system function to restore the endpoint within a seven day period. After seven days, the endpoint is deleted and cannot be recovered; you will need to recreate the endpoint with the SYSTEM$PROVISION_PRIVATELINK_ENDPOINT system function. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.
Syntax
supportedpartialnot supportednot scored
AWS
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT(
'<provider_service_name>' )
Azure
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT(
'<provider_resource_id>'
[, '<subresource>' ]
)
Google Cloud
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT(
'<service_attachment_id>'
);
Parameters
| Name | Required | Description |
|---|---|---|
provider_service_name | required | Specifies the external service or resource endpoint to restore. For example, com.amazonaws.us-west-2.execute-api for the Amazon API Gateway or com.amazonaws.us-west-2.s3 for Amazon S3. |
'provider_resource_id' | required | Specifies the fully-qualified identifier for the resource in your VPC or VNet. |
'subresource' | required | Specifies the name of the subresource of the Azure resource. This argument is not required for Azure Private Link Service and Azure API Management Service. For all supported values, see the Sub-resource table. |
'target_service_id' | required | Specifies the ID of the service attachment in your VPC network or the regional Google API. |
Returns
Returns a status message stating that the endpoint, with its identifier, is deprovisioned successfully.
Usage notes
- An error message occurs if a private connectivity endpoint is not associated with the specified arguments.
Access control requirements
Only account administrators (users with the ACCOUNTADMIN role) can call this function.