管理专用连接端点:Azure¶
本主题提供有关如何管理专用连接端点以便与外部服务的专用连接配合使用的信息。这些示例专门针对 Microsoft Azure。
提供专用连接端点¶
您可以通过调用 SYSTEM$PROVISION_PRIVATELINK_ENDPOINT 系统函数来创建专用连接端点。例如,对于您在 Microsoft Azure 上的 Snowflake 账户:
提供一个专用端点,允许 Microsoft Azure 上的 Snowflake 连接到 Microsoft Azure VNet 中的 Microsoft Azure API 管理服务:
提供一个专用端点,允许 Microsoft Azure 上的 Snowflake 使用外部网络访问连接到外部服务:
提供一个专用端点,允许 Snowflake 连接到 Microsoft Azure 外部暂存区:
Snowflake 会调用托管 Snowflake 账户的云平台的 APIs 来创建端点并更新相关网络配置。
备注
Private connectivity endpoints aren't supported for Microsoft Fabric OneLake storage locations.
列出专用连接端点¶
You can change only the host name of a previously provisioned, private connectivity endpoint without changing its network resource. Changing the host name for an endpoint tells Snowflake that this endpoint now connects to the same service by using a different host name. To change the host name, call the SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME system function.
列出专用连接端点¶
您可以通过调用 SYSTEM$GET_PRIVATELINK_ENDPOINTS_INFO 系统函数来列出您创建的专用连接端点。例如,对于您在 Microsoft Azure 上的 Snowflake 账户:
备注
您还可以查询 ACCOUNT_USAGE 架构中的 OUTBOUND_PRIVATELINK_ENDPOINTS 视图,以列出您账户中的专用端点。
取消配置专用连接端点¶
您可以通过调用 SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT 系统函数来删除现有的专用连接端点。例如,对于您在 Microsoft Azure 上的 Snowflake 账户:
取消配置专用端点,防止 Microsoft Azure 上的 Snowflake 连接到 Microsoft Azure VNet 中的 Microsoft Azure API 管理服务:
取消配置专用端点,防止 Microsoft Azure 上的 Snowflake 使用外部网络访问连接到外部服务:
取消配置专用端点,防止 Snowflake 连接到 Microsoft Azure 外部暂存区:
恢复取消配置的专用连接端点¶
您可以通过调用 SYSTEM$RESTORE_PRIVATELINK_ENDPOINT 系统函数,在取消配置后 7 天内恢复取消配置的专用连接端点。7 天后,端点无法恢复,需要重新配置一个新端点。
恢复专用端点,允许 Microsoft Azure 上的 Snowflake 连接到 Azure VNet 中的 Azure API 管理服务:
故障排除¶
Microsoft Azure 外部服务:您无法访问指定订阅¶
错误 |
|
|---|---|
原因 |
映射到外部服务的专用端点不具有访问订阅的正确信息。 |
解决方案 |
|