- Categories:
System functions (System Control)
SYSTEM$DEPROVISION_ PRIVATELINK_ ENDPOINT¶
取消 Snowflake VPC 或 VNet 中的专用连接端点的设置,或阻止 Snowflake 通过使用专用连接来连接到外部服务。端点可以是服务端点或资源端点,具体取决于托管 Snowflake 账户的云平台。
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.
语法
AWS:
Azure:
Google Cloud
实参
AWS
provider_service_nameSpecifies the external service or resource endpoint to restore. For example,
com.amazonaws.us-west-2.execute-apifor the Amazon API Gateway orcom.amazonaws.us-west-2.s3for Amazon S3.
Azure
'provider_resource_id'Specifies the fully-qualified identifier for the resource in your VPC or VNet.
'subresource'Specifies the name of the subresource of the Azure resource.
This argument is not required for Azure Private Link Service (https://learn.microsoft.com/en-us/azure/private-link/private-link-service-overview) and Azure API Management Service.
For all supported values, see the Sub-resource table (https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource).
Google Cloud
'target_service_id'Specifies the ID of the service attachment in your VPC network or the regional Google API.
返回
返回一条状态消息,表明已成功取消配置端点及其标识符。
Access control requirements¶
只有账户管理员(具有 ACCOUNTADMIN 角色的用户)才能调用此函数。
使用说明
- 如果专用连接端点未与指定实参关联,则会出现错误消息。
示例
AWS:
取消配置对 Amazon S3 具有外部访问权限的专用端点:
Azure:
Deprovision a private endpoint to prevent Snowflake on Microsoft Azure from connecting to the Microsoft Azure API Management service in your Microsoft Azure VNet:
Deprovision a private endpoint to prevent Snowflake on Microsoft Azure from connecting to an external service using external network access:
Deprovision a private endpoint to prevent Snowflake from connecting to an external stage for Microsoft Azure:
Google Cloud
Deprovision a private endpoint to prevent Snowflake on Google Cloud from connecting to the service attachment in your Google Cloud VPC Network:
Deprovision a private endpoint to prevent Snowflake on Google Cloud from connecting to a regional Google service endpoint (CloudKMS):
Deprovision a private endpoint to prevent Snowflake from connecting to an external stage for Google Cloud: