SYSTEM$ADD_PRIVATELINK_ENDPOINT_HOSTNAME

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Adds an additional host name to an existing private connectivity endpoint that connects to a service that supports more than one host name on the same endpoint, such as a Microsoft Fabric workspace. Use this function when Snowflake needs to reach more than one host name through the same endpoint, for example, the Iceberg REST catalog host name and the OneLake storage host name for the same Fabric workspace. Note The private endpoint connection must be in the Approved state on the target resource before you call this function. If the connection isn’t approved yet, the function returns an error that includes the current connection state. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

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

Parameters

NameRequiredDescription
'provider_resource_id'requiredSpecifies the fully qualified identifier for the resource in your VNet that the endpoint already connects to. This is the same identifier that you specified when you provisioned the endpoint using SYSTEM$PROVISION_PRIVATELINK_ENDPOINT.
'host_name'requiredSpecifies the additional fully qualified host name to add to the endpoint. Snowflake uses this host name alongside the endpoint’s existing host names; it doesn’t replace them. This value doesn’t contain any port numbers.
'subresource'requiredSpecifies the name of the subresource of the Azure resource. Specify this value only if you specified a subresource when you provisioned the endpoint. For all supported values, see the Sub-resource table.

Returns

Returns a status message that the host name was added successfully to the private connectivity endpoint, or details and instructions about why the host name wasn’t added successfully.

Usage notes

Access control requirements

Only account administrators (users with the ACCOUNTADMIN role) can call this function.