SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSS
functionnot supportedIntegrations, network & secretsBusiness Critical+Deprovisions a private connectivity endpoint in the Snowflake VPC or VNet to prevent Snowflake from connecting to an external key management service (KMS) resource 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 mistakenly remove an endpoint, call the SYSTEM$RESTORE_PRIVATELINK_ENDPOINT_TSS system function to restore the endpoint within seven days. After seven days, the endpoint is deleted and can’t be recovered; you will need to recreate the endpoint with the SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSS. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.
Syntax
AWS
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSS(
'<provider_service_name>'
)
Azure
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSS(
'<provider_resource_id>'
)
Google Cloud
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSS(
'<target_service_id>'
)
Parameters
| Name | Required | Description |
|---|---|---|
provider_service_name | required | Specifies the external KMS resource endpoint. |
provider_resource_id | required | Specifies the fully-qualified identifier for the resource in your VPC or VNet. |
target_service_id | required | Specifies the service attachment ID or regional Google API endpoint. |
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 users granted the MODIFY privilege on the account can call this function. The MODIFY privilege is typically granted only to the ACCOUNTADMIN role.