SYSTEM$REMOVE_PRIVATELINK_ENDPOINT_HOSTNAME
functionnot supportedIntegrations, network & secretsBusiness Critical+Removes an additional host name from an existing private connectivity endpoint. Use this function to remove a host name that you previously added with SYSTEM$ADD_PRIVATELINK_ENDPOINT_HOSTNAME. This function doesn’t affect the endpoint’s primary host name, that is, the host name that you set at provisioning time or with SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.
Syntax
supportedpartialnot supportednot scored
SYSTEM$REMOVE_PRIVATELINK_ENDPOINT_HOSTNAME( '<provider_resource_id>' , '<host_name>' [ , '<subresource>' ] )
Parameters
| Name | Required | Description |
|---|---|---|
'provider_resource_id' | required | Specifies 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' | required | Specifies the additional host name to remove from the endpoint. This must be a host name that you previously added with SYSTEM$ADD_PRIVATELINK_ENDPOINT_HOSTNAME, not the endpoint’s primary host name. |
'subresource' | required | Specifies 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 removed successfully from the private connectivity endpoint, or details and instructions about why the host name wasn’t removed successfully.
Usage notes
- This function is only supported for Snowflake accounts hosted on Microsoft Azure.
- You can’t use this function to remove an endpoint’s primary host name. To change the primary host name, use SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME.
- You don’t need to remove additional host names before you deprovision the endpoint. Deprovisioning the endpoint with SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT removes all additional host names on the endpoint automatically.
Access control requirements
Only account administrators (users with the ACCOUNTADMIN role) can call this function.