SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS_WITH_EXCEPTION
functionnot supportedIntegrations, network & secretsPrevents public traffic from accessing the Snowflake-managed storage volume of the current Snowflake account on Microsoft Azure, while allowing access from specified IP addresses or CIDR blocks. This function is similar to SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS. Instead of blocking all public IP addresses, this function maintains an allowlist of IP addresses or CIDR blocks that are still permitted to access the Snowflake-managed storage volume. Calling SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS_WITH_EXCEPTION when an allowlist already exists replaces the existing allowlist with the new one. For more information, see Blocking public access. Important Confirm that traffic via private connectivity is successfully reaching the Snowflake-managed storage volume before blocking public access. Blocking public access without configuring private connectivity can cause unintended disruptions.
Syntax
supportedpartialnot supportednot scored
SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS_WITH_EXCEPTION( '<ip_address_or_cidr_range>' [ , '<ip_address_or_cidr_range>' , ... ] )
Parameters
| Name | Required | Description |
|---|---|---|
'ip_address_or_cidr_range' | required | A string that specifies one of the following: A single IP address, such as '100.0.0.1'. A range of IP addresses using Classless Inter-Domain Routing (CIDR) notation: ip_address/prefix_length For example, '1.2.3.0/24' or '101.0.0.0/31'. IP addresses or CIDR ranges specified in this argument are allowed to access the Snowflake-managed storage volume. Specify multiple values as separate, comma-separated arguments. |
Returns
This function returns the following status messages:
Usage notes
- Only account administrators, that is, users with the ACCOUNTADMIN role, can execute this function.
- This function can take a few minutes to finish executing.
- This function can be used with Snowflake accounts on Microsoft Azure only. Amazon Web Services and Google Cloud are not supported.
- Calling this function replaces any existing IP allowlist. To modify the allowlist, call the function again with the complete updated list.