SYSTEM$RESTORE_PRIVATELINK_ENDPOINT

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Restores a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to an external service using private connectivity. The endpoint can be a service endpoint or a resource endpoint depending on the cloud platform that hosts your Snowflake account. You can restore a private endpoint within 7 days of deprovisioning it. After 7 days, the endpoint cannot be restored and you 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$RESTORE_PRIVATELINK_ENDPOINT(
  '<provider_service_name>' )

Azure

SYSTEM$RESTORE_PRIVATELINK_ENDPOINT(
  '<provider_resource_id>'
  [, '<subresource>' ]
  )

Google Cloud

SYSTEM$RESTORE_PRIVATELINK_ENDPOINT(
   '<service_attachment_id>'
);

Parameters

NameRequiredDescription
provider_service_namerequiredSpecifies 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'requiredSpecifies the fully-qualified identifier for the resource in your VPC or VNet.
'subresource'requiredSpecifies 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'requiredSpecifies 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 restored successfully. If unsuccessful, returns an error. For example, if the provided argument is not a valid existing endpoint. If you do not know the endpoint name, you can use the SYSTEM$GET_PRIVATELINK_ENDPOINTS_INFO system function to list all endpoints in your Snowflake account.

Usage notes