- Categories:
System functions (System Control)
SYSTEM$DEPROVISION_ PRIVATELINK_ ENDPOINT_ TSS¶
在 Snowflake VPC 或 VNet 中取消配置私有连接端点,以阻止 Snowflake 使用私有连接访问外部密钥管理服务 (KMS) 资源。端点可以是服务端点或资源端点,具体取决于托管 Snowflake 账户的云平台。
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.
语法
AWS:
Azure:
Google Cloud:
实参
AWS:
provider_service_name指定外部 KMS 资源端点。
Azure:
provider_resource_idSpecifies the fully-qualified identifier for the resource in your VPC or VNet.
Google Cloud:
target_service_idSpecifies the service attachment ID or regional Google API endpoint.
返回
返回一条状态消息,表明已成功取消配置端点及其标识符。
访问控制要求
只有被授予该账户 MODIFY 权限的用户才能调用此函数。MODIFY 权限通常仅授予该 ACCOUNTADMIN 角色。
使用说明
如果专用连接端点未与指定实参关联,则会出现错误消息。
示例
AWS:
在 AWS KMS 中取消具有外部访问权限的私有端点:
Azure:
Deprovision a private endpoint to prevent Snowflake from connecting to an external key vault on Microsoft Azure for Tri-Secret Secure:
Google Cloud: